You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick McGuire (JIRA)" <ji...@apache.org> on 2010/01/22 15:15:21 UTC

[jira] Commented: (OPENJPA-1478) OpenJPA is no longer available as an OSGi bundle

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

Rick McGuire commented on OPENJPA-1478:
---------------------------------------

Geronimo has a similar requirement for its 3.0 release.  We can repackage this if necessary, but a better solution would be to have the bundle manifest entries directly enabled in openjpa. 

> OpenJPA is no longer available as an OSGi bundle
> ------------------------------------------------
>
>                 Key: OPENJPA-1478
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1478
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: integration
>    Affects Versions: 2.0.0-M3
>         Environment: OSGi
>            Reporter: Timothy Ward
>
> The Apache Aries project is building an OSGi based application container that includes container JPA integration.
> OpenJPA 2.0.0-M3 was available as an OSGi bundle, but is using an old version of the JPA 2.0 API (ValidationMode is in the wrong package), and so throws NoSuchMethodError on calls to createContainerEntityManagerFactory. Unfortunately, the latest build snapshots of 2.0.0 are no longer OSGi bundles, which means that OpenJPA can no longer be used with Aries.
> I have two questions:
> Why is OpenJPA no longer available as an OSGi bundle?
> Will OpenJPA be available as an OSGi bundle in future, or should the Aries project re-package OpenJPA for use in the Aries container?
> For use with Aries it would also be ideal if the OpenJPA bundle registered the OpenJPA PersistenceProviderImpl as a service in the OSGi service registry, adding the implementation class name as a service property with the key "javax.persistence.provider".
> I would be happy to provide any assistance I can in re-enabling this functionality.

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