Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

YAJSW

Moderators: Vladimir Kondratyev, Anton Katilin

YAJSW

Postby ehubbard » Thu Jun 04, 2015 5:47 pm

I'm having a real pain getting YAJSW to pass in the agentpath parameters to the jvm so that I can use the nice attach mode. Has anyone had any experience in this situation before?

wrapper.java.additional.5=-agentpath:c:\\yjp....

The service keeps restarting itself -- so it must be failing to load the agent -- but I don't know.. .why...
ehubbard
 
Posts: 1
Joined: Thu Jun 04, 2015 5:42 pm

Re: YAJSW

Postby Anton Katilin » Fri Jun 05, 2015 9:48 am

Do you get any error messages in console or in the YAJSW logs?

Are the profiler agent logs created in <user home>/.yjp/log?

I'm not familiar with YAJSW, but are you sure that the right way to escape the back slash is to double it?

wrapper.java.additional.5=-agentpath:c:\\yjp....

You may always change \ to / which presumably does not need to be escaped.

Please also pay attention at possible space characters in the agent path. If there are, please copy the plugin to a directory without space characters in its path.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Re: YAJSW

Postby Anton Katilin » Fri Jun 05, 2015 9:49 am

Please also ensure you've properly chosen 32 or 64-bit agent, according to the JVM bitness.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests

cron