• Strange startup error

  • He we will discuss about how to make customization and improvement to the OpenKM source code.
He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #21184  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.
Attachments
screenshot
screenshot
openkm.png (53.07 KiB) Viewed 4428 times
 #21185  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?
 #21211  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 ).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.