Page 1 of 1

Strange startup error

PostPosted:Wed Jan 30, 2013 2:22 pm
by ciropom
I'm trying to start up openkm,
and on the logs/catalina.log logfile i see
Code: Select all
2013-01-30 15:12:05,604 [http-bio-0.0.0.0-8080-exec-8] INFO  org.dozer.loader.CustomMappingsLoader - Using the following xml files to load custom mappings for the bean mapper instance: [dozerBeanMapping.xml]
2013-01-30 15:12:05,604 [http-bio-0.0.0.0-8080-exec-8] INFO  org.dozer.loader.CustomMappingsLoader - Trying to find xml mapping file: dozerBeanMapping.xml
2013-01-30 15:12:05,605 [http-bio-0.0.0.0-8080-exec-8] INFO  org.dozer.loader.CustomMappingsLoader - Using URL [file:/home/danilo/tomcat-7.0.27/webapps/OpenKM/WEB-INF/classes/dozerBeanMapping.xml] to load custom xml mappings
2013-01-30 15:12:05,613 [http-bio-0.0.0.0-8080-exec-8] INFO  org.dozer.loader.CustomMappingsLoader - Successfully loaded custom xml mappings from URL: [file:/home/danilo/tomcat-7.0.27/webapps/OpenKM/WEB-INF/classes/dozerBeanMapping.xml]
2013-01-30 15:12:05,680 [http-bio-0.0.0.0-8080-exec-2] INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM] - FrontendAuthServlet: ERROR: The serialization policy file '/frontend/7DFD0D98AA0631E51A67345927A7B6CC.gwt.rpc' was not found; did you forget to include it in this deployment?
2013-01-30 15:12:05,680 [http-bio-0.0.0.0-8080-exec-2] INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM] - FrontendAuthServlet: WARNING: Failed to get the SerializationPolicy '7DFD0D98AA0631E51A67345927A7B6CC' for module 'http://localhost:8080/OpenKM/frontend/'; a legacy, 1.3.3 compatible, serialization policy will be used.  You may experience SerializationExceptions as a result.
2013-01-30 15:12:05,682 [http-bio-0.0.0.0-8080-exec-8] INFO  com.openkm.module.common.CommonAuthModule - PrincipalAdapter: com.openkm.principal.DatabasePrincipalAdapter
2013-01-30 15:12:05,682 [http-bio-0.0.0.0-8080-exec-2] INFO  com.openkm.module.common.CommonAuthModule - PrincipalAdapter: com.openkm.principal.DatabasePrincipalAdapter
2013-01-30 15:12:05,760 [http-bio-0.0.0.0-8080-exec-9] INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM] - DashboardServlet: ERROR: The serialization policy file '/frontend/34875077FD2AFB913D7FF361868353A3.gwt.rpc' was not found; did you forget to include it in this deployment?
2013-01-30 15:12:05,760 [http-bio-0.0.0.0-8080-exec-9] INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM] - DashboardServlet: WARNING: Failed to get the SerializationPolicy '34875077FD2AFB913D7FF361868353A3' for module 'http://localhost:8080/OpenKM/frontend/'; a legacy, 1.3.3 compatible, serialization policy will be used.  You may experience SerializationExceptions as a result.
2013-01-30 15:12:05,928 [http-bio-0.0.0.0-8080-exec-10] INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM] - WorkspaceServlet: ERROR: The serialization policy file '/frontend/E231DA9894079F61C24F645D9A71B746.gwt.rpc' was not found; did you forget to include it in this deployment?
2013-01-30 15:12:05,930 [http-bio-0.0.0.0-8080-exec-10] INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OpenKM] - WorkspaceServlet: WARNING: Failed to get the SerializationPolicy 'E231DA9894079F61C24F645D9A71B746' for module 'http://localhost:8080/OpenKM/frontend/'; a legacy, 1.3.3 compatible, serialization policy will be used.  You may experience SerializationExceptions as a result.
Can you give me some hints about what can be the problem? I built openkm both with the build.sh script and with eclipse but the result is the same.
I attached a screenshot of the website as can be viewed by the user.

Thank you in advance.

Re: Strange startup error

PostPosted:Wed Jan 30, 2013 2:27 pm
by ciropom
I refer to the OpenKM taken from sources at revision 7776.
I prefer to avoid updating because I made some local modifications and updating brings to many conflicts..

Or maybe can you say to me a revision that is pretty stable so I can update to that one?

Re: Strange startup error

PostPosted:Thu Jan 31, 2013 10:20 pm
by jllort
Actual version 6.2.2 corrects some bugs, you can consider as stable. In you case you should debug with GWT. When this problems happens first refresh browser ( sometimes is a problem with browser cache. If it's not the problem then you should debug with GWT as is indicated here http://wiki.openkm.com/index.php/Debugging_with_GWT and in Main.java you should enable debug to on ( by default is off and you'll not see the error ).