-
Bug
-
Resolution: Answered
-
Medium
-
None
-
2.10, 2.10.1, 2.10.2
-
None
-
Ubuntu Linux 8.04/8.10, x32/x64, Java 5/6
When starting the integration test for my plugin (Newcode macro) using the atlassian PDK , the plugin fails to load due to unresolved dependencies in the OSGi environment. However, when using pluginVersion="1" (or no plugin version, so no OSGi), the exact same error messages show up in the log file, so the problems does not seem to be in my plugin, but in the confluence environment.
Stacktrace in output.log during integration testing:
2009-05-04 22:40:28,348 ERROR [FelixDispatchQueue] [osgi.container.felix.FelixOsgiContainerManager] frameworkEvent Framework error in bundle org.springframework.bundle.osgi.extender
org.osgi.framework.BundleException: Unresolved constraint in bundle 2: package; (&(package=org.apache.log4j)(version>=1.2.15)(!(version>=2.0.0)))
at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1725)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1135)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:267)
at java.lang.Thread.run(Thread.java:619)
Originally reported @ http://confluence.atlassian.com/display/DOC/Converting+a+Plugin+to+Plugin+Framework+2?focusedCommentId=188514384#comment-188514384
This bug can easily be reproduced using the Newcode macro. Version 1.9.0 is probably the best to test it with, as this is the smallest version, without a lot of extra features.
[CONFSERVER-15639] pluginVersion 2 plugins (OSGi) fail to load due to unresolved dependencies in integration test
Workflow | Original: JAC Bug Workflow v3 [ 2897825 ] | New: CONFSERVER Bug Workflow v4 [ 2992373 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2789741 ] | New: JAC Bug Workflow v3 [ 2897825 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2719797 ] | New: JAC Bug Workflow v2 [ 2789741 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388923 ] | New: JAC Bug Workflow [ 2719797 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2266061 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388923 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209642 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2266061 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194871 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209642 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1929199 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194871 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1730609 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1929199 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1694613 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1730609 ] |