On Mon, Oct 22, 2012 at 11:31 AM, Jeremie BOUSQUET <jeremie.bousq...@gmail.com> wrote: > Well, the only thing I can think of is putting in place a real network > proxy, ie an httpd as proxy on one machine and a firewall authorizing > connections only to/from that proxy on another machine ... > > However, I'm not sure from the logs below at startup, that you're > patched component was really taken into account, WDYT ? > > 2012-10-22 11:29:53,910 [main] WARN .c.a.ComponentAnnotationLoader - > Component > [org.xwiki.extension.repository.aether.internal.AetherExtensionRepositoryFactory] > which implements [role = [interface > org.xwiki.extension.repository.ExtensionRepositoryFactory] hint = > [maven]] tried to overwrite component > [org.xwiki.extension.repository.aether.internal.AetherExtensionRepositoryFactory]. > However, no action was taken since both components have the same > priority level of [1000]. > 2012-10-22 11:29:53,925 [main] WARN .c.a.ComponentAnnotationLoader - > Component > [org.xwiki.extension.repository.aether.internal.AetherExtensionRepositorySource] > which implements [role = [interface > org.xwiki.extension.repository.ExtensionRepositorySource] hint = > [default.aether]] tried to overwrite component > [org.xwiki.extension.repository.aether.internal.AetherExtensionRepositorySource]. > However, no action was taken since both components have the same > priority level of [1000]. > 2012-10-22 11:29:53,925 [main] WARN .c.a.ComponentAnnotationLoader - > Component > [org.xwiki.extension.repository.aether.internal.configuration.DefaultAetherConfiguration] > which implements [role = [interface > org.xwiki.extension.repository.aether.internal.configuration.AetherConfiguration] > hint = [default]] tried to overwrite component > [org.xwiki.extension.repository.aether.internal.configuration.DefaultAetherConfiguration]. > However, no action was taken since both components have the same > priority level of [1000]. > 2012-10-22 11:29:53,925 [main] WARN .c.a.ComponentAnnotationLoader - > Component > [org.xwiki.extension.repository.aether.internal.plexus.DefaultPlexusComponentManager] > which implements [role = [interface > org.xwiki.extension.repository.aether.internal.plexus.PlexusComponentManager] > hint = [default]] tried to overwrite component > [org.xwiki.extension.repository.aether.internal.plexus.DefaultPlexusComponentManager]. > However, no action was taken since both components have the same > priority level of [1000].
Thoses warning seems to indicate that you have duplicated jars. Did you removed the 4.2 one before putting the new one ? > > > Br, > Jeremie > > > 2012/10/22 Thomas Mortagne <thomas.morta...@xwiki.com>: >> Ok thanks. >> >> Looks like I need search how to setup a fake proxy to test that when I >> can find some time. If you have a suggestion to setup that in the >> meantime don't hesitate. >> >> On Mon, Oct 22, 2012 at 10:00 AM, Jeremie BOUSQUET >> <jeremie.bousq...@gmail.com> wrote: >>> Hello, >>> >>> Here are the logs : >>> >>> 2012-10-22 09:42:50,675 [New I/O client boss #25] DEBUG >>> h.c.p.n.NettyAsyncHttpProvider - Channel Closed: [id: 0x00cd9e86] with >>> attachment null >>> 2012-10-22 09:42:50,679 [New I/O client boss #25] DEBUG >>> n.h.c.p.n.NettyConnectListener - Trying to recover a dead cached >>> channel [id: 0x00cd9e86] with a retry value of false >>> 2012-10-22 09:42:50,679 [New I/O client boss #25] DEBUG >>> n.h.c.p.n.NettyConnectListener - Failed to recover from exception: >>> java.net.ConnectException: connection timed out with channel [id: >>> 0x00cd9e86] >>> 2012-10-22 09:42:50,679 [New I/O client boss #25] DEBUG >>> .DefaultPlexusComponentManager - onThrowable >>> java.net.ConnectException: connection timed out to >>> http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/platform/xwiki-platform-extension-repository-xwiki-server-api/4.1.4/xwiki-platform-extension-repository-xwiki-server-api-4.1.4.pom >>> at >>> com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:95) >>> ~[async-http-client-1.6.5.jar:na] >>> at >>> org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:381) >>> [netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:372) >>> [netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:334) >>> [netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:374) >>> [netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:283) >>> [netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) >>> [netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44) >>> [netty-3.2.5.Final.jar:na] >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >>> [na:1.6.0_11] >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >>> [na:1.6.0_11] >>> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_11] >>> Caused by: java.net.ConnectException: connection timed out >>> at >>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:371) >>> [netty-3.2.5.Final.jar:na] >>> ... 6 common frames omitted >>> 2012-10-22 09:42:50,685 [New I/O client boss #25] DEBUG >>> h.c.p.n.NettyAsyncHttpProvider - Unexpected I/O exception on channel >>> [id: 0x00cd9e86] >>> java.net.ConnectException: connection timed out >>> at >>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:371) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:283) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >>> [na:1.6.0_11] >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >>> [na:1.6.0_11] >>> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_11] >>> 2012-10-22 09:42:50,685 [New I/O client boss #25] DEBUG >>> h.c.p.n.NettyAsyncHttpProvider - Closing Channel [id: 0x00cd9e86] >>> 2012-10-22 09:42:50,713 >>> [http://varsovie.gemalto.com:8083/xwikitest/bin/get/XWiki/AddExtensions] >>> DEBUG aultExtensionRepositoryManager - Could not find extension >>> dependency >>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>> in repository [maven-xwiki >>> (http://nexus.xwiki.org/nexus/content/groups/public)] >>> org.xwiki.extension.ResolveException: Failed to resolve extension >>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>> descriptor >>> at >>> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:317) >>> ~[xwiki-commons-extension-repository-aether-4.1.4.jar:na] >>> at >>> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolve(AetherExtensionRepository.java:168) >>> ~[xwiki-commons-extension-repository-aether-4.1.4.jar:na] >>> at >>> org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:168) >>> ~[xwiki-commons-extension-api-4.1.4.jar:na] >>> at >>> org.xwiki.extension.internal.DefaultExtensionManager.resolveExtensionFromInstalled(DefaultExtensionManager.java:141) >>> [xwiki-commons-extension-api-4.1.4.jar:na] >>> at >>> org.xwiki.extension.internal.DefaultExtensionManager.resolveExtension(DefaultExtensionManager.java:124) >>> [xwiki-commons-extension-api-4.1.4.jar:na] >>> at >>> org.xwiki.extension.script.internal.ExtensionManagerScriptService.resolve(ExtensionManagerScriptService.java:242) >>> [xwiki-platform-extension-script-4.1.4.jar:na] >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> ~[na:1.6.0_11] >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> ~[na:1.6.0_11] >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> ~[na:1.6.0_11] >>> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_11] >>> at >>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) >>> [velocity-1.7.jar:1.7] >>> >>> [.......] >>> >>> Caused by: java.lang.reflect.InvocationTargetException: null >>> at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) >>> ~[na:na] >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> ~[na:1.6.0_11] >>> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_11] >>> at >>> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.loadPom(AetherExtensionRepository.java:417) >>> ~[xwiki-commons-extension-repository-aether-4.1.4.jar:na] >>> at >>> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:315) >>> ~[xwiki-commons-extension-repository-aether-4.1.4.jar:na] >>> ... 159 common frames omitted >>> Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: >>> Failed to read artifact descriptor for >>> org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api:jar:4.1.4 >>> at >>> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296) >>> ~[maven-aether-provider-3.0.4.jar:3.0.4] >>> ... 164 common frames omitted >>> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: >>> Could not transfer artifact >>> org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api:pom:4.1.4 >>> from/to maven-xwiki >>> (http://nexus.xwiki.org/nexus/content/groups/public): connection timed >>> out to >>> http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/platform/xwiki-platform-extension-repository-xwiki-server-api/4.1.4/xwiki-platform-extension-repository-xwiki-server-api-4.1.4.pom >>> at >>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) >>> ~[aether-impl-1.13.1.jar:na] >>> at >>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) >>> ~[aether-impl-1.13.1.jar:na] >>> at >>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) >>> ~[aether-impl-1.13.1.jar:na] >>> at >>> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281) >>> ~[maven-aether-provider-3.0.4.jar:3.0.4] >>> ... 164 common frames omitted >>> Caused by: org.sonatype.aether.transfer.ArtifactTransferException: >>> Could not transfer artifact >>> org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api:pom:4.1.4 >>> from/to maven-xwiki >>> (http://nexus.xwiki.org/nexus/content/groups/public): connection timed >>> out to >>> http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/platform/xwiki-platform-extension-repository-xwiki-server-api/4.1.4/xwiki-platform-extension-repository-xwiki-server-api-4.1.4.pom >>> at >>> org.sonatype.aether.connector.async.AsyncRepositoryConnector$3.wrap(AsyncRepositoryConnector.java:1546) >>> ~[aether-connector-asynchttpclient-1.13.1.jar:na] >>> at >>> org.sonatype.aether.connector.async.AsyncRepositoryConnector$3.wrap(AsyncRepositoryConnector.java:1537) >>> ~[aether-connector-asynchttpclient-1.13.1.jar:na] >>> at >>> org.sonatype.aether.connector.async.AsyncRepositoryConnector$GetTask.flush(AsyncRepositoryConnector.java:1035) >>> ~[aether-connector-asynchttpclient-1.13.1.jar:na] >>> at >>> org.sonatype.aether.connector.async.AsyncRepositoryConnector.get(AsyncRepositoryConnector.java:409) >>> ~[aether-connector-asynchttpclient-1.13.1.jar:na] >>> at >>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:457) >>> ~[aether-impl-1.13.1.jar:na] >>> ... 167 common frames omitted >>> Caused by: java.net.ConnectException: connection timed out to >>> http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/platform/xwiki-platform-extension-repository-xwiki-server-api/4.1.4/xwiki-platform-extension-repository-xwiki-server-api-4.1.4.pom >>> at >>> com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:95) >>> ~[async-http-client-1.6.5.jar:na] >>> at >>> org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:381) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:372) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:334) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:374) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:283) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >>> ~[na:1.6.0_11] >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >>> ~[na:1.6.0_11] >>> ... 1 common frames omitted >>> Caused by: java.net.ConnectException: connection timed out >>> at >>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:371) >>> ~[netty-3.2.5.Final.jar:na] >>> at >>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:283) >>> ~[netty-3.2.5.Final.jar:na] >>> ... 3 common frames omitted >>> >>> >>> >>> Br, >>> Jeremie >>> >>> 2012/10/19 Thomas Mortagne <thomas.morta...@xwiki.com>: >>>> Sure no problem. >>>> >>>> On Fri, Oct 19, 2012 at 6:02 PM, Jeremie BOUSQUET >>>> <jeremie.bousq...@gmail.com> wrote: >>>>> I will, but we'll have to wait next monday... >>>>> Le 19 oct. 2012 17:04, "Thomas Mortagne" <thomas.morta...@xwiki.com> a >>>>> écrit : >>>>> >>>>>> Could you enable debug log on class >>>>>> org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager >>>>>> to get the actual maven related error. >>>>>> >>>>>> On Fri, Oct 19, 2012 at 3:13 PM, Jeremie BOUSQUET >>>>>> <jeremie.bousq...@gmail.com> wrote: >>>>>> > Hi, >>>>>> > >>>>>> > Sorry for long delay, but I could just re-check that, and it's still >>>>>> > failing, but with slightly different message though: >>>>>> > >>>>>> > Non cached request >>>>>> > DefaultHttpRequest(chunked: false) >>>>>> > GET >>>>>> /nexus/content/groups/public/org/xwiki/platform/xwiki-platform-extension-repository-xwiki-server-api/4.1.4/xwiki-platform-extension-repository-xwiki-server-api-4.1.4.pom >>>>>> > HTTP/1.1 >>>>>> > Host: nexus.xwiki.org >>>>>> > Pragma: no-cache >>>>>> > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 >>>>>> > Accept-Encoding: gzip >>>>>> > Connection: keep-alive >>>>>> > User-Agent: XWikiExtensionManager >>>>>> > >>>>>> > using Channel >>>>>> > [id: 0x0022b9d7] >>>>>> > >>>>>> > Could not find extension dependency >>>>>> > >>>>>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>>>>> > in repository [maven-xwiki >>>>>> > (http://nexus.xwiki.org/nexus/content/groups/public)] >>>>>> > >>>>>> > Could not find extension dependency >>>>>> > >>>>>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>>>>> > >>>>>> > class org.xwiki.extension.InstallException: Failed to resolve extension >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:664) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:244) >>>>>> > 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:619) >>>>>> > Caused by: class org.xwiki.extension.InstallException: Failed to >>>>>> > resolve extension dependency >>>>>> > >>>>>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:714) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:577) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:552) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:743) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:662) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:244) >>>>>> > 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:619) >>>>>> > Caused by: class org.xwiki.extension.ResolveException: Could not find >>>>>> > extension dependency >>>>>> > >>>>>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>>>>> > at >>>>>> org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:177) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:712) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:577) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:552) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:743) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:662) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333) >>>>>> > at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:244) >>>>>> > 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:619) >>>>>> > >>>>>> > 2012/10/18 Jeremie BOUSQUET <jeremie.bousq...@gmail.com>: >>>>>> >> I'll test that tomorrow and keep you updated, >>>>>> >> >>>>>> >> Jeremie >>>>>> >> >>>>>> >> 2012/10/18 Thomas Mortagne <thomas.morta...@xwiki.com>: >>>>>> >>> Would be great if you could test the last version of >>>>>> >>> >>>>>> http://maven.xwiki.org/snapshots/org/xwiki/commons/xwiki-commons-extension-repository-maven/4.3-SNAPSHOT/ >>>>>> >>> and tell me if it's any better. >>>>>> >>> >>>>>> >>> On Thu, Oct 18, 2012 at 11:37 AM, Jeremie BOUSQUET >>>>>> >>> <jeremie.bousq...@gmail.com> wrote: >>>>>> >>>> Thanks Thomas, that's what I realized also. I'll have to install it >>>>>> >>>> from home meanwhile ;-) >>>>>> >>>> >>>>>> >>>> 2012/10/18 Thomas Mortagne <thomas.morta...@xwiki.com>: >>>>>> >>>>> Created https://jira.xwiki.org/browse/XCOMMONS-280 >>>>>> >>>>> >>>>>> >>>>> AETHER does not take into account default JAVA proxy so I need to >>>>>> find >>>>>> >>>>> a way to convert it to AETHER Proxy. >>>>>> >>>>> >>>>>> >>>>> On Wed, Oct 17, 2012 at 6:05 PM, Thomas Mortagne >>>>>> >>>>> <thomas.morta...@xwiki.com> wrote: >>>>>> >>>>>> Well both are HTTP repositories so it should be exactly the same >>>>>> thing. >>>>>> >>>>>> >>>>>> >>>>>> Maybe there is a bug in AETHER that does not really go through the >>>>>> >>>>>> standard proxy. >>>>>> >>>>>> >>>>>> >>>>>> Trying to look at how they connect to HTTP. >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Oct 17, 2012 at 5:45 PM, Jeremie BOUSQUET >>>>>> >>>>>> <jeremie.bousq...@gmail.com> wrote: >>>>>> >>>>>>> Could there be a distinct way of specifying network proxy >>>>>> depending on >>>>>> >>>>>>> extension repository (nexus/aether or xwiki) ? >>>>>> >>>>>>> I've set it both as http_proxy env variable and in JAVA_OPTS... >>>>>> From >>>>>> >>>>>>> the logs it's clear that it goes through proxy for connections to >>>>>> >>>>>>> xwiki repo, for nexus I don't know. >>>>>> >>>>>>> >>>>>> >>>>>>> 2012/10/17 Thomas Mortagne <thomas.morta...@xwiki.com>: >>>>>> >>>>>>>> Forget that actually the 404 on extensions.xwiki.org is >>>>>> perfectly normal indeed. >>>>>> >>>>>>>> >>>>>> >>>>>>>> Now I don't see why you get an error from nexus repository, I >>>>>> >>>>>>>> installed the same extension on xwiki.org 1h ago. >>>>>> >>>>>>>> >>>>>> >>>>>>>> On Wed, Oct 17, 2012 at 5:21 PM, Thomas Mortagne >>>>>> >>>>>>>> <thomas.morta...@xwiki.com> wrote: >>>>>> >>>>>>>>> The last version on extensions.xwiki.org is 4.2 now so you >>>>>> should not >>>>>> >>>>>>>>> get an error about 4.1.4. >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> On Wed, Oct 17, 2012 at 5:17 PM, Jeremie BOUSQUET >>>>>> >>>>>>>>> <jeremie.bousq...@gmail.com> wrote: >>>>>> >>>>>>>>>> Just retried, but got same result ... >>>>>> >>>>>>>>>> >>>>>> >>>>>>>>>> 2012/10/17 Thomas Mortagne <thomas.morta...@xwiki.com>: >>>>>> >>>>>>>>>>> You just picked a bad timing, should be OK now. >>>>>> >>>>>>>>>>> >>>>>> >>>>>>>>>>> But note that there is a less visible bug after you installed >>>>>> the >>>>>> >>>>>>>>>>> repository with EM, see >>>>>> http://jira.xwiki.org/browse/XWIKI-8329 for >>>>>> >>>>>>>>>>> details. >>>>>> >>>>>>>>>>> >>>>>> >>>>>>>>>>> On Wed, Oct 17, 2012 at 5:00 PM, Jeremie BOUSQUET >>>>>> >>>>>>>>>>> <jeremie.bousq...@gmail.com> wrote: >>>>>> >>>>>>>>>>>> Hello, >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> I'm trying to install the Extension Repository Application >>>>>> >>>>>>>>>>>> in >>>>>> my wiki, >>>>>> >>>>>>>>>>>> in order to test importing, updating, and installation of my >>>>>> own >>>>>> >>>>>>>>>>>> extension (before pushing it to xwiki.org) >>>>>> >>>>>>>>>>>> I'm on xwiki 4.1.4. >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> When trying to install the ExRApp from extension manager, it >>>>>> fails to >>>>>> >>>>>>>>>>>> find a dependency >>>>>> >>>>>>>>>>>> (xwiki-platform-extension-repository-xwiki-server-api): >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> From the install plan logs, the following returns 404: >>>>>> >>>>>>>>>>>> "GET >>>>>> http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.platform%3Axwiki-platform-extension-repository-xwiki-server-api/versions/4.1.4 >>>>>> >>>>>>>>>>>> HTTP/1.1[\r][\n]" >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> That seems normal since it's not published to the extension >>>>>> repository >>>>>> >>>>>>>>>>>> on xwiki.org. >>>>>> >>>>>>>>>>>> After that I suppose it tries the next configured repository >>>>>> (xwiki >>>>>> >>>>>>>>>>>> nexus) but that also fails: >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> Could not find extension dependency >>>>>> >>>>>>>>>>>> >>>>>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>>>>> >>>>>>>>>>>> in repository [maven-xwiki >>>>>> >>>>>>>>>>>> (http://nexus.xwiki.org/nexus/content/groups/public)] >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> class org.xwiki.extension.ResolveException: Failed to >>>>>> >>>>>>>>>>>> resolve >>>>>> >>>>>>>>>>>> extension >>>>>> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4] >>>>>> >>>>>>>>>>>> descriptor >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:317) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolve(AetherExtensionRepository.java:168) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:168) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:712) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:577) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:552) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:743) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:662) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333) >>>>>> >>>>>>>>>>>> at >>>>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:236) >>>>>> >>>>>>>>>>>> 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:619) >>>>>> >>>>>>>>>>>> Caused by: $throwable.class: null >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> Surprising, because it's there on http://nexus.xwiki.org ... >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> Thanks for help, >>>>>> >>>>>>>>>>>> Jeremie >>>>>> >>>>>>>>>>>> >>>>>> >>>>>>>>>>>> Side Note: I was a bit surprised to see that updating >>>>>> logback.xml to >>>>>> >>>>>>>>>>>> have most logs at "debug" level, impacts the install plan >>>>>> displayed by >>>>>> >>>>>>>>>>>> the extension manager. For example now it dumps all details >>>>>> >>>>>>>>>>>> of >>>>>> >>>>>>>>>>>> performed http requests, and I'm pretty sure it didn't with >>>>>> untouched >>>>>> >>>>>>>>>>>> logback.xml. Not sure if I find it nice or not, but I >>>>>> wondered if this >>>>>> >>>>>>>>>>>> is expected... I suppose it's because extension manager >>>>>> captures part >>>>>> >>>>>>>>>>>> of the logs. >>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>> >>>>>>>>>>>> users mailing list >>>>>> >>>>>>>>>>>> users@xwiki.org >>>>>> >>>>>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>>>>>>>>>> >>>>>> >>>>>>>>>>> >>>>>> >>>>>>>>>>> >>>>>> >>>>>>>>>>> -- >>>>>> >>>>>>>>>>> Thomas Mortagne >>>>>> >>>>>>>>>>> _______________________________________________ >>>>>> >>>>>>>>>>> users mailing list >>>>>> >>>>>>>>>>> users@xwiki.org >>>>>> >>>>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>>>>>>>>> _______________________________________________ >>>>>> >>>>>>>>>> users mailing list >>>>>> >>>>>>>>>> users@xwiki.org >>>>>> >>>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> >>>>>> >>>>>>>>> -- >>>>>> >>>>>>>>> Thomas Mortagne >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> >>>>>> >>>>>>>> -- >>>>>> >>>>>>>> Thomas Mortagne >>>>>> >>>>>>>> _______________________________________________ >>>>>> >>>>>>>> users mailing list >>>>>> >>>>>>>> users@xwiki.org >>>>>> >>>>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>>>>>> _______________________________________________ >>>>>> >>>>>>> users mailing list >>>>>> >>>>>>> users@xwiki.org >>>>>> >>>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Thomas Mortagne >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> -- >>>>>> >>>>> Thomas Mortagne >>>>>> >>>>> _______________________________________________ >>>>>> >>>>> users mailing list >>>>>> >>>>> users@xwiki.org >>>>>> >>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>>> _______________________________________________ >>>>>> >>>> users mailing list >>>>>> >>>> users@xwiki.org >>>>>> >>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> -- >>>>>> >>> Thomas Mortagne >>>>>> >>> _______________________________________________ >>>>>> >>> users mailing list >>>>>> >>> users@xwiki.org >>>>>> >>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> > _______________________________________________ >>>>>> > users mailing list >>>>>> > users@xwiki.org >>>>>> > http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Thomas Mortagne >>>>>> _______________________________________________ >>>>>> users mailing list >>>>>> users@xwiki.org >>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>>>> _______________________________________________ >>>>> users mailing list >>>>> users@xwiki.org >>>>> http://lists.xwiki.org/mailman/listinfo/users >>>> >>>> >>>> >>>> -- >>>> Thomas Mortagne >>>> _______________________________________________ >>>> users mailing list >>>> users@xwiki.org >>>> http://lists.xwiki.org/mailman/listinfo/users >>> _______________________________________________ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users