ant doesn't buil dyou rapp since it depends on netbeans
about the jta datasource define a datasource in tomee.xml with JtaManaged =
true and check you rpersistence.xml is of transaction-type = JTA
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog:
On Thu, Apr 4, 2013 at 7:07 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote:
about the jta datasource define a datasource in tomee.xml with JtaManaged =
true and check you rpersistence.xml is of transaction-type = JTA
For an example of what Romain is talking about above, see below (copied
I have also to declare always the resource for non jta datasource with jta
false ?
Whi into petsistece.xml ir is necessary to specify bot jta-datasource and
nojtA-datasource?
What it is the difference from the datasource pooled getting from normal
tomcat ? I refer to datasource fir poolig
both are necessary since years since the jpa provider can use both (for
action not in a JTA context for instance). OpenJPA needs it for instance.
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog:
Understood.
Clarification (or what I meant to say), per my experience,
1. it is not necessary for 'tomee' users to add non-jta datasource in
persistence.xml
2. it is not necessary for 'tomee' users to add non-jta datasource in
tomee.xml
Why/proof? My latest/current persistence.xml includes the
Declare both in tomee.xml and reference them in persistence.xml.
Le 4 avr. 2013 19:57, mauro2java2011 mauro2java2...@gmail.com a écrit :
Finally i have to declare the non JTA datasource only into the tomee.xml
or
resources.xml with
JtaManaged false
or also into the persistence.xml?
into
According to your code, line 45 is:
out.println(
Servlet InserimentoServlet at + request.getContextPath() +
);
though it would be easier if you gist'd this since the lines don't
necessary match up correctly. But that would imply that the request is
null at this time. Can you gist