|
|
|
|
|
Re: Error occurred during initialization of VM [message #138314 is a reply to message #138271] |
Tue, 18 November 2008 15:20 |
Eugene Chan Messages: 287 Registered: July 2009 |
Senior Member |
|
|
Hi Dan,
Try VM arguent
'-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf'
or
'-agentlib:JPIBootLoader=JPIAgent:server=controlled;CGProf'
That should give you an agent to attach to in the workbench.
For detail about the syntax of the command, please refer to
http://dev.eclipse.org/viewcvs/index.cgi/platform/org.eclips e.tptp.platform.agentcontroller/src-native-new/packaging_md/ windows/getting_started.html?root=TPTP_Project&view=co#J ava_15
Eugene
"Dan Zeller" <danwzeller@hotmail.com> wrote in message
news:ce6ae92669f63deaaa70cd0de3c9188c$1@www.eclipse.org...
> Eugene Chan wrote:
>
>> Hi Dan,
>
>> Could you verify that:
>> 1. JPIBootLoader library is available under the %JAVA_PROFILER_HOME%
>> folder?
>> 2. Try VM arguent
>> '-agentlib:JPIBootLoader=JPIAgent:server=standalone;CGProf'
>
>> Eugene
>
> Thank you for responding Eugene,
>
> 1. JPIBootLoader is in %JAVA_PROGILER_HOME% folder
> 2. Your argument does run my program (as does my previous without
> '...,help...'), but does not make it available under eclipse->Run->Profile
> Configurations(Attach to Agent
> configuration)(Host:localhost[10006])->Agents
> If I add '...,help...', I get:
> Illegal TIAgent option
> @(#)JVMTI Agent version 1.0.0.1
> Usage: (followed by agentlib usage help)
> Error occurred during initialization of VM
> agent library failed to init: JPIBootLoader
>
> So I assume I need to find a way to get JPIBootLoader to load. Also,
> SampleClient.exe does function.
>
> Dan
>
|
|
|
Re: Error occurred during initialization of VM [message #138332 is a reply to message #138314] |
Tue, 18 November 2008 17:33 |
Dan Zeller Messages: 6 Registered: July 2009 |
Junior Member |
|
|
Eugene Chan wrote:
> Hi Dan,
> Try VM arguent
> '-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf'
> or
> '-agentlib:JPIBootLoader=JPIAgent:server=controlled;CGProf'
> That should give you an agent to attach to in the workbench.
> For detail about the syntax of the command, please refer to
>
http://dev.eclipse.org/viewcvs/index.cgi/platform/org.eclips e.tptp.platform.agentcontroller/src-native-new/packaging_md/ windows/getting_started.html?root=TPTP_Project&view=co#J ava_15
> Eugene
Eugene,
Tried both. Neither provides an available agent in eclipse under any
ports(10002, 10003, 10005, or 10006). The second, however, hangs there as
if it is waiting for me to attach, which I can't; therefore, it never
launches my java program.
As far as the ports, I think 10002 is my IAC and it tests good. Port
10003 does not test good. Both ports 10005 and 10006 test good.
I am wondering if the part of the error reading '@(#)JVMTI Agent version
1.0.0.1' tells us anything.
I downloaded the 4.5.1 JVMTI Profiler from the website, but it only
replaced what I think was the same thing in my eclipseAC plugins folder.
I know this must be frustrating for you, it is for me. I have been at
this thing for a couple weeks. Thank you for your help. Please let me
know next step.
Dan
|
|
|
|
Powered by
FUDForum. Page generated in 0.25739 seconds