Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 60998 invoked from network); 30 Jan 2008 12:51:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2008 12:51:14 -0000 Received: (qmail 37544 invoked by uid 500); 30 Jan 2008 12:50:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37522 invoked by uid 500); 30 Jan 2008 12:50:53 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 37511 invoked by uid 99); 30 Jan 2008 12:50:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 04:50:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [62.90.113.67] (HELO ftsesafe) (62.90.113.67) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Jan 2008 12:50:38 +0000 Received: from mail.fts-soft.com ([192.168.3.2]) by eSafe SMTP Relay 1201107087; Sun, 30 Jan 2008 14:45:25 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error Date: Wed, 30 Jan 2008 14:50:29 +0200 Message-ID: <99BDE94B756BBD409957244A0E7FFD971950C4@ftsmail.fts-soft.com> In-Reply-To: <47A07045.7090509@oma.be> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error Thread-Index: AchjPhzH4A6bl2juTGyWih4foaxqUQAAHWGw References: <99BDE94B756BBD409957244A0E7FFD97194ED4@ftsmail.fts-soft.com> <47A03552.6070709@oma.be> <99BDE94B756BBD409957244A0E7FFD97194EF7@ftsmail.fts-soft.com> <47A055A3.6050305@oma.be> <99BDE94B756BBD409957244A0E7FFD9719501D@ftsmail.fts-soft.com> <47A06BD1.5040409@oma.be> <99BDE94B756BBD409957244A0E7FFD971950A7@ftsmail.fts-soft.com> <47A07045.7090509@oma.be> From: "Meir Yanovich" To: "Tomcat Users List" X-ESAFE-STATUS: Mail allowed X-ESAFE-DETAILS: X-Virus-Checked: Checked by ClamAV on apache.org Yes I can see it has x in hp=20 -x Shows the command line in extended format. Someone knows what is the equivalent in sunOs? Thanks=20 -----Original Message----- From: David Delbecq [mailto:delbd+jakarta@oma.be]=20 Sent: Wednesday, January 30, 2008 2:41 PM To: Tomcat Users List Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException: = Connection refused error This is ps from HP-UX/linux, other version might use a different flag :) = There are tons of flags, as long as you can get detailed command line,=20 or working directory or perhaps environment variables, you should have=20 enough to limit selection to one process. En l'instant pr=E9cis du 30/01/08 13:36, Meir Yanovich s'exprimait en = ces=20 termes: > Hi and thanks for the fast reply but my version of ps =20 > Don't have the x flag, any other way ? > > -----Original Message----- > From: David Delbecq [mailto:delbd+jakarta@oma.be]=20 > Sent: Wednesday, January 30, 2008 2:22 PM > To: Tomcat Users List > Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException: = Connection refused error > > ps -aex | grep tomcat | grep java > > first part limit to tomcat processes, second part strip non java=20 > processes that are related to tomcat (like the grep tomcat of previous = > line ;) > If you need more explicit selection, include the home directory of=20 > tomcat in the grep calls. Here we use, as part of our stop/wait 2=20 > minutes/kill script, the following expression: > > **kill -9 `ps -aex | grep tomcat | grep intranet | awk '{print = $1}'`** > > > (tomcat being run inside a folder named intranet) > > > En l'instant pr=E9cis du 30/01/08 12:37, Meir Yanovich s'exprimait en = ces=20 > termes: > =20 >> Well this is problematic abit=20 >> When I do : ps -fu >> 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?=20 >> >> -----Original Message----- >> From: David Delbecq [mailto:delbd+jakarta@oma.be]=20 >> 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=20 >> tomcat processes are active. >> >> En l'instant pr=E9cis du 30/01/08 09:44, Meir Yanovich s'exprimait en = ces=20 >> termes: >> =20 >> =20 >>> Yes you are right , there is in the tomcat script , first it is = running the=20 >>> Shatt down the tomcat , is there any better way to do this ?=20 >>> Some kind of checking if the tomcat alive ?=20 >>> Thanks=20 >>> >>> -----Original Message----- >>> From: David Delbecq [mailto:delbd+jakarta@oma.be]=20 >>> 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=20 >>> starting it. This exception occurs cause there is no tomcat running = that=20 >>> could answer that stop request. >>> >>> En l'instant pr=E9cis du 30/01/08 09:25, Meir Yanovich s'exprimait = en ces=20 >>> termes: >>> =20 >>> =20 >>> =20 >>>> 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.(Socket.java:366) >>>> at java.net.Socket.(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=20 >>>> >>>> >>>> >>>> = --------------------------------------------------------------------- >>>> To start a new topic, e-mail: users@tomcat.apache.org >>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>> For additional commands, e-mail: users-help@tomcat.apache.org >>>> >>>> =20 >>>> =20 >>>> =20 >>>> =20 >>> =20 >>> =20 >>> =20 >> =20 >> =20 > > > =20 --=20 http://www.devlog.be (a belgian developer's logs) --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org