2 Replies Latest reply on Feb 3, 2005 4:37 AM by Murray Fortescue

    Deployment of JARs before SARs, a little help please

    Murray Fortescue Newbie

      Hi

      The application I am working on has an ear that contains a sar and an jar file containing the ejb definitions. The MBean in my sar uses one of the ejbs in the jar, hence I wish to deploy the ejb jar first.

      I have had a look through various posts that have had questions reguarding this already and have followed the advice given in those.

      I have named the jar file : 1_appname.jar
      and the sar file : 2_appname.sar

      I have then commented out the org.jboss.deployment.DeploymentSorter and am using the PrefixDeploymentSorter instead.

      My understanding is that this should then pick up the 1_appname.jar and deploy it before deploying the 2_appname.sar. Is this the case? If it is it is not working for me ... should I be setting something else as well?

      I am using jboss 3.2.3, is there any other setting I should be looking at.

      Thanks very much in advance

      Murray