Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-648

Arjuna service creating an anonymous localhost binding outside of standalone.xml configuration.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Transactions
    • None

      I'm seeing an attempt to bind an anonymous socket to localhost/127.0.0.1 even when the standalone.xml configuration has specified a loopback-address other than localhost/127.0.0.1 as the default:

      <interfaces>
      <interface name="default">
      <loopback-address value="127.0.250.1"/>
      </interface>

      The port is also not one listed in the socket-binding-group section. Both the interface and port should be coming from the server configuration.

      Thread attempting bind call:

      Socket[addr=localhost/127.0.0.1,port=0,localport=52394]
      Transaction Expired Entry Monitor@2745 daemon, prio=5, in group 'main', status: 'RUNNING'
      blocks MSC service thread 1-1@1104
      at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:398)
      at java.net.ServerSocket.bind(ServerSocket.java:329)
      at java.net.ServerSocket.<init>(ServerSocket.java:194)
      at com.arjuna.ats.internal.arjuna.utils.SocketProcessId.createSocket(SocketProcessId.java:99)
      at com.arjuna.ats.internal.arjuna.utils.SocketProcessId.<init>(SocketProcessId.java:76)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-1)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at com.arjuna.ats.arjuna.utils.Utility.initDefaultProcess(Utility.java:336)
      at com.arjuna.ats.arjuna.utils.Utility.getProcess(Utility.java:348)
      at com.arjuna.ats.arjuna.utils.Utility.getpid(Utility.java:287)
      at com.arjuna.ats.arjuna.common.Uid.<init>(Uid.java:84)
      at com.arjuna.ats.arjuna.state.OutputObjectState.<init>(OutputObjectState.java:63)
      at com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore.allObjUids(FileSystemStore.java:158)
      at com.arjuna.ats.arjuna.objectstore.ObjectStore.allObjUids(ObjectStore.java:70)
      at com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner.scan(ExpiredTransactionStatusManagerScanner.java:82)
      at com.arjuna.ats.internal.arjuna.recovery.ExpiredEntryMonitor.run(ExpiredEntryMonitor.java:172)

              starksm64 Scott Stark (Inactive)
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h