cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rocky S <sheikh10...@yahoo.com>
Subject Re: cocoon url
Date Fri, 23 Jul 2004 11:12:33 GMT
Hi,
 
Few days back I have upgraded Tomcat from 4.1.29 to 5.0.25 ...
 
When I deploy the war file in Tomcat 5.0.25 , and tried to login into the web page using username
and password , the control passes over to next page and in that page links are there to Edit
or Delete a User , when i am clicking on the link "Edit" i am getting the following error
 
"java.net.MalformedURLException: Path . does not start with a "/" character"
 
If the same war file is deployed in Tomcat 4.1.29 ... its working fine .... here i am able
to edit user info We are using a cocoon frame work in our project , When ever You click on
the Edit link , control goes to Sitemap and searches for the suitable pattern and calls the
particular action
 
I am also pasting the Stack Trace of the Error :
org.apache.cocoon.ProcessingException: IOException JSPReader.generate(): java.net.MalformedURLException:
Path . does not start with a "/" character 
at org.apache.cocoon.reading.JSPReader.generate(JSPReader.java:153) 
at org.apache.cocoon.components.pipeline.CachingStreamPipeline.processReader(CachingStreamPipeline.java:251)

at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(AbstractStreamPipeline.java:168)

at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:293)

at org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:133) 
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)

at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:150)

at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)

at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:156)

at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)

at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:140)

at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)

at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:144)

at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:328)

at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293)

at org.apache.cocoon.Cocoon.process(Cocoon.java:575) 
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
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.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:117) 
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:793) 
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) 
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) 
at java.lang.Thread.run(Thread.java:536) 
Caused by: java.net.MalformedURLException: Path . does not start with a "/" character 
at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:469) 
at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:176)

at org.apache.cocoon.reading.JSPReader.generate(JSPReader.java:116) 
... 41 more 
java.net.MalformedURLException: Path . does not start with a "/" character 
at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:469) 
at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:176)

at org.apache.cocoon.reading.JSPReader.generate(JSPReader.java:116) 
at org.apache.cocoon.components.pipeline.CachingStreamPipeline.processReader(CachingStreamPipeline.java:251)

at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(AbstractStreamPipeline.java:168)

at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:293)

at org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:133) 
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)

at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:150)

at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)

at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:156)

at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)

at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:140)

at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)

at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:144)

at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:328)

at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293)

at org.apache.cocoon.Cocoon.process(Cocoon.java:575) 
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
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.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:117) 
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:793) 
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) 
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) 
at java.lang.Thread.run(Thread.java:536) 
 
This thing is working fine with Tomacat 4.1.29

Kindly help me if anybody knows the solution for this

"Volkm@r" <plsdontreply@arcor.de> wrote:
beyaNet wrote:
> Hi,
> I am running cocoon version 2.1.5.1 on tomcat 5.027 hooked off apache 
> 2.0.50. At the moment, with mod_jk2 I have my url as 
> http://www.mysite.com/cocoon/nextlevel.
> how do I adjust the settings in apache so that I can have 
> http://www.mysite.com/nextlevel ????

1. make www.mysite.com be a virtual host in Cocoon


2. configure sitemap.xmap of directory "www.mysite.com"
for "nextlevel"
-- 
Volkmar W. Pogatzki


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


		
---------------------------------
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
Mime
View raw message