1 Reply Latest reply on Nov 13, 2002 1:00 PM by adrian.brock

    MBean dependency on Servlet

    peihshine

      How do i declare the mbean dependency on servlet in the *-service.xml file? For your information, I am using Jboss-3.0.3.
      I tried specifying the dependency as the following but it does not work:

      jboss.j2ee:service=Servlet,url=file%/opt/jboss-3.0.3/server/default/deploy/common.war

        • 1. Re: MBean dependency on Servlet

          This won't work because neither wars nor sevlet
          are MBeans.

          You can do the "Russian Doll" trick where you put
          a war in sar. The inner war deployment is deployed
          before the MBean in the sar.

          I don't know the exact details, but David Jencks
          posts this solution a lot.

          Regards,
          Adrian