This content has been marked as final.
Show 2 replies
-
1. Re: stream server not dying
mazz Jun 20, 2006 5:07 PM (in response to mazz)According to the Javadocs of StreamServer:
* NOTE: That once this class receives the close() method called
* from the server, it will also stop and destroy the internal
* remoting server, since is assumed there will be no more callbacks
* (since the stream itself is closed).
but this does not seem to be true. Looking at the code that receives the close() invocation, all it does is close the stream:else if(StreamHandler.CLOSE.equals(method)) { streamSource.close(); }
I see no code in here at all the destroys the connector - looking at all references to the connector data member, all I see is it get started but no where does it stop it.
Am I seeing this right? If there is no way to shut this down, how does a client VM stream more than one input stream? Once that connector is up, the next time you try to instantiate StreamServer, it fails since the connector already exists.
I'll submit a JIRA since it looks like this is a problem. -