Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82F6C9BC2 for ; Thu, 9 Feb 2012 17:50:24 +0000 (UTC) Received: (qmail 64361 invoked by uid 500); 9 Feb 2012 17:50:20 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64279 invoked by uid 500); 9 Feb 2012 17:50:20 -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 64269 invoked by uid 99); 9 Feb 2012 17:50:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 17:50:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andriu.one@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 17:50:13 +0000 Received: by wgbdr13 with SMTP id dr13so5143221wgb.0 for ; Thu, 09 Feb 2012 09:49:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=kvL5AKkwHferue+q6XNhkxjW+RIWXTD+BZoH7iaK67I=; b=CZhyCa2cU10MPGvZ46efcjVBxOOimmj5IKhtlc/sto+haqtJsHiR9K3OLRBz/LuX2w vp1+p/rjg0IzAVYr9pL8F9Kfg84EtCQlPvv6YpKI4jG+yFxb+E0kFtIAX3PqZeYyaKpF JSIFyVrl57flaZ1SYOwDWE24pEUDoPzZFU1x4= Received: by 10.180.89.67 with SMTP id bm3mr4346833wib.13.1328809793197; Thu, 09 Feb 2012 09:49:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.195.209 with HTTP; Thu, 9 Feb 2012 09:49:33 -0800 (PST) In-Reply-To: References: <4F33D221.9090702@kippdata.de> <4F33E899.4000901@pidster.com> <4F33FA34.8080507@pidster.com> <99C8B2929B39C24493377AC7A121E21FB011355A99@USEA-EXCH8.na.uis.unisys.com> From: Andres Aguado Date: Thu, 9 Feb 2012 18:49:33 +0100 Message-ID: Subject: Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Ok, i've got it up!!. I've copied .class file into a directory that i must create; C:\apache-tomcat-5.5.27\server\lib\org\apache\catalina\mbeans. Also, i must delete lines into catalina.bat startup file set CATALINA_OPTS=3D-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=3D8999 -Dcom.sun.management.jmxremote.ssl=3Dfalse -Dcom.sun.management.jmxremote.authenticate=3Dfalse because i receive an error about rmi in use. Now tomcat is running and both ports 8999 and 8084 defined in server.xml Now, to enable authentication, is it simillar than in catalina.bat? Well, i think that i'm going to continue tomorrow, it's a good end of day Thanks for your responses Andres 2012/2/9 Andres Aguado : > Great, it's great!. First obstacle overcomed. Now, i've compiled .java > file and it's been created a .class file. Now i've got this .class > file and i've added it to catalina.jar and catalina-optional.jar, but > when i try to start catalina script other error appears in > catalina.out, like this: > > GRAVE: Begin event threw exception > java.lang.ClassNotFoundException: > org.apache.catalina.mbeans.JMXAdapterLifecycleListener > =A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(Unknown Source) > =A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Meth= od) > ....... > ADVERTENCIA: Catalina.start using conf/server.xml: > java.lang.ClassNotFoundException: > org.apache.catalina.mbeans.JMXAdapterLifecycleListener > ...... > > Thanks and regards, > Andres > > 2012/2/9 Caldarale, Charles R : >>> From: Pid [mailto:pid@pidster.com] >>> Subject: Re: Enabling JMX Remote Ports to connect Tomcat server remotel= ly with jconsole tool >> >>> > warning: [path] bad path element >>> > "C:\apache-tomcat-5.5.27\server\lib\catalina.jar:C:\apache-tomcat-5.5= .27\bin\commons-logging-api-1.1.1.jar": >>> > no such file or directory >> >>> The colon character is a path separator. =A0You have it in >>> the C: part of each path. >> >> Actually, the colon is _not_ a path separator here, it's a drive delimit= er. =A0It's the attempted use of the colon elsewhere that causes the proble= m; it should be a semi-colon on Windows: >> >> C:\apache-tomcat-5.5.27\server\lib\catalina.jar;C:\apache-tomcat-5.5.27\= bin\commons-logging-api-1.1.1.jar >> >> =A0- Chuck >> >> >> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY= MATERIAL and is thus for use only by the intended recipient. If you receiv= ed this in error, please contact the sender and delete the e-mail and its a= ttachments from all computers. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org