0 Replies Latest reply on May 31, 2016 8:20 AM by susmith

    Jboss 7.1 connection time out when looking for remote bean in Jboss 2

    susmith

      Hi Guys,

       

       

      I have two JBOSS servers JBOSS A(EJB) and JBOSS B(JMS ) when server A is trying to look up remote object on JBOSS B we are getting  JBREM000200: Remote connection failed: java.io.IOException: Connection timed out on JBOSS 7.1

       

       

      When we restart the servers it works fine .We are getting above exception  JBREM000200: Remote connection failed: java.io.IOException: Connection timed out after keeping the server idle for approx 10 hrs.when we hit second time we will get NO EJB receiver  available for handling ...............exception is coming.

       

       

      I have added Jboss-ejb-client.properties and added remote heart beat interval tag

       

       

      <property name="org.jboss.remoting3.RemotingOptions.HEARTBEAT_INTERVAL" value="1000"/>

       

      My jnid call looks like

       

       

      Properties jndiProperties = new Properties();

        jndiProperties.put(Context.URL_PKG_PREFIXES,"org.jboss.ejb.client.naming");

        initCntx = new InitialContext(jndiProperties);

       

       

      Can any body please help us still we are getting connection time out after adding heartbeat interval and JNDI calls also