I'm having some problems getting a context started in tomcat 4.0.3
installed under debian linux.
The context I have installed was installed using this line:
http://localhost:8180/manager/install?path=/bookstore&war=file://usr/share/tomcat4/webapps/bookstore/
which worked fine.
However, when I used this:
http://localhost:8180/manager/start?path=/bookstore
I got this error message:
"FAIL - Application at context path /bookstore could not be started"
with no explanation.
Currently it is a simple webapp with one class in a package I have
specified called "Servlets".
The directory WEB-INF/classes/Servlets contains the class "HomePage.class"
From my web.xml file:
<servlet>
<servlet-name>HomePage</servlet-name>
<servlet-class>Servlets.HomePage</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HomePage</servlet-name>
<url-pattern>/HomePage</url-pattern>
</servlet-mapping>
Am I doing something wrong with the web.xml file or the location of the
files? The permissions on all the files is sufficient that anyone can
read and execute them so that isnt the problem.
Could someone give me an possible explanation about getting a context to
work that involves packages? (or some other hint that might get this
working)
Thanks
--
Trevor MacPhail
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
