Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-1477

JBossTS JTS need JacORB shutdown patch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP 5.0.0.CR2
    • None
    • System
    • None

    Description

      JBossTS JTS will be part of EAP 5.0. The JTS test suite is currently broken due to a timing issue in JacORB 2.3.0.jboss5 shutdown code. This needs fixing and a new JacORB build providing for use by JBossTS and AS, which will then be fed into the EAP.

      The issue is as follows:

      JacORB 2.3.0.jboss5 intermittently hangs during shutdown. Thread dump shows it waiting in RequestController.waitForShutdown(), presumably because it believes there are outstanding requests still in progress.

      Earlier in the run I see a log entry:
      'cannot process request, because object is already in the deactivation process'
      This is from POA.reference_to_servant(), which then throws a OBJECT_NOT_EXIST up the stack to Delegate.servant_invoke(). This has exception handlers for multiple cases, each of which does a poa.removeLocalRequest(). These appear to have been added for bug #400, but bugzilla is down so I can't get any further info on that case to understand the reasoning. The method does not have such as handler for the OBJECT_NOT_EXIST, which I believe is leading to it leaking an increment on the request counter.

      I believe the fix should be either:
      to catch the OBJECT_NOT_EXIST in servant_invoke, call removeLocalRequest and then rethrow.
      or
      throw a ObjectNotActive from reference_to_servant instead, for which there is already a handler in servant_invoke

      Attachments

        Issue Links

          Activity

            People

              fnasser Fernando Nasser
              rhn-engineering-jhallida Jonathan Halliday
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: