Tomcat Shutting Down? - Klaros Test Management - Forum - Klaros-Testmanagement
Tomcat Shutting Down?
Charles Reed, geändert vor 11 Jahren.
Tomcat Shutting Down?
Youngling Beiträge: 10 Beitrittsdatum: 28.12.12 Neueste Beiträge
I am running Klaros on Windows Vista with Java 7.
I just got Klaros installed and running this weekend. I spent some time then creating a few test cases and learning the system. Today is the first day I've spent any significant time on the system. About every 20 mins or so Tomcat stops responding. I have to restart the server every time. I've attached the log file and everytime it has stopped working I see this error:
Jan 01, 2013 10:20:37 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java)
Any suggestions?
I just got Klaros installed and running this weekend. I spent some time then creating a few test cases and learning the system. Today is the first day I've spent any significant time on the system. About every 20 mins or so Tomcat stops responding. I have to restart the server every time. I've attached the log file and everytime it has stopped working I see this error:
Jan 01, 2013 10:20:37 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java)
Any suggestions?
Torsten Stolpmann, geändert vor 11 Jahren.
RE: Tomcat Shutting Down?
Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Charles,
this looks strange, especially as i see no reason for a lockup in the log file.
Did you also check the console output of the window where the tomcat process is running?
Additional output should also be found in the localhost_xxx file in the logs directory.
Torsten
this looks strange, especially as i see no reason for a lockup in the log file.
Did you also check the console output of the window where the tomcat process is running?
Additional output should also be found in the localhost_xxx file in the logs directory.
Torsten
Charles Reed, geändert vor 11 Jahren.
RE: Tomcat Shutting Down?
Youngling Beiträge: 10 Beitrittsdatum: 28.12.12 Neueste Beiträge
I attached the output I THINK you are referring to? Its in Console_output.tx. I also attached the localhost log file, but it doesn't seem to contain much.
Torsten Stolpmann, geändert vor 11 Jahren.
RE: Tomcat Shutting Down?
Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Thanks Charles,
This is the right one but indeed contains no useful information. I never seen such a behavior before.
Are this lockups occuring during certain events while working with the application or after idling?
Did you change the browser and/or client machine to rule out client problems?
Since the server logs contain no hint of a misbehavior a client related problem may be a possibility here.
Regards,
Torsten
This is the right one but indeed contains no useful information. I never seen such a behavior before.
Are this lockups occuring during certain events while working with the application or after idling?
Did you change the browser and/or client machine to rule out client problems?
Since the server logs contain no hint of a misbehavior a client related problem may be a possibility here.
Regards,
Torsten
Torsten Stolpmann, geändert vor 11 Jahren.
RE: Tomcat Shutting Down?
Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
There is still one thing in the logs that is puzzling me:
Could you please try to disable the tomcat native support by moving/renaming the tcnative-1.dll in the bin folder?
This requires a shutdown and startup of the tomcat server.
Hope this helps,
Torsten
Jan 01, 2013 11:10:44 AM org.apache.catalina.core.AprLifecycleListener init | |
INFO: Loaded APR based Apache Tomcat Native library 1.1.20. | |
Jan 01, 2013 11:10:44 AM org.apache.catalina.core.AprLifecycleListener init | |
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. |
Could you please try to disable the tomcat native support by moving/renaming the tcnative-1.dll in the bin folder?
This requires a shutdown and startup of the tomcat server.
Hope this helps,
Torsten
Charles Reed, geändert vor 11 Jahren.
RE: Tomcat Shutting Down?
Youngling Beiträge: 10 Beitrittsdatum: 28.12.12 Neueste Beiträge
I didn't notice your last post. I renamed the file and will repost if I still have problems.
Thanks,
Thanks,
Torsten Stolpmann, geändert vor 11 Jahren.
RE: Tomcat Shutting Down?
Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Thanks for helping with finding the cause and a Happy New Year to you too!
Torsten
Torsten
Charles Reed, geändert vor 11 Jahren.
RE: Tomcat Shutting Down?
Youngling Beiträge: 10 Beitrittsdatum: 28.12.12 Neueste Beiträge
I figured it out! You have to leave the output window open. When I closed the CMD window it shuts down Tomcat. UGH!!!
Torsten Stolpmann, geändert vor 11 Jahren.
RE: Tomcat Shutting Down?
Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Charles,
Good to see this resolved so quickly.
Too avoid this situation you may install Klaros-Testmanagement as a windows service which is the recommended procedure for production systems. Further instructions can be found in the manual: Installing Klaros-Testmanagement as a Windows service
Regards,
Torsten
Good to see this resolved so quickly.
Too avoid this situation you may install Klaros-Testmanagement as a windows service which is the recommended procedure for production systems. Further instructions can be found in the manual: Installing Klaros-Testmanagement as a Windows service
Regards,
Torsten
Charles Reed, geändert vor 11 Jahren.
RE: Tomcat Shutting Down?
Youngling Beiträge: 10 Beitrittsdatum: 28.12.12 Neueste Beiträge
Since my last post, I left my laptop sitting for close to an hour. Started working again and just had to re-log in. I've only been working on creating test cases using Firefox 17.0.1. I'll keep an eye on it and if I can detect any patterns I will respond to this thread with an update.
Thanks and Happy New Year!
Thanks and Happy New Year!