[opencms-dev] SEVERE ERROR after Tomcat restart

Achim Westermann achim.westermann at gmx.de
Thu Jul 23 20:04:30 CEST 2009


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
> 



More information about the opencms-dev mailing list