tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Qin <Phillip....@shareowner.com>
Subject RE: war not deploying
Date Mon, 13 Dec 2004 16:18:41 GMT
Your context.xml is fine. Check your cactus.

-----Original Message-----
From: Cumbers [mailto:rlc5@kent.ac.uk] 
Sent: December 13, 2004 11:10 AM
To: Tomcat Users List
Subject: Re: war not deploying


Here is the error message:

INFO: Processing Context configuration file URL 
file:/tmp/cactus/tomcat5x/conf/C atalina/localhost/rms-dev-cactified.xml
13-Dec-2004 12:15:22 org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base 
/tmp/cactus/tomcat5x/webapps/r
ms-dev does not exist or is not a readable directory

and here is the rms-dev-cactified.xml file contents:

<?xml version="1.0" encoding="UTF-8"?>

<Context path="/rms-dev">
     <ResourceLink auth="Container" name="jdbc/postgres" 
global="jdbc/postgres"
                 type="javax.sql.DataSource"/>
</Context>

Cheers

Rich

Cumbers wrote:
> Hey
> 
> The permissions are fine. I have read somewhere it could be to do with
> my server.xml file.
> 
> Cheers
> 
> Rich
> 
> Phillip Qin wrote:
> 
>> What about the permission?
>>
>> -----Original Message-----
>> From: Cumbers [mailto:rlc5@kent.ac.uk] Sent: December 13, 2004 10:57 
>> AM
>> To: Tomcat Users List
>> Subject: Re: war not deploying
>>
>>
>> Hey
>>
>> Yeah that gets created, and in there is the war file.
>>
>> I am unsure how much info to give out, as this could be a cactus
>> problem, I am still hacking at it and trawling google searches!
>>
>> Cheers
>>
>> Rich
>>
>> Phillip Qin wrote:
>>
>>> Have you created /tmp/cactus/tomcat5x/webapps/?
>>>
>>> -----Original Message-----
>>> From: Cumbers [mailto:rlc5@kent.ac.uk]
>>> Sent: December 13, 2004 10:38 AM
>>> To: Tomcat Users List
>>> Subject: war not deploying
>>>
>>>
>>> Hey guys
>>>
>>> I am trying to use ant with cactus to deploy my app to Tomcat and 
>>> then test. I can run the ant tasks on the examples, i tested the 
>>> servlet example that comes with the cactus download and it creates 
>>> its own Tomcat instance, puts the cactified war file under the 
>>> webapps dir and, most importantly, it unpacks the war file. cactus 
>>> then runs the tests.
>>>
>>> Currently with my app a temporary instance of Tomcat is created, the 
>>> cactified war file is placed under webapps, but the dam thing is not 
>>> unpacking the war file, and giving me errors like:
>>>
>>> java.lang.IllegalArgumentException: Document base 
>>> /tmp/cactus/tomcat5x/webapps/rms-dev does not exist or is not a 
>>> readable directory
>>>
>>> Now I know this is not available because the war file is not 
>>> unpacked. Is there a school boy error I am making? Can anyone help?!
>>>
>>> Now I know this could be a cactus problem, but it could be a tomcat 
>>> config problem. Please don't flame me!
>>>
>>> Cheers
>>>
>>> Rich
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>> 
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


!DSPAM:41bdc054146881856650834!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message