Re: datasource & persistenceUnit configuration

2011-02-27 Thread Martin Mucha
Christopher, I'm sorry. I do read too much of walkthroughs and tutorials messing with tomcat configuration which ended badly, that I got myself into some mindless frenzy mode. I check everything once again in setup with resource-local transaction and found out, that I've overlooked misconfigured o

Re: datasource & persistenceUnit configuration

2011-02-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 2/20/2011 1:51 PM, Martin Mucha wrote: > Yes, I know I cannot use container managed EntityManager. Tomcat does > not support JTA, ok. But I should be able, also the article points it > out, to use application managed EntityManager with RESO

Re: datasource & persistenceUnit configuration

2011-02-20 Thread Martin Mucha
Thanks for superbly quick answer. I've read the article you've been referencing. Actually I found it earlier, but I did not help me, since the problem is elsewhere. Yes, I know I cannot use container managed EntityManager. Tomcat does not support JTA, ok. But I should be able, also the article po

RE: datasource & persistenceUnit configuration

2011-02-20 Thread Caldarale, Charles R
> From: Martin Mucha [mailto:alfon...@gmail.com] > Subject: datasource & persistenceUnit configuration > I got here WebApp, using JPA. I need to configure Tomcat > somehow, to be able to get EntityManager. Tomcat itself does not supply an EntityManager, as it is only a servlet container, not a