Problem with tomcat stop
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2012 02:53 PM
Hello,
when I try to stop alfresco I get the following error message from tomcat:
I am using ArchLinux, does anyone have an idea what could cause this?
I could rule out most of the common reasons for this problem, like another program using port 8080 and tomcat not running.
Greetings,
Stefan
when I try to stop alfresco I get the following error message from tomcat:
Using CATALINA_BASE: /opt/alfresco-4.0.d/tomcatUsing CATALINA_HOME: /opt/alfresco-4.0.d/tomcatUsing CATALINA_TMPDIR: /opt/alfresco-4.0.d/tomcat/tempUsing JRE_HOME: /opt/alfresco-4.0.d/javaUsing CLASSPATH: /opt/alfresco-4.0.d/tomcat/bin/bootstrap.jarMay 12, 2012 8:47:01 PM org.apache.catalina.startup.Catalina stopServerSEVERE: 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:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:189) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408) 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:597) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)
I am using ArchLinux, does anyone have an idea what could cause this?
I could rule out most of the common reasons for this problem, like another program using port 8080 and tomcat not running.
Greetings,
Stefan
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2012 05:12 PM
Hello,
this problem usually has nothing to do with some other program using the HTTP connector on port 8080, rather the port 8005 (default) which the Tomcat SHUTDOWN listener is using.
Another possibility could be a firewall issue - the shutdown command opens a TCP connection to the SHUTDOWN listener and this may fail either due to a firewall blocking the request or an IP-related connectivity issue (e.g. localhost mapping to an IPv6 address while the listener is bound to the IPv4 host address).
Regards
Axel
this problem usually has nothing to do with some other program using the HTTP connector on port 8080, rather the port 8005 (default) which the Tomcat SHUTDOWN listener is using.
Another possibility could be a firewall issue - the shutdown command opens a TCP connection to the SHUTDOWN listener and this may fail either due to a firewall blocking the request or an IP-related connectivity issue (e.g. localhost mapping to an IPv6 address while the listener is bound to the IPv4 host address).
Regards
Axel

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2012 11:12 PM
Hi Stefan,
I had faced this same problem after I had my Alfresco service stopped and then trying to start, but when I check " ps aux | grep alf " I could see some java based process running by alfresco users. Before knowing this I did start alfresco and I used to get this error message.
I solved it by killing those java process by alfresco user and then starting the alfresco service
This problem of not stopping all the services has been already submitted as a bug by other members
I had faced this same problem after I had my Alfresco service stopped and then trying to start, but when I check " ps aux | grep alf " I could see some java based process running by alfresco users. Before knowing this I did start alfresco and I used to get this error message.
I solved it by killing those java process by alfresco user and then starting the alfresco service
This problem of not stopping all the services has been already submitted as a bug by other members
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2012 02:52 PM
Hello,
thanks for your replies.
I looked if there is a process that blocks port 8005, but there is none.
Stopping the firewall didn't fix it either.
I'm going to search for the bug-reports, maybe there is something I can use.
Greetings,
Stefan
thanks for your replies.
I looked if there is a process that blocks port 8005, but there is none.
Stopping the firewall didn't fix it either.
I'm going to search for the bug-reports, maybe there is something I can use.
Greetings,
Stefan
