Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-142

RemotingConnectionEJBReceiver initialModuleAvailabilityLatch timeout not configurable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.41.Final
    • 1.0.31.Final, 2.1.1.Final
    • None

      org.jboss.ejb.client.remoting.RemotingConnectionEJBReceiver

      Branch 1.x, 2.x have a hard coded 5 sec timeout for the module availability report. It is possible for a client trying to call an EJB immediately and the server not sending the module availability report fast enough that the client can fail with 'EJBCLIENT000025: No EJB receiver available for handling'

          public void associate(final EJBReceiverContext context) {
               ...
              if (successfulHandshake) {
                  ...
                      final boolean initialReportAvailable = initialModuleAvailabilityLatch.await(5, TimeUnit.SECONDS);
      

              rnetuka@redhat.com Radovan Netuka
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: