Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no long
Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no long [message #109006] Tue, 14 August 2007 19:25 Go to next message
Eclipse UserFriend
Originally posted by: no.spam.com

Hi,

I check in Profile ... / Monitor
Common Base Event Analysis

Click on Profile.
Here the message in the Console :

FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
For information on temporary workarounds contact: jvmpi_eol@sun.com
Error occurred during initialization of VM
-Xrun library failed to init: piAgent
Could not resolve to JVMPI interface

What I am doing wrong ?

Tintin92
Re: Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no [message #109020 is a reply to message #109006] Tue, 14 August 2007 19:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.spam.com

Forget to say I am under :
Windows 2000 Pro
Eclipse 3.3
JVM 1.6

Tintin92
Re: Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no [message #109032 is a reply to message #109020] Wed, 15 August 2007 05:42 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Tintin92 wrote:
> Forget to say I am under :
> Windows 2000 Pro
> Eclipse 3.3
> JVM 1.6
>
> Tintin92
>
>
I think that the CBE monitor is based on the old, pre-Java 1.5 profiling
architecture. You will probably need to "downgrade" your JVM to 1.5 in
order to use it.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no [message #109058 is a reply to message #109032] Wed, 15 August 2007 10:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.spam.com

"Asaf Yaffe" <asaf.yaffe@intel.com> a
Re: Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no [message #109132 is a reply to message #109058] Thu, 16 August 2007 06:31 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Tintin92 wrote:
>
> Hi Asaf,
>
> Something I forget to say, it's a stand alone program ( a JSE program, no
> Web or other stuff ).
>
> What I have change :
>
> Menu / Projet / properties / Java Build Path / Libraries
> Edit.. the JRE then
> Check Alternative JRE from jre1.6.0_02 to jre1.5.0_06
>
> Lanch Profile
>
> Console :
>
> FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
> Please use the supported interface: the JVM Tool Interface (JVM TI).
> For information on temporary workarounds contact: jvmpi_eol@sun.com
> Error occurred during initialization of VM
> -Xrun library failed to init: piAgent
> Could not resolve to JVMPI interface
>
> I think the are no change.
>
> Regards,
>
> Tintin92

You need to change the JRE used to *execute* your Java application under
the profiler, not the JRE you use to *build* your application.
If you're using the Integrated Agent Controller: select Window |
Preferences | Agent Controller | Integrated Agent Controller and modify
the JRE used.
If you're using the standalone Agent Controller, run the <ac
home>bin\SetConfig.bat script and modify the JRE.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no [message #109280 is a reply to message #109132] Fri, 17 August 2007 09:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.spam.com

> Tintin92 wrote:
> >
> > Hi Asaf,
> >
> > Something I forget to say, it's a stand alone program ( a JSE program,
no
> > Web or other stuff ).
> >
> > What I have change :
> >
> > Menu / Projet / properties / Java Build Path / Libraries
> > Edit.. the JRE then
> > Check Alternative JRE from jre1.6.0_02 to jre1.5.0_06
> >
> > Lanch Profile
> >
> > Console :
> >
> > FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
> > Please use the supported interface: the JVM Tool Interface (JVM TI).
> > For information on temporary workarounds contact: jvmpi_eol@sun.com
> > Error occurred during initialization of VM
> > -Xrun library failed to init: piAgent
> > Could not resolve to JVMPI interface
> >
> > I think the are no change.
> >
> > Regards,
> >
> > Tintin92
>
> You need to change the JRE used to *execute* your Java application under
> the profiler, not the JRE you use to *build* your application.
> If you're using the Integrated Agent Controller: select Window |
> Preferences | Agent Controller | Integrated Agent Controller and modify
> the JRE used.
> If you're using the standalone Agent Controller, run the <ac
> home>bin\SetConfig.bat script and modify the JRE.
>

I changed my Integrated Agent Controller:
Menu /Window / Preferences / Agent Controller | Integrated Agent Controller
Modify from jre 1.6.0_02 to jre1.5.0_06

Results with a run ( no Profile ):
With 1.6.0_02 :
my program start normaly.

With jre1.5.0_06 run or profile :
Console :

java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"

Regards,

Tintin92


> HTH,
> Asaf
>
> --
> Asaf Yaffe
> Eclipse TPTP Committer, JVMTI Profiler
Re: Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no [message #109487 is a reply to message #109280] Mon, 20 August 2007 06:57 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Tintin92 wrote:
> Results with a run ( no Profile ):
> With 1.6.0_02 :
> my program start normaly.
>
> With jre1.5.0_06 run or profile :
> Console :
>
> java.lang.UnsupportedClassVersionError: Bad version number in .class file
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$100(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> Exception in thread "main"

You are compiling your application for Java 6 (e.g., the "target"
version is 6.0). If you do not use any Java 6-specific feature, change
the compiler settings to produce Java 5 code. This will enable your Java
application to run on a Java 5 JVM.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:TPTP 4.4.0.2 is released!
Next Topic:TPTP Agent Controller troubles
Goto Forum:
  


Current Time: Tue Apr 23 07:24:20 GMT 2024

Powered by FUDForum. Page generated in 0.03231 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top