[opencms-dev] SEVERE ERROR after Tomcat restart

"Björn T." bjorn.t at web.de
Fri Jul 24 08:10:28 CEST 2009


Hi Achim,

i did copy all jars from a fresh 7.0.5 war into my lib dir.
there were two "ldap-*...jar" which i deleted now from the opencms-lib dir.
i also looked at the configs and could not notice anything special.

here are the last lines from the log file:
[root at services logs]# pwd
/opt/tomcat/webapps/opencms/WEB-INF/logs
[root at services logs]# tail -n 100 opencms.log
24 Jul 2009 08:05:26,712  INFO [rg.opencms.db.CmsDriverManager:5136] . Driver init          : initializing org.opencms.db.mysql.CmsVfsDriver
24 Jul 2009 08:05:26,719  INFO [encms.db.generic.CmsSqlManager: 120] . Driver SQL manager   : org.opencms.db.mysql.CmsSqlManager
24 Jul 2009 08:05:26,719  INFO [pencms.db.generic.CmsVfsDriver:1043] . Assigned pool        : opencms:default
24 Jul 2009 08:05:26,719  INFO [rg.opencms.db.CmsDriverManager:5142] . Driver init          : ok, finished
24 Jul 2009 08:05:26,729  INFO [rg.opencms.db.CmsDriverManager:5130] . Driver init          : starting org.opencms.db.mysql.CmsUserDriver
24 Jul 2009 08:05:26,729  INFO [rg.opencms.db.CmsDriverManager:5136] . Driver init          : initializing org.opencms.db.mysql.CmsUserDriver
24 Jul 2009 08:05:26,732  INFO [encms.db.generic.CmsSqlManager: 120] . Driver SQL manager   : org.opencms.db.mysql.CmsSqlManager
24 Jul 2009 08:05:26,732  INFO [encms.db.generic.CmsUserDriver: 936] . Assigned pool        : opencms:default
24 Jul 2009 08:05:26,733  INFO [encms.db.generic.CmsUserDriver: 941] . Digest configured    : MD5
24 Jul 2009 08:05:26,733  INFO [encms.db.generic.CmsUserDriver: 948] . Digest file encoding : UTF-8
24 Jul 2009 08:05:26,733  INFO [encms.db.generic.CmsUserDriver: 955] . Using digest encoding: "MD5" from "SUN" version "1.6"
24 Jul 2009 08:05:26,733  INFO [rg.opencms.db.CmsDriverManager:5142] . Driver init          : ok, finished
24 Jul 2009 08:05:26,744  INFO [rg.opencms.db.CmsDriverManager:5130] . Driver init          : starting org.opencms.db.mysql.CmsProjectDriver
24 Jul 2009 08:05:26,744  INFO [rg.opencms.db.CmsDriverManager:5136] . Driver init          : initializing org.opencms.db.mysql.CmsProjectDriver
24 Jul 2009 08:05:26,747  INFO [encms.db.generic.CmsSqlManager: 120] . Driver SQL manager   : org.opencms.db.mysql.CmsSqlManager
24 Jul 2009 08:05:26,747  INFO [ms.db.generic.CmsProjectDriver: 685] . Assigned pool        : opencms:default
24 Jul 2009 08:05:26,747  INFO [rg.opencms.db.CmsDriverManager:5142] . Driver init          : ok, finished
24 Jul 2009 08:05:26,755  INFO [rg.opencms.db.CmsDriverManager:5130] . Driver init          : starting org.opencms.db.mysql.CmsHistoryDriver
24 Jul 2009 08:05:26,755  INFO [rg.opencms.db.CmsDriverManager:5136] . Driver init          : initializing org.opencms.db.mysql.CmsHistoryDriver
24 Jul 2009 08:05:26,757  INFO [encms.db.generic.CmsSqlManager: 120] . Driver SQL manager   : org.opencms.db.mysql.CmsSqlManager
24 Jul 2009 08:05:26,758  INFO [ms.db.generic.CmsHistoryDriver: 417] . Assigned pool        : opencms:default
24 Jul 2009 08:05:26,758  INFO [rg.opencms.db.CmsDriverManager:5142] . Driver init          : ok, finished
24 Jul 2009 08:05:26,758  INFO [rg.opencms.db.CmsDriverManager:4338] . Driver manager init  : phase 4 - connecting to the database
24 Jul 2009 08:05:26,837  INFO [.opencms.db.CmsSecurityManager:2746] . Driver manager init  : phase 4 ok - finished
24 Jul 2009 08:05:26,839  INFO [.opencms.db.CmsSecurityManager:2778] . Security manager init: ok - finished
24 Jul 2009 08:05:26,842  INFO [uration.CmsSystemConfiguration:1730] . Session Storage Prov : org.opencms.main.CmsDefaultSessionStorageProvider instanciated
24 Jul 2009 08:05:26,910  INFO [s.scheduler.CmsScheduleManager: 273] . Scheduler config     : scheduler initialized
24 Jul 2009 08:05:26,910  INFO [s.scheduler.CmsScheduleManager: 300] . Scheduler config     : scheduler started
24 Jul 2009 08:05:26,910  INFO [s.scheduler.CmsScheduleManager: 301] . Scheduler config     : finished
24 Jul 2009 08:05:26,911  INFO [.opencms.i18n.CmsLocaleManager: 836] . i18n configuration   : vfs access initialized
24 Jul 2009 08:05:26,912  INFO [pencms.site.CmsSiteManagerImpl: 533] . Site roots configured: 2
24 Jul 2009 08:05:26,933  INFO [pencms.site.CmsSiteManagerImpl: 573] . Site root default    : server: * uri: /sites/default title: /sites/default/
24 Jul 2009 08:05:26,933  INFO [pencms.site.CmsSiteManagerImpl: 581] . Site of workplace    : http://services.verwaltung.regenbogen-ag.de
24 Jul 2009 08:05:26,954 ERROR [g.opencms.main.OpenCmsListener:  95] A Java system error occurred.
java.lang.NoSuchMethodError: org.opencms.db.CmsDriverManager.readResourcesWithProperty(Lorg/opencms/db/CmsDbContext;Lorg/opencms/file/CmsResource;Ljava/lang/String;Ljava/lang/String;Lorg/opencms/file/CmsResourceFilter;)Ljava/util/List;
	at org.opencms.db.CmsSecurityManager.readResourcesWithProperty(CmsSecurityManager.java:4151)
	at org.opencms.file.CmsObject.readResourcesWithProperty(CmsObject.java:3613)
	at org.opencms.file.CmsObject.readResourcesWithProperty(CmsObject.java:3587)
	at org.opencms.file.CmsObject.readResourcesWithProperty(CmsObject.java:3567)
	at org.opencms.staticexport.CmsStaticExportManager.setExportnames(CmsStaticExportManager.java:2595)
	at org.opencms.staticexport.CmsStaticExportManager.initialize(CmsStaticExportManager.java:1559)
	at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1162)
	at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1310)
	at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1735)
	at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	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:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
