467,911 Members | 1,499 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,911 developers. It's quick & easy.

I have a problem with reload my servlet with tomcat 5.0.27

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 ?
Jun 30 '07 #1
  • viewed: 1134
Share:

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Jon Dellaria | last post: by
2 posts views Thread by kimbuba | last post: by
5 posts views Thread by Tom Martin | last post: by
1 post views Thread by Silviu-Lucian | last post: by
reply views Thread by Robert Mazur | last post: by
6 posts views Thread by Sushmita | last post: by
10 posts views Thread by swethak | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.