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
hat. Could you help me with that configuration? Just ask me for anything you need to know to be able to create valid configuration for tomcat 6 (if those information from posted persistence.xml are not sufficient). thank you. martin. 2011/2/20 Caldarale, Charles R : >> From: Martin Mucha [ma

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

datasource & persistenceUnit configuration

2011-02-20 Thread Martin Mucha
Hi, I'm using tomcat-6.0.32 on linux. I primarily use different AS (fully J2EE compliant) so this the result of my lack of knowledge about Tomcat. I got here WebApp, using JPA. I need to configure Tomcat somehow, to be able to get EntityManager. That's the whole problem ;) I found almost NO infor