cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Alert Rule Consumer "NameNotFoundException"

Former Member
0 Kudos

Hello Team,

I am trying to working on custom  alert rule consumer .

I have registered consumer(AR_B2B) in WS Navigator .While performing Job, it's showing log

"com.sap.engine.services.jndi.persistent.exceptions720.NameNotFoundException: Object not found in lookup of AR_B2B."

Please find attached screen shot .

I have given alert rule name and consumer name as "AR_B2B" same and i have tried with different name also.

I have followed below URL's

Component-Based Message Alerting - SAP PI 7.31 | FlipBeans

am i missing anything !

can you please address how we can resolve .

Thanks in advance

Regards:

Ganesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

SP06 might be where your problem lies. Please check SAP Note 1907711. It asks to upgrade the SP and then register the consumer.

adityavempati
Participant
0 Kudos

Hi Ganesh,

Check if consumer is registered in JMS queues. Else register it

Regards,

Aditya

Former Member
0 Kudos

Hi Aditya,

Thank you for your response .

Can you please provide few details about registered in JMS queues .

I thought that when we are registering consumer in WS Navigator its given Alert Rule Technical ID .its registered successfully.

am i missing anything !

Can you please guide me how to register in JMS queues .

Thanks ....

Regards:

Ganesh

adityavempati
Participant
0 Kudos

Login to NWA and look for your custom consumer name in JMS server configs. If it is not present, create manually and re run the scenario.

If it doesn't work, restart server after creating manually. I followed this and it solved my problem once.

Former Member
0 Kudos

HI Aditya ,

Thanks for your Reply .

I have add consumer name JMS server configs . but still i have same error.

If we try to restart it may work but it's difficult to restart every time when we add a  consumer .

We will surly  try your solution .

can you please suggest any other solution ..

Thanks....

Regards :

Ganesh

Former Member
0 Kudos

Hello,

Check below wiki

(PI) NameNotFoundException for local alert consumer - Technology Troubleshooting Guide - SCN Wiki

Make sure that alert has been raised for that interface (consumer queue) for which ur job is running.

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi Amit,

Thank you very much for your guidance.

I have checked above URL .

I performed some test cases of success/failure in my scenario .

Its created queues when i run scenario for alert rule(jmsqueues/alertingVP/jms/queue/xi/monitoring/alert/AR_SOAPTOFILE) and consumer ( jmsqueues/alertingVP/jms/queue/xi/monitoring/alert/CONSUM_SOAP2FILE ),    in JMS proprieties

but still i am getting "NameNotFoundException" same exception .in Java schedule Jobs log .

I am using SP06  . i have look into  comment note  they are not providing any patch for this service pack.

can you please suggest any other solution .

Thank you for much for your patience .

Regards,

Ganesh