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.

 View Only
  • 1.  How to clear JMS Producer Cache

    Posted Tue February 07, 2017 07:18 AM

    Hi Forum,

    i am facing a problem regarding caching. We are using the pub.jms:send to send messages to a destination.
    Because of a configuration error, the configured jndi entry for one particular queue was wrong so the pub.jms:send failed.

    We corrected the jndi configuration but the pub.jms:send still fails (com.pcbsys.nirvana.client.nChannelNotFoundException).

    I tried to reset the cache by “Server → Service Usage → Reset Server Cache” but this did not clear the jms provider cache.
    The only way to clear the cache is a restarting the IS, which is not applicable for the productive environment.

    IS Version: 9.7

    Thank you in advance.

    Kind regards,
    Martin


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: How to clear JMS Producer Cache

    Posted Tue February 07, 2017 08:11 AM

    Hi Martin,

    what about reloading the JNDI Setiings under Settings → Messaging?

    Eventually you will have to stop and restart the JMS Alias for your connection to get the JMS cache cleared.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: How to clear JMS Producer Cache

    Posted Tue February 07, 2017 08:20 AM

    Hi Holger,

    i do not see a possibilty to reload the jndi settings. It is only possible to do a “Test Lookup”. Unfortunately that does not help.
    As all of our asynchcronous services are using that JNDI Alias, stopping and starting of the JNDI alias is also not an option.

    Kind regards,
    Martin


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: How to clear JMS Producer Cache

    Posted Tue February 07, 2017 09:20 AM

    Hi Martin,

    After performing the “Test Lookup” go to “Settings → Messaging → JMS Settings” and disable and then enable the JMS Connection Alias for the affected JNDI Alias.

    Restarting the JMS Connection Alias is faster than restarting the complete IntegrationServer.

    Another optiion (not sure if this works for this case) might be to restart UM.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: How to clear JMS Producer Cache

    Posted Tue February 07, 2017 01:45 PM

    I agree with Holger, the only option to reset JMS producer cache is disabling and enabling the affected JMS connection which is less time consuming than restarting the IS.

    Consult SAG support if there is any API to reset the cache for JMS Producer, kindly share the details.


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: How to clear JMS Producer Cache

    Posted Wed February 08, 2017 02:47 AM

    Here is what the support said:

    [i]Unfortunately there is no option present in IS admin to delete the JMS producer cache .
    I checked the source code as well and there also no public API exist which can clear the cache. Cache is cleared ONLY when the JMS connection is stopped .

    So to answer your question , The only way to clear the JMS producer cache is to stop and restart the JMS connection alias . There is absolutely so other way by which it can be done .
    [/i]


    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: How to clear JMS Producer Cache

    Posted Wed February 08, 2017 11:44 AM

    Thanks for your time, Really appreciated!


    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: How to clear JMS Producer Cache

    Posted Thu February 09, 2017 03:47 AM

    Good morning forum,

    i have created a change request in brainstorm (Feature Request: 04515).
    So if you think it would be helpful to clear the JMS Producer Cache manually without restarting a connection alias, please like that change request ;-).

    Kind regards,
    Martin


    #webMethods
    #Integration-Server-and-ESB