IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  pub.prt.log:logActivityMessages fails randomly

    Posted 08/30/17 07:53 AM

    Hello there,

    We are experiencing a strange issue. In the last step of a process we have a flow which calls following services in the below order:

    • pub.prt.log:logCustomId
    • pub.prt.log:logActivityMessages

    The flow always fails when calling the service pub.prt.log:logActivityMessages. We get nullPointerException. We checked and all inputs passed to this service are not null. This happens every now and then but it is a productive issue and needs to be fixed.
    The process usually takes some time to complete (approx 2 hours).
    What could be the root cause of this issue? It is strange that it never fails when calling pub.prt.log:logCustomId.

    We learned from a similar topic that a possible cause would be that the processInstanceID is no longer found in the Process Engine.
    What could cause this?

    Our IS Settings:
    Version: 9.9.0.0
    Fix level: IS_9.9_Core_Fix11

    Regards,
    n23


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: pub.prt.log:logActivityMessages fails randomly

    Posted 08/30/17 09:39 AM

    Hi,

    we usually call logCustomId at a very early point in the process as we are using this id for monitoring and distinguishing the different processes.

    Did you check the PRT Users Guide or Built-In-Services Guide?
    Might be that it is not possible to log any activity messages after the instance is completed.
    This means that during the runtime of your service the ProcessEngine processes the COMPLETE message for this instance.
    As long as you are not running pub.monitor.archive:processArchive the process instance ids should be available in the database.

    Which PRT-Fix is applied to your IS?

    Regards,
    Holger


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 3.  RE: pub.prt.log:logActivityMessages fails randomly

    Posted 08/30/17 11:49 AM

    Could it be that there is another thread in your process that ends with a terminate step? And that this step is executed at the same time as the step with the log call?

    Have you found out under which circumstances the error occurs?


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 4.  RE: pub.prt.log:logActivityMessages fails randomly

    Posted 09/05/18 08:01 AM

    Hello Niemand

    Could you please guide the fix for the issue. For us too

    pub.prt.log:logCustomId
    pub.prt.log:logActivityMessages

    the log Activity Messages service failing intermittently with NullPointerException.

    Regards
    Sasa


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration