Re: Tomcat (117 Views)
Reply
Regular Advisor
mamatha26
Posts: 237
Registered: ‎03-13-2012
Message 1 of 5 (154 Views)

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

Please use plain text.
Honored Contributor
DimitarPeychev
Posts: 290
Registered: ‎11-01-2011
Message 2 of 5 (148 Views)

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 :)
Please use plain text.
Esteemed Contributor
Jas1
Posts: 365
Registered: ‎04-05-2010
Message 3 of 5 (126 Views)

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.

Please use plain text.
Regular Advisor
mamatha26
Posts: 237
Registered: ‎03-13-2012
Message 4 of 5 (123 Views)

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

Please use plain text.
Honored Contributor
Piku
Posts: 3,683
Registered: ‎06-17-2010
Message 5 of 5 (117 Views)

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,
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation