You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by pe...@donovandata.com on 2004/09/02 17:22:03 UTC

problem deploying Forrest under Tomcat

Can someone provide a little more detail on deploying a Forrest web site 
under Tomcat?

I am using the current  svn snapshot of Forrest 0.6, as of yesterday.  I 
can run a forrest project fine using the 'forrest seed' followed by 
'forrest run'.  However, when I use 'forrest war' and then deploy the war 
file on a Tomcat server, I get an internal server error (text below). 

The application starts and I am able to set up and display a simple xml 
document bypassing the Forrest sitemap logic, but I have no luck 
displaying any of my xdocs content. 

(I may be missing some settings to run under Tomcat -- I am not sure how 
to interpret the messages about Tomcat configuration that Forrest gives 
when you build a War.  I attempted to set up a <context> statement several 
different ways, but may have got it wrong. Also not sure whether I need to 
point to another lib.)

Thanks in advance for any advice anyone might have...

Error text (my app name is 'cms'):

Message: null
Description: No details available.
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
index.html
cause
Unknown error in XPath.
request-uri
/cms/index.htmlMessage: Null; Description: No details available; Sender:  
org.apache.cocoon.servlet.CocoonServlet; Request URI: index.html