Hi all,
I have a problem with reload my servlet with tomcat 5.0.27
My servlet is the one example of the struts "struts-example".
I also make changes and want to reload it by tomcat 5.0.27.
So I tried it with ant and I 've following relevant entrys in the build.xml file :
<project name="My Project" default="compile" basedir=".">
....
<property name="app.name" value="struts-example"/>
<property name="app.path" value="/${app.name}"/>
<property name="manager.url" value="http://localhost:8080/manager"/>
<property name="manager.username" value="tomcat"/>
<property name="manager.password" value="tomcat"/>
...
<target name="reload" depends="compile"
description="Reload application on servlet container">
<reload url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
path="${app.path}"/>
</target>
...
</project>
I type "ant reload" in the shell
after compiling (simple compiling works)
I get following errormessage :
....
BUILD FAILED
D:\Aktuell\Develop\webapps\struts-example\build.xml:535: java.net.ConnectExcepti
on: Connection refused: connect
Can anybody help to solve my problem ?
|