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,
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 us
22171.n3.nabble.com/DBCP2-Karaf-tp4050942p4050948.html
Sent from the Karaf - User mailing list archive at Nabble.com.
.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
as
I've been trying for a few weeks now with little success. I've not tried the
fragment approach as I am out of time for adding extras. I just need the
minimum working and can revisit it later on.
--
View this message in context:
http://karaf.922171.n3.nabble.com/DBCP2-Karaf-tp40509
gt;
>
> --
> 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.
as. I just need the
minimum working and can revisit 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.
--
Christian Schneider
http://www.liquid-reality.de
Open Source
d 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 ma