cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerm <je...@media.demon.co.uk>
Subject pathargs problem
Date Sun, 27 Feb 2000 11:11:39 GMT
Hi All,

Just updated my system to Cocoon 1.7, XSP works! Fantastic!

There is one strange problem though ....


URLs that have a PathArg component trigger errors in Cocoon:

http://192.168.0.3/cocoon/samples/xsp/page.xml?message=Hello%20World!

Cocoon 1.7

File not found.

java.io.FileNotFoundException:
/Visnu/Apps/Servers/http/cocoon/samples/xsp/page.xml?message=Hello%20World!
    at java.io.FileInputStream.<init>(FileInputStream.java)
    at java.io.FileInputStream.<init>(FileInputStream.java)
    at
org.apache.cocoon.producer.ProducerFromFile.getStream(ProducerFromFile.java:77)
    at
org.apache.cocoon.producer.AbstractProducer.getDocument(AbstractProducer.java:95)
    at org.apache.cocoon.Engine.handle(Engine.java:270)
    at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:611)
    at com.livesoftware.jrun.JRun.runServlet(JRun.java)
    at com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java)
    at com.livesoftware.jrunwebstar.JRunWebStar.HandleConnection(JRunWebStar.j

System:
    MacOS 9.0
    MrJ 2.1.4 (JVM)
    WebSTAR 4.0 (webServer)
    JRun 2.3 (Servlet Engine)
    Cocoon-1.7 (Standard Install)


It looks to me that Cocoon is looking for a filename with the patharg still in
the name.

Could this be a JRun problem?

The "XML-ized websites" links don't work, this is a JRun issue with dots in
paths, right?

Should the URL not be encoded thus:

    page.xml?message=Hello+World!
                          ^


Thanks for any help

regards Jeremy

   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].207.737.6831>        <pager:jermq@sms.genie.co.uk>



Mime
View raw message