1 2 3 4 Previous Next 50 Replies Latest reply on Dec 19, 2014 10:25 AM by Filipe Pinheiro Go to original post Branched to a new discussion.
      • 46. Re: ejb access from one server to a second server
        vinay kumar Newbie

        Hi Valerio,


        Were u able to resolve this ? i am facing the same issue.




        • 47. Re: ejb access from one server to a second server
          Jaikiran Pai Master

          Vinay, you already posted in that other thread, so please continue the discussion there.

          • 48. Re: ejb access from one server to a second server
            Patty Varano Newbie

            Hi, you seem to have solved the issue. However I'm still running into problems .. same stacktrace:


            14:15:16,415 DEBUG [org.jboss.as.ejb3.remote.DescriptorBasedEJBClientContextService] (ejb-client-remote-connection-reconnect-3-thread-1) Reconnect attempt#1 failed for ou

            tbound connection service jboss.remoting.endpoint.subsystem.outbound-connection.remote-ejb-connection: java.lang.RuntimeException: Operation failed with status WAITING

                    at org.jboss.ejb.client.remoting.IoFutureHelper.get(IoFutureHelper.java:93) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

                    at org.jboss.as.ejb3.remote.DescriptorBasedEJBClientContextService$OutboundConnectionReconnectHandler.reconnect(DescriptorBasedEJBClientContextService.java:187) [


                    at org.jboss.ejb.client.EJBClientContext$ReconnectAttempt.run(EJBClientContext.java:961) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_12]

                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_12]

                    at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_12]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_12]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_12]

                    at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_12]



            I followed the guide for making remote EJB invocations from another server instance and I was able to make it work with both server instance locally, but not on different machines.

            I do not have any firewall problem. How did u solve Valerio?

            • 49. Re: ejb access from one server to a second server
              vinay kumar Newbie



              how are u staring the client and destination servers?


              It should be something like this :


              client server

              standalone -c standalone-full.xml -Djboss.socket.binding.port-offset=100


              destination server

              standalone -c standalone-full.xml -Djboss.node.name=standalone -b 192.168.X.XX (this is the ip of destination server)

              • 50. Re: ejb access from one server to a second server
                Filipe Pinheiro Newbie

                Good evenning, Jaikiran.


                Thank you. I faced the same problem. But I followed the link and got success to connect to remote ejb.


                However, i noticed that  One connection is getting be created by Every deploy in de container. Every deploy (full publish) i do in my webapp (.war) create a new connection between local and remote server per deploy. I got the evidence by typing 'netstat' command in local Windows server and remote Linux server to see network connections statistics. When a stop the webapp (.war) or (remove) from local server the connection doesn't get be closed even when i code the 'InitialContext.close()' method of the context opened.


                Have you already see this? Can you help me? Thanks a lot.

                1 2 3 4 Previous Next