You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lars Nielsen Lind <so...@tidtilforandring.dk> on 2006/11/21 20:00:46 UTC

Tomcat 5.5.20 Apache 2.2.3 server.xml

Hi,

as mentioned by chavalitt in a former thread: Re: Urgent! Compile JSP 
Problem, I have removed appBase="" from my <host /> in server.xml.

The only reference to the webapplication is now 
docBase="/opt/apache-tomcat-5.5.20/webapps/application1" in my <Context 
/> in server.xml, and this seems to work just fine..!

But is this the right way to do it?

I have tried with:

- appBase="webapps" and 
docBase="/opt/apache-tomcat-5.5.20/webapps/application1"

and

- appBase="webapps" and docBase="application1"

and

- appBase="/opt/apache-tomcat-5.5.20/webapps" and docBase="application1"

and

- appBase="/opt/apache-tomcat-5.5.20/webapps/application1" and 
docBase="/opt/apache-tomcat-5.5.20/webapps/application1"

but it did not work. I was simply not able to use JSP if the jsp file 
not was placed in the applications root.

In the documention it is not mentioned that appBase not must be used 
when using tomcat 5.5 and Apache 2.2.

How do you do it?

Thanks,

Lars Nielsen Lind


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org