java.net.ConnectException when attempting to open URL via Java code

2010-08-23 Thread Sébastien PRUNIER
The following piece of code generates a java.net.ConnectException: Connection refused: connect error : URL url = new URL(http://localhost:8080/myapp/mypage.jsp;); url.openStream(); It crashes with Tomcat 5.5.30 but it works with Tomcat 5.5.28. The Tomcat server is started and the HTTP link

Re: java.net.ConnectException when attempting to open URL via Java code

2010-08-23 Thread Sébastien PRUNIER
for your help ! On Mon, Aug 23, 2010 at 3:14 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Sébastien PRUNIER [mailto:sebastien.prun...@gmail.com] Subject: java.net.ConnectException when attempting to open URL via Java code The following piece of code generates

Re: java.net.ConnectException when attempting to open URL via Java code

2010-08-23 Thread Sébastien PRUNIER
When I run netstat -a, I can see the following line : ... TCP[::1]:8080 PC-d-CE:64433 TIME_WAIT ... What does it mean ? On Mon, Aug 23, 2010 at 5:23 PM, Sébastien PRUNIER sebastien.prun...@gmail.com wrote: A) 1) you downloaded and installed Tomcat 5.5.28, from