manager question 2006-12-26 - By Jim Reynolds
Back Hello,
I am running Tomcat 5.5.20 on a PC. I am using ant tasks to deploy, undeploy etc.
But last week, I created a new "<host> element. The new site works good, but I am having trouble with the ant tasks.
First off, when I look at my "http://localhost/manager/html" I see all applictions that are for of course the "localhost" <host> I am assuming.
I tried http://devsite/manager/html, but that fails. I wanted to use a reload task, and remove task like so: (see props, etc below). Is there anyway I can do this?
Thanks,
props:
tomcat.manager.url=http://localhost/manager tomcat.manager.username=admin tomcat.manager.password=admin
<target name="remove" description="Remove application from Tomcat"> <undeploy url="${tomcat.manager.url}" username="${tomcat.manager.username}" password="${tomcat.manager.password}" path="/${webapp.name}"/> </target>
<target name="reload" description="Reload application in Tomcat"> <reload url="${tomcat.manager.url}" username="${tomcat.manager.username}" password="${tomcat.manager.password}" path="/${webapp.name}"/> </target>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|