4.5.1 IAC profiling failure: org.eclipse.tptp.jvmti unavailable: JPIBootLoader [message #136693] |
Thu, 02 October 2008 16:38  |
Eclipse User |
|
|
|
I can't profile a JUnit test-class using the Integrated Agent Controller
from within the Eclipse IDE. When I try, the following output appears in
the Eclipse Console:
Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: JPIBootLoader
and a widget eventually pops-up with the following message:
The JVMTI agent org.eclipse.tptp.jvmti is not available. Make sure that
the libraries for the agent are available and that it is configured
properly.
Please help.
Here's my environment:
$ uname -a
Linux gilda.unidata.ucar.edu 2.6.26.3-14.fc8 #1 SMP Wed Sep 3 03:17:52 EDT
2008 x86_64 x86_64 x86_64 GNU/Linux
$ The following environment variables are not set: LD_LIBRARY_PATH,
JAVA_PROFILER_HOME, TPCP_AC_HOME
$ Within Eclipse, selecting "Help -> About Eclipse SDK" shows
Eclipse SDK
Version: 3.4.0
Build id: I20080617-2000
$ I used "Help -> Software Updates" to install TPTP 4.5.1v200807310709-...
$ Within Eclipse, selecting "Help -> About Eclipse SDK -> Plug-in Details"
shows that "TPTP Linux_em64t IAC Plug-in v4.4.1v200808290100" is installed
$ The "Monitor" tab under "Profile Configurations" has only "Execution
Time Analysis" selected; its "Edit Options" shows only "Show Execution
Flow Graphical Details" selected.
|
|
|
|
Re: 4.5.1 IAC profiling failure: org.eclipse.tptp.jvmti unavailable: JPIBootLoader [message #136777 is a reply to message #136765] |
Fri, 03 October 2008 12:48   |
Eclipse User |
|
|
|
Hi Eugene,
Something very strange has happened. The same Eclipse process that
wouldn't profile at the end-of-work yesterday is profiling today at the
beginning-of-work. I didn't do anything in the interim, so I'm at a loss
to explain this. I do have my Eclipse set-up for automatic download of
updates. I wonder if that's the cause. We also have nightly automatic
updates pushed to our workstations for system software (e.g., libraries,
utilities).
I did execute the script
" plugins/org.eclipse.tptp.platform.ac.linux_em64t_4.4.1.v2008 08290100/agent_controller/bin/SetConfig.sh "
while that Eclipse process was running, but I believe I tried profiling
after that and it still didn't work.
Very odd.
I'll answer your questions for the record (and I have a question).
> How did you start the JUnit test class profile?
I clicked on the profiling icon in the toolbar. TPTP knows that the
application is a JUnit class.
> It sounds like the system variable cannot be located by the IAC, which is
> tested and worked.
> If you manually add the system variable and restart Eclipse, does it work
> for you?
Please forgive my ignorance, but what is the "system variable"?
I forgot to mention in my original post that my Java environment is 64-bit
jdk1.6.0_04.
Regards,
Steve Emmerson
|
|
|
Re: 4.5.1 IAC profiling failure: org.eclipse.tptp.jvmti unavailable: JPIBootLoader [message #136822 is a reply to message #136777] |
Mon, 06 October 2008 10:30   |
Eclipse User |
|
|
|
Hi Steven,
Could you try the following:
1. shutdown Eclipse workbench.
2. run
plugins/org.eclipse.tptp.platform.ac.linux_em64t_4.4.1.v2008 08290100/agent_controller/bin/SetConfig.sh
to setup Agent Controller
3. run
plugins/org.eclipse.tptp.platform.ac.linux_em64t_4.4.1.v2008 08290100/agent_controller/bin/ACServer
to start an standalone Agent Controller.
4. if step 2 and 3 run without error, restart Eclipse workbench and run your
profile.
The system variable I was referring are those varilables configure in the
Agent Controller config file.
Eugene
"Steven Emmerson" <emmerson@ucar.edu> wrote in message
news:32a9fd6c46608e087932bcc2f7dea4f7$1@www.eclipse.org...
> Hi Eugene,
>
> Something very strange has happened. The same Eclipse process that
> wouldn't profile at the end-of-work yesterday is profiling today at the
> beginning-of-work. I didn't do anything in the interim, so I'm at a loss
> to explain this. I do have my Eclipse set-up for automatic download of
> updates. I wonder if that's the cause. We also have nightly automatic
> updates pushed to our workstations for system software (e.g., libraries,
> utilities).
>
> I did execute the script
> " plugins/org.eclipse.tptp.platform.ac.linux_em64t_4.4.1.v2008 08290100/agent_controller/bin/SetConfig.sh "
> while that Eclipse process was running, but I believe I tried profiling
> after that and it still didn't work.
>
> Very odd.
>
> I'll answer your questions for the record (and I have a question).
>
>> How did you start the JUnit test class profile?
>
> I clicked on the profiling icon in the toolbar. TPTP knows that the
> application is a JUnit class.
>
>> It sounds like the system variable cannot be located by the IAC, which is
>> tested and worked.
>> If you manually add the system variable and restart Eclipse, does it work
>> for you?
>
> Please forgive my ignorance, but what is the "system variable"?
>
> I forgot to mention in my original post that my Java environment is 64-bit
> jdk1.6.0_04.
>
> Regards,
> Steve Emmerson
>
|
|
|
|
|
|
|
|
|
|
Re: 4.5.1 IAC profiling failure: org.eclipse.tptp.jvmti unavailable: JPIBootLoader [message #137148 is a reply to message #137077] |
Thu, 16 October 2008 09:12  |
Eclipse User |
|
|
|
Yes. the view stays linked with the last opened resource. Unless you enabled
the 'Link with Viewer' button in the Profiling Monitor view that will auto
refresh the view with your selection in the Profiling Monitor view.
"Steven Emmerson" <emmerson@ucar.edu> wrote in message
news:80747352ed13dd3c818ab75ab304a658$1@www.eclipse.org...
> Eugene Chan wrote:
>
>> Does the session failed with no data displayed only? or any error in
>> console view?
>
> There are no error messages in the "Console" view.
>
> The "Execution Statistics" tab in the profiling perspective has the error
> message "No execution statistics is available for display. ...".
>
>> If the problem is about data not displayed in view, make sure the
>> profiling filter configuration is correctly set to include your target
>> package.
>
> I'm using the default filter set for "Java Profiling", which doesn't
> appear to exclude my classes.
>
> The "Test Availability" button returns true for "Java Profiling".
>
>> Also try close the view and double click on the profiling analysis type
>> in the profiling monitor view to reopen the view for data refresh.
>
> That did it. Apparently, the profiling view doesn't automatically change
> to the results of a successful profiling session. I did not know that.
>
> Thanks for your help.
>
> Regards,
> Steve Emmerson
>
|
|
|
Powered by
FUDForum. Page generated in 0.06774 seconds