<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    unable to call EJB services in 4.0.5 installation from 5.1
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/mshestopalov">max Shestopalov</a> in <i>JBoss Remoting</i> - <a href="http://community.jboss.org/message/645472#645472">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>For a while we had 2 instances of 4.0.5 running where instance A was calling EJB services of instance B. We upgraded instance A to 5.1 and at that point started getting the InvokationException with the serial number mismatch between classes in the 2 different versions of jbossas-client.jar. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>After doing a little research I started bringing up instance A with the property -Djboss.remoting.pre_2_0_compatible=true and the error I started seeing was </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>java.lang.Exception: Can not make remoting client invocation due to</p><p>not being connected to server.</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.remoting.Client.invoke(Client.java:1729)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.remoting.Client.invoke(Client.java:629)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; $Proxy351.searchForExperiments(Unknown Source)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; gov.nih.nci.caintegrator2.external.caarray.CaArrayUtils.getExperiment(CaArrayUtils.java:168)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>When I googled this I found a seemingly helpful thread speaking about</p><p>the new req in remoting 2.x that connect() be called before invoke()</p><p>and how this did not use to be required in remoting 1.x</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>here is the thread: <a class="jive-link-message-small" href="http://community.jboss.org/message/368917#368917" target="_blank">http://community.jboss.org/message/368917#368917</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>but I actually can't figure out how we are doing this since</p><p>we aren't writing a client and invoking from the container.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>also, fyi, as a test upgrading instance B to 5.1 as well... everything works fine.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Any help would be greatly appreciated.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/645472#645472">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Remoting at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>