IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Email Port - Auto Re-Enable

    Posted 08/19/03 05:56 PM

    Occasionally the email listener fails in the Integration Server (SAP BC 4.6). Typically this occurs due to outages of the mail host or network issues. I want to be able to build a service that I can schedule to check the email port listener�s status and, where necessary, re-activate the port.

    Does anyone have any experience or development leads in this area?

    Thanks!


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Email Port - Auto Re-Enable

    Posted 08/20/03 12:03 AM

    If you execute the service “wm.server.net.listeners:listListeners” and loop over the record list “listeners” then you can check the “listeners/listening” boolean - if this if false for that listener, then it has stopped listening. To restart the listener, I have found that you need to run “wm.server.net.listeners:disableListener” followed by “wm.server.net.listeners:enableListener”.

    You may also want to check the “listeners/enabled” boolean, so that you only restart those listeners that are enabled.

    All of these services are in the WmRoot package, which is hidden by default in Developer.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods