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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Java parameters to move heap dumps created to specific file system

  • 1.  Java parameters to move heap dumps created to specific file system

    Posted Wed December 21, 2016 04:46 AM

    Java parameters to move heap dumps created to specific file system

    We need Java parameters to move the heap dumps created to specific file system i.e. /heapdumps with the file name as “heapdump.%Y%m%d.%H%M%S.%pid.phd”
    webMethods 9.10 Integration Server is running on Sun JVM shipped with webMethods installation.

    we have tried to modify “./configuration/custom_wrapper.conf’” with below values:
    wrapper.java.additional.204=-XX:+HeapDumpOnOutOfMemoryError
    wrapper.java.additional.205=-XX:HeapDumpPath=/heapdump.%Y%m%d.%H%M%S.%pid.phd

    with this change we are able to move the heapdumps to specific folder but file is not having timestamp

    Please suggest

    1. what should be the format for adding timestamp in heapdump file name

    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 2.  RE: Java parameters to move heap dumps created to specific file system

    Posted Thu January 05, 2017 05:39 AM

    Please try appending File name along with extention as shown below,
    Filename.$(date +_%m%d%Y.%H:%M:%S).bin


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration