tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arora, Avinash" <Avinash.Ar...@Level3.com>
Subject error shutting down the tomcat
Date Wed, 12 May 2004 20:57:59 GMT
Hi,
   I was making some changes to my server.xml (I was adding another
context to it). I was also using the webpage of manager. But even after
making changes I cannot see the newly context available in the manager
window. I decided to restart tomcat using command line. But I am getting
the follwing exception--
bash-2.03$ ./startup.sh
Using CATALINA_BASE:   /opt/aarora/jakarta-tomcat-4.1.29
Using CATALINA_HOME:   /opt/aarora/jakarta-tomcat-4.1.29
Using CATALINA_TMPDIR: /opt/aarora/jakarta-tomcat-4.1.29/temp
Using JAVA_HOME:       /usr/java/j2sdk1.4.0
bash-2.03$ ./shutdown.sh
Using CATALINA_BASE:   /opt/aarora/jakarta-tomcat-4.1.29
Using CATALINA_HOME:   /opt/aarora/jakarta-tomcat-4.1.29
Using CATALINA_TMPDIR: /opt/aarora/jakarta-tomcat-4.1.29/temp
Using JAVA_HOME:       /usr/java/j2sdk1.4.0
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:295)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
        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.<init>(Socket.java:290)
        at java.net.Socket.<init>(Socket.java:118)
        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.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
bash-2.03$

although starting up tomcat do not show any errors, but I cannot see
that tomcat is working. Nothing is available on the web page, I get
error saying page not available.
I have even restored all the changes, but then alsp I get them same
exception. Any suggestions??
Thanks. 

Avinash Arora


 

---------------------------------------------------------------------
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