Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » failed to redefine 1 classes. JVMTI Error: 62
failed to redefine 1 classes. JVMTI Error: 62 [message #128347] Sat, 12 April 2008 13:54 Go to next message
Eclipse UserFriend
Originally posted by: cap_nemesis.hotmail.com

Hi,

I am trying to profile a web app using tomcat as standalone app and the
agent controller.

this is what I've found in the logs:
"...
Informative 04/12/08 09:58:23 640 0 CJVMTIInterface RedefineClasses: failed
to redefine 1 classes. JVMTI Error: 62

Error 04/12/08 09:58:23 640 0 CJavaInstrumentorManager RedefineClasses
failed. Instrumented classes may be in inconsistent state".

How do I find the class that is causing the problem, so I could try to
filter it out.

--
Regards,

Markus
Re: failed to redefine 1 classes. JVMTI Error: 62 [message #128371 is a reply to message #128347] Sun, 13 April 2008 10:00 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Markus Kühn wrote:
> Hi,
>
> I am trying to profile a web app using tomcat as standalone app and the
> agent controller.
>
> this is what I've found in the logs:
> "...
> Informative 04/12/08 09:58:23 640 0 CJVMTIInterface RedefineClasses: failed
> to redefine 1 classes. JVMTI Error: 62
>
> Error 04/12/08 09:58:23 640 0 CJavaInstrumentorManager RedefineClasses
> failed. Instrumented classes may be in inconsistent state".
>
> How do I find the class that is causing the problem, so I could try to
> filter it out.
>
Please specify the following information so we can better help:

1. Operating system version
2. Architecture (IA-32, AMD64/Intel EM64T, etc...)
3. TPTP Version
4. Agent Controller version
5. Java version (type java -version to check...)

Thanks,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: failed to redefine 1 classes. JVMTI Error: 62 [message #128397 is a reply to message #128371] Sun, 13 April 2008 17:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cap_nemesis.hotmail.com

Hi,

1. Operating system version:
Windows XP SP2
2. Architecture (IA-32, AMD64/Intel EM64T, etc...) IA-32
3. TPTP Version
TPTP-4.4.1
4. Agent Controller version
Version unkown; Filename: agntctrl.win_ia32-TPTP-4.4.1.zip
5. Java version (type java -version to check...)
SUN JDK 1.5.0_15

I hope this helps,
Markus

--
Mit freundlichen Gr
Re: failed to redefine 1 classes. JVMTI Error: 62 [message #129612 is a reply to message #128397] Tue, 29 April 2008 08:19 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Markus,

Can you please post the full log file (MLog*.log) to this newsgroup?

Thanks,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: failed to redefine 1 classes. JVMTI Error: 62 [message #131070 is a reply to message #128397] Tue, 10 June 2008 20:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chad.moller.objectpartners.com

Has anyone solved this problem? I am having the same issue, but I am using
the IAC and starting tomcat from Eclipse. Any assistance would be greatly
appreciated.

1. Operating system version: Windows XP SP2
2. Architecture: Intel EM64T
3. TPTP Version: TPTP-4.4.1
4. Agent Controller version - na
5. Java version SUN JDK 1.5.0_14

The last 15 lines of my log -

Informative 06/10/08 20:13:29 2408 5 CJVMTIInterface [ClassFileLoadHookHandler]
com/esri/adf/web/util/ADFServletContextListener, class loader = 00837014
Informative 06/10/08 20:13:29 2408 5 CJVMTIInterface [ClassFileLoadHookHandler]
java/lang/VerifyError, class loader = 00000000
Informative 06/10/08 20:13:29 2408 5 CDataManager Updated instrumentation
information for method '<init>(()V)' (id = 111091)
Informative 06/10/08 20:13:29 2408 5 CDataManager Updated instrumentation
information for method '<init>((Ljava/lang/String;)V)' (id = 111092)
Informative 06/10/08 20:13:29 2408 5 CDataManager Updated instrumentation
information for class 'java/lang/VerifyError' (id = 4851)
Informative 06/10/08 20:13:29 2408 3 CGAdaptor Class java/lang/VerifyError
was not instrumented because all its methods were excluded
Informative 06/10/08 20:13:29 2408 5 CJavaInstrumentorManager Using basic
instrumentation for class 4851 'java/lang/VerifyError'
Informative 06/10/08 20:13:29 2408 5 CJavaInstrumentorManager Instrumented
class 4851 'java/lang/VerifyError' will be returned to JVM
Informative 06/10/08 20:13:29 2408 5 CJVMTIInterface ClassPrepare event
received: class = 'Ljava/lang/VerifyError;', generic = '(null)'
Informative 06/10/08 20:13:29 2408 3 CGAdaptor Class java/lang/VerifyError
was not instrumented because all its methods were excluded
Informative 06/10/08 20:13:29 2408 0 CDataManager Class
'java/lang/VerifyError' has wrong instrumentation, but will not be
redefined due to user-defined filters or an internal reason
Informative 06/10/08 20:13:29 2408 0 CJVMTIInterface RedefineClasses:
failed to redefine 1 classes. JVMTI Error: 62

Error 06/10/08 20:13:29 2408 0 CJavaInstrumentorManager RedefineClasses
failed. Instrumented classes may be in inconsistent state
Re: failed to redefine 1 classes. JVMTI Error: 62 [message #131369 is a reply to message #131070] Tue, 17 June 2008 13:27 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Chad,

Can you please compress and post the full log file?

Thanks,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: failed to redefine 1 classes. JVMTI Error: 62 [message #131410 is a reply to message #131369] Tue, 17 June 2008 20:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chad.moller.objectpartners.com

<sarcasm>I'm getting told that we can't post the log file because it contains
ultra-sensitive information about our company such as class names </sarcasm>

Is there something specific I can look for that might help you? Or, if I
scrubbed all of our internal class names, would the file still be
valuable?

Thanks for your help!!
Re: failed to redefine 1 classes. JVMTI Error: 62 [message #131422 is a reply to message #131410] Wed, 18 June 2008 08:40 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Chad Moller wrote:
> <sarcasm>I'm getting told that we can't post the log file because it
> contains ultra-sensitive information about our company such as class
> names </sarcasm>
>
> Is there something specific I can look for that might help you? Or, if I
> scrubbed all of our internal class names, would the file still be valuable?
> Thanks for your help!!
>
The whole point in checking the log file is to determine which class
causes the JVMTI error :)

Can you please try to reproduce this error with the latest Release
Candidate version of TPTP 4.5 (download available in the TPTP web site
at http://www.eclipse.org/tptp). We have made several changes in this
version related to these issues, and you may find this version more
stable. Note that TPTP 4.5 requires Eclipse 3.4. A full list of
prerequisites is available in the TPTP download page.

Thanks,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: failed to redefine 1 classes. JVMTI Error: 62 [message #131473 is a reply to message #131422] Wed, 18 June 2008 21:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chad.moller.objectpartners.com

I will upgrade my Eclipse and TPTP installs and see what happens. If this
doesn't work, is it possible to get your personal contact information? I
might be able to get permission to give you the log file, but it sounds
like posting it publicly would be absolutely impossible.
Re: failed to redefine 1 classes. JVMTI Error: 62 [message #131918 is a reply to message #131473] Tue, 01 July 2008 14:29 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Chad Moller wrote:
> I will upgrade my Eclipse and TPTP installs and see what happens. If
> this doesn't work, is it possible to get your personal contact
> information? I might be able to get permission to give you the log file,
> but it sounds like posting it publicly would be absolutely impossible.
>

As it publicly appears in the "from" field of this message, my contact
information is asaf dot yaffe at intel dot com.

Regards,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:Agent Controller is not active
Next Topic:TPTP not showing all expected object
Goto Forum:
  


Current Time: Fri Nov 28 11:00:00 GMT 2014

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

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