3 Replies Latest reply on Jun 18, 2003 6:12 AM by darranl

    how sar file depends on my application & datasource

    chitech

      I have a sar file that I want to depends on my application (ear) and my datasource (ms sql server). How do I find the name for them?

      my jboss-service.xml:

      jboss:service=Naming
      my application
      my datasource

        • 1. Re: how sar file depends on my application & datasource

          check the jmx-console, you'll find the object names for deployed beans under the jboss.j2ee domain, your datasource will be under jboss.jca domain

          • 2. Re: how sar file depends on my application & datasource
            chitech

            thx for the answer.

            I have added this to my jboss-service.xml after I found it on the jmx-console (localhost:8080/jmx-console)

            jboss:service=Naming
            jboss.j2ee:module=multiuser-server.jar, service=EjbModule

            when I deploy me sar file I get this error:

            10:41:57,976 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
            Cause: Incomplete Deployment listing:
            Packages waiting for a deployer:

            Incompletely deployed packages:

            MBeans waiting for classes:

            MBeans waiting for other MBeans:
            [ObjectName: init.db:service=InitDB
            state: CONFIGURED
            I Depend On: jboss:service=Naming
            jboss.j2ee:module=multiuser-server.jar, service=EjbModule

            Depends On Me: ]

            • 3. Re: how sar file depends on my application & datasource
              darranl

              I have been trying to achieve the same and I have so far found the following format to work :-

              jboss:service=DefaultPartition jboss.j2ee:jndiName=TestBean,service=EJB