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] !DSPAM:41bdb698141152608797899! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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] !DSPAM:41bdbb4f142189169919926! - 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]
RE: war not deploying
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!
RE: war not deploying
Your context.xml is fine. Check your cactus. -Original Message- From: Cumbers [mailto:[EMAIL PROTECTED] 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: 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:[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:41bdc054146881856650834!
RE: war not deploying
Have you checked your cactus setting? -Original Message- From: Cumbers [mailto:[EMAIL PROTECTED] Sent: December 13, 2004 11:08 AM To: Tomcat Users List Subject: Re: war not deploying 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] !DSPAM:41bdbeac146256008744466!
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: type="javax.sql.DataSource"/> 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:[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] !DSPAM:41bdbb4f142189169919926! - 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]
Re: war not deploying
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] !DSPAM:41bdbb4f142189169919926! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: war not deploying
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:[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] !DSPAM:41bdbb4f142189169919926! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: war not deploying
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] !DSPAM:41bdbb4f142189169919926!
RE: war not deploying
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] !DSPAM:41bdb698141152608797899!
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]