tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunny Sun" <green58_2...@hotmail.com>
Subject question
Date Fri, 07 Feb 2003 08:06:49 GMT
Hello,
I have a question for setup jakarta-tomcat-4.1.18. After I set up it, I want 
to run tomcat by typing: $CATALINA_HOME/bin/startup.sh. And the message is:
Using CATALINA_BASE:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_HOME:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR: /usr/jakarta-tomcat-4.1.18/temp
Using JAVA_HOME:       /usr/java/j2sdk1.4.1_01

When I test it by typing: http://localhost:8080, the message shows me:
The connection was refused when attemping to contact localhost:8080.

When I want to shutdown tomcat by typing: $CATALINA_HOME/bin/shutdown.sh, 
the message shows me:
Using CATALINA_BASE:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_HOME:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR: /usr/jakarta-tomcat-4.1.18/temp
Using JAVA_HOME:       /usr/java/j2sdk1.4.1_01
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:426)
        at java.net.Socket.connect(Socket.java:376)
        at java.net.Socket.<init>(Socket.java:291)
        at java.net.Socket.<init>(Socket.java:119)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
        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(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

I have no idea whether the tomcat is setup successfully or not. And how to 
fix the problem? Could you please help me out? Thank you very much in 
advance.
Sunny





_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message