You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lisa Foister <lf...@voyagertec.com> on 2003/03/21 18:04:33 UTC
no Tomcat process & error stopping service (Red Hat 8.0)
I'm very much a Linux newbie, so I may be missing something obvious here,
but I think I've got the J2SDK set up right, and I thought I had Tomcat set
up right. I've completely shut down my Apache server so I don't have to
deal with the interactions, and although I would prefer to be running
Tomcat on port 80, at the moment I'd be happy to have it running on any
port.
Every time I try to start Tomcat as a service (logged in as root, if it
makes a difference) I get "Starting tomcat4: OK ]" as if it were
running, but then there is no process running with a name that even
remotely makes me think it might be Tomcat running. Then when I stop the
service, I get the following:
Stopping tomcat4: Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.1_02
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.<init>(Socket.java:291)
at java.net.Socket.<init>(Socket.java:119)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
FAILED]
Any advice as to what might be causing my problem would be greatly
appreciated.
Lisa
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: no Tomcat process & error stopping service (Red Hat 8.0)
Posted by Tim Funk <fu...@joedog.org>.
Look for /var/tomcat4/logs/catalina.out. There will be an error message
in there of what went wrong.
-Tim
Lisa Foister wrote:
> I'm very much a Linux newbie, so I may be missing something obvious here,
> but I think I've got the J2SDK set up right, and I thought I had Tomcat set
> up right. I've completely shut down my Apache server so I don't have to
> deal with the interactions, and although I would prefer to be running
> Tomcat on port 80, at the moment I'd be happy to have it running on any
> port.
>
> Every time I try to start Tomcat as a service (logged in as root, if it
> makes a difference) I get "Starting tomcat4: OK ]" as if it were
> running, but then there is no process running with a name that even
> remotely makes me think it might be Tomcat running. Then when I stop the
> service, I get the following:
>
> Stopping tomcat4: Using CATALINA_BASE: /var/tomcat4
> Using CATALINA_HOME: /var/tomcat4
> Using CATALINA_TMPDIR: /var/tomcat4/temp
> Using JAVA_HOME: /usr/java/j2sdk1.4.1_02
> Catalina.stop: java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
> at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
> at java.net.Socket.connect(Socket.java:426)
> at java.net.Socket.connect(Socket.java:376)
> at java.net.Socket.<init>(Socket.java:291)
> at java.net.Socket.<init>(Socket.java:119)
> at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 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:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> FAILED]
>
> Any advice as to what might be causing my problem would be greatly
> appreciated.
>
> Lisa
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: no Tomcat process & error stopping service (Red Hat 8.0)
Posted by John Turner <to...@johnturner.com>.
Tomcat is definitely not starting. Check the catalina.out file for an
explanation, and you can also try to start it manually with
"/path/to/tomcat/bin/catalina.sh start" which should put any startup
problems right to the screen.
John
On Fri, 21 Mar 2003 12:04:33 -0500, Lisa Foister <lf...@voyagertec.com>
wrote:
> I'm very much a Linux newbie, so I may be missing something obvious here,
> but I think I've got the J2SDK set up right, and I thought I had Tomcat
> set up right. I've completely shut down my Apache server so I don't have
> to deal with the interactions, and although I would prefer to be running
> Tomcat on port 80, at the moment I'd be happy to have it running on any
> port.
>
> Every time I try to start Tomcat as a service (logged in as root, if it
> makes a difference) I get "Starting tomcat4: OK ]" as if it were
> running, but then there is no process running with a name that even
> remotely makes me think it might be Tomcat running. Then when I stop the
> service, I get the following:
>
> Stopping tomcat4: Using CATALINA_BASE: /var/tomcat4
> Using CATALINA_HOME: /var/tomcat4
> Using CATALINA_TMPDIR: /var/tomcat4/temp
> Using JAVA_HOME: /usr/java/j2sdk1.4.1_02
> Catalina.stop: java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
> at java.net.Socket.connect(Socket.java:426)
> at java.net.Socket.connect(Socket.java:376)
> at java.net.Socket.<init>(Socket.java:291)
> at java.net.Socket.<init>(Socket.java:119)
> at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 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:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> FAILED]
>
> Any advice as to what might be causing my problem would be greatly
> appreciated.
>
> Lisa
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org