7 Replies Latest reply on Aug 8, 2008 5:47 AM by Swaroop Katragadda

    deploying mbean in ear

    J Yang Newbie

      Hello,

      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/
      META-INF/application.xml
      META-INF/my-oracle-ds.xml
      META-INF/jboss-app.xml
      META-INF/jboss-service.xml
      META-INF/MANIFEST.MF
      


      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/
      META-INF/my-oracle-ds.xml
      META-INF/jboss-service.xml
      META-INF/MANIFEST.MF
      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,
      Jennifer