webMethods

webMethods

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

how to enable gc.log in WM 8.2

  • 1.  how to enable gc.log in WM 8.2

    Posted Tue November 12, 2013 09:42 AM

    Hi Everyone,

    We need to enable gc.log in our Integration server 8.2.

    I tried using following command in server.sh and restarted the server but it did not work out.

    JAVA_MEMSET=-server -ms${JAVA_MIN_MEM} -mx${JAVA_MAX_MEM} -verbose:gc -Xloggc:“${IS_DIR}\gc.log”

    Can any one please advise.

    Thanks
    Rajesh


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


  • 2.  RE: how to enable gc.log in WM 8.2

    Posted Wed November 13, 2013 07:40 AM

    have you checked standard output console log?


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


  • 3.  RE: how to enable gc.log in WM 8.2

    Posted Sun November 17, 2013 02:36 AM


  • 4.  RE: how to enable gc.log in WM 8.2

    Posted Thu November 21, 2013 03:23 AM

    Hi

    my setting in v8.2.1

    in server.sh

    add below line
    GCLOG=“-verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:logs/gc.log”

    and add the GCLOG to JAVA_OPTS
    JAVA_OPTS=“-Dsun.lang.ClassLoader.allowArraySyntax=true”
    JAVA_OPTS=“${JAVA_OPTS} -Dwatt.server.prepend.classes=${PREPEND_SYSTEM_CLASSPATH}:${APPEND_SYSTEM_CLASSPATH}:${PREPENDCLASSES}”
    JAVA_OPTS=“${JAVA_OPTS} -Dwatt.server.append.classes=${APPENDCLASSES}”
    JAVA_OPTS=“${JAVA_OPTS} -Dcom.webMethods.sc.auditing.Use80TableFormat=true -Dtangosol.coherence.shutdownhook=false”

    JAVA_OPTS=“${JAVA_OPTS} -DWM_HOME=${WM_HOME} ${MINOR_GC} ${FULL_GC} ${GCLOG} ${JAVA_OPT_PREFER_IP4V} ${JAVA_PERM_SIZESET} ${JAVA_D64} ${DEBUG_JAVA_OPTS}”
    HTH


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