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...
YAJSW
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: YAJSW
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.
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.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: YAJSW
Please also ensure you've properly chosen 32 or 64-bit agent, according to the JVM bitness.