Skip to content

"org.apache.openjpa.persistence.TransactionRequiredException: There is no managed transaction in progress to sync this EntityManager with" - deploying in fabric #11

@pgfox

Description

@pgfox

Sometimes seeing

org.apache.openjpa.persistence.TransactionRequiredException: There is no managed transaction in progress to sync this EntityManager with.

It seems that the start order of the bundles are causing this exception. In fabric (JBoss Fuse 6.1) the only way to influence start order is to import/export OSGi services between bundles.

adding a pull request with sample update that worked around the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions