3 Replies Latest reply on Jan 3, 2015 5:49 PM by Wolf-Dieter Fink

    Multiple remote ejb connections problem

    Filipe Pinheiro Newbie

      I've follow the link below to connect to remote ejb

      EJB invocations from a remote server instance - JBoss AS 7.1 - Project Documentation Editor


      I 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 and remote 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.


      I´ve spent a lot of hours....


      Have you already see this? Can you help me?

      Thanks a lot.