[jboss-jira] [JBoss JIRA] Updated: (JBREM-745) client unable to send if server recycles

John Mazzitelli (JIRA) jira-events at lists.jboss.org
Mon May 14 11:56:52 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBREM-745?page=all ]

John Mazzitelli updated JBREM-745:
----------------------------------

    Attachment: RemotingTest.java

> client unable to send if server recycles
> ----------------------------------------
>
>                 Key: JBREM-745
>                 URL: http://jira.jboss.com/jira/browse/JBREM-745
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.2.0.SP4
>            Reporter: John Mazzitelli
>         Assigned To: Ron Sigal
>         Attachments: RemotingTest.java
>
>
> I have TestNG unit test that fails about 75% of the time.  See attached.
> The issue here is that if a server shuts down and then restarts, the client will fail to be able to send a message to it.
> Replication works like this:
> 1. create and start a connector
> 2. create and connect a client
> 3. send a message to the server and see that it works (which creates a ServerThread worker thread on server side)
> 4. stop connector and the re-start it
> 5. send a message to the server and see that it FAILS due to:
> org.jboss.remoting.ServerInvoker$InvalidStateException: Can not process invocation request since is not in started state.
> 	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:745)
> 	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
> 	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383)
> 	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
> 	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
> 	at org.jboss.remoting.Client.invoke(Client.java:1550)
> 	at org.jboss.remoting.Client.invoke(Client.java:530)
> 	at org.jboss.remoting.Client.invoke(Client.java:518)

-- 
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 jboss-jira mailing list