Hi,

To add information to my post, I think my DataSource is really fine.

Indeed, when I do: 

jdbc:ds-list, I have the following result:



And when I do, for example, jdbc:tables, I see tables from my Oracle DB. So
the DataSource is OK, right?

So, do you agree my problem doesn't come from DataSource? 
But it doesn't explain the debug message I still see "The persistence unit
referentiel-unit in bundle nsis-common-referentiel-entity/0.0.1.SNAPSHOT
cannot be registered because no DataSourceFactory service for JDBC driver
oracle.jdbc.driver.OracleDriver exists." and the fail of the other bundle
which uses my entity+persistence bundle.

Does the main error,

Missing dependencies:
(&(&(org.apache.aries.jpa.proxy.factory=true)(osgi.unit.name=person))(objectClass=javax.persistence.EntityManagerFactory

can come from JPA problem? I saw several threads about bugs in
AriesJPA/Hibernate/etc. in OSGi envs.


Thanks a lot.
GFO



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to