Re: Jahia 5 Context Path and startup/shutdown issues
Serge Huber <[email protected]> Wed, 17 Jan 2007 17:11:56 +0100
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
Changing the servlet and context path is not supported in Jahia 5.0.0 but is supported in SP1. There is even documentation for this in the README file. Regards, Serge Huber. On Jan 16, 2007, at 5:49 AM, Graham Honey wrote: > Hi, > > I'm hoping that someone can provide some help in regards to a few > issues I am having with Jahia release 5.0.0, Community Edition, > Build 16138. I'm trying to change the context path ie http:// > www.domainname.com/contextpath/Jahia by doing the following: > > rename the directory under webapps > update links in jahia.sh and shutdown.sh > Change apache worker and httpd and update > web.xml > <init-param> > <!-- This parameter defines the default context path > that will > be used to generate URLs > --> > <param-name>defaultContextPath</param-name> > <param-value>/jahia</param-value> > </init-param> > > jahia.properties > jahiaHostHttpPath = > jahiaTemplatesHttpPath = /jahia/ > jsp/jahia/templates/ > jahiaEnginesHttpPath = /jahia/ > jsp/jahia/engines/ > jahiaJavaScriptHttpPath = /jahia/ > jsp/jahia/javascript/jahia.js > Is there something I have missed or doing incorrect? > > Also when starting the site I get the following messages. This > does not stop the site from loading, but I would like to get to the > bottom of the cause. > > log4j:WARN No appenders could be found for logger > (org.jahia.init.TomcatWait). > log4j:WARN Please initialize the log4j system properly. > > Also when I shutdown I get the following in the log, again it does > not stop the site from shutting down: > > 16/01/2007 14:52:00 org.apache.coyote.http11.Http11BaseProtocol pause > INFO: Pausing Coyote HTTP/1.1 on http-35080 > 16/01/2007 14:52:01 org.apache.catalina.core.StandardService stop > INFO: Stopping service Catalina > 1860249 [2007-01-16 14:52:01,918] > [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ > jahia]] ERROR - Servlet JahiaAdministration threw unload() exception > javax.servlet.ServletException: Servlet.destroy() for servlet > JahiaAdministration threw exception > at org.apache.catalina.core.StandardWrapper.unload > (StandardWrapper.java:1344) > at org.apache.catalina.core.StandardWrapper.stop > (StandardWrapper.java:1666) > at org.apache.catalina.core.ContainerBase.removeChild > (ContainerBase.java:892) > at org.apache.catalina.core.StandardContext.removeChild > (StandardContext.java:3095) > at org.apache.catalina.startup.ContextConfig.stop > (ContextConfig.java:1082) > at org.apache.catalina.startup.ContextConfig.lifecycleEvent > (ContextConfig.java:276) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent > (LifecycleSupport.java:119) > at org.apache.catalina.core.StandardContext.stop > (StandardContext.java:4355) > at org.apache.catalina.core.ContainerBase.removeChild > (ContainerBase.java:892) > at org.apache.catalina.startup.HostConfig.undeployApps > (HostConfig.java:1164) > at org.apache.catalina.startup.HostConfig.stop > (HostConfig.java:1135) > at org.apache.catalina.startup.HostConfig.lifecycleEvent > (HostConfig.java:312) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent > (LifecycleSupport.java:119) > at org.apache.catalina.core.ContainerBase.stop > (ContainerBase.java:1054) > at org.apache.catalina.core.ContainerBase.stop > (ContainerBase.java:1066) > at org.apache.catalina.core.StandardEngine.stop > (StandardEngine.java:447) > at org.apache.catalina.core.StandardService.stop > (StandardService.java:512) > at org.apache.catalina.core.StandardServer.stop > (StandardServer.java:743) > at org.apache.catalina.startup.Catalina.stop(Catalina.java: > 601) > at org.apache.catalina.startup.Catalina.start(Catalina.java: > 576) > 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:585) > at org.apache.catalina.startup.Bootstrap.start > (Bootstrap.java:294) > at org.apache.catalina.startup.Bootstrap.main > (Bootstrap.java:432) > 1861230 [2007-01-16 14:52:02,899] > [org.jahia.bin.JahiaJetspeedServlet] INFO - Done shutting down! > 1861263 [2007-01-16 14:52:02,932] [org.jahia.bin.Jahia] INFO - > shutdown requested ! > 1861300 [2007-01-16 14:52:02,969] > [org.jahia.services.search.JahiaSearchBaseService] INFO - Shutting > down search service... > 1861302 [2007-01-16 14:52:02,971] > [org.jahia.services.search.lucene.AbstractLuceneSearchIndexer] > INFO - shutdowning indexer started > 1861303 [2007-01-16 14:52:02,972] > [org.jahia.services.search.lucene.AbstractLuceneSearchIndexer] > INFO - shutdowning indexer done > 1861306 [2007-01-16 14:52:02,975] > [org.jahia.services.search.JahiaSearchBaseService] INFO - Shutting > down search service done... > 1861307 [2007-01-16 14:52:02,976] > [org.quartz.core.QuartzScheduler] INFO - Scheduler > JahiaQuartzScheduler_$_devel.eduau.local1168919531960 shutting down. > 1861309 [2007-01-16 14:52:02,978] > [org.quartz.core.QuartzScheduler] INFO - Scheduler > JahiaQuartzScheduler_$_devel.eduau.local1168919531960 paused. > 1861312 [2007-01-16 14:52:02,981] > [org.quartz.core.QuartzScheduler] INFO - Scheduler > JahiaQuartzScheduler_$_devel.eduau.local1168919531960 shutdown > complete. > 1861314 [2007-01-16 14:52:02,983] > [org.quartz.core.QuartzScheduler] INFO - Scheduler > JahiaRamQuartzScheduler_$_NON_CLUSTERED shutting down. > 1861315 [2007-01-16 14:52:02,984] > [org.quartz.core.QuartzScheduler] INFO - Scheduler > JahiaRamQuartzScheduler_$_NON_CLUSTERED paused. > 1861318 [2007-01-16 14:52:02,987] > [org.quartz.core.QuartzScheduler] INFO - Scheduler > JahiaRamQuartzScheduler_$_NON_CLUSTERED shutdown complete. > 1861321 [2007-01-16 14:52:02,990] > [org.jahia.services.esi.EsiService] INFO - > checkForAnyContentToInvalidate : EMPTY[0] / NOT_EMPTY[0] > Content removed by Expiration : [50%] > Number of null Templates found in TreeCache node cycling : [0] > Number of null Fragments found in TreeCache node cycling : [0] > 1861323 [2007-01-16 14:52:02,992] > [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ > jahia]] ERROR - Servlet Jahia threw unload() exception > javax.servlet.ServletException: Servlet.destroy() for servlet Jahia > threw exception > at org.apache.catalina.core.StandardWrapper.unload > (StandardWrapper.java:1344) > at org.apache.catalina.core.StandardWrapper.stop > (StandardWrapper.java:1666) > at org.apache.catalina.core.ContainerBase.removeChild > (ContainerBase.java:892) > at org.apache.catalina.core.StandardContext.removeChild > (StandardContext.java:3095) > at org.apache.catalina.startup.ContextConfig.stop > (ContextConfig.java:1082) > at org.apache.catalina.startup.ContextConfig.lifecycleEvent > (ContextConfig.java:276) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent > (LifecycleSupport.java:119) > at org.apache.catalina.core.StandardContext.stop > (StandardContext.java:4355) > at org.apache.catalina.core.ContainerBase.removeChild > (ContainerBase.java:892) > at org.apache.catalina.startup.HostConfig.undeployApps > (HostConfig.java:1164) > at org.apache.catalina.startup.HostConfig.stop > (HostConfig.java:1135) > at org.apache.catalina.startup.HostConfig.lifecycleEvent > (HostConfig.java:312) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent > (LifecycleSupport.java:119) > at org.apache.catalina.core.ContainerBase.stop > (ContainerBase.java:1054) > at org.apache.catalina.core.ContainerBase.stop > (ContainerBase.java:1066) > at org.apache.catalina.core.StandardEngine.stop > (StandardEngine.java:447) > at org.apache.catalina.core.StandardService.stop > (StandardService.java:512) > at org.apache.catalina.core.StandardServer.stop > (StandardServer.java:743) > at org.apache.catalina.startup.Catalina.stop(Catalina.java: > 601) > at org.apache.catalina.startup.Catalina.start(Catalina.java: > 576) > 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:585) > at org.apache.catalina.startup.Bootstrap.start > (Bootstrap.java:294) > at org.apache.catalina.startup.Bootstrap.main > (Bootstrap.java:432) > 16/01/2007 14:52:04 org.apache.coyote.http11.Http11BaseProtocol > destroy > INFO: Stopping Coyote HTTP/1.1 on http-35080 > 16/01/2007 14:52:05 org.apache.catalina.core.AprLifecycleListener > lifecycleEvent > INFO: Failed shutdown of Apache Portable Runtime > Kind Regards > > Graham