kevnallen / rapla

Automatically exported from code.google.com/p/rapla
0 stars 0 forks source link

Cannot log on to rapla after initial startup #439

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install rapla in jboss with MySQL database on the same server
2. start rapla and see that the database tables are created.
3. launch java web start from the website http://hostname/rapla 
4. Log in with admin userid and no password.

What is the expected output? What do you see instead?

I am using rapla 1.7.8, JBoss eap 6.3 and MySQL 5.1

Below is the stack trace I get:

16:06:38,540 INFO  [rapla.server.W29DCKD9eZHFJ-Z+u-2KxzCL.login] 
(http-/0.0.0.0:8080-1) User 'admin' is requesting login.
16:06:38,543 INFO  [rapla.server.W29DCKD9eZHFJ-Z+u-2KxzCL.login] 
(http-/0.0.0.0:8080-1) Check password for admin
16:06:38,543 INFO  [rapla.rapladb] (http-/0.0.0.0:8080-1) Check password for 
User admin
16:06:38,543 INFO  [rapla.server.W29DCKD9eZHFJ-Z+u-2KxzCL.login] 
(http-/0.0.0.0:8080-1) Successfull login for 'admin'
16:06:38,762 ERROR 
[rapla.server.org.rapla.storage.dbrm.RemoteStorage.getServerTime] 
(http-/0.0.0.0:8080-1) null: org.rapla.framework.RaplaException
        at org.rapla.server.internal.ServerServiceImpl.dispatch(ServerServiceImpl.java:476) [rapla-1.7.8.jar:]
        at org.rapla.server.MainServlet.handleRPCCall(MainServlet.java:791) [rapla-1.7.8.jar:]
        at org.rapla.server.MainServlet.service(MainServlet.java:613) [rapla-1.7.8.jar:]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
Caused by: java.lang.NullPointerException
        at org.rapla.server.internal.TimeZoneConverterImpl.getOffset(TimeZoneConverterImpl.java:55) [rapla-1.7.8.jar:]
        at org.rapla.storage.impl.server.LocalAbstractCachableOperator.getCurrentTimestamp(LocalAbstractCachableOperator.java:167) [rapla-1.7.8.jar:]
        at org.rapla.server.internal.RemoteStorageImpl$2.getServerTime(RemoteStorageImpl.java:629) [rapla-1.7.8.jar:]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_65]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_65]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_65]
        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_65]
        at org.rapla.server.internal.ServerServiceImpl.dispatch(ServerServiceImpl.java:465) [rapla-1.7.8.jar:]
        ... 16 more

16:06:38,773 INFO  [rapla.server.W29DCKD9eZHFJ-Z+u-2KxzCL.login] 
(http-/0.0.0.0:8080-1) Request Logout admin

Original issue reported on code.google.com by matt.bea...@macys.com on 22 Oct 2014 at 9:11

GoogleCodeExporter commented 9 years ago
And I am using Centos 6.5

Original comment by matt.bea...@macys.com on 22 Oct 2014 at 9:12

GoogleCodeExporter commented 9 years ago

Original comment by christop...@gmail.com on 9 Dec 2014 at 10:09

GoogleCodeExporter commented 9 years ago

Original comment by christop...@gmail.com on 9 Dec 2014 at 10:19