24 Jul 2009 08:05:26,956 ERROR [  org.opencms.main.OpenCmsCore: 320] Kritischer Fehler beim Initialisieren von OpenCms: org.opencms.db.CmsDriverManager.readResourcesWithProperty(Lorg/opencms/db/CmsDbContext;Lorg/opencms/file/CmsResource;Ljava/lang/String;Ljava/lang/String;Lorg/opencms/file/CmsResourceFilter;)Ljava/util/List;.
org.opencms.main.CmsException: Kritischer Fehler beim Initialisieren von OpenCms: org.opencms.db.CmsDriverManager.readResourcesWithProperty(Lorg/opencms/db/CmsDbContext;Lorg/opencms/file/CmsResource;Ljava/lang/String;Ljava/lang/String;Lorg/opencms/file/CmsResourceFilter;)Ljava/util/List;.
	at org.opencms.main.OpenCmsCore.setErrorCondition(OpenCmsCore.java:320)
	at org.opencms.main.CmsInitException.setErrorCondition(CmsInitException.java:120)
	at org.opencms.main.CmsInitException.<init>(CmsInitException.java:78)
	at org.opencms.main.CmsInitException.<init>(CmsInitException.java:64)
	at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:97)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	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:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
[root at services logs]# 



> -----Ursprüngliche Nachricht-----
> Von: "Achim Westermann" <achim.westermann at gmx.de>
> Gesendet: 23.07.09 20:06:27
> An: The OpenCms mailing list <opencms-dev at opencms.org>
> Betreff: Re: [opencms-dev] SEVERE ERROR after Tomcat restart


> Björn,
> 
> perhaps you should look a bit deeper into your old installation. Post 
> the opencms.log as Michael said that contains a start - sequence.
> 
> Perhaps there is some custom class you configured in the configuration 
> that is compiled against a different opencms version. That could be 
> detected and fixed.
> 
> I just read that you were configuring some ldap module. Perhaps that 
> ldap module is compiled against a different opencms version? Then you 
> could revert that. Most likely there will be a different user driver 
> class configured in your opencms.properties and you could revert that to 
> the standard one?
> 
> 
> It may be hard to import the data to a fresh system. What you could try 
> is (but I recommend to first go with the steps above):
> 
> - Install a complete new OpenCms 7.0.5. But rename the opencms.war to 
> another name to avoid deleting the old database. Best you first do a 
> complete dump.
> 
> - When you are finished, modify the opencms.properties and change the 
> jdbc url to point to your old database.
> 
> 
> In Future: Before modifying anything do a dump of your database and a 
> backup of your webapplication.
> 
> 
> Good luck!
> 
> Achim
> 
> 
> 
> 
> Björn T. wrote:
> > Hi there,
> > 
> > i would appreciate some help...
> > i tried to recover but it all failed. now i want to use my DB Backup with a fresh installation. How can i do that?
> > Maybe there is a way to staticaly export all resources etc. from the old system and import it into the new one?
> > How can i get to the old content?
> > 
> > Thanx in advance!
> > Cheeers
> > Björn
> > 
> > 
> > 
> >> -----Ursprüngliche Nachricht-----
> >> Von: "Björn T." <bjorn.t at web.de>
> >> Gesendet: 23.07.09 19:04:06
> >> An: The OpenCms mailing list <opencms-dev at opencms.org>
> >> Betreff: Re: [opencms-dev] SEVERE ERROR after Tomcat restart
> > 
> > 
> >> Hi
> >> thanx for the advice. unfortunatly it did not help.
> >> any ideas how i get the old content into  new installation?
> >> Thanx in advance
> >> Cheers 
> >> BT
> >>
> >>> -----Ursprüngliche Nachricht-----
> >>> Von: <a.westermann at alkacon.com>, <a.westermann at alkacon.com>
> >>> Gesendet: 23.07.09 18:22:17
> >>> An: The OpenCms mailing list <opencms-dev at opencms.org>
> >>> Betreff: Re: [opencms-dev] SEVERE ERROR after Tomcat restart
> >>
> >>> Hi Björn,
> >>>
> >>> 1. Stay calm and especially slow.
> >>> 2. Back up the webapplication folder before doing any further changes.
> >>> 3. This is a NoSuchMethodError message --> Your *.jar files have been 
> >>> mixed up. Check the dates /sizes of the files in the WEB-INF/lib 
> >>> directory. You could compare with the release versions.
> >>>
> >>> Kind Regards,
> >>> Achim.
> >>>
> >>> -------------------
> >>> Achim Westermann
> >>>
> >>> Alkacon Software GmbH  - The OpenCms Experts
> >>> http://www.alkacon.com - http://www.opencms.org
> >>>
> >>>
> >>>
> >>>
> >>> Björn T. wrote:
> >>>> Hi there,
> >>>> I am running OpenCMS 7.0.5 on Tomcat. Just now I restartet Tomcat and OpenCMS was gone afterwords. I am getting only Http-Error 404.
> >>>> In the Tomcat Logs: catalina.out: I find the following:
> >>>>
> >>>> 23.07.2009 16:18:08 org.apache.catalina.core.AprLifecycleListener init
> >>>> INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/java-6-sun/jre/lib/i386/client:/usr/java/java-6-sun/jre/lib/i386:/usr/java/java-6-sun/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
> >>>> 23.07.2009 16:18:08 org.apache.coyote.http11.Http11Protocol init
> >>>> INFO: Initializing Coyote HTTP/1.1 on http-8080
> >>>> 23.07.2009 16:18:08 org.apache.catalina.startup.Catalina load
> >>>> INFO: Initialization processed in 314 ms
> >>>> 23.07.2009 16:18:09 org.apache.catalina.core.StandardService start
> >>>> INFO: Starting service Catalina
> >>>> 23.07.2009 16:18:09 org.apache.catalina.core.StandardEngine start
> >>>> INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
> >>>> 23.07.2009 16:18:09 org.apache.catalina.startup.HostConfig deployWAR
> >>>> INFO: Deploying web application archive opencms.war
> >>>> 23.07.2009 16:18:11 org.apache.catalina.core.StandardContext start
> >>>> SEVERE: Error listenerStart
> >>>> 23.07.2009 16:18:11 org.apache.catalina.core.StandardContext start
> >>>> SEVERE: Context [/opencms] startup failed due to previous errors
> >>>> 23.07.2009 16:18:12 org.apache.coyote.http11.Http11Protocol start
> >>>> INFO: Starting Coyote HTTP/1.1 on http-8080
> >>>> 23.07.2009 16:18:12 org.apache.jk.common.ChannelSocket init
> >>>> INFO: JK: ajp13 listening on /0.0.0.0:8009
> >>>> 23.07.2009 16:18:12 org.apache.jk.server.JkMain start
> >>>> INFO: Jk running ID=0 time=0/15  config=null
> >>>> 23.07.2009 16:18:12 org.apache.catalina.startup.Catalina start
> >>>> INFO: Server startup in 3297 ms
> >>>> [root at services logs]# cat catalina.out 
> >>>> 23.07.2009 16:18:08 org.apache.catalina.core.AprLifecycleListener init
> >>>> INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/java-6-sun/jre/lib/i386/client:/usr/java/java-6-sun/jre/lib/i386:/usr/java/java-6-sun/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
> >>>> 23.07.2009 16:18:08 org.apache.coyote.http11.Http11Protocol init
> >>>> INFO: Initializing Coyote HTTP/1.1 on http-8080
> >>>> 23.07.2009 16:18:08 org.apache.catalina.startup.Catalina load
> >>>> INFO: Initialization processed in 314 ms
> >>>> 23.07.2009 16:18:09 org.apache.catalina.core.StandardService start
> >>>> INFO: Starting service Catalina
> >>>> 23.07.2009 16:18:09 org.apache.catalina.core.StandardEngine start
> >>>> INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
> >>>> 23.07.2009 16:18:09 org.apache.catalina.startup.HostConfig deployWAR
> >>>> INFO: Deploying web application archive opencms.war
> >>>>
> >>>>
> >>>> Starting OpenCms, version 7.0.5 in web application "opencms"
> >>>>
> >>>> Copyright (c) 2007 Alkacon Software GmbH
> >>>> OpenCms comes with ABSOLUTELY NO WARRANTY
> >>>> This is free software, and you are welcome to
> >>>> redistribute it under certain conditions.
> >>>> Please see the GNU Lesser General Public Licence for
> >>>> further details.
> >>>>
> >>>>
> >>>>
> >>>> --------------------
> >>>> The following critical error occurred:
> >>>> Kritischer Fehler beim Initialisieren von OpenCms: org.opencms.db.CmsDriverManager.readResourcesWithProperty(Lorg/opencms/db/CmsDbContext;Lorg/opencms/file/CmsResource;Ljava/lang/String;Ljava/lang/String;Lorg/opencms/file/CmsResourceFilter;)Ljava/util/List;.
> >>>> Giving up, unable to start OpenCms.
> >>>> --------------------
> >>>> 23.07.2009 16:18:11 org.apache.catalina.core.StandardContext start
> >>>> SEVERE: Error listenerStart
> >>>> 23.07.2009 16:18:11 org.apache.catalina.core.StandardContext start
> >>>> SEVERE: Context [/opencms] startup failed due to previous errors
> >>>> 23.07.2009 16:18:12 org.apache.coyote.http11.Http11Protocol start
> >>>> INFO: Starting Coyote HTTP/1.1 on http-8080
> >>>> 23.07.2009 16:18:12 org.apache.jk.common.ChannelSocket init
> >>>> INFO: JK: ajp13 listening on /0.0.0.0:8009
> >>>> 23.07.2009 16:18:12 org.apache.jk.server.JkMain start
> >>>> INFO: Jk running ID=0 time=0/15  config=null
> >>>> 23.07.2009 16:18:12 org.apache.catalina.startup.Catalina start
> >>>> INFO: Server startup in 3297 ms
> >>>> Exception in thread "OpenCms: Grim Reaper" java.lang.NullPointerException
> >>>> 	at org.opencms.i18n.CmsResourceBundleLoader.getBundle(CmsResourceBundleLoader.java:224)
> >>>> 	at org.opencms.i18n.CmsMessages.<init>(CmsMessages.java:87)
> >>>> 	at org.opencms.i18n.A_CmsMessageBundle.getBundle(A_CmsMessageBundle.java:163)
> >>>> 	at org.opencms.i18n.A_CmsMessageBundle.getBundle(A_CmsMessageBundle.java:155)
> >>>> 	at org.opencms.main.CmsThreadStore.run(CmsThreadStore.java:168)
> >>>>
> >>>> Does anyone have an idea? The system is  production system...
> >>>> Thanx in advance!
> >>>>
> >>>> Cheers Björn
> >>>>
> >>>>
> >>>> ________________________________________________________________
> >>>> Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> >>>> für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> This mail is sent to you from the opencms-dev mailing list
> >>>> To change your list options, or to unsubscribe from the list, please visit
> >>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
> >>> _______________________________________________
> >>> This mail is sent to you from the opencms-dev mailing list
> >>> To change your list options, or to unsubscribe from the list, please visit
> >>> http://lists.opencms.org/mailman/listinfo/opencms-dev
> >>>
> >> sail fast live slow...
> >> ________________________________________________________________
> >> Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> >> für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
> >>
> >>
> >> _______________________________________________
> >> This mail is sent to you from the opencms-dev mailing list
> >> To change your list options, or to unsubscribe from the list, please visit
> >> http://lists.opencms.org/mailman/listinfo/opencms-dev
> >>
> > 
> > sail fast live slow...
> > ________________________________________________________________
> > Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> > für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
> > 
> > 
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> > 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 

sail fast live slow...
______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de




More information about the opencms-dev mailing list