Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 51385 invoked from network); 2 May 2007 16:10:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2007 16:10:11 -0000 Received: (qmail 39827 invoked by uid 500); 2 May 2007 16:09:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 39795 invoked by uid 500); 2 May 2007 16:09:58 -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 39780 invoked by uid 99); 2 May 2007 16:09:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 09:09:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [195.227.30.246] (HELO datura.kippdata.de) (195.227.30.246) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 09:09:50 -0700 Received: from [62.12.11.148] ([62.12.11.148]) by datura.kippdata.de (8.13.5/8.13.5) with ESMTP id l42G9StU010052 for ; Wed, 2 May 2007 18:09:28 +0200 (CEST) Message-ID: <4638B7A9.9090304@kippdata.de> Date: Wed, 02 May 2007 18:09:13 +0200 From: Rainer Jung User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Jconsole and remote monitoring References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You neded to change your start/stop scripts, so that they use the management parameters only in the starting case and not in the stopping case (define a new variable and add it in bin/catalina.sh to the "start" case. daad@libero.it schrieb: > Now jconsole works but when i shut it down with /bin/./shutdown.sh i get this error: > > Errore: Eccezione dell'agente : java.rmi.server.ExportException: Port already in use: 7019; nested exception is: > java.net.BindException: Address already in use > > and tomcat doesn't shut down properly. > I added the "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7019 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=192.168.0.5" in the /bin/catalina.sh file with: > > export JAVA_OPTS = "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7019 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=192.168.0.5" > > is there any way i can fix this issue? > thanks --------------------------------------------------------------------- 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