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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/02 23:23:27 UTC
[jira] [Resolved] (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 resolved OWB-602.
-------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.2.0)
1.1.4
openwebbeans-openejb got removed, thus we don't need to fix it anymore ;)
> 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
> Fix For: 1.1.4
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira