[JBoss JIRA] Created: (JBREM-1285) Callback Connector for in-jvm connection should create a LocalServerInvoker
by Ron Sigal (JIRA)
Callback Connector for in-jvm connection should create a LocalServerInvoker
---------------------------------------------------------------------------
Key: JBREM-1285
URL: https://issues.jboss.org/browse/JBREM-1285
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.5.4.SP1, 2.2.4
Reporter: Ron Sigal
Assignee: Ron Sigal
Fix For: 2.5.4.SP2, 2.2.4.SP1
When the org.jboss.remoting.Client method
public void addListener(InvokerCallbackHandler callbackhandler, Map metadata) throws Throwable;
or one of its variants is called, it checks if the ClientInvoker is an instance of BidirectionalClientInvoker as part of its determination of whether to set up push or pull callbacks. If the server is in the same jvm, and the parameter "force_remote" is not set to true, then the ClientInvoker will be an instance of LocalClientInvoker, which implements BidirectionalClientInvoker, so that push callbacks will be configured. That means that a callback Connector will be created, whose transport, if not configured in the metadata map, will be derived from the server's InvokerLocator. If, for instance, the transport in the InvokerLocator is "http", the callback Connector will create an instance of CoyoteInvoker. But CoyoteInvoker will create a ServerSocket, which is completely useless since callback invocations will be made by reference.
Client.addListener() should check that its ClientInvoker is a LocalClientInvoker, in which case it should use the "local" transport, before deriving the transport from the servers InvokerLocator.
Shout out to Justin Bertram for tracking down this problem.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] Updated: (JBREM-918) Make "remote:" resilient against connection failure
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/JBREM-918?page=com.atlassian.jira.plugin.... ]
David Lloyd updated JBREM-918:
------------------------------
Fix Version/s: 3.2.0.Beta1
(was: 3.1.0.Beta3)
> Make "remote:" resilient against connection failure
> ---------------------------------------------------
>
> Key: JBREM-918
> URL: https://issues.jboss.org/browse/JBREM-918
> Project: JBoss Remoting
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: r3 core: remote
> Reporter: David Lloyd
> Fix For: 3.2.0.Beta1
>
>
> If a remote connection is dropped, it should be possible to re-establish the connection and resume the session, without the loss of any in-flight requests/contexts/services/etc. As a corollary, it might be worth exploring having more than one connection in a "bundle" to help parallelize the transit load and avoid head-of-line bottleneck problems. Perhaps it is worth looking into multihoming as well.
> SSL contexts might be useful here.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months