Karaf 4.0 and EclipseLink missing dependency [message #1705606] |
Mon, 17 August 2015 18:31 |
Timothy Vogel Messages: 82 Registered: July 2009 |
Member |
|
|
I have an unresolved dependency to aries jpa v1.0 when trying to use Eclipselink in karaf 4. I have no references that I can find to that service in my project.
Below are the karaf configuration changes and the persistence.xml from my bundle.
Any help would be greatly appreciated.
Dependency error
myEclipseLink (85)
--------------------------
Status: GracePeriod
Blueprint
8/16/15 4:21 PM
Missing dependencies:
(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://aries.apache.org/xmlns/jpa/v1.0.0))
karaf build
- standard download of karaf 4.0.0
- install -v jdbc
- install -v eclipselink
- bundle:install -s mvn:commons-collections/commons-collections/3.2.1
- bundle:install -s mvn:commons-beanutils/commons-beanutils/1.8.3
- bundle:install myEclipseLink
Persistence.xml
<?xml version="1.0" encoding="UTF-8" ?>
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
version="2.1">
<persistence-unit name="motordb" transaction-type="JTA">
<jta-data-source>osgi:service/javax.sql.DataSource/(osgi.jndi.service.name=MotorDB)</jta-data-source>
// class list here
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<property name="eclipse.weaving" value="false" />
<property name="eclipselink.logging.level.sql" value="FINEST" />
<property name="eclipselink.logging.parameters" value="true" />
</properties>
</persistence-unit>
</persistence>
|
|
|
Powered by
FUDForum. Page generated in 0.03706 seconds