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=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false because i receive an error about rmi in use. Now tomcat is running and both ports 8999 and 8084 defined in server.xml <Listener className="org.apache.catalina.mbeans.JMXAdaptorLifecycleListener" namingPort="8999" port="8084" host="tomcat-server-name" /> 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 <andriu....@gmail.com>: > 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 > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > ....... > 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 <chuck.caldar...@unisys.com>: >>> From: Pid [mailto:p...@pidster.com] >>> Subject: Re: Enabling JMX Remote Ports to connect Tomcat server remotelly >>> 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. You have it in >>> the C: part of each path. >> >> Actually, the colon is _not_ a path separator here, it's a drive delimiter. >> It's the attempted use of the colon elsewhere that causes the problem; 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 >> >> - Chuck >> >> >> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY >> MATERIAL and is thus for use only by the intended recipient. If you received >> this in error, please contact the sender and delete the e-mail and its >> attachments from all computers. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org