users@glassfish.java.net

Re: spring and glassfish v2

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Wed, 26 Sep 2007 17:43:20 -0700

Carol,

This looks like an opposite to reported in another posting (
http://forums.java.net/jive/thread.jspa?messageID=228366).

thanks,
-marina

Carol McDonald wrote:
> I'm trying to run the application that I built for this blog
> http://weblogs.java.net/blog/caroljmcdonald/archive/2007/06/sample_applicat.html
> on Glassfish V2. It works fine when I run it on V1, but when I run it
> on V2 I get the
> following error:
>
> javax.el.ELException: org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException:
> Exception Description: Cannot use an EntityTransaction while using JTA.
>
> *
> *I was wondering has anyone else tried Spring (and JPA) with Glassfish V2 ?
> Carol