EasyBeans
  1. EasyBeans
  2. EZB-163

Unable for an EJB3 to extend a class that is not is the same jar

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EasyBeans 1.0 M6
    • Fix Version/s: EasyBeans 1.0 RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Jonas 4.8.5, Windows XP, JDK 5
    • Global Rank:
      1866

      Description

      If you want to deploy an ear containing for instance two jars with the following classes :

      common jar :
      public class HelloFather {}

      EJB jar :
      @Remote
      public interface Hello {}

      @Stateless
      public class HelloImpl extends HelloFather implements Hello {}

      you get the following exception when ear is loaded

      Caused by: java.lang.IllegalStateException : No super class named 'outils/im/HelloFather' was analyzed. But it is referen
      ced from 'ch/ge/migrationejb3/HelloImpl
      '.
      at org.objectweb.easybeans.deployment.annotations.helper.bean.InheritanceInterfacesHelper.loop (InheritanceInterf
      acesHelper.java:84)
      at org.objectweb.easybeans.deployment.annotations.helper.bean.InheritanceInterfacesHelper.resolve(InheritanceInt
      erfacesHelper.java:63)
      at org.objectweb.easybeans.deployment.annotations.helper.ResolverHelper.resolve (ResolverHelper.java:78)
      at org.objectweb.easybeans.deployment.Deployment.analyze(Deployment.java:101)
      at org.objectweb.easybeans.container.JContainer3.start(JContainer3.java:204)
      at org.objectweb.easybeans.deployer.JOnASDeployer.deployEAR (JOnASDeployer.java:559)
      ... 3 more
      2007-06-28 15:59:58,833 : JOnASDeployer.deployEAR : Deploying EARDeployableImpl.....

      When the two jars are merged, everything is ok.

        Activity

        Hide
        Florent Benoit
        added a comment -

        Target for the fix of this bug is 1.0RC1

        Show
        Florent Benoit
        added a comment - Target for the fix of this bug is 1.0RC1
        Hide
        Florent Benoit
        added a comment -

        was fixed

        Show
        Florent Benoit
        added a comment - was fixed
        Hide
        Loïc Albertin
        added a comment -

        Closing old resolved issues

        Show
        Loïc Albertin
        added a comment - Closing old resolved issues

          People

          • Assignee:
            Florent Benoit
            Reporter:
            Freddy Mallet
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Issue deployment