Total Pageviews

Sunday, December 28, 2014

specifying JVM file recording path

by default WLS admin server dont have JVM flight recording location, so it create JVM flight recording files at /tmp. you can check this parameter in Admin server JVM instance parameter and you can specify different path at Admin server instance.

in order to enable path you can run following command with parameter (repository=file_location) 

Option:
-XX:FlightRecorderOptions=parameter1=value[,parameter2=value]

Example:
java -XX:+FlightRecorder -XX:FlightRecorderOptions=disk=true,repository=file_location,maxchunksize=10M MyApp

to making this change thru console

make sure to take the backup of config.xml

a.        Log on to the weblogic console.
b.       Go to managed serverà server start à arguments
c.       specify log file location. Add -XX:FlightRecorderOptions=defaultrecording=true,repository=/idm/oracle/tmpJFR
and save

No comments:

Post a Comment