If you use the "deploy" task to deploy the app, you should use the "undeploy" task to undeploy the app. The "remove" task is mated with the "install" task. Mixing these will give you unexpected results.
Jake
At 03:56 PM 3/29/2003 +0100, you wrote:
hi jeff,
ok. so I will stay with deploy as well.
Currently I do the following to redeploy: ant remove ant deploy
However, there is a small time where users will still get a 404 error (the small delay where the PUT command is issued by the deploy task). Do you know a way how to get around this issue to have 100% uptime of an application?
thx alot Johannes
"Jeff Jensen" <[EMAIL PROTECTED]> 29.03.2003 15:34 Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
To "'Tomcat Users List'" <[EMAIL PROTECTED]> cc
Subject RE: Trouble with ant install command and ResourceLink
Yes, me too. Based on what the install process does compared to deploy, I have not yet determined an applicable time to use install vs deploy! I haven't looked back since started using deploy... :-)
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 29, 2003 8:23 AM > To: Tomcat Users List > Subject: RE: Trouble with ant install command and ResourceLink > > > Hi Jeff, > > no, using the ant deploy task it worked smoothly. > I was just wondering what the install task is all about.... > (if it's not > working) > > thx > Johannes > > > > > "Jeff Jensen" <[EMAIL PROTECTED]> > 29.03.2003 15:02 > Please respond to > "Tomcat Users List" <[EMAIL PROTECTED]> > > > To > "'Tomcat Users List'" <[EMAIL PROTECTED]> > cc > > Subject > RE: Trouble with ant install command and ResourceLink > > > > > > > I do not have an answer for your specific issue, but I found > minor deploy > issues with install, so I only use deploy and undeploy tasks > and do not > have > any more issues. Have you tried using deploy - did it have the same > problems? > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 28, 2003 11:52 AM > > To: Tomcat Users List > > Subject: Trouble with ant install command and ResourceLink > > > > > > hi there, > > > > In my /webapps/myapp.xml I'm using a ResourceLink: > > <ResourceLink name="jdbc/mydb" global="MyDatabase"/> > > > > I'm using the manager app via ant to test my application. > > After calling > > ant remove > > ant install > > > > it tells me the context has been installed OK. > > However, it seems as if the ResourceLink has not been inited during > > install, so it seems Tomcat doesn't read the > /webapps/myapp.xml file. > > > > Sidenote: this problem is somewhat related to my > > initparameter problem > > outlined earlier today, but cannot be overcome as easily. > > > > has anybody overcome this issue? > > is else using the ant manager task together with JNDI resourcelinks > > successfully? > > > > thx > > Johannes > > > --------------------------------------------------------------------- > 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]
