I've upgraded from
Tomcat 3 to Tomcat 4.0.2 and have lost the ability to
unpack wars. Here is a piece of my server.xml
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
<Context path="/PSP" docBase="PSP" debug="0" reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="PspContext." suffix=".txt"
timestamp="true"/>
</Context>
I use the following command to create my war file from within the PSP
directory
jar cfv PSP.war .
This worked great with Tomcat 3(something) but I get the following error
when tomcat 4 starts:
2002-03-04 10:17:09 StandardContext[/PSP]: Error initializing resources:
Document base C:\Tomcat402\webapps\PSP does not exist or is not a readable
directory
2002-03-04 10:17:09 StandardContext[/PSP]: Context startup failed due to
previous errors
2002-03-04 10:17:09 StandardContext[/PSP]:
It is correct that the PSP directory doesn't exist but shouldn't tomcat
create that directory when unpacking the war (which it doesn't do). Any
ideas on how to solve this problem?
Thanks in advance,