WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

NotificationListener not receiving start/stop/restart app notifications

  • 1.  NotificationListener not receiving start/stop/restart app notifications

    Posted Wed August 11, 2010 10:39 AM
    NotificationListener not receiving start/stop/restart app notifications

    --------------------------------

    Hi all,

    I have an small issue with a JMX client application, I have developed a NotificationListener to read the notifications sent by Websphere when any action is done, everything seems to be working fine but I am having problems to receive notifications when I start, stop or restart an application. If I ask websphere, for example, to sync a cluster I receive all the notifications but if I try to start, stop or restart an application I don't receive any notification at all... Initially I asked my listener to read all the RasLoggingService notifications (objectName = /"WebSphere:type=RasLoggingService,*/"), but finally, since I don't receive anything, I asked it to listen to all kind of messages (objectName = /"Websphere:*/"), but nothing seems to be received anyway.

    Does anyone know why this could be happening? I guess this could be a configuration issue but I am not being able to discover it at all.

    Thanks a lot in advance.

    PS: This is only happening to me with a test DMGR server (v6.0.2.25), if I try it in my local DMGR server (v6.1.0) and with another local WAS server (v6.0.0.1) everything works fine.

    --------------------------------

    Posted By: fmenendez at Jan 13 2010 8:50AM


  • 2.  NotificationListener not receiving start/stop/restart app notifications

    Posted Wed August 11, 2010 10:47 AM
    After some further tests I can see that the NotificationListeners gets /"blocked/" only when I try to filter any of the TYPE_RAS notifications, if I try to process the TYPE_J2EE_STATE notifications alone, everything is working fine, but as soon as I try to also filter any of the TYPE_RAS messages it gets /"blocked/". So it seems in this server there must be any issue with the Ras Logging messages, although they are being created since I can see them in the /"Runtime events/" section within the websphere administrative console...

    Any advice????

    --------------------------------

    Posted By: fmenendez at Jan 13 2010 10:00AM