That's the persistence.xml,  not the blueprint.

The problem seems in your blueprint where you use <jpa:context/>.

Regards
JB

On 07/06/2018 15:32, ceugster wrote:
> ... and the blueprint is:
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> <persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
> http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"; version="2.0"
> xmlns="http://java.sun.com/xml/ns/persistence";>
>       <persistence-unit name="herakles">
>               
> <jta-data-source>osgi.service/jdbc/xaheraklesdb</jta-data-source>
>               
> <non-jta-data-source>osgi.service/jdbc/heraklesdb</non-jta-data-source>
>               
> <class>ch.eugster.herakles.persistence.jpa.util.URIConverter</class>
>               
> <class>ch.eugster.herakles.persistence.jpa.util.UUIDConverter</class>
> 
>               
> <class>ch.eugster.herakles.persistence.jpa.model.JpaAbstractEntity</class>
>               
> <class>ch.eugster.herakles.persistence.jpa.model.JpaPermission</class>
>               
> <class>ch.eugster.herakles.persistence.jpa.model.JpaRolePermission</class>
>               
> <class>ch.eugster.herakles.persistence.jpa.model.JpaSystemRole</class>
>               
> <class>ch.eugster.herakles.persistence.jpa.model.JpaSystemUser</class>
>               <exclude-unlisted-classes>true</exclude-unlisted-classes>
>       </persistence-unit>
> </persistence>
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to