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