David Blevins wrote:
>
> Hi Jim,
>
> I'm not sure what would cause this issue. We should try isolating
> things so we can figure out where to look. First thing would be either:
>
>a. swap out the OpenJPA version in your OpenEJB 3.1 install with
> OpenJPA 1.0.1, or
>b. take your w
Hello,
I have a simple JPA EJB unit test that is failing with (bolded the root
error below ):
ScrapEjbTest
com.twcable.ivr.test.ScrapEjbTest
test1(com.twcable.ivr.test.ScrapEjbTest)
javax.ejb.EJBException: The bean encountered a non-application exception;
nested exception is:
org.
On Thu, 2008-11-20 at 18:17 +0100, Martin Vysny wrote:
> Hi guys,
> perhaps a strange question: is there an OpenEJB-specific way to detect
> if my code is currently being executed in a stateless session bean
> context (and get its SessionContext)? In pure J2EE this is not possible
> (unless you r
That's clear to me now. I added @javax.ejb.ApplicationException annotation
in my exception class and it works perfect now.
It's not the first time I ask a question on this list, and I always have
excellent answers. Thanks a lot for the time you took to explain this to me.
Olivier
2008/11/21 Manu
Hi Paul,
I am not sure about this. If you look into the iTests it seems to have
something similar in the RemoteiTests. I think some of the remote
clients are using @EJB. If anyone knows how to configure this, please
advise. Meanwhile let me try to figure out how this works
Regards
Manu
On Wed,
Hi Olivier,
Whenever a system exception is thrown by any of the session
bean's business methods the bean instance is discarded. In the case of
stateless session beans each method call goes to an instance in the
pool. It need not be the same instance. So even if the instance is
discarded th