[opencms-dev] SEVERE ERROR after Tomcat restart

Jonathan Woods jonathan.woods at scintillance.com
Thu Jul 23 19:52:49 CEST 2009


Oh, and when you say "that didn't work" to Achim's suggestion, what did you
try?  I'd replace all OpenCms and third-party jars in the OpenCms webapp's
lib folder with those from a fresh installation of the same version of
OpenCms carried out somewhere else (but if you do that, be careful NOT to
use the same OpenCms database name, or you'll overwrite the production
database).

In fact, probably a good idea to back up the database now if you can.  If
it's MySQL, you can just copy the folder called <mysqlroot>/data/<name of
OpenCms database>.

Jon

> -----Original Message-----
> From: Jonathan Woods [mailto:jonathan.woods at scintillance.com] 
> Sent: 23 July 2009 18:51
> To: 'The OpenCms mailing list'
> Subject: RE: [opencms-dev] SEVERE ERROR after Tomcat restart
> 
> Björn -
> 
> A few questions first...
> 
> 1. Any idea what might have caused the problem, i.e. what 
> changes you'd made recently?
> 2. Does any of your modules hook into the module lifecycle, 
> or listen to OpenCms events?
> 3. Do you have any OpenCms scheduled jobs configured?
> 4. Are you using MySQL?
> 
> Jon
> 
> > -----Original Message-----
> > From: opencms-dev-bounces at opencms.org 
> > [mailto:opencms-dev-bounces at opencms.org] On Behalf Of "Björn T."
> > Sent: 23 July 2009 18:39
> > To: The OpenCms mailing list
> > Subject: Re: [opencms-dev] SEVERE ERROR after Tomcat restart
> > 
> > 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/l
> > > > > ib/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/l
> > > > > ib/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/l
> > ang/String;Ljava/lang/String;Lorg/opencms/file/CmsResourceFilt
> > er;)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(CmsResource
> > BundleLoader.java:224)
> > > > > 	at
> > org.opencms.i18n.CmsMessages.<init>(CmsMessages.java:87)
> > > > > 	at
> > org.opencms.i18n.A_CmsMessageBundle.getBundle(A_CmsMessageBund
> > le.java:163)
> > > > > 	at
> > org.opencms.i18n.A_CmsMessageBundle.getBundle(A_CmsMessageBund
> > le.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




More information about the opencms-dev mailing list