Well..was just testing incase the newer version had some undiscovered bugs.
2 more small things ...if I have read it correct syntax for javaagent is... -javaagent myPackage.myClass Do i need any more arguments like path to persistence .xml or stuff, thx for the attention, best wishes Patrick Linskey-2 wrote: > > Not from me -- I'm not much of a javaagent expert. > > However, why are you moving backwards in time, rather than forwards, > with the version change? > > -Patrick > > On 7/9/07, Janap <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> Thx for the tip. I added all the libraries to the classpath as well and >> also >> replaced with 0.9.7 with 0.9.6 incubating libraries. >> >> Now the problem is : >> >> Error occurred during initialization of VM >> agent library failed to init: instrument >> Error opening zip file: >> C:\Programme\Eclipse\workspace\OpenJPATest\web\WEB-INF\lib\openjpa-all-0.9.6-incubating.jar >> >> It seems that it cannot detect the jar file at all..i cross checked >> spellings and file location..any more suggestions? >> >> >> >> Patrick Linskey-2 wrote: >> > >> > Hi, >> > >> > You need to put OpenJPA's dependencies into the classpath as well. >> > >> > -Patrick >> > >> > On 7/9/07, Janap <[EMAIL PROTECTED]> wrote: >> >> >> >> Hello all, >> >> >> >> I am trying to run a simple Hello World OpenJPA application and need >> >> enhancing to my classes. >> >> My application is now a dynamic web project in Eclipse. >> >> >> >> I want to add enhancing ability through the java agent.For this in the >> >> Tomcat cofiguration i added.. >> >> >> >> >> -javaagent:C:\Programme\Eclipse\workspace\OpenJPATest\web\WEB-INF\lib\openjpa-0.9.7-incubating.jar >> >> mypackage.myclass >> >> >> >> I get the following exception : >> >> Caused by: java.lang.NoClassDefFoundError: >> >> org/apache/commons/lang/exception/NestableRuntimeException >> >> Exception in thread "main" FATAL ERROR in native method: processing of >> >> -javaagent failed >> >> >> >> Do I need to pass my persistent class as parameter or not...Can >> someone >> >> please point out my mistake. >> >> >> >> best wishes >> >> Jan >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Runtime-Enhancement-in-Eclipse-tf4049770.html#a11503057 >> >> Sent from the OpenJPA Users mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > -- >> > Patrick Linskey >> > 202 669 5907 >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Runtime-Enhancement-in-Eclipse-tf4049770.html#a11504139 >> Sent from the OpenJPA Users mailing list archive at Nabble.com. >> >> > > > -- > Patrick Linskey > 202 669 5907 > > -- View this message in context: http://www.nabble.com/Runtime-Enhancement-in-Eclipse-tf4049770.html#a11504394 Sent from the OpenJPA Users mailing list archive at Nabble.com.
