It appears you've set your persistence.xml up for JTA and Stripersist
doesn't support it (or something along those lines).
On Mon, Jun 4, 2012 at 1:02 PM, Geert Van Muylem <
geert.vanmuy...@be.zetes.com> wrote:
>
> Hi,
>
>
> I don't get the error anymore during deployment.
>
> I've based my code on the stripesbook from F. Daoud
>
> The Stripersist.getEntityManager() gives me the error
>
>
> 18:48:04,083 ERROR
> [net.sourceforge.stripes.exception.DefaultExceptionHandler]
> Unhandled exception in exception handler.: java.lang.IllegalStateException:
> A JTA EntityManager cannot use getTransaction()
> at
> org.hibernate.ejb.AbstractEntityManagerImpl.getTransaction
> (AbstractEntityManagerImpl.java:818)
> [:3.6.2.Final]
> at
>
> org.stripesstuff.stripersist.Stripersist.getEntityManager(Stripersist.java:574)
> [:151:153]
> at
>
> org.stripesstuff.stripersist.Stripersist.getEntityManager(Stripersist.java:601)
> [:151:153]
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users