3 Replies Latest reply on Nov 18, 2002 5:34 PM by Adrian Brock

    MBean nead jars witch nead the DefaultDS, before loaded

    Kasper Newbie

      Hi
      I have at problem deploying my MBean (osworkflow interface) to the deploy folder. I get an error telling that it is missing the DefaultDS. But when i deploy it on runtime, there isn't a problem.
      So my question is:
      Are there any way to delay my own deployment until the default server is deployed (also the classpath files)?
      Are the a way to set dependencies to the classpath jars?

      I deploy with: osworkflow.sar/META-INF/jboss-service.xml
      containing:
      <server>
      <depends>jboss:service=Naming</depends>
      <!--<local-directory path="osworkflow"/> for at skrive til db dir-->
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/commons-beanutils-1.4-dev.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/commons-collections.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/crimson.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/dom4j-1.4-dev-7.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/ejb.jar"/>

      <!-- kraever foelgende : -->
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/osuser.jar"/>

      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/commons-dbcp.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/commons-logging.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/commons-jelly-1.0-beta-3.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/commons-pool.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/bsf.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/bsh-1.2b5.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/oscore-2.0.1.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/propertyset-1.0.2_min.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/winger.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/osworkflow-2.1.0_min.jar"/>
      <classpath codebase="." archives="winger.sar/test.war/WEB-INF/lib/quartz.jar"/>

      <mbean code="org.winger.osworkflow.osWorkflow" name="user:service=osWorkflow">
      <!--<depends>jboss.system:type=Log4jService</depends>-->
      <attribute name="JndiName">osWorkflow</attribute>
      <depends>jboss:service=Naming</depends>
      <depends>jboss.jca:service=LocalTxDS,name=hsqldbDS</depends>
      </mbean>
      </server>