Well this is problematic abit When I do : ps -fu <myUserName> Im getting something like this : /opt/jdk1.5.0_11/jdk/bin/java -Xmn100M -Xms256M -Xmx256M -Djava.util.logging.ma
I have more java process that are running .. can I somhow get the tomcat name shown ? to be more unique , so I can grep it? -----Original Message----- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 12:47 PM To: Tomcat Users List Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error under linux, a combinaision of ps, grep and wc could tell you how much tomcat processes are active. En l'instant précis du 30/01/08 09:44, Meir Yanovich s'exprimait en ces termes: > Yes you are right , there is in the tomcat script , first it is running the > Shatt down the tomcat , is there any better way to do this ? > Some kind of checking if the tomcat alive ? > Thanks > > -----Original Message----- > From: David Delbecq [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 30, 2008 10:29 AM > To: Tomcat Users List > Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException: > Connection refused error > > Looks like you are trying, for whatever reason, to stop tomcat prior to > starting it. This exception occurs cause there is no tomcat running that > could answer that stop request. > > En l'instant précis du 30/01/08 09:25, Meir Yanovich s'exprimait en ces > termes: > >> Hello all >> Im running with my tomcat 5.5 on SunOS 9 , but when I start tomcat im >> getting this error The tomcat keeps running fine , but I like to know >> how to eliminate this error : >> 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:519) >> at java.net.Socket.connect(Socket.java:469) >> at java.net.Socket.<init>(Socket.java:366) >> at java.net.Socket.<init>(Socket.java:179) >> at >> org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav >> a:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor >> Impl.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) >> >> Thanks >> >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > > -- http://www.devlog.be (a belgian developer's logs) --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]