Navigation

    Best APM Solution for Oracle WebLogic Server & FMW Product Family
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Download

    How to redirect the JFR writing to WLSDM folder itself ?

    General Support & Troubleshooting
    java flight rec weblogic jfr jfr repository
    2
    2
    1757
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wlcommunityusers
      wlcommunityusers last edited by

      Hello,

      After the demo, I faced a strange issue.

      The WLSDM is writing JFR files in /tmp folder of the VM – which ran out of space and crashed the Managed server.

      Here is from the log:

      [jfr][WARN ][59792.204] Please check if repository location /tmp/2017_06_01_22_02_54_22776 has been moved/deleted?
      [jfr][ERROR][59792.263] An irrecoverable error in JRF. Shutting down VM...
      

      Can you suggest how to redirect the JFR writing to WLSDM folder itself and not VM’s /tmp folder? Or am I missed anything on the configuration?

      Thanks,

      Community Users Case Notes (Diary)

      1 Reply Last reply Reply Quote 0
      • wlsdmsupport
        WLSDM Support last edited by wlsdmsupport

        Hi,

        We are not generating JFR files under /tmp folder. WebLogic does this and we’re using the output. So, if you want to redirect to custom folder please use below settings and let us know the result.

        Navigate to Enviroment > Server > Server Start. In “Arguments”, add:

         -XX:FlightRecorderOptions=repository=/path/to/folder
        
        Example:
         -XX:FlightRecorderOptions=repository=/data/weblogic/domains/BASE_DOMAIN/WLSDM/tmp
        

        WLSDM Community Support Team

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        WLSDM: Native WebLogic Monitoring & Diagnostics

        Copyright © 2021 WLSDM Community & Support Portal | WLSDM.COM | WLSDM Blog