Further, I am unable to set a default context effectively. Eg.

<Context path="" docBase="/default" debug="0" privileged="true"/>

This won't serve /something/index.jsp on the site from
/default/something/index.jsp but instead from the root of the appBase
(not the content docBase). The only thing it will serve from /default
is files directly inside it.

If however I specify a different context like this:

<Context path="/mycontext" docBase="/default" debug="0" privileged="true"/>

Then I can server everything up from /mycontext without not found
errors on any includes and everything working fine. Of course, I don't
want to serve the whole site under such a path.

I'd say there's some chance I'm doing something obviously wrong here
but as I said I've had no troubles until 6.0.10.

Thanks.


On 3/5/07, Patrick Lee <[EMAIL PROTECTED]> wrote:
> Do you have your host appBase set to be the same as your webapp
> docBase? This will cause the behaviour you see here. This worked
> (purely by accident - it was never intended to) in previous versions
> due to a bug that has since been fixed.

Actually, having changed that the problem persists.

I either get a simple "not found" on the .jsp I'm trying to include or
I get this. I'm not sure if there's any relevance here.

java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:598)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:142)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


This is on Windows 2000. As I said, I've had 5.5.15 running fine for some time.

Any ideas?


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

Reply via email to