cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COCOON-1643) cocoon 2.2.0 dev svn checkout doesn't work with tomcat
Date Mon, 02 Oct 2006 16:29:20 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1643?page=all ]

Vadim Gritsenko closed COCOON-1643.
-----------------------------------

    Fix Version/s: 2.2-dev (Current SVN)
       Resolution: Fixed

There is no build.sh anymore, but if you to follow README.txt, resulting webapp works just
fine under Tomcat 5.0

> cocoon 2.2.0 dev svn checkout doesn't work with tomcat
> ------------------------------------------------------
>
>                 Key: COCOON-1643
>                 URL: http://issues.apache.org/jira/browse/COCOON-1643
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.2-dev (Current SVN)
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: Philipp Schmidt
>         Assigned To: Cocoon Developers Team
>             Fix For: 2.2-dev (Current SVN)
>
>
> When you do a ./build.sh war and copy the cocoon.war over to the tomcat webapps
> directoy cocoon won't start with the following exception in the tomcat log file:
> 2005-10-12 16:17:09 StandardContext[/cocoon]Errors during initializing Apache
> Cocoon 2.2.0-dev : Illegal character in path at index 25:
> file:/C:/Programme/Apache Software Foundation/jakarta-tomcat-5.0.28/webapps/cocoon/
> java.net.URISyntaxException: Illegal character in path at index 25:
> file:/C:/Programme/Apache Software Foundation/jakarta-tomcat-5.0.28/webapps/cocoon/
> 	at java.net.URI$Parser.fail(URI.java:2752)
> 	at java.net.URI$Parser.checkChars(URI.java:2925)
> 	at java.net.URI$Parser.parseHierarchical(URI.java:3009)
> 	at java.net.URI$Parser.parse(URI.java:2957)
> 	at java.net.URI.<init>(URI.java:574)
> 	at
> org.apache.cocoon.components.blocks.BlockContext.getContextURL(BlockContext.java:184)
> 	at
> org.apache.cocoon.components.blocks.BlockManager.initialize(BlockManager.java:103)
> 	at
> org.apache.cocoon.components.LifecycleHelper.setupComponent(LifecycleHelper.java:165)
> 	at
> org.apache.cocoon.components.LifecycleHelper.setupComponent(LifecycleHelper.java:124)
> 	at
> org.apache.cocoon.components.blocks.BlocksManager.initialize(BlocksManager.java:143)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> 	at
> org.apache.cocoon.core.container.ComponentFactory.setupInstance(ComponentFactory.java:166)
> 	at
> org.apache.cocoon.core.container.ComponentFactory.newInstance(ComponentFactory.java:139)
> 	at
> org.apache.cocoon.core.container.handler.ThreadSafeComponentHandler.doInitialize(ThreadSafeComponentHandler.java:53)
> 	at
> org.apache.cocoon.core.container.handler.AbstractComponentHandler.initialize(AbstractComponentHandler.java:273)
> 	at
> org.apache.cocoon.core.container.CoreServiceManager.initialize(CoreServiceManager.java:227)
> 	at
> org.apache.cocoon.components.container.CocoonServiceManager.initialize(CocoonServiceManager.java:81)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> 	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:255)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> 	at org.apache.cocoon.core.CoreUtil.createCocoon(CoreUtil.java:667)
> 	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:223)
> 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
> 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
> 	at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> 	at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
> 	at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
> 	at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:922)
> 	at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:652)
> 	at org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:400)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:712)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:534)
> In the cocoon.log you get the following exception:
> java.lang.ClassNotFoundException: org.exolab.jms.jndi.InitialContextFactory
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:219)
> 	at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
> 	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
> 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
> 	at javax.naming.InitialContext.init(InitialContext.java:219)
> 	at javax.naming.InitialContext.<init>(InitialContext.java:195)
> 	at
> org.apache.cocoon.components.jms.JMSConnectionManagerImpl.createInitialContext(JMSConnectionManagerImpl.java:297)
> 	at
> org.apache.cocoon.components.jms.JMSConnectionManagerImpl.createConnection(JMSConnectionManagerImpl.java:228)
> 	at
> org.apache.cocoon.components.jms.JMSConnectionManagerImpl.initialize(JMSConnectionManagerImpl.java:132)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> 	at
> org.apache.cocoon.core.container.ComponentFactory.setupInstance(ComponentFactory.java:166)
> 	at
> org.apache.cocoon.core.container.ComponentFactory.newInstance(ComponentFactory.java:139)
> 	at
> org.apache.cocoon.core.container.handler.ThreadSafeComponentHandler.doInitialize(ThreadSafeComponentHandler.java:53)
> 	at
> org.apache.cocoon.core.container.handler.AbstractComponentHandler.initialize(AbstractComponentHandler.java:273)
> 	at
> org.apache.cocoon.core.container.handler.AbstractComponentHandler.get(AbstractComponentHandler.java:175)
> 	at
> org.apache.cocoon.core.container.CoreServiceManager.lookup(CoreServiceManager.java:398)
> 	at
> org.apache.cocoon.components.jms.AbstractMessageListener.service(AbstractMessageListener.java:116)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:143)
> 	at
> org.apache.cocoon.core.container.ComponentFactory.setupInstance(ComponentFactory.java:156)
> 	at
> org.apache.cocoon.core.container.ComponentFactory.newInstance(ComponentFactory.java:139)
> 	at
> org.apache.cocoon.core.container.handler.ThreadSafeComponentHandler.doInitialize(ThreadSafeComponentHandler.java:53)
> 	at
> org.apache.cocoon.core.container.handler.AbstractComponentHandler.initialize(AbstractComponentHandler.java:273)
> 	at
> org.apache.cocoon.core.container.CoreServiceManager.initialize(CoreServiceManager.java:227)
> 	at
> org.apache.cocoon.components.container.CocoonServiceManager.initialize(CocoonServiceManager.java:81)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> 	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:255)
> 	at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> 	at org.apache.cocoon.core.CoreUtil.createCocoon(CoreUtil.java:667)
> 	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:223)
> 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
> 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
> 	at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> 	at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
> 	at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
> 	at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:922)
> 	at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:652)
> 	at org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:400)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:712)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:534)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message