java - Getting error while recording JFR -


i trying record jfr java application hosted in tomcat server. have used following jvm args .

-xx:+unlockcommercialfeatures -xx:+flightrecorder 

and using following linux command record jfr.

 /opt/java/perf/jdk1.7.0_79/bin/jcmd 32627 jfr.start duration=900s     settings=/opt/profile.jfc filename=/opt/flight_17-mar-2016.jfr 

but getting error :

**32627: java.text.parseexception: json object must begin '{', line=0, column=0 :   <?xml version="1.0" encodi    ng="utf-8"?> <configuration version="1.0" name="profiling" description="lo** 

please suggest if has idea this. in advance.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -