org.openhealthtools.openatna.anom.AtnaException: no participants defined

JIRA | Konstantin Hyppönen | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    If transformation manager is enabled to write audit messages, it fails to produce valid audits. Audits miss active participants, which is not accepted by OpenATNA. Example of audit: {code} <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <AuditMessage> <EventIdentification EventOutcomeIndicator="0" EventDateTime="2013-05-22T18:17:37.376+03:00" EventActionCode="E"> <EventID codeSystemName="epSOS Transaction" displayName="ncpTransformationMgr::Translate" code="epsos-94"/> </EventIdentification> <AuditSourceIdentification AuditSourceID="EP-00"/> <ParticipantObjectIdentification ParticipantObjectTypeCode="4" ParticipantObjectID=""> <ParticipantObjectIDTypeCode codeSystemName="epSOS Msg" displayName="Request Message" code="req"/> <ParticipantObjectDetail value="" type="securityheader"/> </ParticipantObjectIdentification> <ParticipantObjectIdentification ParticipantObjectDataLifeCycle="5" ParticipantObjectTypeCode="4" ParticipantObjectID=""> <ParticipantObjectIDTypeCode codeSystemName="epSOS Tranlation" displayName="Input Data" code="in"/> </ParticipantObjectIdentification> <ParticipantObjectIdentification ParticipantObjectTypeCode="4" ParticipantObjectID=""> <ParticipantObjectIDTypeCode codeSystemName="epSOS Msg" displayName="Response Message" code="rsp"/> <ParticipantObjectDetail value="" type="securityheader"/> </ParticipantObjectIdentification> <ParticipantObjectIdentification ParticipantObjectDataLifeCycle="5" ParticipantObjectTypeCode="4" ParticipantObjectID=""> <ParticipantObjectIDTypeCode codeSystemName="epSOS Tranlation" displayName="Output Data" code="out"/> </ParticipantObjectIdentification> </AuditMessage> {code} Error thrown by OpenATNA: {code} ERROR 2013-05-22 18:17:37,631 ATNA.ATNA_ERROR_LOG log.64 - ===> ATNA EXCEPTION THROWN ** ATNA ERROR:NO_ACTIVE_PARTICIPANT** org.openhealthtools.openatna.anom.AtnaException: no participants defined at org.openhealthtools.openatna.audit.process.ValidationProcessor.validate(ValidationProcessor.java:146) at org.openhealthtools.openatna.audit.process.ValidationProcessor.process(ValidationProcessor.java:108) at org.openhealthtools.openatna.audit.process.ProcessorChain.process(ProcessorChain.java:166) at org.openhealthtools.openatna.audit.service.AuditServiceImpl.process(AuditServiceImpl.java:155) at org.openhealthtools.openatna.audit.process.AtnaMessageListener.messageArrived(AtnaMessageListener.java:74) at org.openhealthtools.openatna.audit.server.MessageQueue$Runner.run(MessageQueue.java:99) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) {code} In addition, an error is written on the NCP log. The workaround is to disable transformation manager audits.

    JIRA | 4 years ago | Konstantin Hyppönen
    org.openhealthtools.openatna.anom.AtnaException: no participants defined

    Root Cause Analysis

    1. org.openhealthtools.openatna.anom.AtnaException

      no participants defined

      at org.openhealthtools.openatna.audit.process.ValidationProcessor.validate()
    2. org.openhealthtools.openatna
      MessageQueue$Runner.run
      1. org.openhealthtools.openatna.audit.process.ValidationProcessor.validate(ValidationProcessor.java:146)
      2. org.openhealthtools.openatna.audit.process.ValidationProcessor.process(ValidationProcessor.java:108)
      3. org.openhealthtools.openatna.audit.process.ProcessorChain.process(ProcessorChain.java:166)
      4. org.openhealthtools.openatna.audit.service.AuditServiceImpl.process(AuditServiceImpl.java:155)
      5. org.openhealthtools.openatna.audit.process.AtnaMessageListener.messageArrived(AtnaMessageListener.java:74)
      6. org.openhealthtools.openatna.audit.server.MessageQueue$Runner.run(MessageQueue.java:99)
      6 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:722)
      3 frames