Alert management and notification in Open ESB

15 messages Options
Embed this post
Permalink
ruperty

Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink

There seem to be a number of different ways of dealing with alerts:

1. Performance Advisor - configure alert notification through the glassfish admin console

2. Alert Agent - configure alert notification through the (Jcaps) Enterprise Manager (where is the doc for Alert Agent 6.2?)

3. Alert API - managing alerts through Java and scripting APIs

Do all of these deal with the user alerts from the BPEL and Java alerter? Where are the alerts stored? With each method can alerts be diverted to a database?

Your help appreciated.

Regards,
Rupert
Regards, Rupert Young Principal Architect ReStart Consulting Ltd  UK: +44 1753 865879  UK: +44 7795 480387 http://www.restartconsulting.com
gopalan

Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink


On Thu, Nov 5, 2009 at 1:00 AM, ruperty <[hidden email]> wrote:


There seem to be a number of different ways of dealing with alerts:

1. Performance Advisor - configure alert notification through the glassfish
admin console

2. Alert Agent - configure alert notification through the (Jcaps) Enterprise
Manager (where is the doc for Alert Agent 6.2?)


It should be in the docs distribution Java CAPS CD. Just so you know there's no change as far as the Alert Agent is concerned in Java CAPS 6.x.
 


3. Alert API - managing alerts through Java and scripting APIs

Do all of these deal with the user alerts from the BPEL and Java alerter?


Most definitely yes. The event management framework to deal with both types of alerts - whether generated by the JBI Framework/System/Components, or user generated alerts from inside their composite application - is the same.
 

Where are the alerts stored? With each method can alerts be diverted to a
database?



If you are a Java CAPS customer, and are using the Java CAPS Enterprise Manager, you can view these Alerts from the Java CAPS Enterprise Manager. These alerts are stored in a database on the same server that runs the Java CAPS Enterprise Manager, and are also routed to the Java CAPS Alert and SNMP Agents. From the Java CAPS Alert Agent you can configure your alerts to go out through either JMS Destinations, or sent out through email notifications (SMTP) or sent out as SNMP Traps.

However, if you are an Open ESB user, who does not own the Java CAPS Enterprise Manager, once you retrieve the alerts from the system (see a sample here at http://wiki.open-esb.java.net/Wiki.jsp?page=ESBConsoleAlertReceptionAPIUsage) using the Common Management & Monitoring API (https://esb-console.dev.java.net/public/javadocs/managementapi/core/overview-summary.html), you can store it wherever you like. 

Cheers
Gopalan.
 



Your help appreciated.

Regards,
Rupert

-----
Regards,

Rupert Young
Principal Architect
ReStart Consulting Ltd
 UK: +44 1753 865879
 UK: +44 7795 480387
http://www.restartconsulting.com



--
View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p3950997.html
Sent from the OpenESB Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.

ruperty

Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink
Thanks.

gopalan wrote:
On Thu, Nov 5, 2009 at 1:00 AM, ruperty
<rupert.young@restartconsulting.com>wrote:

> 1. Performance Advisor - configure alert notification through the glassfish
> admin console
>
> 2. Alert Agent - configure alert notification through the (Jcaps)
> Enterprise
> Manager (where is the doc for Alert Agent 6.2?)

It should be in the docs distribution Java CAPS CD. Just so you know there's
no change as far as the Alert Agent is concerned in Java CAPS 6.x.
There is no documentation with the CD, as far as I can see. Where should it be?

gopalan wrote:
On Thu, Nov 5, 2009 at 1:00 AM, ruperty
<rupert.young@restartconsulting.com>wrote:

> 3. Alert API - managing alerts through Java and scripting APIs
>
> Do all of these deal with the user alerts from the BPEL and Java alerter?

Most definitely yes. The event management framework to deal with both types
of alerts - whether generated by the JBI Framework/System/Components, or
user generated alerts from inside their composite application - is the same.
Well, as far as I can see the Performance Advisor deals only with alerts of log file entries not actually those from the alerter commands. Is that right?


gopalan wrote:
On Thu, Nov 5, 2009 at 1:00 AM, ruperty
<rupert.young@restartconsulting.com>wrote:

If you are a Java CAPS customer, and are using the Java CAPS Enterprise
Manager, you can view these Alerts from the Java CAPS Enterprise Manager.
These alerts are stored in a database on the same server that runs the Java
CAPS Enterprise Manager, and are also routed to the Java CAPS Alert and SNMP
Agents. From the Java CAPS Alert Agent you can configure your alerts to go
out through either JMS Destinations, or sent out through email notifications
(SMTP) or sent out as SNMP Traps.
Is this database different from the one you need to configure for alert persistence?


Regards,
Rupert

Regards, Rupert Young Principal Architect ReStart Consulting Ltd  UK: +44 1753 865879  UK: +44 7795 480387 http://www.restartconsulting.com
gopalan

Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink


On Thu, Nov 5, 2009 at 4:19 AM, ruperty <[hidden email]> wrote:

Thanks.


gopalan wrote:
>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
>> 1. Performance Advisor - configure alert notification through the
>> glassfish
>> admin console
>>
>> 2. Alert Agent - configure alert notification through the (Jcaps)
>> Enterprise
>> Manager (where is the doc for Alert Agent 6.2?)
>
> It should be in the docs distribution Java CAPS CD. Just so you know
> there's
> no change as far as the Alert Agent is concerned in Java CAPS 6.x.
>

There is no documentation with the CD, as far as I can see. Where should it
be?


gopalan wrote:
>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
>> 3. Alert API - managing alerts through Java and scripting APIs
>>
>> Do all of these deal with the user alerts from the BPEL and Java alerter?
>
> Most definitely yes. The event management framework to deal with both
> types
> of alerts - whether generated by the JBI Framework/System/Components, or
> user generated alerts from inside their composite application - is the
> same.
>
>

Well, as far as I can see the Performance Advisor deals only with alerts of
log file entries not actually those from the alerter commands. Is that
right?

 
True. The alerter commands work with Java CAPS Enterprise Manager and the Java CAPS Alert Agent.

In addition, the Common Management and Monitoring API has operations available as part of the Alert Management Service to retrieve these alerts. 

In fact the Java CAPS Enterprise Manager uses this same Common Management and Monitoring API to retrieve these alerts from the runtime. 

In addition to the samples available as part of the Java CAPS distribution CD, some of these code samples are also available here: http://wiki.open-esb.java.net/Wiki.jsp?page=ESBConsoleAlertReceptionAPIUsage

You should be able to see the samples as part of DVD 2 in your Java CAPS distribution under EM_API. You will find both Java and Groovy samples available that show you how to exercise the different Management and Monitoring Services and their operations.

Cheers
Gopalan.



gopalan wrote:
>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
> If you are a Java CAPS customer, and are using the Java CAPS Enterprise
> Manager, you can view these Alerts from the Java CAPS Enterprise Manager.
> These alerts are stored in a database on the same server that runs the
> Java
> CAPS Enterprise Manager, and are also routed to the Java CAPS Alert and
> SNMP
> Agents. From the Java CAPS Alert Agent you can configure your alerts to go
> out through either JMS Destinations, or sent out through email
> notifications
> (SMTP) or sent out as SNMP Traps.
>
>

Is this database different from the one you need to configure for alert
persistence?

Yes. 
 


Regards,
Rupert



-----
Regards,

Rupert Young
Principal Architect
ReStart Consulting Ltd
 UK: +44 1753 865879
 UK: +44 7795 480387
http://www.restartconsulting.com



--
View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p3951775.html
Sent from the OpenESB Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.

BMN

RE: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink
In reply to this post by ruperty
Hi All,

Is there any document related to configuration for this performance manager

It would be really helpful for me.




Thanks
Brij

\-----Original Message-----
From: ruperty [mailto:[hidden email]]
Sent: Thursday, November 05, 2009 5:50 PM
To: [hidden email]
Subject: Re: Alert management and notification in Open ESB


Thanks.


gopalan wrote:

>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
>> 1. Performance Advisor - configure alert notification through the
>> glassfish
>> admin console
>>
>> 2. Alert Agent - configure alert notification through the (Jcaps)
>> Enterprise
>> Manager (where is the doc for Alert Agent 6.2?)
>
> It should be in the docs distribution Java CAPS CD. Just so you know
> there's
> no change as far as the Alert Agent is concerned in Java CAPS 6.x.
>

There is no documentation with the CD, as far as I can see. Where should it
be?


gopalan wrote:

>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
>> 3. Alert API - managing alerts through Java and scripting APIs
>>
>> Do all of these deal with the user alerts from the BPEL and Java alerter?
>
> Most definitely yes. The event management framework to deal with both
> types
> of alerts - whether generated by the JBI Framework/System/Components, or
> user generated alerts from inside their composite application - is the
> same.
>
>

Well, as far as I can see the Performance Advisor deals only with alerts of
log file entries not actually those from the alerter commands. Is that
right?



gopalan wrote:

>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
> If you are a Java CAPS customer, and are using the Java CAPS Enterprise
> Manager, you can view these Alerts from the Java CAPS Enterprise Manager.
> These alerts are stored in a database on the same server that runs the
> Java
> CAPS Enterprise Manager, and are also routed to the Java CAPS Alert and
> SNMP
> Agents. From the Java CAPS Alert Agent you can configure your alerts to go
> out through either JMS Destinations, or sent out through email
> notifications
> (SMTP) or sent out as SNMP Traps.
>
>

Is this database different from the one you need to configure for alert
persistence?


Regards,
Rupert



-----
Regards,
 
Rupert Young
Principal Architect
ReStart Consulting Ltd
 UK: +44 1753 865879
 UK: +44 7795 480387
http://www.restartconsulting.com



--
View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p3951775.html
Sent from the OpenESB Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

gopalan

Re: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink
Hello Brij

We're talking about features unique to the Java CAPS Alert Agent, the Java CAPS Enterprise Manager and the Common Management and Monitoring API (unique to Java CAPS, Open ESB, Glassfish ESB and Fuji) in these emails. 

We're not talking about the performance manager here - at least I was not talking about the performance manager.

Cheers
Gopalan.

On Thu, Nov 5, 2009 at 6:15 AM, Brij Mohan Negi (India) <[hidden email]> wrote:
Hi All,

Is there any document related to configuration for this performance manager

It would be really helpful for me.




Thanks
Brij

\-----Original Message-----
From: ruperty [mailto:[hidden email]]
Sent: Thursday, November 05, 2009 5:50 PM
To: [hidden email]
Subject: Re: Alert management and notification in Open ESB


Thanks.


gopalan wrote:
>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
>> 1. Performance Advisor - configure alert notification through the
>> glassfish
>> admin console
>>
>> 2. Alert Agent - configure alert notification through the (Jcaps)
>> Enterprise
>> Manager (where is the doc for Alert Agent 6.2?)
>
> It should be in the docs distribution Java CAPS CD. Just so you know
> there's
> no change as far as the Alert Agent is concerned in Java CAPS 6.x.
>

There is no documentation with the CD, as far as I can see. Where should it
be?


gopalan wrote:
>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
>> 3. Alert API - managing alerts through Java and scripting APIs
>>
>> Do all of these deal with the user alerts from the BPEL and Java alerter?
>
> Most definitely yes. The event management framework to deal with both
> types
> of alerts - whether generated by the JBI Framework/System/Components, or
> user generated alerts from inside their composite application - is the
> same.
>
>

Well, as far as I can see the Performance Advisor deals only with alerts of
log file entries not actually those from the alerter commands. Is that
right?



gopalan wrote:
>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
> If you are a Java CAPS customer, and are using the Java CAPS Enterprise
> Manager, you can view these Alerts from the Java CAPS Enterprise Manager.
> These alerts are stored in a database on the same server that runs the
> Java
> CAPS Enterprise Manager, and are also routed to the Java CAPS Alert and
> SNMP
> Agents. From the Java CAPS Alert Agent you can configure your alerts to go
> out through either JMS Destinations, or sent out through email
> notifications
> (SMTP) or sent out as SNMP Traps.
>
>

Is this database different from the one you need to configure for alert
persistence?


Regards,
Rupert



-----
Regards,

Rupert Young
Principal Architect
ReStart Consulting Ltd
 UK: +44 1753 865879
 UK: +44 7795 480387
http://www.restartconsulting.com



--
View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p3951775.html
Sent from the OpenESB Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.

jbaragry

Re: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink
In reply to this post by BMN
Its important to point out a couple of things here:

- JavaCAPS (the superset of GlassfishESB) has an SNMP agent which lets
you send alerts as SNMP traps
- JavaCAPS (the superset of GlassfishESB) has a component called the
JavaCAPS Enterprise Manager which - among other things - lets you see
alert messages.
- these two components are not part of OpenESB/GFESB

- Glassfish Enterprise Server (the AS used by GFESB) has the ability
to generate SNMP traps for some msgs produced by Glassfish - i.e., not
alerts generated by GFESB components.
- Glassfish Enterprise Server (the AS used by GFESB) has a component
called the Glassfish Enterprise Manager which lets you do some
Performance Analysis and other nice things.
- these two things are only available for Glassfish Enterprise Server.
i.e., paying customers using GFESB or GF.
- The Glassfish Enterprise Manager is totally different to the
JavaCAPS Enterprise Manager. It is a pity that they have such similar
names.
- The SNMP and alert infrastructure of GFES and GFESB are different
things. Please dont confuse them.

If you want to know more about Glassfish Enterprise Manager, the
documentation is here:
http://docs.sun.com/app/docs/coll/1343.6
(see Performance Advisor and SNMP)

rgds
Jason




On Thu, Nov 5, 2009 at 3:15 PM, Brij Mohan Negi (India)
<[hidden email]> wrote:

> Hi All,
>
> Is there any document related to configuration for this performance manager
>
> It would be really helpful for me.
>
>
>
>
> Thanks
> Brij
>
> \-----Original Message-----
> From: ruperty [mailto:[hidden email]]
> Sent: Thursday, November 05, 2009 5:50 PM
> To: [hidden email]
> Subject: Re: Alert management and notification in Open ESB
>
>
> Thanks.
>
>
> gopalan wrote:
>>
>> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
>> <[hidden email]>wrote:
>>
>>> 1. Performance Advisor - configure alert notification through the
>>> glassfish
>>> admin console
>>>
>>> 2. Alert Agent - configure alert notification through the (Jcaps)
>>> Enterprise
>>> Manager (where is the doc for Alert Agent 6.2?)
>>
>> It should be in the docs distribution Java CAPS CD. Just so you know
>> there's
>> no change as far as the Alert Agent is concerned in Java CAPS 6.x.
>>
>
> There is no documentation with the CD, as far as I can see. Where should it
> be?
>
>
> gopalan wrote:
>>
>> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
>> <[hidden email]>wrote:
>>
>>> 3. Alert API - managing alerts through Java and scripting APIs
>>>
>>> Do all of these deal with the user alerts from the BPEL and Java alerter?
>>
>> Most definitely yes. The event management framework to deal with both
>> types
>> of alerts - whether generated by the JBI Framework/System/Components, or
>> user generated alerts from inside their composite application - is the
>> same.
>>
>>
>
> Well, as far as I can see the Performance Advisor deals only with alerts of
> log file entries not actually those from the alerter commands. Is that
> right?
>
>
>
> gopalan wrote:
>>
>> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
>> <[hidden email]>wrote:
>>
>> If you are a Java CAPS customer, and are using the Java CAPS Enterprise
>> Manager, you can view these Alerts from the Java CAPS Enterprise Manager.
>> These alerts are stored in a database on the same server that runs the
>> Java
>> CAPS Enterprise Manager, and are also routed to the Java CAPS Alert and
>> SNMP
>> Agents. From the Java CAPS Alert Agent you can configure your alerts to go
>> out through either JMS Destinations, or sent out through email
>> notifications
>> (SMTP) or sent out as SNMP Traps.
>>
>>
>
> Is this database different from the one you need to configure for alert
> persistence?
>
>
> Regards,
> Rupert
>
>
>
> -----
> Regards,
>
> Rupert Young
> Principal Architect
> ReStart Consulting Ltd
>  UK: +44 1753 865879
>  UK: +44 7795 480387
> http://www.restartconsulting.com
>
>
>
> --
> View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p3951775.html
> Sent from the OpenESB Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

gopalan

Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink
In reply to this post by gopalan


On Thu, Nov 5, 2009 at 5:53 AM, Gopalan Raj <[hidden email]> wrote:


On Thu, Nov 5, 2009 at 4:19 AM, ruperty <[hidden email]> wrote:

Thanks.


gopalan wrote:
>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
>> 1. Performance Advisor - configure alert notification through the
>> glassfish
>> admin console
>>
>> 2. Alert Agent - configure alert notification through the (Jcaps)
>> Enterprise
>> Manager (where is the doc for Alert Agent 6.2?)
>
> It should be in the docs distribution Java CAPS CD. Just so you know
> there's
> no change as far as the Alert Agent is concerned in Java CAPS 6.x.
>

There is no documentation with the CD, as far as I can see. Where should it
be?



BTW, all documentation is available on the net on docs.sun.com. You can see the documentation for the JavaCAPS Alert and SNMP Agents from here http://docs.sun.com/app/docs/coll/1607.3?l=en. Like I mentioned earlier, there is no change in Java CAPS 6.x as far as Alert and SNMP Agents go.

Cheers
Gopalan.
 
gopalan wrote:
>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
>> 3. Alert API - managing alerts through Java and scripting APIs
>>
>> Do all of these deal with the user alerts from the BPEL and Java alerter?
>
> Most definitely yes. The event management framework to deal with both
> types
> of alerts - whether generated by the JBI Framework/System/Components, or
> user generated alerts from inside their composite application - is the
> same.
>
>

Well, as far as I can see the Performance Advisor deals only with alerts of
log file entries not actually those from the alerter commands. Is that
right?

 
True. The alerter commands work with Java CAPS Enterprise Manager and the Java CAPS Alert Agent.

In addition, the Common Management and Monitoring API has operations available as part of the Alert Management Service to retrieve these alerts. 

In fact the Java CAPS Enterprise Manager uses this same Common Management and Monitoring API to retrieve these alerts from the runtime. 

In addition to the samples available as part of the Java CAPS distribution CD, some of these code samples are also available here: http://wiki.open-esb.java.net/Wiki.jsp?page=ESBConsoleAlertReceptionAPIUsage

You should be able to see the samples as part of DVD 2 in your Java CAPS distribution under EM_API. You will find both Java and Groovy samples available that show you how to exercise the different Management and Monitoring Services and their operations.

Cheers
Gopalan.



gopalan wrote:
>
> On Thu, Nov 5, 2009 at 1:00 AM, ruperty
> <[hidden email]>wrote:
>
> If you are a Java CAPS customer, and are using the Java CAPS Enterprise
> Manager, you can view these Alerts from the Java CAPS Enterprise Manager.
> These alerts are stored in a database on the same server that runs the
> Java
> CAPS Enterprise Manager, and are also routed to the Java CAPS Alert and
> SNMP
> Agents. From the Java CAPS Alert Agent you can configure your alerts to go
> out through either JMS Destinations, or sent out through email
> notifications
> (SMTP) or sent out as SNMP Traps.
>
>

Is this database different from the one you need to configure for alert
persistence?

Yes. 
 


Regards,
Rupert



-----
Regards,

Rupert Young
Principal Architect
ReStart Consulting Ltd
 UK: +44 1753 865879
 UK: +44 7795 480387
http://www.restartconsulting.com



--
View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p3951775.html
Sent from the OpenESB Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.




--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.

ruperty

Re: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink
In reply to this post by gopalan
Hi Gopalan,

I notice that the alerts from bpel don't have an associated code. So how do you raise a corresponding specific notification in the alert agent?

Can you create custom alerts with the bpel alerter?

I notice this can be done within an ejb; do you know which docs explain the parameters of alerter.custom(arg0, arg1, arg2, arg3)?

Thanks,
Rupert
 
Regards, Rupert Young Principal Architect ReStart Consulting Ltd  UK: +44 1753 865879  UK: +44 7795 480387 http://www.restartconsulting.com
gopalan

Re: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink


On Fri, Nov 6, 2009 at 7:52 AM, ruperty <[hidden email]> wrote:

Hi Gopalan,

I notice that the alerts from bpel don't have an associated code. So how do
you raise a corresponding specific notification in the alert agent?

All alerts that are generated should have a valid Alert code. If not, it is a bug.
 

Can you create custom alerts with the bpel alerter?

No the BPEL alerter allows you to only create alerts of severity type: critical, major, minor, warning, and info. Only the EJB alerter allows you to create custom alerts in addition to the others.



I notice this can be done within an ejb; do you know which docs explain the
parameters of alerter.custom(arg0, arg1, arg2, arg3)?

The corresponding parameters are alerter.custom(messageCode, severity, message, deploymentName);

You can read more about it in the documentation that I pointed you to, and also more info can be found here:

Cheers
Gopalan.

 

Thanks,
Rupert


-----
Regards,

Rupert Young
Principal Architect
ReStart Consulting Ltd
 UK: +44 1753 865879
 UK: +44 7795 480387
http://www.restartconsulting.com



--
View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p3959542.html
Sent from the OpenESB Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.

gopalan

Re: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink
I've created this page http://wiki.open-esb.java.net/Wiki.jsp?page=ESBConsoleGeneralInformationAboutAlerting consolidating all that was discussed here.

Cheers
Gopalan.

On Fri, Nov 6, 2009 at 10:34 AM, Gopalan Raj <[hidden email]> wrote:


On Fri, Nov 6, 2009 at 7:52 AM, ruperty <[hidden email]> wrote:

Hi Gopalan,

I notice that the alerts from bpel don't have an associated code. So how do
you raise a corresponding specific notification in the alert agent?

All alerts that are generated should have a valid Alert code. If not, it is a bug.
 

Can you create custom alerts with the bpel alerter?

No the BPEL alerter allows you to only create alerts of severity type: critical, major, minor, warning, and info. Only the EJB alerter allows you to create custom alerts in addition to the others.



I notice this can be done within an ejb; do you know which docs explain the
parameters of alerter.custom(arg0, arg1, arg2, arg3)?

The corresponding parameters are alerter.custom(messageCode, severity, message, deploymentName);

You can read more about it in the documentation that I pointed you to, and also more info can be found here:

Cheers
Gopalan.

 

Thanks,
Rupert


-----
Regards,

Rupert Young
Principal Architect
ReStart Consulting Ltd
 UK: +44 1753 865879
 UK: +44 7795 480387
http://www.restartconsulting.com



--
View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p3959542.html
Sent from the OpenESB Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.




--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.

ruperty

Re: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink
gopalan wrote:
Thanks that's very useful.

I note that my alerts only appear temporarily in the AlertPersistenceDB, even though journalEnabled=true.

I presume the parameters in eventmanagement.properties have something to do with it, can you tell me what these mean?

PersistencePolicyExecInterval=600000
PersistenceAlertCount=10
PersistencePolicyExecEnabled=false
PersistenceAlertAge=1000000
PersistenceEnabled=true
PersistenceAlertLevel=NONE

Regards,
Rupert
Regards, Rupert Young Principal Architect ReStart Consulting Ltd  UK: +44 1753 865879  UK: +44 7795 480387 http://www.restartconsulting.com
gopalan

Re: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink



On Wed, Nov 11, 2009 at 3:07 AM, ruperty <[hidden email]> wrote:


gopalan wrote:
>
> I've created this page
> http://wiki.open-esb.java.net/Wiki.jsp?page=ESBConsoleGeneralInformationAboutAlertingconsolidating
> all that was discussed here.
>
>

Thanks that's very useful.

I note that my alerts only appear temporarily in the AlertPersistenceDB,
even though journalEnabled=true.

I presume the parameters in eventmanagement.properties have something to do
with it, can you tell me what these mean?

PersistencePolicyExecInterval=600000
PersistenceAlertCount=10
PersistencePolicyExecEnabled=false
PersistenceAlertAge=1000000
PersistenceEnabled=true
PersistenceAlertLevel=NONE

Alert Table Name is the current alerts table name used for persisting alerts
Persisted Alerts Count is the total number of alerts currently persisted.
Persisted Alerts Level represents the  Alert Level of alerts that are allowed to be removed from persistence for each target.
Persisted Alerts Max Age in milliseconds is the setting for the allowed persisted alert age. A value of 0 (current time) could cause all persisted alerts to be deleted. A negative value this policy element is ignored
Persisted Alerts Max Count is the  maximum of alerts allowed to be persisted. A value of 0 mean no alerts are persisted. It behave as if the user set enableAlertsPersistence to false A negative value this policy element is ignored.
Persisted Alerts Removal Policy - an array setting the policy used when persisted alerts are to be removed. An empty array means no policy is enforced
Persisted Alerts Removel Policy Exec Interval - interval setting of the persisted alerts removal policy will be executed.
Persistence DataBase Type - DB type {@link com.sun.caps.management.api.alerts.AlertPersistenceDBType} for each
Persistence Data Source JNDI Name - JNDI name for the alert persistence data source


Please read this: http://wiki.open-esb.java.net/Wiki.jsp?page=ESBConsoleAlertConfigurationServiceDetails. It's all here.

Users who do not have the Java CAPS Enterprise Manager's Configuration Agent, can use the Common Management & Monitoring API's Alert Framework Configuration Service API to configure the Alert Framework. To see how this is done, see this: http://wiki.open-esb.java.net/Wiki.jsp?page=ESBConsoleTestAlertFrameworkConfigurationServiceInJava


Cheers
Gopalan.

 

Regards,
Rupert

-----
Regards,

Rupert Young
Principal Architect
ReStart Consulting Ltd
 UK: +44 1753 865879
 UK: +44 7795 480387
http://www.restartconsulting.com



--
View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p3985709.html
Sent from the OpenESB Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.

ruperty

Re: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink

Thanks.

The link for "Detailed discussion of the settings", http://dscpreview.sfbay.sun.com/docs/javacaps/monitoring/mj2eecomp.ggmyr.html doesn't work.

Rupert

Regards, Rupert Young Principal Architect ReStart Consulting Ltd  UK: +44 1753 865879  UK: +44 7795 480387 http://www.restartconsulting.com
gopalan

Re: Re: Alert management and notification in Open ESB

Reply Threaded More More options
Print post
Permalink
Use this one:

Cheers
Gopalan.

On Mon, Nov 16, 2009 at 7:38 AM, ruperty <[hidden email]> wrote:


Thanks.

The link for "Detailed discussion of the settings",
http://dscpreview.sfbay.sun.com/docs/javacaps/monitoring/mj2eecomp.ggmyr.html
doesn't work.

Rupert



-----
Regards,

Rupert Young
Principal Architect
ReStart Consulting Ltd
 UK: +44 1753 865879
 UK: +44 7795 480387
http://www.restartconsulting.com



--
View this message in context: http://n2.nabble.com/Alert-management-and-notification-in-Open-ESB-tp3950997p4012683.html
Sent from the OpenESB Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



--
Co-Author of:
1. Professional JMS Programming (Wrox Press)
2. Enterprise Java Computing : Applications and Architecture (Cambridge University Press)
3. The Awesome Power of JavaBeans (Manning Publications)

________________________________________________
Copyright (c) 2009, Gopalan Suresh Raj. All Rights Reserved.

You can view my Blog at http://blogs.sun.com/gopalan

Public Profile at: http://www.google.com/profiles/ipersist

Visit me at Web Cornucopia at http://my.execpc.com/~gopalan/
Web Cornucopia - The Ultimate Resource for developing Distributed, multi-tier, Enterprise Solutions using COM+/Windows DNA, Java/J2EE, CCM/CORBA 3.0, The Microsoft .NET Framework, and all their related technologies.