Skip to Content

Accessing PI ALERT JMS queue using Hermes tool

Hi All,

I am working on PI CBAM in PI 7.4 SP11 dual stack. I have done my alert configuration

1. Creating Alert rule at ID by selecting consumer as ALERT-TO-MAIL and have assigned my ICO and configuration scenario to that Alert rule

2. have scheduled AlertConsumerJob at nwa->operation->Jobs

3. Have entered smtp server detail at nwa->java system properties -> services-> java mail client.

4. Have set Monitoring ALERT_IS_ACTIVE=1 & ALERT_TARGET-1 at sxmb_ADM tcode

Please let me know if any other setting is required.

I understood that we do not have Alert inbox for CBAM and the alert message are now handled through PI JMS queue. I would like to access these JMS queue using a Hermes JMS client and following the blog-

I have done all the configuration but getting error on step 4-

javax.jms.JMSException: Could not create InitialContext: Exception while trying to get InitialContext. at hermes.JNDIContextFactory.createContext( at hermes.browser.components.ContextTreeModelFactory.create( at hermes.browser.tasks.JNDIBrowseTask.invoke( at at at

Have referred the thread- but no luck and still i am getting same error.

kindly let me know if I have missed any configuration.


Navneet Sumit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 11, 2017 at 07:54 AM

    Hi Navneet,

    You need to add the below jar files :



    Add comment
    10|10000 characters needed characters exceeded

  • Oct 11, 2017 at 08:43 AM

    Hi Manoj,

    Thanks for your reply,

    I have already added these JAR



    Add comment
    10|10000 characters needed characters exceeded

  • Oct 13, 2017 at 08:35 AM

    Hi All,

    Now I am not getting the above error when I changed the port to P4 Port which is 50004.But as per wiki-

    step 4 will take some time to load data. in my case the process is executing from last 2 days and it is never loading the JMS factory detail.

    I checked the home folder i.e hermes folder under C drive for the log file but no log file is generated there. Any Idea what went wrong here.



    Add comment
    10|10000 characters needed characters exceeded