cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manpreet" <manpreetnag...@yahoo.com>
Subject Re: Cocoon.xml
Date Mon, 21 Aug 2000 05:06:34 GMT
The web.xml takes the relative even if u mention absolute path.
I could'nt find a way to serve xml files from any other directory except /usr/local/jakarta-home/webapps/ROOT/..
 

  ----- Original Message ----- 
  From: Aaron Prohaska 
  To: cocoon-users@xml.apache.org ; mengelhart@earthtrip.com 
  Sent: Tuesday, August 22, 2000 8:42 AM
  Subject: RE: Cocoon.xml


  Well, I just found a problem with the web.xml file and fixed it and now get this error.
How should I set the path in web.xml to the cocoon.properties file correctly? I didn't know
what I set was going to get /usr/local/jakarta-tomcat/webapps/ROOT appended to it.
   
  Unable to open resource: /usr/local/jakarta-tomcat/conf/cocoon.properties

       java.io.FileNotFoundException: /usr/local/jakarta-tomcat/webapps/ROOT/usr/local/jakarta-tomcat/conf/cocoon.properties
(No such file or directory)
               at java.io.FileInputStream.open(Native Method)
               at java.io.FileInputStream.(FileInputStream.java:64)
               at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:68)
               at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:132)
               at org.apache.cocoon.Cocoon.init(Cocoon.java:123)
               at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
               at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:445)
               at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
               at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
               at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
               at java.lang.Thread.run(Thread.java:475)
  Aaron 

                  <<:::..:::...::: Aaron Prohaska :::..:::...:::>> 
  VerdeSoft Internet Services 
  mailto:verdesoft@verdesoft.net          http://www.verdesoft.net/ 

    -----Original Message-----
    From: Mike Engelhart [mailto:mengelhart@earthtrip.com]
    Sent: Monday, August 21, 2000 8:08 PM
    To: cocoon-users@xml.apache.org
    Subject: RE: Cocoon.xml


    I must have done something wrong, when I browse to the address
    http://hostname:port/Cocoon.xml I get a 404 file not found error. So besided
    looking at the jakarta-tomcat error logs do you have any suggestions on how
    to find the problem? I'll try to answer your question, but your probably
    talking to the wrong person since I know so little about this :)


    Is Tomcat running servlets and serving up files OK? Did you add the correct configuration
to your web.xml file?

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


Mime
View raw message