karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Two Karaf instances using one database
Date Thu, 07 Dec 2017 12:11:48 GMT
I guess you deploy the cfg file by hand (creating the cfg by hand).

In that case, to sync the cfg file on the second instance, you have to enable the local config
listener in the cellar node cfg file (it's disable by default).

Regards
JB

On Dec 7, 2017, 19:44, at 19:44, Dominik Marciniszyn <marciniszyn.dominik@gmail.com>
wrote:
>Only on first Karaf instance everything works well. On the second I see
>nothing. I was trying to declare other datasource but it won't help. I
>mean
>other datasource name.
>
>My config for ds looks:
>
>osgi.jdbc.driver.name=oracle-pool-xa
>url=jdbc:oracle:thin:@localhost:1521:XE
>user=user
>password=password
>databaseName=MyDB
>dataSourceName=my_persistence_unit
>
>The filename of this config is:
>"org.ops4j.datasource-my_persistence_unit.cfg"
>
>
>
>--
>Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Mime
View raw message