openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fay Wang <fyw...@yahoo.com>
Subject javaagent for PCEnhancer not working
Date Tue, 18 Dec 2007 20:02:12 GMT
Hi,
  
      I tried to use javaagent to invoke PCEnhancer at the run time, but got and error of
NoSuchMethodFound:
  
  -javaagent:E:\wsjpa\openjpa\openjpa-kernel-5\target\openjpa-kernel-5-1.1.0-SNAPSHOT.jar
  
  
  Exception in thread "main" java.lang.NoSuchMethodException:  org.apache.openjpa.enhance.InstrumentationFactory.premain(java.lang.String,
 java.lang.instrument.Instrumentation)
      at java.lang.Class.throwNoSuchMethodException(Class.java:274)
      at java.lang.Class.getMethod(Class.java:799)
      at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:154)
  
  Fatal error: processing of -javaagent failed
  
  Any help will be appreciated.
  
  Regards,
  Fay
  
  
       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message