dcsimg
Help with Tomcat Startup and shutdown
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sunny_Pai
Posted On:   Friday, November 29, 2002 11:59 PM

I need help with Tomcat installation. I have installed j2sdk1.4.0_01 and Tomcat 4.1.10 in MS 98 env. As per the instructions, I have set JAVA_HOME, CATALINA_HOME paths. On performing Startup, it displays pathname and supposedly no errors as the message box disappears in seconds. But it does not display the default page when visiting localhost with 8080 or for that any other port. On performing shutdown, it does show an exception as follows. Any inputs appreciated Using CATALINA_BASE: c:jakartajakarta-tomcat-4.1.10 Using CATALINA_HOME: c:jakartajakarta-tomcat-4.1.10 Using CATALINA_TMPDIR: c:jakartajakarta-tomcat-4.1.10 emp Using JAVA_HOME   More>>

I need help with Tomcat installation. I have installed j2sdk1.4.0_01 and Tomcat 4.1.10 in MS 98 env. As per the instructions, I have set JAVA_HOME, CATALINA_HOME paths.


On performing Startup, it displays pathname and supposedly no errors as the message box disappears in seconds. But it does not display the default page when visiting
localhost with 8080 or for that any other port.




On performing shutdown, it does show an exception as follows. Any inputs appreciated



Using CATALINA_BASE: c:jakartajakarta-tomcat-4.1.10
Using CATALINA_HOME: c:jakartajakarta-tomcat-4.1.10
Using CATALINA_TMPDIR: c:jakartajakarta-tomcat-4.1.10 emp
Using JAVA_HOME: c:j2sdk1.4.0_01
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:1
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket. (Socket.java:290)
at java.net.Socket. (Socket.java:118)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:579)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

   <<Less

Re: Help with Tomcat Startup and shutdown

Posted By:   AlessandroA_Garbagnati  
Posted On:   Saturday, November 30, 2002 10:59 AM

Hi,

The error you are getting seems to be connected with the fact that your server hasn't started correctly, due to some error in the startup procedure.

You should try to figure out why the server doesn't start. The best way to do that is to execute the catalina.bat file with the run option. That would give you the opportunity of maintaining the startup screen without taking it off.

Once you have found the error out, then we can try to understand how to fix it.
About | Sitemap | Contact