You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Charlie Mordant <cm...@gmail.com> on 2017/01/23 11:05:04 UTC
Karaf 4.1 pax-JDBC upgrade
Hi Guys,
WDYT of release Pax-Jdbc 1.0.0 (0.9-config is broken: it's impossible to
use pooling or tx) and including it in Karaf 4.1?
Best regards,
Charlie
--
Charlie Mordant
Full OSGI/EE stack made with Karaf:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent
Re: Karaf 4.1 pax-JDBC upgrade
Posted by Erwin Hogeweg <er...@me.com>.
Pretty sure:
Please ignore prev. msg.
g! b 141
org.ops4j.pax.jdbc.config_0.9.0 [141]
Id=141, Status=ACTIVE Data Root=.../plugins/configuration/org.eclipse.osgi/141/data
"Registered Services"
{org.osgi.service.cm.ManagedServiceFactory}={service.pid=org.ops4j.datasource, service.id=139, service.bundleid=141, service.scope=singleton}
{javax.sql.DataSource}={osgi.jdbc.driver.class=com.mysql.jdbc.Driver-pool, jdbc.pool.maxTotal=100, On Jan 23, 2017, at 09:14, Charlie Mordant
<cm...@gmail.com> wrote:
>
> Hi Erwin,
>
> Are you sure that you're using pax-jdbc config? https://github.com/ops4j/org.ops4j.pax.jdbc/commit/1f5571682bdaeaf2808cf4c6ae40d2d32d36ea82 <https://github.com/ops4j/org.ops4j.pax.jdbc/commit/1f5571682bdaeaf2808cf4c6ae40d2d32d36ea82>
>
> Regards,
> Charlie
>
> 2017-01-23 13:15 GMT+01:00 Erwin Hogeweg <erwin.hogeweg@me.com <ma...@me.com>>:
> I am using 0.9 successful with pooling. How is it broken?
>
> Kind Regards,
>
> Erwin
>
> > El ene. 23, 2017, a las 06:26, Jean-Baptiste Onofré <jb@nanthrax.net <ma...@nanthrax.net>> escribió:
> >
> > +1.
> >
> > I'm dealing the Pax Web release.
> >
> > For Pax JDBC 1.0.0 or 0.10.0 (whatever the version will be), please, let me know I will update in Karaf.
> >
> > By the way, I also improved the jdbc commands in Karaf to be able to deal with "old style" datasource.
> >
> > Regards
> > JB
> >
> >> On 01/23/2017 12:10 PM, Christian Schneider wrote:
> >> I just also discussed with JB about it. I am currently checking for a
> >> possible bug in pax-jdbc on master. As soon as I get it working we are
> >> ready for a release.
> >>
> >> Christian
> >>
> >>> On 23.01.2017 12:05, Charlie Mordant wrote:
> >>> Hi Guys,
> >>>
> >>> WDYT of release Pax-Jdbc 1.0.0 (0.9-config is broken: it's impossible
> >>> to use pooling or tx) and including it in Karaf 4.1?
> >>>
> >>> Best regards,
> >>> Charlie
> >>>
> >>> --
> >>> Charlie Mordant
> >>>
> >>> Full OSGI/EE stack made with Karaf:
> >>> <https://github.com/OsgiliathEnterprise/net.osgiliath.parent <https://github.com/OsgiliathEnterprise/net.osgiliath.parent>>https://github.com/OsgiliathEnterprise/net.osgiliath.parent <https://github.com/OsgiliathEnterprise/net.osgiliath.parent>
> >>
> >>
> >> --
> >> Christian Schneider
> >> http://www.liquid-reality.de <http://www.liquid-reality.de/>
> >>
> >> Open Source Architect
> >> http://www.talend.com <http://www.talend.com/>
> >>
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org <ma...@apache.org>
> > http://blog.nanthrax.net <http://blog.nanthrax.net/>
> > Talend - http://www.talend.com <http://www.talend.com/>
>
>
>
> --
> Charlie Mordant
>
> Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent <https://github.com/OsgiliathEnterprise/net.osgiliath.parent>
Re: Karaf 4.1 pax-JDBC upgrade
Posted by Erwin Hogeweg <er...@me.com>.
Pretty sure:
g! b 141
org.ops4j.pax.jdbc.config_0.9.0 [141]
Id=141, Status=ACTIVE Data Root=/Users/erwin/work/Seecago/Projects/EAST/branches/4.0/src/server/com.envera.east.server.product/target/GrandCentral-Server-4.0.2.2-SNAPSHOT/bin/plugins/configuration/org.eclipse.osgi/141/data
"Registered Services"
{org.osgi.service.cm.ManagedServiceFactory}={service.pid=org.ops4j.datasource, service.id=139, service.bundleid=141, service.scope=singleton}
{javax.sql.DataSource}={osgi.jdbc.driver.class=com.mysql.jdbc.Driver-pool, jdbc.pool.maxTotal=100, felix.fileinstall.filename=file:/Users/erwin/work/Seecago/Projects/EAST/branches/4.0/src/server/com.envera.east.server.product/target/GrandCentral-Server-4.0.2.2-SNAPSHOT/bin/conf/org.ops4j.datasource-envera.cfg, jdbc.pool.maxIdle=25, osgi.jndi.service.name=jdbc/eastnonjta, databaseName=envera, service.pid=org.ops4j.datasource.2c3655ea-f53c-4469-8377-1677c4b9b1d0, user=envera, service.factoryPid=org.ops4j.datasource, password=NoSoup4You, url=jdbc:mysql://envera_db_server:3306/envera, dataSourceName=jdbc/eastnonjta, service.id=144, service.bundleid=141, service.scope=singleton}
Services in use:
{org.osgi.service.jdbc.DataSourceFactory}={pooled=true, osgi.jdbc.driver.class=com.mysql.jdbc.Driver-pool, osgi.jdbc.driver.version=5.1.40, service.scope=singleton, osgi.jdbc.driver.name=com.mysql.jdbc-pool, service.bundleid=58, service.id=86}
No exported packages
Imported packages
javax.sql; version="0.0.0"<org.eclipse.osgi_3.10.2.v20150203-1939 [0]>
org.jasypt.encryption; version="1.9.2"<org.apache.servicemix.bundles.jasypt_1.9.2.1 [62]>
org.osgi.framework; version="1.8.0"<org.eclipse.osgi_3.10.2.v20150203-1939 [0]>
org.osgi.service.cm; version="1.5.0"<osgi.enterprise_5.0.0.201203141834 [7]>
org.osgi.service.jdbc; version="1.0.0"<osgi.enterprise_5.0.0.201203141834 [7]>
org.osgi.util.tracker; version="1.5.1"<org.eclipse.osgi_3.10.2.v20150203-1939 [0]>
org.slf4j; version="1.7.13"<org.ops4j.pax.logging.pax-logging-api_1.8.5 [8]>
No fragment bundles
Named class space
osgi.wiring.bundle; bundle-version:Version="0.9.0"; osgi.wiring.bundle="org.ops4j.pax.jdbc.config"[provided]
No required bundles
> On Jan 23, 2017, at 09:14, Charlie Mordant <cm...@gmail.com> wrote:
>
> Hi Erwin,
>
> Are you sure that you're using pax-jdbc config? https://github.com/ops4j/org.ops4j.pax.jdbc/commit/1f5571682bdaeaf2808cf4c6ae40d2d32d36ea82 <https://github.com/ops4j/org.ops4j.pax.jdbc/commit/1f5571682bdaeaf2808cf4c6ae40d2d32d36ea82>
>
> Regards,
> Charlie
>
> 2017-01-23 13:15 GMT+01:00 Erwin Hogeweg <erwin.hogeweg@me.com <ma...@me.com>>:
> I am using 0.9 successful with pooling. How is it broken?
>
> Kind Regards,
>
> Erwin
>
> > El ene. 23, 2017, a las 06:26, Jean-Baptiste Onofré <jb@nanthrax.net <ma...@nanthrax.net>> escribió:
> >
> > +1.
> >
> > I'm dealing the Pax Web release.
> >
> > For Pax JDBC 1.0.0 or 0.10.0 (whatever the version will be), please, let me know I will update in Karaf.
> >
> > By the way, I also improved the jdbc commands in Karaf to be able to deal with "old style" datasource.
> >
> > Regards
> > JB
> >
> >> On 01/23/2017 12:10 PM, Christian Schneider wrote:
> >> I just also discussed with JB about it. I am currently checking for a
> >> possible bug in pax-jdbc on master. As soon as I get it working we are
> >> ready for a release.
> >>
> >> Christian
> >>
> >>> On 23.01.2017 12:05, Charlie Mordant wrote:
> >>> Hi Guys,
> >>>
> >>> WDYT of release Pax-Jdbc 1.0.0 (0.9-config is broken: it's impossible
> >>> to use pooling or tx) and including it in Karaf 4.1?
> >>>
> >>> Best regards,
> >>> Charlie
> >>>
> >>> --
> >>> Charlie Mordant
> >>>
> >>> Full OSGI/EE stack made with Karaf:
> >>> <https://github.com/OsgiliathEnterprise/net.osgiliath.parent <https://github.com/OsgiliathEnterprise/net.osgiliath.parent>>https://github.com/OsgiliathEnterprise/net.osgiliath.parent <https://github.com/OsgiliathEnterprise/net.osgiliath.parent>
> >>
> >>
> >> --
> >> Christian Schneider
> >> http://www.liquid-reality.de <http://www.liquid-reality.de/>
> >>
> >> Open Source Architect
> >> http://www.talend.com <http://www.talend.com/>
> >>
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org <ma...@apache.org>
> > http://blog.nanthrax.net <http://blog.nanthrax.net/>
> > Talend - http://www.talend.com <http://www.talend.com/>
>
>
>
> --
> Charlie Mordant
>
> Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent <https://github.com/OsgiliathEnterprise/net.osgiliath.parent>
Re: Karaf 4.1 pax-JDBC upgrade
Posted by Charlie Mordant <cm...@gmail.com>.
Hi Erwin,
Are you sure that you're using pax-jdbc config?
https://github.com/ops4j/org.ops4j.pax.jdbc/commit/1f5571682bdaeaf2808cf4c6ae40d2d32d36ea82
Regards,
Charlie
2017-01-23 13:15 GMT+01:00 Erwin Hogeweg <er...@me.com>:
> I am using 0.9 successful with pooling. How is it broken?
>
> Kind Regards,
>
> Erwin
>
> > El ene. 23, 2017, a las 06:26, Jean-Baptiste Onofré <jb...@nanthrax.net>
> escribió:
> >
> > +1.
> >
> > I'm dealing the Pax Web release.
> >
> > For Pax JDBC 1.0.0 or 0.10.0 (whatever the version will be), please, let
> me know I will update in Karaf.
> >
> > By the way, I also improved the jdbc commands in Karaf to be able to
> deal with "old style" datasource.
> >
> > Regards
> > JB
> >
> >> On 01/23/2017 12:10 PM, Christian Schneider wrote:
> >> I just also discussed with JB about it. I am currently checking for a
> >> possible bug in pax-jdbc on master. As soon as I get it working we are
> >> ready for a release.
> >>
> >> Christian
> >>
> >>> On 23.01.2017 12:05, Charlie Mordant wrote:
> >>> Hi Guys,
> >>>
> >>> WDYT of release Pax-Jdbc 1.0.0 (0.9-config is broken: it's impossible
> >>> to use pooling or tx) and including it in Karaf 4.1?
> >>>
> >>> Best regards,
> >>> Charlie
> >>>
> >>> --
> >>> Charlie Mordant
> >>>
> >>> Full OSGI/EE stack made with Karaf:
> >>> <https://github.com/OsgiliathEnterprise/net.osgiliath.parent>https://
> github.com/OsgiliathEnterprise/net.osgiliath.parent
> >>
> >>
> >> --
> >> Christian Schneider
> >> http://www.liquid-reality.de
> >>
> >> Open Source Architect
> >> http://www.talend.com
> >>
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
>
--
Charlie Mordant
Full OSGI/EE stack made with Karaf:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent
Re: Karaf 4.1 pax-JDBC upgrade
Posted by Erwin Hogeweg <er...@me.com>.
I am using 0.9 successful with pooling. How is it broken?
Kind Regards,
Erwin
> El ene. 23, 2017, a las 06:26, Jean-Baptiste Onofré <jb...@nanthrax.net> escribió:
>
> +1.
>
> I'm dealing the Pax Web release.
>
> For Pax JDBC 1.0.0 or 0.10.0 (whatever the version will be), please, let me know I will update in Karaf.
>
> By the way, I also improved the jdbc commands in Karaf to be able to deal with "old style" datasource.
>
> Regards
> JB
>
>> On 01/23/2017 12:10 PM, Christian Schneider wrote:
>> I just also discussed with JB about it. I am currently checking for a
>> possible bug in pax-jdbc on master. As soon as I get it working we are
>> ready for a release.
>>
>> Christian
>>
>>> On 23.01.2017 12:05, Charlie Mordant wrote:
>>> Hi Guys,
>>>
>>> WDYT of release Pax-Jdbc 1.0.0 (0.9-config is broken: it's impossible
>>> to use pooling or tx) and including it in Karaf 4.1?
>>>
>>> Best regards,
>>> Charlie
>>>
>>> --
>>> Charlie Mordant
>>>
>>> Full OSGI/EE stack made with Karaf:
>>> <https://github.com/OsgiliathEnterprise/net.osgiliath.parent>https://github.com/OsgiliathEnterprise/net.osgiliath.parent
>>
>>
>> --
>> Christian Schneider
>> http://www.liquid-reality.de
>>
>> Open Source Architect
>> http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
Re: Karaf 4.1 pax-JDBC upgrade
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
+1.
I'm dealing the Pax Web release.
For Pax JDBC 1.0.0 or 0.10.0 (whatever the version will be), please, let
me know I will update in Karaf.
By the way, I also improved the jdbc commands in Karaf to be able to
deal with "old style" datasource.
Regards
JB
On 01/23/2017 12:10 PM, Christian Schneider wrote:
> I just also discussed with JB about it. I am currently checking for a
> possible bug in pax-jdbc on master. As soon as I get it working we are
> ready for a release.
>
> Christian
>
> On 23.01.2017 12:05, Charlie Mordant wrote:
>> Hi Guys,
>>
>> WDYT of release Pax-Jdbc 1.0.0 (0.9-config is broken: it's impossible
>> to use pooling or tx) and including it in Karaf 4.1?
>>
>> Best regards,
>> Charlie
>>
>> --
>> Charlie Mordant
>>
>> Full OSGI/EE stack made with Karaf:
>> <https://github.com/OsgiliathEnterprise/net.osgiliath.parent>https://github.com/OsgiliathEnterprise/net.osgiliath.parent
>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> http://www.talend.com
>
--
Jean-Baptiste Onofr�
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf 4.1 pax-JDBC upgrade
Posted by Christian Schneider <ch...@die-schneider.net>.
I just also discussed with JB about it. I am currently checking for a
possible bug in pax-jdbc on master. As soon as I get it working we are
ready for a release.
Christian
On 23.01.2017 12:05, Charlie Mordant wrote:
> Hi Guys,
>
> WDYT of release Pax-Jdbc 1.0.0 (0.9-config is broken: it's impossible
> to use pooling or tx) and including it in Karaf 4.1?
>
> Best regards,
> Charlie
>
> --
> Charlie Mordant
>
> Full OSGI/EE stack made with Karaf:
> https://github.com/OsgiliathEnterprise/net.osgiliath.parent
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com
Re: Karaf 4.1 pax-JDBC upgrade
Posted by Christian Schneider <ch...@die-schneider.net>.
Btw. For everyone planning to use pax-jdbc-config in the upcoming version.
Be aware that there are changes in the config syntax:
See
https://ops4j1.jira.com/wiki/display/PAXJDBC/Pooling+and+XA+support+in+1.0.0
Christian
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com