[esb-issues] [JBoss JIRA] Commented: (JBESB-1378) JBossRemotingGatewayListener not disconnecting properly on undeploy
Daniel Bevenius (JIRA)
jira-events at lists.jboss.org
Tue Jan 22 07:11:21 EST 2008
[ http://jira.jboss.com/jira/browse/JBESB-1378?page=comments#action_12396144 ]
Daniel Bevenius commented on JBESB-1378:
----------------------------------------
I can get this to work if I write something to the socket like this:
protected void unlockAccept() {
java.net.Socket s = null;
try {
// Need to create a connection to unlock the accept();
if (address == null) {
s = new java.net.Socket("127.0.0.1", port);
} else {
s = new java.net.Socket(address, port);
// setting soLinger to a small value will help shutdown the
// connection quicker
s.setSoLinger(true, 0);
}
s.getOutputStream().write("bogus".getBytes());
} catch(Exception e) {
...
}
But not otherwise :(
> JBossRemotingGatewayListener not disconnecting properly on undeploy
> --------------------------------------------------------------------
>
> Key: JBESB-1378
> URL: http://jira.jboss.com/jira/browse/JBESB-1378
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Transports
> Affects Versions: 4.2.1
> Reporter: Tom Fennelly
> Assigned To: Daniel Bevenius
> Fix For: 4.2.1 CP1
>
>
> Looks as though the jbr-listener is not closing/stopping/disconnecting properly on the doStop event.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the esb-issues
mailing list