1 Reply Latest reply on Apr 24, 2015 5:44 AM by jmens

    Strange dependencies: MyBean.ORB, .InstanceName, .HandleDelegate, ...

    jmens

      Hi,

       

      I'm currently migrating  an EAR project towards Wildfly. If deploying the application, wildfly complains about missing dependencies for every EJB.

       

      If the EJB is called "MyBean", there are warnings indicating that the services  "MyBean.ORB", "MyBean.InstanceName", "MyBean.HandleDelegate", "MyBean.Validator", "MyBean.ValidatorFactory" and "MyBean.InAppClientContainer"  have a missing dependency to "MyBean".

       

      Later, jboss says, that "MyBean" references the missing services "MyBean.ORB", "MyBean.InstanceName", etc.

       

      I use WildFly 8.2.0.Final on Java 1.8.0_45

       

      I have no idea what to do or where to search. Could anyone point me the direction, please?

       

      Thanks a lot, Clemens

        • 1. Re: Strange dependencies: MyBean.ORB, .InstanceName, .HandleDelegate, ...
          jmens

          SOLVED

           

          Just in case that someone else facing this problem:

           

          The application is an ear with about 15 modules. One of these modules contained an invalid datasource name in its persistence.xml.

          Now, the name is fixed and wildfly manages to deploy the application.

           

          One line like "Cannot use datasource xyz" instead of about 750 lines about missing dependencies of strange services would have saved me three days of debugging...