tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RTE - Meridian Club" <>
Subject RE: Continuing Frustration and Misery with Deployer [255790:132313]
Date Fri, 07 Oct 2005 15:35:50 GMT
Many thanks for your email. This is an automated response acknowledging receipt.

Please be advised that Badge mailing commences beginning of October 2005.

Should your message require a response we will respond shortly.

Meridian Club

> -----Original Message-----
> From: "Allistair Crossley" <>
> Received: 10/7/2005 4:34 PM
> To: "" <>
> Subject: Continuing Frustration and Misery with Deployer
> Hi List,
> Honestly, I wish Tomcat web application deployment would be easier/smarter. To pre-empt
certain list members from telling me it's my fault, I can assure you my WAR itself is totally
100% no doubts valid. 
> Perhaps it is my method of deploying that is causing the issue, I don't know. I am attempting
to use the Tomcat Client Deployer (the Ant script that comes with deployer).
> I use it to compile the WAR and now want to deploy it to a waiting Tomcat. I ensured
my Tomcat webapps folder was wiped and the conf/Catalina/localhost had no context configuration
> My WAR contains a META-INF/context.xml for deploying the context configuration.
> After I compile my WAR with Deployer, I call 
> C:\apache-tomcat-5.5.12-deployer>ant -Dserver=intratest deploy
> Buildfile: build.xml
> deploy:
>    [deploy] OK - Deployed application at context path /ROOT
> So it's deployed OK. 
> I wait 5 minutes and then put a request into Tomcat. 404. Why? Because it failed to start
the context which in a nutshell is all I ever get when deploying from WARs.
> My WAR has been exploded fully which is at least something.
> The logs reveal:
> 2005-10-07 16:18:29,882 -  WARN (org.apache.catalina.startup.HostConfig:597) - A docBase
D:\jakarta-tomcat\webapps\ROOT inside the host appBase has been specified, and will be ignored
> 2005-10-07 16:18:30,163 - ERROR (org.apache.catalina.core.StandardContext:3796) - Error
starting static Resources
> java.lang.IllegalArgumentException: Document base D:\jakarta-tomcat\webapps\ROOT does
not exist or is not a readable directory
>  at org.apache.naming.resources.FileDirContext.setDocBase(
>  at org.apache.catalina.core.StandardContext.resourcesStart(
>  at org.apache.catalina.core.StandardContext.start(
>  at org.apache.catalina.core.ContainerBase.addChildInternal(
>  at org.apache.catalina.core.ContainerBase.addChild(
>  at org.apache.catalina.core.StandardHost.addChild(
>  at org.apache.catalina.startup.HostConfig.deployDescriptor(
>  at org.apache.catalina.startup.HostConfig.deployDescriptors(
>  at org.apache.catalina.startup.HostConfig.deployApps(
>  at org.apache.catalina.startup.HostConfig.start(
>  at org.apache.catalina.startup.HostConfig.lifecycleEvent(
>  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
>  at org.apache.catalina.core.ContainerBase.start(
>  at org.apache.catalina.core.StandardHost.start(
>  at org.apache.catalina.core.ContainerBase.start(
>  at org.apache.catalina.core.StandardEngine.start(
>  at org.apache.catalina.core.StandardService.start(
>  at org.apache.catalina.core.StandardServer.start(
>  at org.apache.catalina.startup.Catalina.start(
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>  at java.lang.reflect.Method.invoke(
>  at org.apache.catalina.startup.Bootstrap.start(
>  at org.apache.catalina.startup.Bootstrap.main(
> 2005-10-07 16:18:30,163 - ERROR (org.apache.catalina.core.StandardContext:3949) - Error
in resourceStart()
> 2005-10-07 16:18:30,195 - ERROR (org.apache.catalina.core.StandardContext:4100) - Error
> 2005-10-07 16:18:30,195 - ERROR (org.apache.catalina.core.StandardContext:4153) - Context
[] startup failed due to previous errors
> 2005-10-07 16:18:30,195 -  INFO (org.apache.catalina.core.StandardContext:4250) - Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] has not been started
> It is not clear if this exception is thrown at the time when the WAR has not been exploded
and of course ROOT will not exist.
> My META-INF/context.xml has
> <Context docBase="/ROOT" reloadable="true" antiJARLocking="true" antiResourceLocking="true"
> Does nobody else have issues with using the Deployer? Is it just me having all this bad
luck? Honestly I am at my wits end with this deployment. I am fed up with manually having
to deploy files to our Tomcat servers, exploding them myself and then restarting Tomcat. 
> When will Deployer actually work?
> Kindest, frustrated, Allistair.
> -------------------------------------------------------
> 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.
> </FONT>

Meridian Club
Unit 5, Caxton Centre
Porters Wood
St Albans

Tel: +44 1727 738855
Fax: +44 1700 578955

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

View raw message