karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francois Papon <francois.pa...@openobject.fr>
Subject Re: Two Karaf instances using one database
Date Thu, 07 Dec 2017 11:49:42 GMT
Your instance are deployed on the same machine (just to confirm because
your database url is localhost) ?

Do you have the same feature installed and started, same jdbc oracle
drivers ?

It seems like bundle or feature are missing in your second instance.


Le 07/12/2017 à 15:44, Dominik Marciniszyn a écrit :
> 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