powered by Jive Software

ComponentSession never closes

Hi,

looked at the code and i think that when the server closes the close of the connection is never callse for the component en server connections.

In the SessionManager the following code is used

try {

for (Session session : getSessions()) {

try {

session.getConnection().close();

}

catch (Throwable t) {

// Ignore.

}

}

}

/code

where getSessions only returns ClientSessions.

problem with this is that components and servers dont get notified that the server has shut down.

Hey bram,

Thanks for pointing this out. The problem JM-548 has been fixed and will be included for the next release.

Thanks,

– Gato