Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1603

EJB with dependencies upon itself fails deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Unscheduled
    • None
    • core
    • None

      The following construct:

      @Stateless
      @Remote(SelfDependencyRemoteBusiness.class)
      @Local(SelfDependencyLocalBusiness.class)
      public class SelfDependencyBean implements SelfDependencyLocalBusiness, SelfDependencyRemoteBusiness
      {
      @EJB
      private SelfDependencyLocalBusiness local;

      ...
      }

      ...fails deployment:

      21:55:09,828 WARN [MainDeployer] Failed to deploy: file:/home/alrubinger/business/jboss/wc/jbossas/projects/ejb3/trunk/testsuite/target/test-lib/ejbthreexxx.jar
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

          • CONTEXTS MISSING DEPENDENCIES: Name -> Dependency {Required State:Actual State}

      jboss.j2ee:jar=ejbthreexxx.jar,name=SelfDependencyBean,service=EJB3
      -> <UNKNOWN jboss.j2ee:jar=ejbthreexxx.jar,name=SelfDependencyBean,service=EJB3>

      {Described:** UNRESOLVED Demands 'jndi:SelfDependencyBean/local-org.jboss.ejb3.test.ejbthreexxx.SelfDependencyLocalBusiness' **}
          • CONTEXTS IN ERROR: Name -> Error

      <UNKNOWN jboss.j2ee:jar=ejbthreexxx.jar,name=SelfDependencyBean,service=EJB3> -> ** UNRESOLVED Demands 'jndi:SelfDependencyBean/local-org.jboss.ejb3.test.ejbthreexxx.SelfDependencyLocalBusiness' **

      This is the cause of 3 regressions in "asynchronous" tests currently

              arubinge@redhat.com Andrew Rubinger (Inactive)
              arubinge@redhat.com Andrew Rubinger (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: