[jboss-user] [Management, JMX/JBoss] - deploying mbean in ear

jyoonyang do-not-reply at jboss.com
Tue Oct 17 20:43:55 EDT 2006


I can't seem to get my MBean to be deployed when I deploy in a ear.  If I deploy the sar independently, it works fine.

Here is the content of my ear:

  | mymbeans.sar
  | mywebapp.war
  | log4j.properties
  | META-INF/application.xml
  | META-INF/my-oracle-ds.xml
  | META-INF/jboss-app.xml
  | META-INF/jboss-service.xml

And here are the sar content

  | commons-collections-3.0.jar
  | commons-dbcp-1.2.1.jar
  | commons-pool-1.1.jar
  | mymbeans.jar
  | META-INF/my-oracle-ds.xml
  | META-INF/jboss-service.xml
  | servletapi-2.3.jar

Currently, there is no dependency from sar to war.  (To be added later)

I don't see any error messages during deployment.  It seem to be get simply ignored.  Any idea?

Also, does mbean need to be inside a sar?  Can it be in the ear without being wrapped inside a sar?

Thanks in advance,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978915#3978915

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978915

More information about the jboss-user mailing list