On Wed, Oct 24, 2012 at 12:08 AM, kganger <keith.e.ganger(a)lmco.com> wrote:
I am attempting to install the ldap application using
the extension manager.
I am operating behind a proxy. I have set the proxy settings using the java
system properties, and I am able to list / view extensions.
However when I try to install an extension I get an error that Could not
find extension dependency [org.xwiki.platform:xwiki-platform-ldap-api-4.0]
Full stack trace is below.
I am guessing this is related to
https://jira.xwiki.org/browse/XCOMMONS-280
Yes probably since org.xwiki.platform:xwiki-platform-ldap-api is on a
maven repository.
Is there a workaround?, something I can set to install this plugin.
Here are some workarounds I could think of to install
org.xwiki.platform:xwiki-platform-ldap-api
(
http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-ldap-api/);
* disable the proxy during the install ;)
* the old way: put the jar file in WEB-INF/lib/ folder instead of
installing it with Extension Manager (it will be a core extension
instead of an installed extension).
* have your own repository somewhere XWiki can access with the extension in it
* install org.xwiki.platform:xwiki-platform-ldap-api "by hand" in
Extension Manager local repository in <permanentDir>/extension/ folder
and restart so that it's loaded at init. Then
Then you can install the UI with Extension Manager since the proxy is
properly supported for
http://extension.xwiki.org repository in your
version.
Could not find extension dependency
[org.xwiki.platform:xwiki-platform-ldap-api-4.0]
class org.xwiki.extension.InstallException: Failed to resolve extension at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:684)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:383)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:295)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:225)
at
org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156) at
java.lang.Thread.run(Thread.java:662) Caused by: class
org.xwiki.extension.InstallException: Failed to resolve extension dependency
[org.xwiki.platform:xwiki-platform-ldap-api-4.0] at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:733)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:597)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:572)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:782)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:682)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:383)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:295)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:225)
at
org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156) at
java.lang.Thread.run(Thread.java:662) Caused by: class
org.xwiki.extension.ResolveException: Could not find extension dependency
[org.xwiki.platform:xwiki-platform-ldap-api-4.0] at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:177)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:731)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:597)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:572)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:782)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:682)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:383)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:295)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:225)
at
org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at
org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156) at
java.lang.Thread.run(Thread.java:662)
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Install-of-ldap-extension-fails-tp7581987…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne