tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Aguado <andriu....@gmail.com>
Subject Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool
Date Thu, 09 Feb 2012 17:29:34 GMT
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.Caldarale@unisys.com>:
>> From: Pid [mailto:pid@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-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


Mime
View raw message