4 Replies Latest reply on Aug 14, 2013 5:55 AM by jaikiran

    Remote ejb jboss restart

    andresavva

      Hi,

       

      I have distinct client + server jboss instances for remote ejb invocation running similar to https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+server+instance

      They are running on different machines, different ip addresses, same network.

       

      Ejb invocations work fine but as soon as the server's jboss instance gets restarted, the client throws the following message

       

      07:29:51,144 INFO  [org.jboss.ejb.client.remoting.ChannelAssociation] (Remoting "xxxxx" task-2) Channel Channel ID xxxxxxxx (outbound) of Remoting connection xxxxxxxx to computer.home/192.168.x.x:4447 can no longer process messages
      

       

      Then, the attempt to call the service returns the error bellow

       

      07:32:12,002 INFO  [org.jboss.ejb.client] (http--0.0.0.0-8080-2) JBoss EJB Client version 1.0.5.Final
      07:32:12,032 ERROR [stderr] (http--0.0.0.0-8080-2) java.lang.IllegalStateException: No EJB receiver available for handling [appName:xxxx,modulename:xxxx,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@47005d03
      07:32:12,040 ERROR [stderr] (http--0.0.0.0-8080-2)           at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
      07:32:12,044 ERROR [stderr] (http--0.0.0.0-8080-2)           at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
      07:32:12,052 ERROR [stderr] (http--0.0.0.0-8080-2)           at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)
      07:32:12,056 ERROR [stderr] (http--0.0.0.0-8080-2)           at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)
      07:32:12,062 ERROR [stderr] (http--0.0.0.0-8080-2)           at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)
      07:32:12,067 ERROR [stderr] (http--0.0.0.0-8080-2)           at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)
      ...
      

       

      Shouldn't it reconnect automatically?

       

      Any help? Please...

       

       

       

      Thanks