Sorry, I forgot that Remoting/Locator would have a cache for this socket.
Client will be GCED byt the underlying socket will sit somewhere in a static HashMap
inside remoting. (the Locator property will be used for that).
A proper fix would be to have client created before, and always reuse the same client.
But that would change internal API. I don't think we should do it now.
I guess we should mark this as Won't fix.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972422#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...