2014-03-06 1:40 GMT+04:00 Christopher Schultz <ch...@christopherschultz.net>:
>
> 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.


>         at
> org.apache.tomcat.util.modeler.ManagedBean.getGetter(ManagedBean.java:461)
>         at
> org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:180)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
>         at
> com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
>
> I'm not sure why this would be happening... could be mismatch with
> mbeans-descriptor? I'll investigate this one, too.
>
> - -chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to