cancel
Showing results for 
Search instead for 
Did you mean: 

Component based message alerting

anurag_sinha3
Participant
0 Kudos

Hi,

I am working on component bvased message alertig in SAP PI 7.4 (dual stack). As per the Michal's blog i have define everything in PI.-

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/03/25/michals-pi-tips-component-based-m...

Also i have configured Configuration -> Infrastructure -> JAVA System Properties -> XPI Services: AF Core  -> and choose tab Services .

Set the value of the alerting.target service property to 1.

and alerting.isActive (value true).

But still i am not getting mail in mail box.

When i check the log viwer i found two logs saying:

Job AlertConsumerJob (ID: 5fe771e0ec86100082e50000002ab43a, JMS ID: ID:1344010011108-000000008399) started on Thu, 5 Jun 2014 03:52:43:011 EDT by scheduler: c0000173a37f11e2b6ab00237d240438

Job AlertConsumerJob (ID: 5fe771e0ec86100082e50000002ab43a, JMS ID: ID:11344010011108-000000008399) ended on Thu, 5 Jun 2014 03:52:43:044 EDT

Could some body help me in this .

Thanks,

Anurag

Accepted Solutions (0)

Answers (2)

Answers (2)

manigram
Active Participant
0 Kudos

HI,

What is the return code you are getting from the log, it should be positive if it is -1 than there is some problem in your configuration

Regards,

Manigandan

anurag_sinha3
Participant
0 Kudos

Hi,

I am not sure at which place i can see ...but when i chcecked at alertconsumer job it is giving 0 alerts had been consumed

manigram
Active Participant
0 Kudos

Hi,

Check ur mail id configuration.

Regards,

Manigandan

anurag_sinha3
Participant
0 Kudos

Thanks,

I have given mail id of basis team memebre who has full authorization but no success..No alert mail is generating

Is there any extra settings required..

Former Member
0 Kudos

Hi,

We have faced the similar issue recently in one of our server cut over activities.

Check the below

1)nwa->Operations->Jobs->logs check the return code .If it is -1 then some issue .Check the error description there and act accordingly.


We are on PI 7.31 sp6 for us problem is jms queue doesn't created automatically for our version ,so as per error we created manually .After creation return code changed from -1 to 0 but we haven't received alert mail .

Finally after server restart alert mails started flowing .(First tested thoroughly in DEV and Quality before coming to conclusion for server restart)

Regards

Venkat

rcsegovia
Active Participant
0 Kudos


Hello,

are you sure alert rule is enable?

Cheers,

Roberto.

anurag_sinha3
Participant
0 Kudos

Hi,

In our case return code is 0 and getting log:

Job AlertConsumerJob (ID: 5fe771e0ec86100082e50000002ab43a, JMS ID: ID:1344010011108-000000008399) started on Thu, 5 Jun 2014 03:52:43:011 EDT by scheduler: c0000173a37f11e2b6ab00237d240438

Job AlertConsumerJob (ID: 5fe771e0ec86100082e50000002ab43a, JMS ID: ID:11344010011108-000000008399) ended on Thu, 5 Jun 2014 03:52:43:044 EDT

After changing at alerting.target service property to 1 we restart the server but still we have not received the mail.

anurag_sinha3
Participant
0 Kudos

Yes it is enabled

rcsegovia
Active Participant
0 Kudos

May you need to contact your IT team to open communication from PI server to mail server.

please check it.

Regards,

Roberto.

Former Member
0 Kudos

Hi Anarug,

I am not sure whether it is solved.

From the log entry from the AlertConsumerJob, it seems that this job is running fine,

but it is not finding any alerts.

That means probably, no alert events are thrown by any rule.

So you should focus on that part first and see if you have any aggregated alerts in a job run.

I had some strange experience with Alert Rules that did not have all Message Statuses checked.

As soon as you uncheck any of the Message Statuses in the rule (for example any unusual adapter technology), the rule will not work.

This is a bug in my 7.31 system and I am just trying to fix it using SAP Note 1968989.

Please check if this Note might fit your situation.

Anyway, try to use a DEFAULT-RULE, which you can create in the ID by checking the box "create default rule" when defining a new alert rule.

Other things to check:

- are you using Integrated Configuration or generate at least errors in the Adapter Engine?

For errors in the (ABAP) Integration Engine, the whole story is similar but completely different.

Cheers, Jochen

Former Member
0 Kudos

Hi,

Have u done java job scheduling?

reg,

avinash M

anurag_sinha3
Participant
0 Kudos

HI Avinash.

Setting for Job scheduling is done as per the Michal's Blog.

But still alert mail is not generating.

Thanks

anurag_sinha3
Participant
0 Kudos

Job scheduling is 5 min  as per Michal's blog also I can see the job at every 5 mins in Log viewer