Monitoring Application Server's JVM with jconsole

Hi,

I would like to monitor the JVM running Sun Application Server 8.1 PE.

Unfortunately, it seems it is not possible; Sun Application Server starts by default a JMX connector on port 8686 and exposes its MBeans related to server features here.

I would like to monitor only basic JVM monitors as memory consumption, but I can't find them.

Then I tried to enable the default Java 5 JMX agent with the "com.sun.management.jmxremote" property but I get the following stack trace at server's startup:

[#|2007-05-24T15:47:01.446+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise .system.tools.admin.server.mb

eans.J2EEServer:server|_ThreadID=10;|java.lang.IllegalArgumentException: []

com.sun.appserv.management.util.misc.SetUtil.getSingleton(SetUtil.java:34)

com.sun.enterprise.management.j2ee.DASJ2EEServerImpl.setDelegate(DASJ2EEServerI mpl.java:177)

com.sun.enterprise.management.j2ee.DASJ2EEServerImpl.postRegister(DASJ2EEServer Impl.java:205)

com.sun.jmx.mbeanserver.BaseMetaDataImpl.postRegisterInvoker(BaseMetaDataImpl.j ava:106)

com.sun.jmx.mbeanserver.MetaDataImpl.postRegisterInvoker(MetaDataImpl.java:244)

com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBe anServerInterceptor.java:948)

com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBea nServerInterceptor.java:337)

com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)

sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

java.lang.reflect.Method.invoke(Method.java:585)

com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)

$Proxy1.registerMBean(Unknown Source)

com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.registerMBean(Sunone Interceptor.java:249)

com.sun.enterprise.management.util.J2EEManagementObjectManager.registerDasJ2EES erver(J2EEManagementObjectMan

ager.java:1711)

com.sun.enterprise.management.util.J2EEManagementObjectManager.registerDasJ2EES ervers(J2EEManagementObjectMa

nager.java:1645)

com.sun.enterprise.admin.server.core.AdminService.start(AdminService.java:287)

com.sun.enterprise.admin.server.core.AdminServiceLifeCycle.onStartup(AdminServi ceLifeCycle.java:99)

com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:30 0)

com.sun.enterprise.server.PEMain.run(PEMain.java:294)

com.sun.enterprise.server.PEMain.main(PEMain.java:220)

|#]

Is there any tip to enable default Java5 JMX agent concurrently with server's one ?

Laurent.

[2747 byte] By [lsauvagea] at [2007-11-27 5:23:54]
# 1
Unfortunately, there is not. If you can upgrade to 8.2 or 9.0 PE, then all will work flawlessly. But it will not work on 8.1 PE.
sdoa at 2007-7-12 11:50:02 > top of Java-index,Application & Integration Servers,Application Servers...