On Fri, 9 Aug 2002, Paul Phillips wrote:
> Date: Fri, 09 Aug 2002 22:49:00 -0500
> From: Paul Phillips <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: unpacking of WAR
>
> I worked on deploying my first webapp to another server today. I packaged
> it up as a war, transferred it to the other tomcat server, added the one
> line context element in the server.xml, and restarted. Nothing - the logs
> said that the webapp that was referenced by the context statement was not
> available or in a readable format. In fact, the war did not expand into
> the file system.
>
> So, I removed the context element, and restarted. With the context gone,
> the WAR expanded properly. Then I added the context back in, and it worked
> fine.
>
> Is this normal?
>
Depends on what you specified for the docBase parameter in the Context
element. This needs to be the absolute or relative (to
$CATALINA_HOME/webapps) name of the WAR file.
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>