Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16271

[GSS](7.2.z) heartbeat-interval in jboss:domain:remoting:4.0 doesn't assign the value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.1.0.GA, 7.1.4.GA, 7.1.5.GA
    • Remoting
    • None
    • +
    • Hide

      I'm attaching a reproducer.

      It has an ejb client and server, both with heartbeating options setup for 2 seconds.
      The log shows the heartbeating every 15 seconds.
      Stepping through the constructor of the class org.jboss.remoting3.remote.RemoteConnection shows no heartbeat interval set in the optionMap, and it doesn't invoke the heartbeating handler.

      Show
      I'm attaching a reproducer. It has an ejb client and server, both with heartbeating options setup for 2 seconds. The log shows the heartbeating every 15 seconds. Stepping through the constructor of the class org.jboss.remoting3.remote.RemoteConnection shows no heartbeat interval set in the optionMap, and it doesn't invoke the heartbeating handler.

      Assigning <endpoint heartbeat-interval="2000"/> does not assign a heartbeat interval.

      When stepping through the code in org.jboss.remoting3.remote.RemoteConnection, the heartbeat interval value is not in the optionMap in the constructor, so it never gets assigned.

      I do see log print outs saying that there are heartbeats enabled, but the number I put in the heartbeat-interval doesn't make any difference, it always just logs every 15 seconds.

            chaowan@redhat.com Chao Wang
            rhn-support-dguthrie David Guthrie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: