You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Padhu Vinirs <p....@verizon.net> on 2002/09/19 15:23:22 UTC
beginner question...
Tomcat 4.0.4.
I am trying to use the Manager application to deploy and start a
web-app. Have created the directory under CATALINA_HOME/webapps (
c:\tomcat40\webapps\ExamBuilder ). Even have a default web.xml under
web-inf. Have put a one-liner index.html under my app directory.
I call manager app as follows:
http://localhost:8080/manager/install?path=/myapp&war=file:/tomcat40/webapps/ExamBuilder
Install is successful. I can do a list and it shows up.
Now I try:
http://localhost:8080/manager/start?path=/exambuilder
I get the following error:
FAIL - Application at context path /exambuilder could not be started
I checked the logs:
2002-09-19 09:16:43 Manager: start: Starting web application at
'/exambuilder'
2002-09-19 09:16:43 StandardHost[localhost]: standardHost.start /exambuilder
2002-09-19 09:16:43 StandardContext[/exambuilder]: Error initializing
resources: Document base
C:\tomcat40\webapps\tomcat40\webapps\ExamBuilder does not exist or is
not a readable directory
2002-09-19 09:16:43 StandardContext[/exambuilder]: Context startup
failed due to previous errors
2002-09-19 09:16:43 StandardContext[/exambuilder]: Exception during
cleanup after start failed
LifecycleException: Container StandardContext[/exambuilder] has not
been started
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1147)
......
Why is the server looking at
C:\tomcat40\webapps\tomcat40\webapps\ExamBuilder and not
C:\tomcat40\webapps\ExamBuilder ?
Even during installation, I see an exception:
2002-09-19 09:16:26 Manager: install: Installing web application at
'/exambuilder' from 'file:/tomcat40/webapps/ExamBuilder'
2002-09-19 09:16:26 StandardHost[localhost]: Installing web application
at context path /exambuilder from URL file:/tomcat40/webapps/ExamBuilder
2002-09-19 09:16:26 StandardContext[/exambuilder]: Error initializing
resources: Document base
C:\tomcat40\webapps\tomcat40\webapps\ExamBuilder does not exist or is
not a readable directory
2002-09-19 09:16:26 StandardContext[/exambuilder]: Context startup
failed due to previous errors
2002-09-19 09:16:26 StandardContext[/exambuilder]: Exception during
cleanup after start failed
LifecycleException: Container StandardContext[/exambuilder] has not
been started
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1147)
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3495)
But if I try,
http://localhost:8080/manager/install?path=/myapp&war=file:/ExamBuilder
the install itself fails.
Any ideas appreciated.
Thanks
-- padhu
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>