openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bohn (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1524) ManagedRuntime does not work for OSGi
Date Thu, 25 Feb 2010 16:26:27 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838397#action_12838397
] 

Joe Bohn commented on OPENJPA-1524:
-----------------------------------

To work around this I've added the following property to my persistence.xml - so you will
need to use a name similar to this.

<property name="openjpa.ManagedRuntime" value="jndi(TransactionManagerName=aries:services/javax.transaction.TransactionManager)"/>

> ManagedRuntime does not work for OSGi
> -------------------------------------
>
>                 Key: OPENJPA-1524
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1524
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 2.0.0-beta
>            Reporter: Timothy Ward
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> In an OSGi runtime there is no TransactionManager registered in JNDI
> It is possible to use an osgi:services/ lookup, but it is much safer, and better practice
to look up the resource in the OSGi service registry.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message