The stack below tells me tomcat isn't running any longer after you try
to run your servlet. In addition to what Mark suggested, your
catalina.out file from the point your servlet was called onward would
also be helpful. Also look for a core dump as there's a chance the JVM
crashed -- that wouldn't necessarily show up in the logs except as an
abrupt end to the logs (no shutdown messages or anything after the point
your servlet was called until tomcat is started again).
--David
Raghavan_sat wrote:
Hi,
I have a servlet program that works fine under tomcat running in
windows... But the same servlet program is not running under tomcat running
in fedora... when i access this servlet tomcat just goes off.. in the sense
i was even unable access the home page which i can easily do before running
this servlet.. so when i use the following command after this problem
sh shutdown.sh
am getting this error
what should i do.....
Using CATALINA_BASE: /root/apache-tomcat-5.5.26
Using CATALINA_HOME: /root/apache-tomcat-5.5.26
Using CATALINA_TMPDIR: /root/apache-tomcat-5.5.26/temp
Using JRE_HOME: /usr/java/jdk1.5.0_14/
Mar 29, 2008 6:53:57 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.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:520)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.<init>(Socket.java:367)
at java.net.Socket.<init>(Socket.java:180)
at
org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
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:585)
at
org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]