[
http://jira.jboss.com/jira/browse/JBREM-745?page=all ]
Ron Sigal closed JBREM-745.
---------------------------
Resolution: Done
The tests are passing on cruisecontrol, with the exception of occasional timeouts due to a
short timeout configuration. The timeout value in the tests has been extended.
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.4.0.Beta1 (Pinto)
Reporter: John Mazzitelli
Assigned To: Ron Sigal
Fix For: 2.4.0.Beta1 (Pinto)
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