Uploaded image for project: 'JAPI'
  1. JAPI
  2. JAPI-513

wsclient BaseHPCCWsClient "Can't stablish" caused by thread safe

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.12.x
    • WSClient
    • None

    Description

      When making calls to BaseHpccWsCLient::initBaseWsClient you will at random see this stack trace.  It appears to be caused by javax.xml.parsers.DocumentBuilder m_XMLParser not being thread safe. 

      Here is the stack trace our logging is capturing. 

      2023-05-09 16:17:55 ERROR new[ramps_cert_fraudgov]: Failed to query work units.
      java.lang.Exception: WS Client Stub not available.
      BaseHPCCWsClient: Could not stablish target HPCC bulid version, review all HPCC connection values
      FWK005 parse may not be called while parsing.
      Cannot initialize HPCCWsDFUStub without valid HPCC version object
      at org.hpccsystems.ws.client.BaseHPCCWsClient.verifyStub(BaseHPCCWsClient.java:383) ~[wsclient-8.10.6-1.jar!/:?]
      at org.hpccsystems.ws.client.HPCCWsWorkUnitsClient.workUnitUQuery(HPCCWsWorkUnitsClient.java:1107) ~[wsclient-8.10.6-1.jar!/:?]
      at org.hpccsystems.ws.client.HPCCWsWorkUnitsClient.getWorkunits(HPCCWsWorkUnitsClient.java:1339) ~[wsclient-8.10.6-1.jar!/:?]
      at com.relx.rba.tardis.hipie.acist.concurrent.NewWorkunitMonitor.produce(NewWorkunitMonitor.java:78) ~[ln-hipie-services-core-2.13.0.jar!/:2.13.0]
      at com.relx.rba.tardis.hipie.acist.concurrent.BaseMonitor.run(BaseMonitor.java:74) ~[ln-hipie-services-core-2.13.0.jar!/:2.13.0]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
      at java.lang.Thread.run(Thread.java:829) ~[?:?]

      Attachments

        Activity

          People

            rpastrana Rodrigo Pastrana
            joe.chambers Joseph Chambers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: