tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: error while shutting down tomcat
Date Tue, 14 Aug 2012 22:27:10 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ijlal,

On 8/14/12 6:18 PM, Ijlal EL HAZITI wrote:
> I installed a wab application (sakai precisely) on a distant
> server remotely, but it doesn't start, and when I shutdown tomcat,
> I get that error:

This is a question better targeted at the Tomcat users' list. I am
cross-posting and will not reply again to this thread on the Tomcat
development mailing list. Please join the users' list and post there
from now on.

> Using CATALINA_BASE:   /opt/tomcat Using CATALINA_HOME:
> /opt/tomcat Using CATALINA_TMPDIR: /opt/tomcat/temp Using JRE_HOME:
> /opt/java Using CLASSPATH: 
> /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar 14
> août 2012 13:55:44 org.apache.catalina.startup.Catalina stopServer 
> *GRAVE: Catalina.stop: java.net.ConnectException: Connection
> refused* at java.net.PlainSocketImpl.socketConnect(Native Method) 
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
>
> 
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
> 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:490) 
> 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:371)
>
> 
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:453)

If Tomcat hasn't started, then you will be unable to shut it down.

> tomcat instance starts fine.

Tomcat starts fine, or fails to start? You have claimed both observations.

> before deploying sakai, there were no errors while starting or
> shutting down tomcat.
> 
>> From a search on google, I understood that it could be a firewall
>> or port
> problem, so, I disabled the firewall, and all the ports that are
> mentionned in the conf/server.xml aren't used by other processes.

This really depends upon the circumstances. Please join the users'
mailing list and provide more information.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAq0L4ACgkQ9CaO5/Lv0PC18gCghtbM/BJBJXgAeq4u+MZCIHDu
3aAAoKyLiBb96sbDN9ykg3grlr9lv8+x
=Wq5J
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message