Hi
Thanks for posting. Some comments/questions below:
Is your test trying to enable and disable an application repeatedly
while the VM continues to run?
wbrant_at_directoryservicesinc.com wrote:
> All,
> I have been working with integrating the Shoal Development
> framework and have a seeminly strange issues. All seem to be working
> okay with the exception of usting hte instance shutdown code snippet.
>
> private void leaveGroupAndShutdown(String serverName,
> GroupManagementService gms) {
> logger.log(Level.INFO, "Shutting down instance "+serverName);
> gms.shutdown(GMSConstants.shutdownType.INSTANCE_SHUTDOWN);
> }
>
> 1. Launch my application
This I presume would start a GMS instance in your VM. Could you confirm
with a code snapshot ?
> 2. Trigger the shutdown code.
Is this done to emulate application shutdown or an impending VM shutdown?
> 3. Shutdown code Executes.
Do you see logs that show that the shutdown event was sent out?
> 4. Try to restart application
Does this trigger another start GMS module call? What do you see in the
logs at this time other than the one below?
> 5 get a message indicating that the group has already been shutdown.
I suspect that once the group is shutdown, calling
GMSFactory.startGMSModule() runs into some issues. It could be that we
are not shutting down all threads. Could be a bug. It would help to have
details of you test case and logs.
Thanks
Shreedhar
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_shoal.dev.java.net For
> additional commands, e-mail: users-help_at_shoal.dev.java.net