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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- RE: Question Jai Durgam
- RE: Question Turner, John
- RE: Question Jai Durgam
- RE: Question Turner, John
- RE: Question Jai Durgam
- RE: Question Shannon Lal
- RE: Question Jai Durgam
- Question Gman
- RE: Question Laxmikanth M.S.
- RE: Question Gman
- Re: question Sunny Sun
- Re: question Sean Dockery
- RE: question Roberts, Eric
- Question Luc Foisy
- Re: Question Kenny G. Dubuisson, Jr.
- RE: Question Roberts, Eric
- question Paul Hsu
- Re: question Tim Funk
- RE: question Brian Menke
- RE: question Reynir Hübner
- Re: question Jake Robb