cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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-

https://wiki.scn.sap.com/wiki/display/XI/HowTo%3A+Connect+to+SAP+JMS+Provider+with+HERMES?focusedCom...

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(JNDIContextFactory.java:282) at hermes.browser.components.ContextTreeModelFactory.create(ContextTreeModelFactory.java:58) at hermes.browser.tasks.JNDIBrowseTask.invoke(JNDIBrowseTask.java:59) at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175) at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170) at java.lang.Thread.run(Thread.java:745)

Have referred the thread-

https://archive.sap.com/discussions/thread/3695518 but no luck and still i am getting same error.

kindly let me know if I have missed any configuration.

Thanks,

Navneet Sumit

0 Likes
View Entire Topic
AndreasJob
Product and Topic Expert
Product and Topic Expert
0 Likes

Another way to retrieve the Alerts is via the web service API "AlertRetrieveAPI_V2".

The WSDL URL is: http(s)://<host>:<port>/AlertRetrieveAPI_V2_Service/AlertRetrieveAPIV2ImplBean?wsdl&mode=ws_policy&style=document


More details are described here:
https://help.sap.com/viewer/bdfc9b7d99b544d8bbda40546b70967a/7.5.16/en-US/9bb8b1b38fc74043a90fbc79d2...