[opencms-dev] 7.5 install problems - Tomcat shutsdown, "Shutting down OpenCMS", never finishes

thoraddict bryce4 at gmail.com
Mon Aug 24 00:10:34 CEST 2009


Hi Jonathan,
I tried removing all modules, except the workplace.  I think this is a
requirement...but the result was the same.  However it did stop working much
earlier in the process, somewhere around line 1500.  the logs still had the
same info.  Something told tomcat to shutdown application opencms and then
everything unfolds from there(at least that's my analysis) see below.  

23 Aug 2009 14:26:56,943  INFO [ncms.loader.CmsResourceManager:1232] .
Resource type init
 : finished
23 Aug 2009 14:26:56,945  INFO [ncms.loader.CmsResourceManager: 944] .
Loader configuration
 : finished
23 Aug 2009 14:27:01,155  INFO [  org.opencms.main.OpenCmsCore:1545] .
23 Aug 2009 14:27:01,156  INFO [  org.opencms.main.OpenCmsCore:1546] .  
<<WHY, what is this?>>
23 Aug 2009 14:27:01,157  INFO [  org.opencms.main.OpenCmsCore:1547] .
 ...............................................................
23 Aug 2009 14:27:01,158  INFO [  org.opencms.main.OpenCmsCore:1548] .
Performing shutdown
 : 7.5.0
23 Aug 2009 14:27:01,160  INFO [  org.opencms.main.OpenCmsCore:1551] .
Current runlevel
 : 3
23 Aug 2009 14:27:01,163  INFO [  org.opencms.main.OpenCmsCore:1554] .
Shutdown time

@@@another log @@@@
2184:   Importing
/system/workplace/resources/editors/editarea/dist/images/close.gif ... o.
k.
2185:   Importing
/system/workplace/resources/editors/editarea/dist/images/fullscreen.gif .
..
2186:
2187:   Shutting down OpenCms, version 7.5.0 in web application "opencms"
2188:   o.k.
2189:   Importing
/system/workplace/resources/editors/editarea/dist/images/go_to_line.gif .
.. !!! Exception Error creating resource
"/system/workplace/resources/editors/editarea/dist
/images/go_to_line.gif" on path
"/system/workplace/resources/editors/editarea/dist/images/g

Its a clean environment.  I started with a fresh install of Solaris 9 and
worked my way up to this point - installed tomcat5.5.27, java1.5, mysql5.1. 
I think the log might have displayed differently the one time because I
tried manually unpacking into the ROOT directory instead of the webapps to
see if the behavior would be different.  It didn't matter.  

On each install I am making sure to delete the contents of /work/* and using
unique DB names, as mentioned no difference. 

The Database I am running is MySql 5.1  

Curious, I saw this in the log the other day and wondered if it was
something that might cause tomcat to shutdown the app. 
Aug 21, 2009 10:07:13 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
org.opencms.main.OpenCmsListener
java.lang.ClassNotFoundException: org.opencms.main.OpenCmsListener


I am thinking about unistalling tomcat5.5 and trying tomcat6.0...but
certaintly open to other ideas.  I've also tried java1.6 same results.  

Thanks, 



Jonathan Woods wrote:
> 
> A few ideas/questions:
> 
> - Have you tried installing the minimum number of modules, and then
> perhaps
> (on successive installs) gradually adding them back if that works?
> 
> - Are you sure you're installing into a clean environment?  It's odd that
> downloading the installer again should change logging behaviour.  Before
> each install, clear out Tomcat's work directory; and make sure you use a
> different database name each time.
> 
> - Which database server are you using?
> 
> Jon
> 
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org 
>> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of thoraddict
>> Sent: 21 August 2009 16:48
>> To: opencms-dev at opencms.org
>> Subject: Re: [opencms-dev] 7.5 install problems - Tomcat 
>> shutsdown, "Shutting down OpenCMS", never finishes
>> 
>> 
>> Quick update.
>> 
>> At the suggestion of one user I downloaded the install 
>> package again.  It doesn't seem to have much of a bearing, I 
>> still get hung up at line 2600 ish.  Tomcat, from what I can 
>> tell keeps shutting down(see below) its so werid because as 
>> you see below its just out of no where.  Performing shutdown, 
>> runlevel changed to 0.  Its as if Tomcat is receiving the 
>> shutdown command?  Can't find any reason for this in 
>> configuration? there's just no reason for tomcat to close....
>> 
>> Also since I re-downloaded the package file the setup.log 
>> file is not throwing an exception, rather it just stops on 
>> parsing file.  Go figure. 
>> 
>> @@@ SETUP.LOG @@@
>> 2659:   Importing
>> /system/modules/org.opencms.frontend.layoutpage/schemas/layout
>> image.xsd ...
>> o.k.
>> 2660:   Importing
>> /system/modules/org.opencms.frontend.layoutpage/schemas/layout
>> page.xsd ...
>> o.k.
>> 2661:   Importing
>> /system/modules/org.opencms.frontend.layoutpage/schemas/layout
>> paragraph.xsd
>> ... o.k.
>> 2662:   Skipping /system/workplace/
>> 2663:   Skipping /system/workplace/resources/
>> 2664:   Importing /system/workplace/resources/filetypes/ ... o.k.
>> 2665:   Importing 
>> /system/workplace/resources/filetypes/layoutpage.gif ...
>> o.k.
>> 2666:   ------ Parsing links
>> 
>> 
>> @@@@@@ OPENCMS.LOG @@@@@@
>> 
>> 
>> 21 Aug 2009 08:11:26,296  INFO [ncms.loader.CmsResourceManager:1115] .
>> Resource type init   : added resource type "ttsearch"
>>  id=77 class=org.opencms.file.types.CmsResourceTypeXmlContent
>> 21 Aug 2009 08:11:26,297  INFO [ncms.loader.CmsResourceManager:1232] .
>> Resource type init   : finished
>> 21 Aug 2009 08:11:26,299  INFO [ncms.loader.CmsResourceManager: 944] .
>> Loader configuration : finished
>> 21 Aug 2009 08:11:26,304  INFO [.workplace.CmsWorkplaceManager: 398] .
>> Adding type setting  : layoutpage
>> 21 Aug 2009 08:11:31,656  INFO [  org.opencms.main.OpenCmsCore:1545] .
>> 21 Aug 2009 08:11:31,658  INFO [  org.opencms.main.OpenCmsCore:1546] .
>> 21 Aug 2009 08:11:31,659  INFO [  
>> org.opencms.main.OpenCmsCore:1547] .                     
>> ................................
>> ...............................
>> 21 Aug 2009 08:11:31,661  INFO [  org.opencms.main.OpenCmsCore:1548] .
>> Performing shutdown  : 7.5.0
>> 21 Aug 2009 08:11:31,662  INFO [  org.opencms.main.OpenCmsCore:1551] .
>> Current runlevel     : 3
>> 21 Aug 2009 08:11:31,661  INFO [  org.opencms.main.OpenCmsCore:1548] .
>> Performing shutdown  : 7.5.0
>> 21 Aug 2009 08:11:31,662  INFO [  org.opencms.main.OpenCmsCore:1551] .
>> Current runlevel     : 3
>> 21 Aug 2009 08:11:31,665  INFO [  org.opencms.main.OpenCmsCore:1554] .
>> Shutdown time        : Aug 21, 2009 8:11:31 AM
>> 21 Aug 2009 08:11:31,666  INFO [  org.opencms.main.OpenCmsCore:2290] .
>> Runlevel change      : Switching from 3 to 0
>> 21 Aug 2009 08:11:31,668  INFO [encms.publish.CmsPublishEngine: 345] .
>> Performing shutdown  : org.opencms.publish.CmsPublish Engine
>> 21 Aug 2009 08:11:32,734  INFO [encms.publish.CmsPublishEngine: 381] .
>> Shutting down        : org.opencms.publish.CmsPublish
>> Engine ... ok!
>> 21 Aug 2009 08:11:32,735 ERROR 
>> [encms.publish.CmsPublishThread: 216] Error publishing project.
>> java.lang.NullPointerException
>>         at
>> org.opencms.report.CmsPrintStreamReport.print(CmsPrintStreamRe
>> port.java:114)
>>         at 
>> org.opencms.report.A_CmsReport.println(A_CmsReport.java:316)
>>         at 
>> org.opencms.report.A_CmsReport.println(A_CmsReport.java:190)
>> 
>> 
>> 
>> 
>> thoraddict wrote:
>> > 
>> > Hi,
>> > I've been battling opencms7.5 installation for many weeks now.  
>> > Tweaking
>> > tomcat5.5 and trying everything under the sun.  I am completely 
>> > clueless why the installation fails EVERYTIME right around the same 
>> > place (line2600).
>> > Sometimes its a few lines before.  Why the heck won't this install 
>> > complete!!!
>> > 
>> > I've posted to other forums and nobody knows, I guess this 
>> is my last 
>> > effort....
>> > 
>> > Thanks,
>> > 
>> > I am running:
>> > solaris 9
>> > java 1.5
>> > tomcat 5.5
>> > apache2.2
>> > Mysql5.1
>> > 
>> > Here are the errors from various logs(setup.log, opencms.log,
>> > catalina...etc)
>> > 
>> > 2619:   Writing export point
>> > /system/workplace/resources/list/rightarrow.png
>> > ... o
>> > .k.
>> > 2620:   Writing export point
>> > /system/workplace/resources/list/rightarrow_disabled.
>> > png ... o.k.
>> > 2621:   Writing export point 
>> /system/workplace/resources/list/search.png
>> > ...
>> > o.k.
>> > 2622:   Writing export point 
>> /system/workplace/resources/list/showall.png
>> > ... o.k.
>> > 2623:   Writing export point 
>> /system/workplace/resources/list/warning.png
>> > ... o.k.
>> > 2624:   ------ ... finished writing the export points
>> > 2625:   ------ ... finished writing the export points
>> > 2626:   ------ ... the module has been imported
>> > 2627:   ------ Importing module ... org.opencms.frontend.layoutpage
>> > ...
>> > 2628:
>> > 2629:   Shutting down OpenCms, version 7.5.0 in web 
>> application "opencms"
>> > 2630:   Import Version 7
>> > 2631:   !!! Exception null
>> > 2632:   java.lang.NullPointerException
>> > 2633:           at
>> > org.opencms.db.CmsSecurityManager.readUser(CmsSecurityManager.j
>> > ava:4330)
>> > 2634:           at
>> > org.opencms.file.CmsObject.readUser(CmsObject.java:3794)
>> > 2635:           at
>> > org.opencms.importexport.CmsImportVersion7.setUserCreated(CmsIm
>> > portVersion7.java:2824)
>> > 2636:           at 
>> sun.reflect.GeneratedMethodAccessor79.invoke(Unknown
>> > Source)
>> > 2637:           at
>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho
>> > dAccessorImpl.java:25)
>> > 
>> > 20 Aug 2009 15:35:37,862  INFO 
>> [.workplace.CmsWorkplaceManager: 398] .
>> > Adding type
>> >  setting  : layoutpage
>> > 20 Aug 2009 15:35:38,924  INFO [  
>> org.opencms.main.OpenCmsCore:1545] .
>> > 20 Aug 2009 15:35:38,926  INFO [  
>> org.opencms.main.OpenCmsCore:1546] .
>> > 20 Aug 2009 15:35:38,927  INFO [  
>> org.opencms.main.OpenCmsCore:1547] .
>> >           
>> ...............................................................
>> > 20 Aug 2009 15:35:38,928  INFO [  
>> org.opencms.main.OpenCmsCore:1548] .
>> > Performing
>> > shutdown  : 7.5.0
>> > 20 Aug 2009 15:35:38,930  INFO [  
>> org.opencms.main.OpenCmsCore:1551] .
>> > Current run
>> > level     : 3
>> > 20 Aug 2009 15:35:38,933  INFO [  
>> org.opencms.main.OpenCmsCore:1554] .
>> > Shutdown ti
>> > me        : Aug 20, 2009 3:35:38 PM
>> > 20 Aug 2009 15:35:38,934  INFO [  
>> org.opencms.main.OpenCmsCore:2290] .
>> > Runlevel ch
>> > ange      : Switching from 3 to 0
>> > 20 Aug 2009 15:35:38,936  INFO 
>> [encms.publish.CmsPublishEngine: 345] .
>> > Performing
>> > shutdown  : org.opencms.publish.CmsPublishEngine
>> > 20 Aug 2009 15:35:38,941  INFO 
>> [encms.publish.CmsPublishEngine: 381] .
>> > Shutting do
>> > wn        : org.opencms.publish.CmsPublishEngine ... ok!
>> > 20 Aug 2009 15:35:38,942  INFO 
>> [cexport.CmsStaticExportManager:2084] .
>> > Shutting do
>> > wn        : org.opencms.staticexport.CmsStaticExportManager ... ok!
>> > 20 Aug 2009 15:35:38,944  INFO 
>> [pencms.module.CmsModuleManager: 862] .
>> > Module conf
>> > iguration : 0 module classes have been shut down 20 Aug 2009 
>> > 15:35:38,945  INFO [pencms.module.CmsModuleManager: 868] .
>> > Shutting do
>> > wn        : org.opencms.module.CmsModuleManager ... ok!
>> > 20 Aug 2009 15:35:38,950  INFO 
>> [s.scheduler.CmsScheduleManager: 499] .
>> > Shutting do
>> > wn        : org.opencms.scheduler.CmsScheduleManager ... ok!
>> > 20 Aug 2009 15:35:38,952  INFO 
>> [ncms.loader.CmsResourceManager:1037] .
>> > Shutting do
>> > wn        : org.opencms.loader.CmsResourceManager ... ok!
>> > 20 Aug 2009 15:35:38,958  INFO 
>> [ms.db.generic.CmsProjectDriver: 513] .
>> > Shutting do
>> > wn        : org.opencms.db.mysql.CmsProjectDriver ... ok!
>> > 20 Aug 2009 15:35:38,960  INFO 
>> [encms.db.generic.CmsUserDriver: 676] .
>> > Shutting do
>> > wn        : org.opencms.db.mysql.CmsUserDriver ... ok!
>> > 20 Aug 2009 15:35:38,962  INFO 
>> [pencms.db.generic.CmsVfsDriver:1015] .
>> > Shutting do
>> > wn        : org.opencms.db.mysql.CmsVfsDriver ... ok!
>> > 20 Aug 2009 15:35:38,964  INFO 
>> [ms.db.generic.CmsHistoryDriver: 307] .
>> > Shutting do
>> > wn        : org.opencms.db.mysql.CmsHistoryDriver ... ok!
>> > 20 Aug 2009 15:35:39,017  INFO 
>> [rg.opencms.db.CmsDriverManager:2961] .
>> > Shutting do
>> > wn        : org.opencms.db.CmsDriverManager ... ok!
>> > 20 Aug 2009 15:35:39,019  INFO 
>> [.opencms.db.CmsSecurityManager:1538] .
>> > Shutting do
>> > wn        : org.opencms.db.CmsSecurityManager ... ok!
>> > 20 Aug 2009 15:35:39,025  INFO 
>> [.opencms.search.CmsSearchIndex:1211] .
>> > Search inde
>> > x         : Index "Online project EN (VFS)" has been 
>> successfully shut
>> > down
>> > 20 Aug 2009 15:35:39,026  INFO 
>> [.opencms.search.CmsSearchIndex:1211] .
>> > Search inde
>> > x         : Index "Online project DE (VFS)" has been 
>> successfully shut
>> > down
>> > 20 Aug 2009 15:35:39,027  INFO 
>> [.opencms.search.CmsSearchIndex:1211] .
>> > Search inde
>> > x         : Index "Offline project EN (VFS)" has been 
>> successfully shut
>> > down
>> > 20 Aug 2009 15:35:39,029  INFO 
>> [.opencms.search.CmsSearchIndex:1211] .
>> > Search inde
>> > x         : Index "German online help" has been 
>> successfully shut down
>> > 20 Aug 2009 15:35:39,031  INFO 
>> [pencms.search.CmsSearchManager:1485] .
>> > Search conf
>> > iguration : All search indices have been shut down 20 Aug 2009 
>> > 15:35:39,032  INFO [  org.opencms.main.OpenCmsCore:1660] .
>> > OpenCms sto
>> > pped!     : Total uptime was 00:05:39
>> > 20 Aug 2009 15:35:39,209  INFO [  
>> org.opencms.main.OpenCmsCore:1661] .
>> >           
>> ...............................................................
>> > 20 Aug 2009 15:35:39,211  INFO [  
>> org.opencms.main.OpenCmsCore:1662] .
>> > 20 Aug 2009 15:35:39,212  INFO [  
>> org.opencms.main.OpenCmsCore:1663] .
>> > 20 Aug 2009 15:35:39,246  INFO 
>> [.opencms.i18n.CmsLocaleManager: 333] .
>> > i18n
>> > config
>> > uration   : the JVM default locale is "en"
>> > 20 Aug 2009 15:35:39,258 ERROR 
>> [ache.commons.digester.Digester:1224] 
>> > End event thr ew exception java.lang.NullPointerException
>> >         at org.apache.log4j.Category.isEnabledFor(Category.java:749)
>> >         at
>> > 
>> org.apache.commons.logging.impl.Log4JLogger.isTraceEnabled(Log
>> 4JLogger.
>> > java:333)
>> >         at
>> > 
>> org.apache.commons.beanutils.MethodUtils.getMatchingAccessibleMethod(M
>> > e
>> > thodUtils.java:940)
>> >         at
>> > 
>> org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUt
>> ils.java:
>> > 273)
>> > 
>> > INFO: Initialization processed in 3064 ms Aug 20, 2009 3:29:11 PM 
>> > org.apache.catalina.core.StandardService start
>> > INFO: Starting service Catalina
>> > Aug 20, 2009 3:29:11 PM 
>> org.apache.catalina.core.StandardEngine start
>> > INFO: Starting Servlet Engine: Apache Tomcat/5.5.27 Aug 20, 2009 
>> > 3:29:11 PM org.apache.catalina.core.StandardHost start
>> > INFO: XML validation disabled
>> > Aug 20, 2009 3:29:14 PM org.apache.catalina.realm.JAASRealm 
>> > setContainer
>> > INFO: Set JAAS app name Catalina
>> > Aug 20, 2009 3:29:17 PM org.apache.catalina.startup.HostConfig 
>> > deployWAR
>> > INFO: Deploying web application archive opencms.war Aug 20, 2009 
>> > 3:29:25 PM org.apache.coyote.http11.Http11BaseProtocol start
>> > INFO: Starting Coyote HTTP/1.1 on http-8080 Aug 20, 2009 3:29:26 PM 
>> > org.apache.catalina.startup.Catalina start
>> > INFO: Server startup in 15318 ms
>> > Aug 20, 2009 3:35:38 PM org.apache.catalina.core.StandardContext 
>> > reload
>> > INFO: Reloading this Context has started Aug 20, 2009 3:37:54 PM 
>> > org.apache.coyote.http11.Http11BaseProtocol pause
>> > INFO: Pausing Coyote HTTP/1.1 on http-8080 Aug 20, 2009 3:37:55 PM 
>> > org.apache.catalina.core.StandardService stop
>> > INFO: Stopping service Catalina
>> > Aug 20, 2009 3:37:55 PM 
>> org.apache.catalina.core.StandardService stop
>> > INFO: Stopping service Catalina
>> > Aug 20, 2009 3:37:57 PM org.apache.coyote.http11.Http11BaseProtocol
>> > destroy
>> > INFO: Stopping Coyote HTTP/1.1 on http-8080
>> > 
>> > 
>> > _______________________________________________
>> > 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
>> > 
>> 
>> --
>> View this message in context: 
>> http://www.nabble.com/7.5-install-problems---Tomcat-shutsdown%
>> 2C-%22Shutting-down-OpenCMS%22%2C-never-finishes-tp25071505p25
> 082352.html
>> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
>> 
>> 
>> _______________________________________________
>> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/7.5-install-problems---Tomcat-shutsdown%2C-%22Shutting-down-OpenCMS%22%2C-never-finishes-tp25071505p25107964.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list