You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2012/05/11 23:31:50 UTC

[jira] [Resolved] (SLING-2009) Webconsole install fails with "Unable to acquire global lock for resolve"

     [ https://issues.apache.org/jira/browse/SLING-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-2009.
----------------------------------------

    Resolution: Cannot Reproduce

Haven't seen that lately, marking "cannot reproduce" for now
                
> Webconsole install fails with "Unable to acquire global lock for resolve"
> -------------------------------------------------------------------------
>
>                 Key: SLING-2009
>                 URL: https://issues.apache.org/jira/browse/SLING-2009
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Bertrand Delacretaz
>         Attachments: error.log
>
>
> The testing/samples/integration-tests module failed in Hudson build 1127 [1], due to the installation of the org.apache.sling.junit.core bundle failing with the below stack trace.
> The integration tests install those bundles as soon as the Sling server is up (checked by requesting a few URLs like / and /.explorer.html, see logs) - should that wait until the webconsole/OSGi framework is ready for new installs, and how to check this?
> [1] https://hudson.apache.org/hudson/view/S-Z/view/Sling/job/sling-trunk-1.5/1127/
> Log excerpt (I'll attach the complete sling log):
> 01.03.2011 11:49:06.747 *INFO* [FelixDispatchQueue] org.apache.sling.junit.core BundleEvent INSTALLED
> 01.03.2011 11:49:06.752 *ERROR* [Background Install /tmp/install63068254848590030.tmp] org.apache.felix.http.jetty %bundles.pluginTitle: Cannot install or update bundle from /tmp/install63068254848590030.tmp (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.sling.junit.core [72]: Unable to acquire global lock for resolve.) org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.sling.junit.core [72]: Unable to acquire global lock for resolve.
>         at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
>         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)
>         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:909)
>         at org.apache.felix.webconsole.internal.core.InstallHelper.doRun(InstallHelper.java:67)
>         at org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.doRun(BaseUpdateInstallHelper.java:89)
>         at org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.run(BaseUpdateInstallHelper.java:121)
>         at java.lang.Thread.run(Thread.java:595)

--
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