[ openjms-Bugs-669033 ] Can't shutdown embedded server via admin API
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #669033, was opened at 2003-01-16 13:14
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=669033&group_id=54559
Category: server
Group: v0.7.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Tim Anderson (tanderson)
>Assigned to: Tim Anderson (tanderson)
Summary: Can't shutdown embedded server via admin API
Initial Comment:
When an embedded OpenJMS server is used, the
JmsAdminIfc cannot be used to shut it down, as the
stopServer() method is not implemented in
org.exolab.jms.administration.intravm.IntravmJmsA
dminConnection.
It isn't implemented as it would need to delegate to
JmsAdmin.stopServer() which invokes System.exit() .
The workaround used in
src/testharness/org/exolab/testharness/jms/util/E
mbeddedServerAdapter.java shuts down the
ServiceManager.
----------------------------------------------------------------------
>Comment By: Tim Anderson (tanderson)
Date: 2003-03-31 13:48
Message:
Logged In: YES
user_id=557161
Fixed in CVS.
To shut down the server using the embedded connector:
JmsServerIfc admin = AdminConnectionFactory.create
("embedded://");
admin.stopServer();
This will be available in the 0.7.5 release.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=669033&group_id=54559