java.net.ConnectException: ConnectionRefused: connect

I am attempting to deploy a webapp from the command line. I had to switch over my version of java to v1.4 (from v5). Since I moved over to 1.4, I have had the following error:

java.net.ConnectException: ConnectionRefused: connect

I know that I have configured my environment variables, and I am pretty sure that I have checked out my installation of Apache Tomcat v5.5 Everything looks sound.

I would appreciate any help.

[446 byte] By [Lasiriusa] at [2007-11-26 15:49:33]
# 1
I don't know what you are trying to connect to, but it isn't listening.Kaj
kajbja at 2007-7-8 22:09:11 > top of Java-index,Java Essentials,Java Programming...
# 2
Check out this link. http://forum.java.sun.com/thread.jspa?threadID=604294&messageID=3264204Note that you need to inlude the compat files for tomcat (included in the distribution) to run it under 1.4.2~Tim
SomeoneElsea at 2007-7-8 22:09:12 > top of Java-index,Java Essentials,Java Programming...
# 3

Hello All,

I am still having the same problems with my configuration of Tomcat v5.5 and Java 1.4. I have tried to use tomcat.bat run from the command prompt and it wont even recognize the command.

I took the advice to install jakarta-tomcat-5.5.7-compat to the following two directory's:

C:\Program Files\Apache-Tomcat\Tomcat 5.5\bin\jakarta-tomcat-5.5.7

and

C:\Program Files\Apache-Tomcat\Tomcat 5.5\common\jakarta-tomcat-5.5.7

but this has not helped.

Can anyone spot what I am doing wrong? If you need more info please ask.

Lasiriusa at 2007-7-8 22:09:12 > top of Java-index,Java Essentials,Java Programming...