synyx GmbH & Co. KG Homepage Welcome Guest   | Login
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Register  | Search  | Help  | RSS feeds


Quick Go »
Thread Status: Normal
Total posts in this thread: 2
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 6734 times and has 1 reply Next Thread
Female ks1905
Newbie



Joined: Jun 15, 2009
Posts: 20
Status: Offline

OpenCMS won't start: Could not initialize class org.opencms.i18n.CmsLocaleManager

Hello,
I deployed the latest release 7.5.1 on Tomcat 6 under Ubuntu, but the content just can't be started. There must be something wrong with the Locale. Can anybody tell me where I have to change anything? Thanks a lot.
This is the exception from the log file:

org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of clas s org.opencms.main.OpenCmsListener
java.lang.NoClassDefFoundError: Could not initialize class org.opencms.i18n.CmsL ocaleManager
at org.opencms.i18n.CmsLocaleManager.getDefaultLocale(CmsLocaleManager.j ava:149)
at org.opencms.i18n.A_CmsMessageBundle.getBundle(A_CmsMessageBundle.java :151)
at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.j ava:95)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 429)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:791)
at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java: 123)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(Contain erBase.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:76 9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724 )
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493 )
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java :314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 )
at org.apache.catalina.core.StandardService.start(StandardService.java:5 16)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710 )
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.jav a:177)
[Nov 27, 2009 5:21:55 PM] Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Male Buckaroo
Stranger



Joined: Nov 16, 2009
Posts: 2
Status: Offline

Re: OpenCMS won't start: Could not initialize class org.opencms.i18n.CmsLocaleManager

 
Hello,
I deployed the latest release 7.5.1 on Tomcat 6 under Ubuntu, but the content just can't be started. There must be something wrong with the Locale. Can anybody tell me where I have to change anything? Thanks a lot.
This is the exception from the log file:


Today I had exactly the same problem, in my case using Debian. For me it was a matter of security/permissions - tomcat was too restricted for OpenCMS. I solved it by appending

grant codeBase "file:/var/lib/tomcat6/webapps/opencms/-" {
permission java.security.AllPermission;
};

to /etc/tomcat6/policy.d/50local.policy

(On Ubuntu, the paths might be different).

Hope that helps smile


Mark
[Nov 30, 2009 8:31:05 PM] Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]