A slight advancement:
The problem is still there with JBoss 3.0, but with JBoss 2.4.9 I got to a point where Cocoon is reported deployed but the when I try to hit the home page, the server returns a 302 redirect to the home page, which of course causes an infinite loop. GET /cocoon/ HTTP/1.0 HTTP/1.1 302 Moved Temporarily Content-Type: text/html Connection: close Date: Sat, 28 Sep 2002 15:27:05 GMT X-Cocoon-Version: @version@ Location: http://localhost:8080/cocoon/ Server: Apache Tomcat/4.0.4 (HTTP/1.1 Connector) <html><head><title>Apache Tomcat/4.0.4 - Error report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;ba ckground-color : #0086b2;} HR{color : #0086b2;} --></STYLE> </head><body><h1>Apache To mcat/4.0.4 - HTTP Status 302 - Moved Temporarily</h1><HR size="1" noshade><p><b>type</ b> Status report</p><p><b>message</b> <u>Moved Temporarily</u></p><p><b>description</b > <u>The requested resource (Moved Temporarily) has moved temporarily to a new locatio n.</u></p><HR size="1" noshade></body></html> ----- Original Message ----- From: "Ivelin Ivanov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 28, 2002 9:56 AM Subject: [Q] Cocoon 2.1 on JBoss+Tomcat > > I have tried to run the latest C2.1 with JBoss + Tomcat. > I get the same error with both JBoss 3.0 + Tomcat 4.0.4 and JBoss 2.4.9 + > Tomcat 4.0.4 > > It appears like a JNDI misconfiguration. > > Has someone done it before, that can give me a clue? > > I would like to get this working and add a section on the "Installation" > page. > > ------------------------------------------------------------- > > Cocoon 2 - Internal server error > > type fatal > message Failed to load sitemap from > file:/C:/devtools/jboss-3.0.2_tomcat-4.0.4/bin/jndi:/localhost/cocoon/sitema > p.xmap > description org.apache.cocoon.ProcessingException: Failed to load sitemap > from > file:/C:/devtools/jboss-3.0.2_tomcat-4.0.4/bin/jndi:/localhost/cocoon/sitema > p.xmap: org.apache.cocoon.ResourceNotFoundException: Resource not found.: > org.apache.excalibur.source.SourceNotFoundException: Resource not found > file:/C:/devtools/jboss-3.0.2_tomcat-4.0.4/bin/jndi:/localhost/cocoon/sitema > p.xmap > sender org.apache.cocoon.servlet.CocoonServlet > source Cocoon servlet > request-uri > /cocoon/ > path-info > > stack-trace > org.apache.cocoon.ProcessingException: Failed to load sitemap from > file:/C:/devtools/jboss-3.0.2_tomcat-4.0.4/bin/jndi:/localhost/cocoon/sitema > p.xmap: org.apache.cocoon.ResourceNotFoundException: Resource not found.: > org.apache.excalibur.source.SourceNotFoundException: Resource not found > file:/C:/devtools/jboss-3.0.2_tomcat-4.0.4/bin/jndi:/localhost/cocoon/sitema > p.xmap > at > org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultT > reeBuilder.java:393) > at > org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeP > rocessor.java:401) > at > org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess > or.java:320) > at > org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess > or.java:308) > at org.apache.cocoon.Cocoon.process(Cocoon.java:595) > > > > -=Ivelin=- > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>