tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Blevins (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENEJB-1305) Standalone Server shutdown fails
Date Tue, 19 Oct 2010 03:44:29 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Blevins updated OPENEJB-1305:
-----------------------------------

    Fix Version/s:     (was: 3.1.x)

> 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: (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.


Mime
View raw message