Thanks for the report. Let add pax-jdbc-postgresql. Regards JB
On 11/05/2015 12:17 PM, ellirael wrote:
There was a change with DataSource creation in Karaf 4. The new ds-create command creates configs fox pax-jdbc adapters for DataSourceFactories. But the current pax-jdbc-version 7.0 doesn't include an adapter for Postgres. The Postgress team coded their factory/adpater in their driver. But their code requires a little bit different config file. Needed: dataSourceName="test_postgres" osgi.jdbc.driver.name="PostgreSQL\ JDBC\ Driver-pool-xa" serverName="host" portNumber="5432" databaseName="n" user="u" password="p" Generated by ds-create: dataSourceName="test_postgres" osgi.jdbc.driver.name="PostgreSQL\ JDBC\ Driver-pool-xa" url="connection_string" user="u" password="p" The only way to setup Postgres connection I know is to go the bundle3 folder and manually change it. But I need to do this configuration in Karaf shell script. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-ds-create-command-creates-wrong-config-for-Postgres-tp4043304.html Sent from the Karaf - User mailing list archive at Nabble.com.
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
