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 modify log4j and reflect it changes without restarting webMethods IS

    Posted Thu June 10, 2004 02:47 PM

    Hi,

    Whenever i modify the log4j.properties i have to restart the server.

    Is there are way i can do this without having to restart the server.

    Thanks in advance,

    Gamad


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: How to modify log4j and reflect it changes without restarting webMethods IS

    Posted Thu June 10, 2004 07:05 PM

    Gamad,

    I’m not sure how you are using log4j, but I put together a log4j logging IS package some time back that reads properties from a properties file. I think I remember that you can re-run the initialization service to reload a log4j properties file, but I could be wrong.

    You can find my example and a newer one that works with JDK 1.4 logging in the WM Users shareware area.

    [url=“wmusers.com”]wmusers.com

    Mark


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: How to modify log4j and reflect it changes without restarting webMethods IS

    Posted Tue June 15, 2004 07:35 PM

    Hi Mark,

    Your article and code did help.

    Thanks a bunch,

    Gamad


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 4.  RE: How to modify log4j and reflect it changes without restarting webMethods IS

    Posted Mon November 22, 2004 12:49 PM

    Hi Mark,

    The jdk1.4 version of logger zip seems to be corrupt.

    Regards
    Ashok


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 5.  RE: How to modify log4j and reflect it changes without restarting webMethods IS

    Posted Tue February 07, 2006 03:48 PM

    This package works very well. I just plopped the log4j into the IntegrationServer\lib\jars directory as mentioned in this package and changed the Pipeline on the logInit to specify my log4j.properties preference… Reloaded the package & all was well!

    Thanks, Mark!
    -Rahul


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 6.  RE: How to modify log4j and reflect it changes without restarting webMethods IS

    Posted Tue February 07, 2006 07:07 PM


  • 7.  RE: How to modify log4j and reflect it changes without restarting webMethods IS

    Posted Thu August 31, 2006 07:47 PM

    Hi what version IS did this work with? Your post is from Feb, so I am hoping you are talking about version 6.*…

    Thanks


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 8.  RE: How to modify log4j and reflect it changes without restarting webMethods IS

    Posted Thu March 07, 2013 07:27 AM

    Hi Mark,
    I have been able to implement log4j for logging except one anomaly that I see with respect to the deletion of loggers.

    I see that the logMessage service has a “success” for a Logger that was removed from the log4j.properties file. I did run the load properties service post deletion of the logger.

    Also, below are the extended settings that were put in place:

    watt.LogManagement.appslog.directory= for eg IS/logs/Log4jLogs
    watt.LogManagement.working.directory= for eg IS/Log4j
    watt.LogManagement.working.status=true

    How do we clear the non-existent loggers from the memory?

    Thanks
    Suhail


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB