Yes, I am using OpenEJB in tomcat.

I reinstalled everything from scratch and it worked now. I might have
done some mistake during installation. 

Thanks,

-Sanjay

-----Original Message-----
From: David Blevins [mailto:[email protected]] 
Sent: Wednesday, September 23, 2009 5:55 AM
To: [email protected]
Subject: Re: ERROR - JAVA AGENT NOT INSTALLED. The JPA Persistence
Provider requested installation of a ClassFileTransformer which requires
a JavaAgent.


On Sep 18, 2009, at 12:14 PM, Patel, Sanjay wrote:

> I am getting above error in my linux box and everything works fine in
> windows box. I didn't install it in my windows it was working  
> already. I
> think that it is required for OpenJPA. Is that true? For what else  
> it is
> required and how to resolve that error in linux box?

Right, it is only required for OpenJPA.  If you use Hibernate you'll  
never see that message.

This url should have been printed in the error message -- definitely  
let us know if it wasn't and we'll fix it:

   http://openejb.apache.org/3.0/javaagent.html

That should contain the info you need.  We can definitely improve that  
page too if you have suggestions or it doesn't really answer all your  
questions.

As for why you might see it on one box and not the other has me  
puzzled.  Are you using OpenEJB in Tomcat, embedded in a plain Java SE  
app, or as a stanalone server process?  Depending on the setup we  
could give you things to check for.


-David


Reply via email to