You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Bellski <h....@gmail.com> on 2017/06/13 12:51:19 UTC

JDBC Pool problem

Hello. Can't understand how to make pooled datasource.

installed pax-jdbc-pool-dbcp2, pax-jdbc-config and etc

I make org.ops4j.pool.datasource-db.cfg
osgi.jdbc.driver.name = PostgreSQL JDBC Driver-pool
dataSourceName=db
serverName = localhost
portNumber = 5432
databaseName = db
user = user
password = user


and nothing

2017-06-13T15:45:13,717 | INFO  |
fileinstall-E:\projects\cas_10_02_2017\tool\ae-karaf\karaf\target\assembly\etc
| fileinstall                      | 6 - org.apache.felix.fileinstall -
3.5.8 | Creating configuration from org.ops4j.pool.datasource-cas2db.cfg

I read this post 
http://karaf.922171.n3.nabble.com/Problem-with-Karaf-4-0-3-and-Postgres-db-td4044862.html
did the same and nothing ;/







--
View this message in context: http://karaf.922171.n3.nabble.com/JDBC-Pool-problem-tp4050699.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: JDBC Pool problem

Posted by Christian Schneider <ch...@die-schneider.net>.
Maybe you use pax-jdbc 1.x. There the pooling config changed slightly:
https://ops4j1.jira.com/wiki/display/PAXJDBC/Pooling+and+XA+support+in+1.0.0

Christian

2017-06-13 14:51 GMT+02:00 Bellski <h....@gmail.com>:

> Hello. Can't understand how to make pooled datasource.
>
> installed pax-jdbc-pool-dbcp2, pax-jdbc-config and etc
>
> I make org.ops4j.pool.datasource-db.cfg
> osgi.jdbc.driver.name = PostgreSQL JDBC Driver-pool
> dataSourceName=db
> serverName = localhost
> portNumber = 5432
> databaseName = db
> user = user
> password = user
>
>
> and nothing
>
> 2017-06-13T15:45:13,717 | INFO  |
> fileinstall-E:\projects\cas_10_02_2017\tool\ae-karaf\
> karaf\target\assembly\etc
> | fileinstall                      | 6 - org.apache.felix.fileinstall -
> 3.5.8 | Creating configuration from org.ops4j.pool.datasource-cas2db.cfg
>
> I read this post
> http://karaf.922171.n3.nabble.com/Problem-with-Karaf-4-0-3-
> and-Postgres-db-td4044862.html
> did the same and nothing ;/
>
>
>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.
> com/JDBC-Pool-problem-tp4050699.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 
-- 
Christian Schneider
http://www.liquid-reality.de
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de>

Open Source Architect
http://www.talend.com
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>