On 12-1-2012 23:09, Daniel Ruan wrote:
Hi Marcus,
Thanks for sharing. How did you configure connection pooling if you use a
straight jdbc connection?
Regards,
Daniel
I have also the same when I set up a Datasource for jndi but the other way
around. it asks for me define the jpa even though the Setup is for a
Datasource(jndi). Since this wasn't very clear then I stopped using the
datasource and reverted just to a straight jdbc connection. that didn't ask
for any of the others. Not sure if there is a roller property where you
have to define which type of db access you are using,
cheers
Marcus
-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2012.0.1901 / Virusdatabase: 2109/4738 - datum van uitgifte:
01/12/12
-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2012.0.1901 / Virusdatabase: 2109/4738 - datum van uitgifte: 01/12/12
Hi Daniel,
I don;t have connection pooling becuase the setup is always asking for
these JPA properties. The only way it works for me is if the
connectionType property is set to jdbc
Have you got the connectionType property set to jndi ?
Have you verified you actually have connection pooling ? I think
probably it is just using your jpa setting and not using the tomcat
pooling with your jndi context,
cheers
Marcus