Re: DBCP2 & Karaf

2017-07-05 Thread smunro
the ClassNotFound error when calling dataSource.getConnection(), but to be completely sure, I'll need to try hitting it from another bundle to be sure. -- View this message in context: http://karaf.922171.n3.nabble.com/DBCP2-Karaf-tp4050942p4050959.html Sent from the Karaf - User mailing list

Re: DBCP2 & Karaf

2017-07-05 Thread Timothy Ward
it later on. > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/DBCP2-Karaf-tp4050942p4050952.html > Sent from the Karaf - User mailing list archive at Nabble.com.

Re: DBCP2 & Karaf

2017-07-05 Thread Christian Schneider
.jira.com/wiki/display/PAXJDBC/Pooling+and+XA+support+for+DataSourceFactory https://ops4j1.jira.com/wiki/display/PAXJDBC/Pooling+and+XA+support+in+1.0.0 Christian On 04.07.2017 23:35, smunro wrote: Hello, I've got a question regarding DBCP2 & Karaf. When using DBCP2, I get a driver not found e

Re: DBCP2 & Karaf

2017-07-05 Thread smunro
.n3.nabble.com/DBCP2-Karaf-tp4050942p4050948.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: DBCP2 & Karaf

2017-07-04 Thread Jean-Baptiste Onofré
Hi Stephen, How do you use DBCP ? Via pax-jdbc, blueprint, your own bundle ? If you use in your bundle, you probably need to set the Thread Context Class Loader (TCCL). Regards JB On 07/04/2017 11:35 PM, smunro wrote: Hello, I've got a question regarding DBCP2 & Karaf. When using D

DBCP2 & Karaf

2017-07-04 Thread smunro
Hello, I've got a question regarding DBCP2 & Karaf. When using DBCP2, I get a driver not found error. If I use a straight Class.forName("org.h2.Driver") it works as expected. I'm not looking to use fragments at the moment as I need to get a working example quickly, but be