You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2011/08/04 21:46:30 UTC
[jira] [Assigned] (OWB-602) OpenWebBeans OpenEJB integration OSGi
bundle declares the wrong version for the javax.transaction package
[ https://issues.apache.org/jira/browse/OWB-602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg reassigned OWB-602:
---------------------------------
Assignee: David Blevins (was: Gurkan Erdogdu)
David, could you take a look at it please? txs!
> OpenWebBeans OpenEJB integration OSGi bundle declares the wrong version for the javax.transaction package
> ---------------------------------------------------------------------------------------------------------
>
> Key: OWB-602
> URL: https://issues.apache.org/jira/browse/OWB-602
> Project: OpenWebBeans
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Timothy Ward
> Assignee: David Blevins
>
> The OpenWebBeans OSGi bundle for integrating with OpenEJB declares a package import for javax.transaction at version 5.0.0. This is not the correct version for javax.transaction, which should be version 1.1.0.
> The correct version range for this import should be [1.1,2) or [1.1,1.2) if any javax.transaction interfaces are being implemented.
> This packaging error prevents the bundle from being able to be deployed correctly in an OSGi runtime.
> Other locations in the OpenWebBeans project import at version 1.1, which is correct, however they do not specify version ranges and they probably should.
> [Framework Event Dispatcher] DEBUG openwebbeans-openejb - FrameworkEvent ERROR
> org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.transaction; version="5.0.0"
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
> at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
> at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
> at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
> at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
> at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
> at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira