[
https://issues.apache.org/jira/browse/OPENEJB-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Louis MONTEIRO closed OPENEJB-1305.
----------------------------------------
Assignee: Andy Gumbrecht
Fix Version/s: 3.1.x
(trunk/openejb3)
Resolution: Fixed
Thanks again Andy.
> Standalone Server shutdown fails
> --------------------------------
>
> Key: OPENEJB-1305
> URL: https://issues.apache.org/jira/browse/OPENEJB-1305
> Project: OpenEJB
> Issue Type: Bug
> Components: server
> Affects Versions: 3.2
> Environment: All
> Reporter: Andy Gumbrecht
> Assignee: Andy Gumbrecht
> Fix For: 3.1.x, (trunk/openejb3)
>
> Attachments: Server.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The 'Server' component is never registered so the following call fails with a
> null pointer.
> Server server = SystemInstance.get().getComponent(Server.class);
> server.stop();
> The order of shutdown in Server.java should be:
> OpenEJB.destroy();
> manager.stop();
> Remove redundant code in SimpleServiceManager.java - In fact the removed code
> could potentially cause shutdown race conditions on RA's if Server.stop() is
> called.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.