I wonder if this is simply an issue that the Entity classes are loaded
*before* OpenEJB starts and is able to hand the persistence.xml data
to OpenJPA. If there are imports for the Entities in the TestCase
then this is likely what's happening.
You might try moving the test code around a
Gareth,
It still seems like the -javaagent is not taking effect. What version of
the surefire plugin are you using? If it's 2.3, you might be hitting the
problem in this Issue: http://jira.codehaus.org/browse/SUREFIRE-297. The
initial description sounds exactly like your situation.
Can you
I'm pretty sure this is the problem, and it is pretty common. The
problem is the persistence units are not processed until OpenEJB
starts and that is typically after the test class has loaded. The
persistence classes reference by the test class are loaded when the
test class is loaded,
On Jul 17, 2008, at 5:29 AM, the666pack wrote:
Hello,
i have a question regarding timeout values in openejb as the
documentation
is somewhat sparse:
the timeout for the stateless pool is defined as:
Specifies the time to wait between invocations. This
value is measured in milliseconds.