cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Gianni <simo...@apache.org>
Subject Re: Help! Cocoon can't set cache directory
Date Mon, 04 Dec 2006 17:21:34 GMT
Hi Dan,
I'm not completely sure about it, but I think the slash ("/") at the
beginning of the directory is the problem. Probably you didn't noticed
that on windows cause in windows is no problem to create a
c:\WEB-INF\... folder, while under unix it will fail if you don't have
enough rights.

If I'm not wrong, that folder is configurable from the web.xml file, try
removing the leading slash.

Hope this helps,
Simone

Dan Hertz wrote:
> I recently upgraded from 2.1.8 to 2.1.9, and all has been well on my
> Windows dev box.
>
> Today I upgraded our LINUX server files to 2.1.9, and cocoon can't set
> the cache / work directory at start-up.
>
> I get the following error.
>
> Thanks for your help!
>
> Dan
>
> ERROR (2006-12-02) 12:09.07:383 [core.manager] (Unknown-URI)
> Unknown-Thread/ExcaliburComponentManager: Caught an exception trying
> to initialize the component handler.
> java.io.IOException: Error creating store directory
> '/WEB-INF/work/cache-dir/':
>    at
> org.apache.cocoon.components.store.impl.EHDefaultStore.setDirectory(EHDefaultStore.java:223)
>
>    at
> org.apache.cocoon.components.store.impl.EHDefaultStore.parameterize(EHDefaultStore.java:182)
>
>    at
> org.apache.avalon.framework.container.ContainerUtil.parameterize(ContainerUtil.java:228)
>
>    at
> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:294)
>
>    at
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
>
>    at
> org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
>
>    at
> org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:566)
>
>    at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
>
>    at org.apache.cocoon.Cocoon.initialize(Cocoon.java:342)
>    at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
>
>    at
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1428)
>
>    at
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:498)
>    at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>
>    at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>    at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
>
>    at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4197)
>    at
> org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1079)
>
>    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1172)
>    at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
>
>    at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
>    at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
>
>    at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
>
>    at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
>
>    at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
>
>    at java.lang.Thread.run(Thread.java:595)
> ERROR (2006-12-02) 12:09.07:404 [access] (Unknown-URI)
> Unknown-Thread/CocoonServlet: Exception reloading
> java.io.IOException: Error creating store directory
> '/WEB-INF/work/cache-dir/':
>    at
> org.apache.cocoon.components.store.impl.EHDefaultStore.setDirectory(EHDefaultStore.java:223)
>
>    at
> org.apache.cocoon.components.store.impl.EHDefaultStore.parameterize(EHDefaultStore.java:182)
>
>    at
> org.apache.avalon.framework.container.ContainerUtil.parameterize(ContainerUtil.java:228)
>
>    at
> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:294)
>
>    at
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
>
>    at
> org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
>
>    at
> org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:566)
>
>    at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
>
>    at org.apache.cocoon.Cocoon.initialize(Cocoon.java:342)
>    at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
>
>    at
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1428)
>
>    at
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:498)
>    at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>
>    at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>    at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
>
>    at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4197)
>    at
> org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1079)
>
>    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1172)
>    at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
>
>    at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
>    at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
>
>    at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
>
>    at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
>
>    at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
>
>    at java.lang.Thread.run(Thread.java:595)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message