tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bipin Jethwani <jethwani.bi...@gmail.com>
Subject Re: Tomcat problem with shutdown (thank)
Date Tue, 28 Oct 2014 07:09:42 GMT
Port 8080 might not be open from you cloud VM.

-Bipin

On Tue, Oct 28, 2014 at 2:23 AM, Res Aerea s.r.l. - Accounts <
accounts@resaerea.com> wrote:

> Hi all, i cannot connect via browser and shutdown to my Tomcat (is
> installed in a cloud server),
>
> 1) In my cloud is Ubuntu LTS 12.04;
> 2) There is Java 1.8.0_25;
> 3) There is Tomcat 8.0.14;
> 4) I can connect via ssh to my server correctly;
> 5) with ./startup.sh, Tomcat run correctly;
> 6) Typing in browser http://[ip]:8080, i see a unable to connect message;
> 7) Typing ./shutdown.sh, i see the following message.
>
> How can i solve it? Thank in advance.
>
> Using CATALINA_BASE:   /home/apache-tomcat-8.0.14
> Using CATALINA_HOME:   /home/apache-tomcat-8.0.14
> Using CATALINA_TMPDIR: /home/apache-tomcat-8.0.14/temp
> Using JRE_HOME:        /usr
> Using CLASSPATH:
>
>  /home/apache-tomcat-8.0.14/bin/bootstrap.jar:/home/apache-tomcat-8.0.14/bin/tomcat-juli.jar
> Oct 27, 2014 12:29:14 PM org.apache.catalina.startup.Catalina stopServer
> SEVERE: Could not contact localhost:8005. Tomcat may not be running.
> Oct 27, 2014 12:29:14 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.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
>    at
>
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
>    at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>    at java.net.Socket.connect(Socket.java:589)
>    at java.net.Socket.connect(Socket.java:538)
>    at java.net.Socket.<init>(Socket.java:434)
>    at java.net.Socket.<init>(Socket.java:211)
>    at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:450)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>    at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:483)
>    at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:400)
>    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:487)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message