openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick" <michael.d.d...@gmail.com>
Subject Re: OpenJPA incompatibility with WebSphere container managed transaction
Date Fri, 15 Feb 2008 21:28:11 GMT
Hi Wendy,

I re-ran the test and I think I'm getting the same exception you are. I
don't remember seeing it earlier but it's possible that I missed it. I'm
sorry for the mis-information, I'll try to take a closer look over the
weekend.

On Fri, Feb 15, 2008 at 1:17 PM, Wendy Sent <wendysent@yahoo.com> wrote:

>
> Mike,
>
> Were you able to get the sample application running with openjpa-1.0.1.jar
> ?
> I was able to get it to work with openjpa-all-0.9.6-incubating.jar but
> when
> I switched openjpa-1.0.1.jar, I got the following exception:
>
> org.apache.openjpa.persistence.InvalidStateException: You have closed the
> EntityManager, though the persistence context will remain active until the
> current transaction commits
>
> I have included all the dependent libraries that come with
> openjpa-1.0.1.jar
> in my EAR. Any ideas?
>
> Thanks,
> Wendy
>
>
> Hi Stephen,
>
> I took a look at this article :
>
> http://www.ibm.com/developerworks/websphere/techjournal/0612_barcia/0612_barcia.html
> ,
> and I've been able to get the sample application running with container
> managed transactions. It looks like you're using the application client
> though, is that correct?
>
> Is there a particular reason why you don't want install the feature pack?
> It
> sounds like you have the client install already, and if you were to
> install
> the entire feature pack you'd avoid this problem, gain the benefits of the
> Transaction Sync Registry and extra container goodies (injection, etc).
>
> -Mike
>
>
> --
> View this message in context:
> http://www.nabble.com/OpenJPA-incompatibility-with-WebSphere-container-managed-transaction-tp15315097p15508264.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message