[
https://issues.apache.org/jira/browse/OPENEJB-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Gumbrecht updated OPENEJB-1305:
------------------------------------
Attachment: Server.patch
Patch for this issue.
> 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
> 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.