Service Manager / Service Center Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Tomcat

Highlighted
Regular Advisor

Tomcat

Hi All,

 

When i run ./shutdown.sh  try to stop tomcat  i get below error.

 

How can we avoid this to stop tomcat? what changes should be done?

 

 

[tomcat@TMHRED_TOMCATTest bin]$ ./shutdown.sh
Using CATALINA_BASE:   /opt/Tomcat/apache-tomcat-6.0.24
Using CATALINA_HOME:   /opt/Tomcat/apache-tomcat-6.0.24
Using CATALINA_TMPDIR: /opt/Tomcat/apache-tomcat-6.0.24/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /opt/Tomcat/apache-tomcat-6.0.24/bin/bootstrap.jar
Sep 5, 2013 4:30:32 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:367)
        at java.net.Socket.connect(Socket.java:524)
        at java.net.Socket.connect(Socket.java:474)
        at java.net.Socket.<init>(Socket.java:371)
        at java.net.Socket.<init>(Socket.java:184)
        at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:424)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.                                                                                        java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces                                                                                        sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)
[tomcat@TMHRED_TOMCATTest bin]$

 

 

Regards

mamatha

4 REPLIES
Honored Contributor

Re: Tomcat

Hi,

 

 Please check:

http://support.openview.hp.com/selfsolve/document/KM961961

It seems like describing your situation

 

Best regards

Dimitar

HP Support
If you find that this or any post resolved your issue, please be sure
to mark it as an accepted solution.
Please also give kudo if you find it interesting :)
Honored Contributor

Re: Tomcat

Sounds like a tomcat issue and not service manager. Google this words, tomcat Catalina.stop: java.net.ConnectException: Connection refused, you will find many possible reasons and suggestions.

Regular Advisor

Re: Tomcat

I Found restart is working.

 

but the front page is static and it wont change if you shut down tomcat.

 

 

when we click on status we can see that tomcat has really stopped.

 

Regards

mamatha

Honored Contributor Honored Contributor

Re: Tomcat

yup , also noticed that even in case of SM down you all get the login page of SM.
But do not know how down HP made it for SM9.2x as no such behavior in SM7.x

hth,
____________________________________
Assign Kudo, if found post useful and mark it accepted if solves the issue.