Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1600

Stateless sesion ejbCreate CreateException are not propagated correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-4.0.2 Final
    • JBossAS-4.0.1 SP1, JBossAS-4.0.2RC1
    • EJB2
    • None

    Description

      I see that we do not handle the propagation of CreateExceptions thrown from stateless session ejbCreate callbacks correctly due to the delay of the instance creation until a remote method invocation. The problem this causes is that a CreateException is an application exception that when thrown during a business method invocation results in an UndeclaredThrowableException due to an undeclared checked exception being thrown from the reflected method invocation.

      We really do need to be obtaining an instance in the StatelessSessionInstanceInterceptor invokeHome method to ensure that we are not creating unusable bean proxies due to delaying the ejbCreate call until the business method invocation.

      Attachments

        Issue Links

          Activity

            People

              starksm64 Scott Stark (Inactive)
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: