jconsole no security manager exception (RMI classloader disabled)

Hi,

I'm using JConsole to connect to an MBean I deployed in Sun app server. When I try to inspect an attribute of the MBean I get UnmarshalException, caused by ClassNotFound exception, caused by RMI classloader disabled, caused by no security manager error.

I think JConsole is trying to download class definition from the server, but due to lack of security manager it fails to do so. Does anyone know how can I make this work? I'm using JMX adapter that authenticates by user name/password.

Thank you for your help,

Mark

[555 byte] By [markcitizena] at [2007-10-3 3:17:09]
# 1

Mark,

If you can, try to redesign your MBean so that it doesn't use any custom types. For the full range of options you have, take a look at the discussion thread on the JMX-FORUM around my message http://archives.java.sun.com/cgi-bin/wa?A2=ind0607&L=jmx-forum&D=0&T=0&P=4543

emcmanusa at 2007-7-14 21:08:41 > top of Java-index,Core,Monitoring & Management...
# 2
Hi Mark,I also replied to this question on your other post: http://forum.java.sun.com/thread.jspa?forumID=13&threadID=761394Hope this helps,-- danielJMX, SNMP, Java, etc... http://blogs.sun.com/jmxetc
dfuchsa at 2007-7-14 21:08:41 > top of Java-index,Core,Monitoring & Management...