-
Bug
-
Resolution: Done
-
Major
-
None
-
None
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
- blocks
-
JBTM-449 update JacORB to 2.3.0.jboss6
- Closed
- is incorporated by
-
JBPAPP-1670 Upgrade JacORB to 2.3.0jboss.patch6-brew
- Resolved