1 2 Previous Next 16 Replies Latest reply on Oct 28, 2009 4:25 PM by icordoba Go to original post
      • 15. Re: EJB's Not Binding Before WAR Deploys
        jaikiran

         

        "icordoba" wrote:

        How can I know the exact module name and service of my ear? (Wouldn't know where to look at the JMX Console)



        - Go to http://localhost:8080/jmx-console.
        - On the left hand side frame, click on jboss.j2ee
        - The right hand side frame will then contain all the MBeans under this domain name.
        - Look for your EjbModule MBean there and then use jboss.j2ee:TheRestOfTheMBeanObjectNameThatYouSeeOnThatPage


        And for all those who are watching this thread - the deployment order based on the module order, in the application.xml will start working again with the soon to be released JBossAS-5.2 Beta1. Here's that JIRA https://jira.jboss.org/jira/browse/JBAS-7106


        • 16. Re: EJB's Not Binding Before WAR Deploys
          icordoba

          Thanks a lot for your reply. I am trying different options but I still get the error.
          jmx-console for jboss.j2ee shows:

          ear=gentalia.ear,jar=gentalia.jar,name=CMManager,service=EJB3
          ear=gentalia.ear,jar=gentalia.jar,name=EntryManager,service=EJB3
          ear=gentalia.ear,jar=gentalia.jar,name=FormProcessorManager,service=EJB3
          ear=gentalia.ear,jar=gentalia.jar,name=LogManager,service=EJB3
          ear=gentalia.ear,jar=gentalia.jar,name=PortalManager,service=EJB3
          ear=gentalia.ear,jar=gentalia.jar,name=TagManager,service=EJB3
          ear=gentalia.ear,jar=gentalia.jar,name=UserManager,service=EJB3
          ear=gentalia.ear,jar=gentalia.jar,service=EJB3
          


          As I want the war to wait till the jar is deployed I tried:

          <depends>jboss.j2ee:ear=gentalia.ear,jar=gentalia.jar,service=EJB3</depends>
          


          But I still get:

          DEPLOYMENTS MISSING DEPENDENCIES:
           Deployment "jboss.web.deployment:war=mytest.mydomain.eu/" is missing the following dependencies:
           Dependency "jboss.j2ee:module="gentalia.jar",service=EjbModule" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:module="gentalia.jar",service=EjbModule' **")
          


          I've also tried... jboss.j2ee:module="gentalia.jar",service=EJB3
          jboss.j2ee:module="gentalia.jar",service=EJBModule, ...

          Any idea on what I am missing?

          Thanks again,
          Ignacio

          1 2 Previous Next