I have an ejb application deployed on Sun app server as an ear file. Inside the ear file I have a war and a jar.
I have exposed a class in my jar as a JMX MBean. I want to access its operations via JConsole. I deployed my ear file via the app server console in the Enterprise Applications section. I then added an MBean via the Custom MBeans section, selecting the 'skip' option (as the ear is already deployed). The problem I am having is that JConsole is not recognising the operations in the MBean. It only recognises them when I manually deploy the JAR file in the Custom MBeans section. The Custom MBeans section only mentions jar files.
My question is, can I not just deploy the ear file and have JConsole pick that up?