I have never used cactus before. Check if cactus has any JNDI pooling
resource and link it in your app's context.xml.



-----Original Message-----
From: Cumbers [mailto:[EMAIL PROTECTED] 
Sent: December 13, 2004 11:20 AM
To: Tomcat Users List
Subject: Re: war not deploying


Ok found the problem.

With my application deployment I have under the jsp dir a META-INF dir 
that contains a context.xml file. This contains a resource link for my 
JNDI database connection pool. This describes the context as /rms-dev 
this should be /rms-dev-cactified

Removing this file allows cactus to work. But removed my resource link. 
Any suggestions (aside from changing the context path to be 
/rms-dev-cactified)?

Cheers

Rich

Cumbers wrote:
> I have also checked that auto deploy and unpack wars are set to true.
> 
> What I do not understand is that this works for the sample 
> application,
> this points to something I am doing wrong, so I guess I should start 
> from the bottom and work up
> 
> Cheers
> 
> Rich
> 
> Phillip Qin wrote:
> 
>> What about the permission?
>>
>> -----Original Message-----
>> From: Cumbers [mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED]
>>> 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: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> 
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41bdc1a8147431506997077!

Reply via email to