First let me say that it _does_ properly deploy and unpack the
'struts-example.war' file, so I know there must be something wrong with
mine.
I'm using this to build the .war file:
<target name="war" depends="compile">
<war destfile="${dist}/${context}.war"
webxml="config/web.xml">
<lib dir="lib"/>
<classes dir="classes"/>
<fileset dir="web"/>
<zipfileset dir="config" prefix="WEB-INF"/>
<zipfileset dir="jsp" prefix="WEB-INF/jsp"/>
<zipfileset dir="tld" prefix="WEB-INF/tld"/>
</war>
</target>
If I put the resulting .war file into 'webapps' and start Tomcat, nothing
happens. I see this in the log:
2003-02-18 10:38:37 StandardContext[/bendev]: Starting
2003-02-18 10:38:37 StandardContext[/bendev]: Processing start(), current
available=false
2003-02-18 10:38:37 StandardContext[/bendev]: Configuring default Resources
2003-02-18 10:38:37 StandardContext[/bendev]: Resources start failed:
2003-02-18 10:38:37 StandardContext[/bendev]: Configuring non-privileged
default Loader
2003-02-18 10:38:37 StandardContext[/bendev]: Configuring default Manager
2003-02-18 10:38:37 StandardContext[/bendev]: Processing standard container
startup
2003-02-18 10:38:37 StandardContext[/bendev]: Context startup failed due to
previous errors
2003-02-18 10:38:37 StandardContext[/bendev]: Exception during cleanup after
start failed
LifecycleException: Container StandardContext[/bendev] has not been started
If I create the webapps/bendev directory and use WinZip to unzip the .war
file into it, then everything works fine. From this I infer that all the
parts of my .war file are in the right place.
What could be stopping it from unpacking just this one .war file?
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management