Jeremy was doing some testing[1] of the javaagent on tomcat and ran into a number of issues... I'd highly recommend using build time enhancement if at all possible.
[1] https://issues.apache.org/jira/browse/OPENJPA-1590 -- Thanks, Rick On Mon, May 10, 2010 at 7:54 AM, n0weak <[email protected]> wrote: > > Well, I set openjpa-all-2.0.0.jar as javaagent, and all startup exceptions > are gone. Still there is no runtime optimization available, an exeption is > being throwed when accessing the database: > > Caused by: <openjpa-2.0.0-r422266:935683 nonfatal user error> > org.apache.openjpa.persistence.ArgumentException: This configuration > disallows runtime optimization, but the following listed types were not > enhanced at build time or at class load time with a javaagent: " > -- > View this message in context: > http://openjpa.208410.n2.nabble.com/openjpa-javaagent-enhancement-with-tomcat-tp5029993p5030389.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >
