tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <>
Subject RE: Continuing Frustration and Misery with Deployer
Date Fri, 07 Oct 2005 16:12:23 GMT

Thanks for your thoughts. I agree, deployed OK certainly does not mean a valid deployment

The docs say of docBase

"The Document Base ... for this web application, or the pathname to the web application archive
file (if this web application is being executed directly from the WAR file). You may specify
an absolute pathname for this directory or WAR file, or a pathname that is relative to the
appBase directory of the owning Host."

The thing is, I do not wish to execute directly from the WAR as that would be inefficient.
I thought I could deploy a WAR, that it would explode and then initialise itself. It seems
to me like (if it actually manages to explode in time which is not always the case) that initialisation
of the context does not wait on complete extraction of the WAR.

Therefore to avoid executing from the WAR itself I use a relative path to the web application.
Perhaps I should be specifying docBase="ROOT" rather than /ROOT. 

Thanks again, I need all the help I can get with this deployment malarky!

Cheers, Allistair

> -----Original Message-----
> From: Caldarale, Charles R []
> Sent: 07 October 2005 17:03
> To: Tomcat Users List
> Subject: RE: Continuing Frustration and Misery with Deployer
> > From: Allistair Crossley [] 
> > Subject: Continuing Frustration and Misery with Deployer
> >  
> > deploy:
> >    [deploy] OK - Deployed application at context path /ROOT
> > So it's deployed OK. 
> I suspect all that means is that it was successfully copied 
> to webapps,
> but I'm not certain.
> > My META-INF/context.xml has
> > <Context docBase="/ROOT" reloadable="true" 
> > antiJARLocking="true" antiResourceLocking="true" 
> swallowOutput="true">
> The docBase attribute doesn't look right - it's specifying an absolute
> path to the directory, and I doubt that's where the war is 
> exploded to.
> Have you tried removing this?  Also, I seem to recall that if you're
> trying to deploy the default application for the host, it 
> must be named
> ROOT.war (at least on 5.5.x).
>  - Chuck
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete 
> the e-mail
> and its attachments from all computers.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
Disclaimer:  The information contained within this e-mail is confidential and may be privileged.
This email is intended solely for the named recipient only; if you are not authorised you
must not disclose, copy, distribute, or retain this message or any part of it. If you have
received this message in error please contact the sender at once so that we may take the appropriate
action and avoid troubling you further.  Any views expressed in this message are those of
the individual sender.  QAS Limited has the right lawfully to record, monitor and inspect
messages between its employees and any third party.  Your messages shall be subject to such
lawful supervision as QAS Limited deems to be necessary in order to protect its information,
its interests and its reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee
that attachments are virus free or compatible with your systems and does not accept any liability
in respect of viruses or computer problems experienced.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message