Using TC4.1.9beta, I've got a myapp.war file (and matching myapp.xml
configuration file) I install successfully using the Tomcat Web
Application Manager. When I put the myapp.war and myapp.xml files in
<tomcat>/webapps and restart Tomcat (for permanent deployment) I get
the message:

Error initializing resources: Document base
C:\java\tomcat4\webapps\myapp does not exist or is not a readable
directory

The myapp.xml file contains:
<Context path="/myapp" docBase="myapp" 
debug="5" reloadable="true" crossContext="true">
(plus it specifies a dataSource as a resource)

I know the docbase doesn't yet exist when Tomcat starts because the war
file hasn't been unarchived. How is this supposed to work? Is there an
alternative to specifying the docbase? Do I have to manually unarchive
the war file? It was easy with other apps in TC3.2, I just dropped war
files into webapps and they deployed without any complaints. Maybe I've
overlooked a configuration parameter?
-- 
  Daniel
  [EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to