[
http://jira.amdatu.org/jira/browse/AMDATU-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivo Ladage - van Doorn reopened AMDATU-213:
-------------------------------------------
It seems that this commit broke the integration tests. Both locall and on
Bamboo I get this error when the UserAdminStoreTest is executed:
build 15-Dec-2010 14:25:52 ERROR: Error starting
file:bundles/org.amdatu.web.httpcontext_0.1.0.SNAPSHOT.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.amdatu.web.httpcontext [9]: Unable to resolve 9.0: missing requirement
[9.0] package; (package=org.amdatu.web.httpcontext) - [9.0] package;
(package=org.amdatu.web.httpcontext))
build 15-Dec-2010 14:25:52 org.osgi.framework.BundleException: Unresolved
constraint in bundle org.amdatu.web.httpcontext [9]: Unable to resolve 9.0:
missing requirement [9.0] package; (package=org.amdatu.web.httpcontext) - [9.0]
package; (package=org.amdatu.web.httpcontext)
build 15-Dec-2010 14:25:52 at
org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
build 15-Dec-2010 14:25:52 ERROR: FrameworkEvent ERROR
[org.amdatu.web.httpcontext]
build 15-Dec-2010 14:25:52 at
org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
build 15-Dec-2010 14:25:52 at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1188)
build 15-Dec-2010 14:25:52 org.osgi.framework.BundleException: Unresolved
constraint in bundle org.amdatu.web.httpcontext [9]: Unable to resolve 9.0:
missing requirement [9.0] package; (package=org.amdatu.web.httpcontext) - [9.0]
package; (package=org.amdatu.web.httpcontext)
build 15-Dec-2010 14:25:52 at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
build 15-Dec-2010 14:25:52 at java.lang.Thread.run(Thread.java:619)
build 15-Dec-2010 14:25:52 org.apache.felix.log.LogException:
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.amdatu.web.httpcontext [9]: Unable to resolve 9.0: missing requirement
[9.0] package; (package=org.amdatu.web.httpcontext) - [9.0] package;
(package=org.amdatu.web.httpcontext)
build 15-Dec-2010 14:25:52 at
org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
build 15-Dec-2010 14:25:52 at
org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
build 15-Dec-2010 14:25:52 at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1188)
build 15-Dec-2010 14:25:52 at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> Remove *;resolution:=optional from httpcontext bundle
> -----------------------------------------------------
>
> Key: AMDATU-213
> URL: http://jira.amdatu.org/jira/browse/AMDATU-213
> Project: Amdatu
> Issue Type: Bug
> Components: Amdatu Web
> Reporter: Angelo van der Sijpt
> Assignee: Angelo van der Sijpt
> Fix For: 0.1.0
>
>
> The *;resolution:=optional in this bundle causes potential NoClassDefFound
> errors when starting the bundle. We should remove the *;resolution:=optional
> , and in stead have explicit imports so the framework can do the resolving
> properly.
> Additionally, this bundle cannot be built unless there is a
> *;resolution:=optional directive present. This seems to have something to do
> with BND not being able to find all referenced classes while building the
> bundle.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira