on 12-03-2014 11:03 AM
Dear Experts,
We are facing strange issue. We configured component based alerts and it is working good in all other PI systems except Production.
Last Sunday we implemented them in Production, when the initial job run we got bunch of previous failure alerts. After that Alert mails are not generating.
When i check the job log i can see 0 alerts consumed even few messages failed. If any one faced this issue earlier please let me know what is the fix for this problem.
Thanks,
Pavan T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jannus,
Thanks for the prompt resposne. I created a new consumer"Mail" now i am getting below error.
javax.naming.NamingException: Exception during lookup operation of object with name jmsqueues/alertingVP/jms/queue/xi/monitoring/alert/Pavan. [Root exception is javax.naming.NamingException: Exception in processing name parameter jmsqueues/alertingVP/jms/queue/xi/monitoring/alert/Mail. [Root exception is javax.naming.NamingException: Intermediate context alert not found, the whole lookup name is jmsqueues/alertingVP/jms/queue/xi/monitoring/alert/Mail
Thanks,
Pavan T
What parameters do you have in the scheduled job? Can you please also log onto the JMS queue and see if you are able to view the queues that you created?
AggregateAlerts | boolean | IN | true | ||||
AlertsToMailLimit | integer | IN | 10 | ||||
Consumer | string | IN | ALERT-TO-MAIL | ||||
MailFrom | string | IN | XIMAIL@test.com | ||||
MailTo | string | IN | test@test.com | ||||
SupressAlerts | boolean | IN | false |
Hi Jannus,
I deleted the JMS configuration parameters for ALERT-TO-MAIL consumer and created for consumer "Mail"
Please find the screen shots my config below.
I have 3 questions
1) Do i have to maintain alert consumer as ALERT-TO-MAIL in the Job even thogh my consumer is 'Mail' ?
2) Do I have to kepp JMS connection parameters for ALERT- TO-MAIL ? currently i deleted them.
3) you asked me to log on to JMS queue to check my queues are created or not?
how can i log on to the JMS queue?
Thanks,
Pavan T,
Did you try to use CBMA API and see if can retirve the alerts?
For more details on API, you can refer to this blog -
If you can read from the API but the job is unable to send any alerts i would suggest to recreate the job and disable suppress alerts(if you have already checked)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hareesh,
As per you suggestion , I tried to create new consumer id. I didn't created my consumer through WS navigator . I followed below approach suggested by Carlos.
Hi Michal,
Thanks a lot for your fantastic blog, as usual!
Just one comment:
To create a new Consumer, I think you don't need to use Webservice AlertRuleIn with RegisterConsumer operation. Just when you are creating Alert Rule in Integration Directory, press the icon to Insert Consumer and in the new line type the name of the consumer manually and press enter.(Don't use F4 for value list)
I did this and it works. Actually I did this, and after that I used AlertRuleIn->RegisterConsumer and I got a message like:
"Consumer PI_AT_ALL already registered"
Thanks
Kind regards.
Like (2)
But i am getting below error.
javax.naming.NamingException: Exception during lookup operation of object with name jmsqueues/alertingVP/jms/queue/xi/monitoring/alert/Pavan. [Root exception is javax.naming.NamingException: Exception in processing name parameter jmsqueues/alertingVP/jms/queue/xi/monitoring/alert/Pavan. [Root exception is javax.naming.NamingException: Intermediate context alert not found, the whole lookup name is jmsqueues/alertingVP/jms/queue/xi/monitoring/alert/Pavan
Thanks,
Pavan T
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.