Jahia in English > jahia_v6_CommunityEdition_r252...

0 (0 Good)
0 (0 Bad)

jahia_v6_CommunityEdition_r25203 upgrade tomcat

by  cachavez »  2011/06/07 18:50

Hi all.

I'm trying to upgrade the tomcat that came packaged with the version jahia_v6_CommunityEdition_r25203.
I followed the instructions from http://www.jahia.org/cms/lang/en/home/J ... ade_tomcat,

The application run okay, but when I stop the tomcat, I got the following error and the tomcat did not stop properly

Sorry the long post:

2011-04-19 02:19:33,250: INFO [org.jahia.services.templates.JahiaTemplateManagerService] - Stopping JahiaTemplateManagerService ...
2011-04-19 02:19:33,255: ERROR [org.jahia.services.templates.TemplatePackageRegistry] - Unable to find parent template package with the name 'Test and training templates' for the package 'Jahia TCK templates (Jahia Test Compatibility Kit)'. Skipping inheritance resolution.
2011-04-19 02:19:33,256: INFO [org.jahia.services.templates.JahiaTemplateManagerService] - ... JahiaTemplateManagerService stopped successfully
2011-04-19 02:19:33,258: INFO [org.jahia.services.toolbar.JahiaToolbarService] - Toolbar service is stopped.
2011-04-19 02:19:33,259: INFO [org.jahia.services.search.JahiaSearchBaseService] - Shutting down search service...
2011-04-19 02:19:33,259: INFO [org.jahia.services.search.JahiaSearchBaseService] - Shutting down search service done...
2011-04-19 02:19:33,268: INFO [org.compass.core.impl.DefaultCompass] - Closing Compass [compass]
2011-04-19 02:19:33,268: INFO [org.compass.core.lucene.engine.manager.ScheduledLuceneSearchEngineIndexManager] - Stopping scheduled index manager
2011-04-19 02:19:33,269: INFO [org.compass.core.impl.DefaultCompass] - Closed Compass [compass]
2011-04-19 02:19:33,271: INFO [org.jahia.services.cache.ehcache.EhCacheProvider] - Shutting down cache provider, serializing to disk if active. Please wait...
2011-04-19 02:19:33,330: INFO [org.jahia.services.cache.ehcache.EhCacheProvider] - Cache provider shutdown completed in 58[ms]
2011-04-19 02:19:33,339: INFO [org.jahia.services.mail.MailServiceImpl] - Mail Service successfully stopped
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [] registered the JDBC driver [org.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [] registered the JDBC driver [org.apache.derby.jdbc.ClientDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [] registered the JDBC driver [org.hsqldb.jdbcDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Thread-2] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [JahiaRamQuartzScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [JahiaRamQuartzScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [rules-timer] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Transient File Reaper] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [IndexMerger] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Thread-9] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [rules-timer] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Thread-13] but has failed to stop it. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [null] (value [null]) and a value of type [org.apache.lucene.index.SegmentTermEnum] (value [org.apache.lucene.index.SegmentTermEnum@91d3b18]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5e12a954]) and a value of type [org.jahia.services.cache.clusterservice.batch.ClusterMessageCacheBatch] (value [FastArrayList[[]]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1b2afa0c]) and a value of type [org.mvel.debug.DebuggerContext] (value [org.mvel.debug.DebuggerContext@228637c3]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@19b6f4ea]) and a value of type [org.jboss.cache.InvocationContext] (value [InvocationContext{transaction=null, globalTransaction=null, optionOverrides=null, originLocal=true, txHasMods=false}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [org.apache.jackrabbit.name.NameFormat$1] (value [org.apache.jackrabbit.name.NameFormat$1@3a893bd6]) and a value of type [java.util.regex.Matcher] (value [java.util.regex.Matcher[pattern=(([^ /:\[\]*'/1 log4j:WARN No appenders could be found for logger (org.quartz.plugins.management.ShutdownHookPlugin).
log4j:WARN Please initialize the log4j system properly.
java.lang.NullPointerException
at org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.java:1062)
at org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:1050)
at org.apache.jackrabbit.core.jndi.BindableRepository.shutdown(BindableRepository.java:292)
at org.apache.jackrabbit.core.jndi.BindableRepository$1.run(BindableRepository.java:141)

--
Cheers.
Carlos Ch?�vez.
  • jahia_v6_CommunityEdition_r25203 upgrade tomcat
    2011/06/07 18:50

    cachavez Hi all.<br/><br/>I'm trying to upgrade the tomcat that came packaged with the version jahia_v6_CommunityEdition_r25203.<br/>I followed the instructions from <!-- m --><a class="postlink" href="http://www.jahia.org/cms/lang/en/home/Jahiapedia/Install_Jahia/Upgrade_tomcat">http://www.jahia.org/cms/lang/en/home/J ... ade_tomcat</a><!-- m -->,<br/><br/>The application run okay, but when I stop the tomcat, I got the following error and the tomcat did not stop properly<br/><br/>Sorry the long post:<br/><br/>2011-04-19 02:19:33,250: INFO [org.jahia.services.templates.JahiaTemplateManagerService] - Stopping JahiaTemplateManagerService ...<br/>2011-04-19 02:19:33,255: ERROR [org.jahia.services.templates.TemplatePackageRegistry] - Unable to find parent template package with the name 'Test and training templates' for the package 'Jahia TCK templates (Jahia Test Compatibility Kit)'. Skipping inheritance resolution.<br/>2011-04-19 02:19:33,256: INFO [org.jahia.services.templates.JahiaTemplateManagerService] - ... JahiaTemplateManagerService stopped successfully<br/>2011-04-19 02:19:33,258: INFO [org.jahia.services.toolbar.JahiaToolbarService] - Toolbar service is stopped.<br/>2011-04-19 02:19:33,259: INFO [org.jahia.services.search.JahiaSearchBaseService] - Shutting down search service...<br/>2011-04-19 02:19:33,259: INFO [org.jahia.services.search.JahiaSearchBaseService] - Shutting down search service done...<br/>2011-04-19 02:19:33,268: INFO [org.compass.core.impl.DefaultCompass] - Closing Compass [compass]<br/>2011-04-19 02:19:33,268: INFO [org.compass.core.lucene.engine.manager.ScheduledLuceneSearchEngineIndexManager] - Stopping scheduled index manager<br/>2011-04-19 02:19:33,269: INFO [org.compass.core.impl.DefaultCompass] - Closed Compass [compass]<br/>2011-04-19 02:19:33,271: INFO [org.jahia.services.cache.ehcache.EhCacheProvider] - Shutting down cache provider, serializing to disk if active. Please wait...<br/>2011-04-19 02:19:33,330: INFO [org.jahia.services.cache.ehcache.EhCacheProvider] - Cache provider shutdown completed in 58[ms]<br/>2011-04-19 02:19:33,339: INFO [org.jahia.services.mail.MailServiceImpl] - Mail Service successfully stopped<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc<br/>SEVERE: The web application [] registered the JDBC driver [org.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc<br/>SEVERE: The web application [] registered the JDBC driver [org.apache.derby.jdbc.ClientDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc<br/>SEVERE: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc<br/>SEVERE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc<br/>SEVERE: The web application [] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc<br/>SEVERE: The web application [] registered the JDBC driver [org.hsqldb.jdbcDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc<br/>SEVERE: The web application [] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [Thread-2] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [JahiaRamQuartzScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [JahiaRamQuartzScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [rules-timer] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [Transient File Reaper] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [IndexMerger] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [Thread-9] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [rules-timer] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads<br/>SEVERE: The web application [] appears to have started a thread named [Thread-13] but has failed to stop it. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap<br/>SEVERE: The web application [] created a ThreadLocal with key of type [null] (value [null]) and a value of type [org.apache.lucene.index.SegmentTermEnum] (value [org.apache.lucene.index.SegmentTermEnum@91d3b18]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap<br/>SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5e12a954]) and a value of type [org.jahia.services.cache.clusterservice.batch.ClusterMessageCacheBatch] (value [FastArrayList[[]]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap<br/>SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1b2afa0c]) and a value of type [org.mvel.debug.DebuggerContext] (value [org.mvel.debug.DebuggerContext@228637c3]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap<br/>SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@19b6f4ea]) and a value of type [org.jboss.cache.InvocationContext] (value [InvocationContext{transaction=null, globalTransaction=null, optionOverrides=null, originLocal=true, txHasMods=false}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.<br/>Apr 19, 2011 2:19:33 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap<br/>SEVERE: The web application [] created a ThreadLocal with key of type [org.apache.jackrabbit.name.NameFormat$1] (value [org.apache.jackrabbit.name.NameFormat$1@3a893bd6]) and a value of type [java.util.regex.Matcher] (value [java.util.regex.Matcher[pattern=(([^ /:\[\]*'/1 log4j:WARN No appenders could be found for logger (org.quartz.plugins.management.ShutdownHookPlugin).<br/>log4j:WARN Please initialize the log4j system properly.<br/>java.lang.NullPointerException<br/> at org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.java:1062)<br/> at org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:1050)<br/> at org.apache.jackrabbit.core.jndi.BindableRepository.shutdown(BindableRepository.java:292)<br/> at org.apache.jackrabbit.core.jndi.BindableRepository$1.run(BindableRepository.java:141)<br/><br/>--<br/>Cheers.<br/>Carlos Ch?�vez.

  • Number of messages  32
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: jahia_v6_CommunityEdition_r25203 upgrade tomcat

    by  shyrkov »  2011/06/07 18:50

    Hello Carlos,

    the possible memory leak detection feature was added in recent versions of the Tomcat, that is why you are seeing a lot of warnings about potential memory leaks.

    You can normally ignore them and do a Google search to get more details if you would like to get more insight on the original intention of the Tomcat development team with this feature (see also [url=http/1html:1elowkur]JreMemoryLeakPreventionListener[/url:1elowkur]).

    Kind regards
    Sergiy
  • Re: jahia_v6_CommunityEdition_r25203 upgrade tomcat
    2011/06/07 18:50

    shyrkov Hello Carlos,<br/><br/>the possible memory leak detection feature was added in recent versions of the Tomcat, that is why you are seeing a lot of warnings about potential memory leaks.<br/><br/>You can normally ignore them and do a Google search to get more details if you would like to get more insight on the original intention of the Tomcat development team with this feature (see also [url=http/1html:1elowkur]JreMemoryLeakPreventionListener[/url:1elowkur]).<br/><br/>Kind regards<br/>Sergiy

  • Number of messages  407
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page