Unable to attach yourkit with AIX server
-
- Posts: 59
- Joined: Tue May 13, 2014 7:37 am
Unable to attach yourkit with AIX server
Using AIX server.downloaded and copied the yourkit bundle for 2013 releasehaving java 7 ,64 bit on the server.
Firstly, not able to discover any running jvm.
Secondly,upon giving sh yjp.sh -attach 5308666 command following error recieved.
sh yjp.sh -attach 5308666
Attaching to process 5308666 using default options
com.yourkit.runtime.PresentableException: Cannot attach profiler agent to JVM as to a 32-bit process:
com.sun.tools.attach.AgentLoadException: ATTACH_ERR AgentLoadException /usr/yourkit/yjp-2013-build-13086/bin/aix-ppc-32/libyjpagent.so:
Cannot attach profiler agent to JVM as to a 64-bit process:
Cannot attach profiler agent to JVM: AgentInitializationException, return value=0
at com.yourkit.f.u.p.a(a:131)
at com.yourkit.f.u.c.a(a:27)
at com.yourkit.Main1.for(a:14)
at com.yourkit.Main1.entry(a:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.yourkit.Main$1.run(a:14)
please ,help in this matter.
Thanks in advance,
Abhishek
Firstly, not able to discover any running jvm.
Secondly,upon giving sh yjp.sh -attach 5308666 command following error recieved.
sh yjp.sh -attach 5308666
Attaching to process 5308666 using default options
com.yourkit.runtime.PresentableException: Cannot attach profiler agent to JVM as to a 32-bit process:
com.sun.tools.attach.AgentLoadException: ATTACH_ERR AgentLoadException /usr/yourkit/yjp-2013-build-13086/bin/aix-ppc-32/libyjpagent.so:
Cannot attach profiler agent to JVM as to a 64-bit process:
Cannot attach profiler agent to JVM: AgentInitializationException, return value=0
at com.yourkit.f.u.p.a(a:131)
at com.yourkit.f.u.c.a(a:27)
at com.yourkit.Main1.for(a:14)
at com.yourkit.Main1.entry(a:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.yourkit.Main$1.run(a:14)
please ,help in this matter.
Thanks in advance,
Abhishek
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Unable to attach yourkit with AIX server
The attach mode does not work with IBM Java.
Please start the application with the profiler agent instead:
http://www.yourkit.com/docs/java/help/r ... ofiler.jsp
Please start the application with the profiler agent instead:
http://www.yourkit.com/docs/java/help/r ... ofiler.jsp
-
- Posts: 59
- Joined: Tue May 13, 2014 7:37 am
Re: Unable to attach yourkit with AIX server
I need to connect it remotely using the remote connection option in yourkit?Need to specify the server url and port?will it identify the JVM running on the server?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Unable to attach yourkit with AIX server
Yes.I need to connect it remotely using the remote connection option in yourkit?
But first you must start the profiled application with the agent, as described in the help topic I provided a link to.
Yes.Need to specify the server url
No. Unless you use a non default PROFILER AGENT port (not the same as the usual HTTP port.)and port?
Yes, but see my first statement: the application must be running at that host with the agent.will it identify the JVM running on the server?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Unable to attach yourkit with AIX server
P.S. This help topic is likely what you need:
http://www.yourkit.com/docs/java/help/p ... remote.jsp
http://www.yourkit.com/docs/java/help/p ... remote.jsp
-
- Posts: 59
- Joined: Tue May 13, 2014 7:37 am
Re: Unable to attach yourkit with AIX server
my application server is hosted on AIX box.need to connect using remote windows machine.This is the command needed to run <directory with unpacked content>/bin/yjp.sh -integrate on the host machine?After successful integration remote connection from profiler Ui needed?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Unable to attach yourkit with AIX server
Please read the documentation. This will save you a lot of time.
Yes.This is the command needed to run <directory with unpacked content>/bin/yjp.sh -integrate on the host machine?
Yes.After successful integration remote connection from profiler Ui needed?
-
- Posts: 59
- Joined: Tue May 13, 2014 7:37 am
Re: Unable to attach yourkit with AIX server
While doing remote connection,getting message"there is no application running at url with profiler agent configured" or profiler agent is incompatible with current version of profiler.
I am using profiler 2013 build 13076 and profiler agent downloaded is of build 13086 installed on AIX server. As,i was not able to find profiler
agent download link for AIX os corresponding to build 13076 on your website.Kindly suggest a solution for this.
I am using profiler 2013 build 13076 and profiler agent downloaded is of build 13086 installed on AIX server. As,i was not able to find profiler
agent download link for AIX os corresponding to build 13076 on your website.Kindly suggest a solution for this.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Unable to attach yourkit with AIX server
Please update the profiler client to the latest build. What's the problem with it?
Older builds should not be used because they lack all latest bug fixes and improvements.
Older builds should not be used because they lack all latest bug fixes and improvements.
-
- Posts: 59
- Joined: Tue May 13, 2014 7:37 am
Re: Unable to attach yourkit with AIX server
Hi Anton,
Update is not possible as using trial version.Could you tell version mismatch is not the problem here?.same bundle is there for AIX for both the build 13076 and 13086?
Update is not possible as using trial version.Could you tell version mismatch is not the problem here?.same bundle is there for AIX for both the build 13076 and 13086?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Unable to attach yourkit with AIX server
I don't understand your point. How using trial version hinders update to a maintenance release?Update is not possible as using trial version
There were no incompatible changes between builds 13076 and 13086.Could you tell version mismatch is not the problem here?
Anyway, consider this for troubleshooting:
http://www.yourkit.com/docs/kb/remote.jsp
-
- Posts: 59
- Joined: Tue May 13, 2014 7:37 am
Re: Unable to attach yourkit with AIX server
Actually company policies are restricting any update
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Unable to attach yourkit with AIX server
It's up to you not to update, but note we may not provide support until you do.