-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Konstantin,
On 3/5/14, 5:35 PM, Konstantin Kolinko wrote: > 2014-03-06 1:40 GMT+04:00 Christopher Schultz > <[email protected]>: >> >> On 3/5/14, 4:20 PM, Christopher Schultz wrote: >>> All, >>> >>> For some reason, I'm not able to access my Tomcat's JMX beans >>> remotely using jconsole, etc. and so I figured I'd try using >>> the jmxproxy servlet in the manager webapp. I've deployed the >>> manager webapp in the same way I've done in many other >>> installations... I'm fairly sure I haven't screwed it up. >>> >>> I get an exception when calling an open-ended "get" (i.e. it >>> should dump the entire JMX tree): >>> >>> $ curl -v --user jmxproxy:jmxproxy >>> http://localhost/manager/jmxproxy?get >>> >> >> There is another - legit this time - error that I can see when I >> call ?qry: >> >> Mar 05, 2014 4:39:39 PM org.apache.catalina.mbeans.MBeanDumper >> dumpBeans SEVERE: Error getting attribute >> Catalina:type=WebappClassLoader,host=localhost,context=/manager >> jarPath javax.management.ReflectionException: Cannot find getter >> method getJarPath > > > There was WebappClassLoader.getJarPath() method in Tomcat 7. It > was removed from TC8. Okay. Someone should tell Tomcat that it has been removed. This exception is being thrown when I call "jmxproxy?qry" and let it list everything available via JMX. Is it just a matter of modifying org/apache/catalina/loader/mbeans-descriptors.xml which still contains a reference to it? <attribute name="jarPath" description="The jarPath of this loader" writeable="false" type="java.lang.String"/> Thanks, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTHefdAAoJEBzwKT+lPKRYnZsQAMTQtLk77RTpPSRLN2EaY+Qz Znmr6ZOb5oFfbjW2R3EQn53DTJ+6Iy6aSnYu38Rq62ZADgxWHiVLQfF6zCaQa6QY 9XgPMBupha+zu2WiowW0phGQ+r6Lbo7P+N16FfvTks42aG8/uaGjK/+dlIkOVOEd lzFwd9qMRWomwLeYP2R7PBZAUvY8yek1W63FjtR81GLpsT+X0/a67FBCd/JijSzC uISmAdlEPhTXDibzZNlJmgg0tVQ2afKKTriEXXcVjiOJVQPhuV2JELAddrL+oUOW CxvR1O8l64MqPFDZZPTxt6IaXsXT3Ddi6YDLM1SAU1xyKk+bdZdqB9ue9p1tS6z1 VvgPyL4zrUixEsy51La74Qyhm80/TuxJNpSRDHm8QJB7Zb46s7e8xKJFFo8sCOCL Lcn6zqb7eziSzCdO5OwXEJ0rk/E4vVBPDAKMeW6nfNSBhMAynDkXPYdiO8EQ5s9m lQ76ncK4Po8+em0g1g+OlwAEtweRKIiNm0SdZl3WWneG1AP5sfJbD8bMLDGs6/Qy gmSqF45GKMzL2+GfRsq3FBDp0xEgefRv0z4UxiWfYxyLIWSxYogrCfX4setfNjNu CjWnq3aaJeXcD5Uk7qPs/3N5bIjbfEj74RqWEKEVWKKrZGucevdC+846IVl0KtXr Yb3GmFxwdZ0zwSB90Ddu =J6x+ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
