archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: Archiva indexes for multiple repo groups/3rd party proxies...
Date Tue, 18 Sep 2012 07:24:04 GMT
Hi,
I'm currently updating documentation with new UI screenshots
(http://archiva.apache.org/docs/1.4-M3-SNAPSHOT/)
Once is done, I will start the release stuff.

2012/9/18 Harris, Christopher P <chris_harris@baxter.com>:
> Hi, Jeff.
>
> I've been working off of the js-1.4-M3 version.  It's pretty stable.
>
> https://builds.apache.org/view/A-F/view/Archiva/job/archiva-all-maven-3.x-jdk-1.6/?auto_refresh=true
>
>  - Chris Harris
>
> -----Original Message-----
> From: Jeff [mailto:predatorvi@gmail.com]
> Sent: Monday, September 17, 2012 7:20 PM
> To: users@archiva.apache.org
> Subject: Re: Archiva indexes for multiple repo groups/3rd party proxies...
>
> Where is Archiva in terms of the next Release Candidate build?
>
> Just curious.  I'm currently running 1.4-M2 is a mostly-production role and
> want to get a number of the fixes available (including this one) but need
> it to be quasi stable.
>
> Thanks!!
>
> On Tue, Aug 7, 2012 at 5:21 PM, Olivier Lamy <olamy@apache.org> wrote:
>
>> I have committed a hack in trunk.
>> Don't miss to vote here: https://issues.sonatype.org/browse/MVNCENTRAL-229:-)
>>
>>
>> 2012/8/8 Olivier Lamy <olamy@apache.org>:
>> > so it looks central repo doesn't accept anymore empty User-Agent see
>> > https://issues.sonatype.org/browse/MVNCENTRAL-229
>> > I will try to add a hack in trunk.
>> >
>> >
>> > 2012/8/8 Jeff <predatorvi@gmail.com>:
>> >> Nice...thanks for spending the time to look at it!
>> >>
>> >> On Tue, Aug 7, 2012 at 4:20 PM, Olivier Lamy <olamy@apache.org> wrote:
>> >>
>> >>> ok reproduced.
>> >>> It looks something has changed on the central repository regarding
>> >>> karma...............
>> >>>
>> >>>
>> >>> 2012/8/8 Jeff <predatorvi@gmail.com>:
>> >>> > Doing curl from the Archiva server yields success:
>> >>> >
>> >>> > [root@PRDSLVLDNAARC01 conf]# curl -I
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> >
>> >>> > HTTP/1.1 200 OK
>> >>> >
>> >>> > Accept-Ranges: bytes
>> >>> >
>> >>> > Content-Type: application/octet-stream
>> >>> >
>> >>> > Date: Tue, 07 Aug 2012 22:05:16 GMT
>> >>> >
>> >>> > Last-Modified: Sun, 15 Jul 2012 10:54:57 GMT
>> >>> >
>> >>> > Server: ECAcc (sjc/4EB5)
>> >>> >
>> >>> > X-Cache: HIT
>> >>> >
>> >>> > Content-Length: 1130
>> >>> >
>> >>> >
>> >>> > Archiva still fails.  Here is a chunk of log that I believe has all
>> the
>> >>> > debug info requested.  I hope it is helpful.
>> >>> >
>> >>> > 2012-08-07 15:52:43,885 [http-8080-4] INFO
>> >>> >
>> >>>
>>  org.apache.archiva.scheduler.indexing.DefaultDownloadRemoteIndexScheduler
>> >>> >  - schedule download remote index for repository central
>> >>> > 2012-08-07 15:52:43,885 [taskScheduler#indexDownloadRemote-2] INFO
>> >>> >  org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask  -
>> start
>> >>> > download remote index for remote repository central
>> >>> > 2012-08-07 15:52:43,889 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Invoking handleMessage
>> on
>> >>> > interceptor
>> org.apache.cxf.interceptor.OutgoingChainInterceptor@118c6e58
>> >>> > 2012-08-07 15:52:43,889 [taskScheduler#indexDownloadRemote-2] INFO
>> >>> >  org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask  -
>> index
>> >>> > update retrieve file, name:nexus-maven-repository-index.properties
>> >>> > 2012-08-07 15:52:43,889 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.archiva.proxy.common.DebugTransferListener  -
>> >>> transferInitiated
>> >>> > for resource nexus-maven-repository-index.properties on repository
>> url
>> >>> > http://repo.maven.apache.org/maven2/.index
>> >>> > 2012-08-07 15:52:43,889 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> >
>> >>>
>> org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask$DownloadListener
>> >>> >  - initiate transfer of nexus-maven-repository-index.properties
>> >>> > 2012-08-07 15:52:43,889 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager  - Get
>> >>> > connection: HttpRoute[{}->http://repo.maven.apache.org], timeout =
>> 60000
>> >>> > 2012-08-07 15:52:43,889 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.tsccm.ConnPoolByRoute  - [HttpRoute[{}->
>> >>> > http://repo.maven.apache.org]] total kept alive: 8, total issued: 0,
>> >>> total
>> >>> > allocated: 8 out of 300
>> >>> > 2012-08-07 15:52:43,889 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.tsccm.ConnPoolByRoute  - No free
>> connections
>> >>> > [HttpRoute[{}->http://repo.maven.apache.org]][null]
>> >>> > 2012-08-07 15:52:43,889 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.tsccm.ConnPoolByRoute  - Available
>> capacity: 30
>> >>> > out of 30 [HttpRoute[{}->http://repo.maven.apache.org]][null]
>> >>> > 2012-08-07 15:52:43,889 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.tsccm.ConnPoolByRoute  - Creating new
>> >>> connection
>> >>> > [HttpRoute[{}->http://repo.maven.apache.org]]
>> >>> > 2012-08-07 15:52:43,890 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.DefaultClientConnectionOperator  -
>> Connecting
>> >>> to
>> >>> > repo.maven.apache.org:80
>> >>> > 2012-08-07 15:52:43,891 [Thread-7] DEBUG
>> >>> > org.codehaus.plexus.taskqueue.DefaultTaskQueue  - pool
>> >>> > 2012-08-07 15:52:43,891 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.interceptor.OutgoingChainInterceptor  - Interceptors
>> >>> > contributed by bus: []
>> >>> > 2012-08-07 15:52:43,891 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.interceptor.OutgoingChainInterceptor  - Interceptors
>> >>> > contributed by service: []
>> >>> > 2012-08-07 15:52:43,891 [Thread-6] DEBUG
>> >>> > org.codehaus.plexus.taskqueue.DefaultTaskQueue  - pool
>> >>> > 2012-08-07 15:52:43,891 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.interceptor.OutgoingChainInterceptor  - Interceptors
>> >>> > contributed by endpoint:
>> >>> > [org.apache.cxf.interceptor.MessageSenderInterceptor@3fd431fa,
>> >>> >
>> >>>
>> org.codehaus.redback.rest.services.interceptors.ThreadLocalUserCleaner@41d34d3
>> >>> > ]
>> >>> > 2012-08-07 15:52:43,891 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.interceptor.OutgoingChainInterceptor  - Interceptors
>> >>> > contributed by binding:
>> >>> > [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@19770ac1]
>> >>> > 2012-08-07 15:52:43,891 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Adding interceptor
>> >>> > org.apache.cxf.interceptor.MessageSenderInterceptor@3fd431fa to
>> phase
>> >>> > prepare-send
>> >>> > 2012-08-07 15:52:43,891 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Adding interceptor
>> >>> >
>> >>>
>> org.codehaus.redback.rest.services.interceptors.ThreadLocalUserCleaner@41d34d3to
>> >>> > phase pre-stream
>> >>> > 2012-08-07 15:52:43,891 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Adding interceptor
>> >>> > org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@19770ac1 to
>> phase
>> >>> > marshal
>> >>> > 2012-08-07 15:52:43,891 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Chain
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain@566311f6 was created.
>> Current
>> >>> > flow:
>> >>> >   prepare-send [MessageSenderInterceptor]
>> >>> >   pre-stream [ThreadLocalUserCleaner]
>> >>> >   marshal [JAXRSOutInterceptor]
>> >>> >
>> >>> > 2012-08-07 15:52:43,892 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Invoking handleMessage
>> on
>> >>> > interceptor
>> org.apache.cxf.interceptor.MessageSenderInterceptor@3fd431fa
>> >>> > 2012-08-07 15:52:43,892 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Adding interceptor
>> >>> >
>> >>>
>> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@346b0b87to
>> >>> > phase prepare-send-ending
>> >>> > 2012-08-07 15:52:43,892 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Chain
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain@566311f6 was modified.
>> >>> Current
>> >>> > flow:
>> >>> >   prepare-send [MessageSenderInterceptor]
>> >>> >   pre-stream [ThreadLocalUserCleaner]
>> >>> >   marshal [JAXRSOutInterceptor]
>> >>> >   prepare-send-ending [MessageSenderEndingInterceptor]
>> >>> >
>> >>> > 2012-08-07 15:52:43,893 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Invoking handleMessage
>> on
>> >>> > interceptor
>> >>> >
>> >>>
>> org.codehaus.redback.rest.services.interceptors.ThreadLocalUserCleaner@41d34d3
>> >>> > 2012-08-07 15:52:43,893 [http-8080-4] DEBUG
>> >>> >
>> org.codehaus.redback.rest.services.interceptors.ThreadLocalUserCleaner  -
>> >>> > handleMessage
>> >>> > 2012-08-07 15:52:43,893 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Invoking handleMessage
>> on
>> >>> > interceptor
>> org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@19770ac1
>> >>> > 2012-08-07 15:52:43,897 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor  - Response
>> content
>> >>> > type is: application/json
>> >>> > 2012-08-07 15:52:43,897 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor  - Response
>> >>> > EntityProvider is:
>> org.apache.cxf.jaxrs.provider.PrimitiveTextProvider
>> >>> > 2012-08-07 15:52:43,901 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.phase.PhaseInterceptorChain  - Invoking handleMessage
>> on
>> >>> > interceptor
>> >>> >
>> >>>
>> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@346b0b87
>> >>> > 2012-08-07 15:52:43,902 [http-8080-4] DEBUG
>> >>> > org.apache.cxf.transport.servlet.ServletController  - Finished
>> servicing
>> >>> > http request on thread: Thread[http-8080-4,5,main]
>> >>> > 2012-08-07 15:52:43,902 [http-8080-4] DEBUG
>> >>> > org.apache.struts2.dispatcher.ng.PrepareOperations  - skipping
>> cleanup
>> >>> > counter=1
>> >>> > 2012-08-07 15:52:43,912 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.client.protocol.RequestAddCookies  - CookieSpec
>> selected:
>> >>> > compatibility
>> >>> > 2012-08-07 15:52:43,912 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.client.protocol.RequestAuthCache  - Auth cache not
>> set in
>> >>> > the context
>> >>> > 2012-08-07 15:52:43,912 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.client.DefaultHttpClient  - Attempt 1 to execute
>> >>> > request
>> >>> > 2012-08-07 15:52:43,912 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.DefaultClientConnection  - Sending
>> request: GET
>> >>> > /maven2/.index/nexus-maven-repository-index.properties HTTP/1.1
>> >>> > 2012-08-07 15:52:43,912 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - >> "GET
>> >>> > /maven2/.index/nexus-maven-repository-index.properties
>> HTTP/1.1[\r][\n]"
>> >>> > 2012-08-07 15:52:43,912 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - >> "Cache-control: no-cache[\r][\n]"
>> >>> > 2012-08-07 15:52:43,912 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - >> "Cache-store: no-store[\r][\n]"
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - >> "Pragma: no-cache[\r][\n]"
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - >> "Expires: 0[\r][\n]"
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - >> "Accept-Encoding: gzip[\r][\n]"
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - >> "Host: repo.maven.apache.org[\r][\n]"
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - >> "Connection: Keep-Alive[\r][\n]"
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - >> "[\r][\n]"
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - >> GET
>> >>> > /maven2/.index/nexus-maven-repository-index.properties HTTP/1.1
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - >> Cache-control: no-cache
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - >> Cache-store: no-store
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - >> Pragma: no-cache
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - >> Expires: 0
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - >> Accept-Encoding: gzip
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - >> Host: repo.maven.apache.org
>> >>> > 2012-08-07 15:52:43,913 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - >> Connection: Keep-Alive
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - << "HTTP/1.1 403 Forbidden[\r][\n]"
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - << "Content-Type: text/html[\r][\n]"
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - << "Date: Tue, 07 Aug 2012 21:52:43
>> GMT[\r][\n]"
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - << "Server: ECAcc (sjc/4EB5)[\r][\n]"
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - << "Content-Length: 345[\r][\n]"
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.wire  - << "[\r][\n]"
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.DefaultClientConnection  - Receiving
>> response:
>> >>> > HTTP/1.1 403 Forbidden
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - << HTTP/1.1 403 Forbidden
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - << Content-Type: text/html
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - << Date: Tue, 07 Aug 2012 21:52:43 GMT
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - << Server: ECAcc (sjc/4EB5)
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.headers  - << Content-Length: 345
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.client.DefaultHttpClient  - Connection can be
>> kept
>> >>> > alive indefinitely
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.archiva.proxy.common.DebugTransferListener  - wagon debug
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties-
>> >>> > Status code: 403, ReasonPhrase:Forbidden.
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> >
>> >>>
>> org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask$DownloadListener
>> >>> >  - transfer debug
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties-
>> >>> > Status code: 403, ReasonPhrase:Forbidden.
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.archiva.proxy.common.DebugTransferListener  -
>> transferError
>> >>> for
>> >>> > resource [nexus-maven-repository-index.properties,
>> >>> > http://repo.maven.apache.org/maven2/.index] on repository url
>> >>> > org.apache.maven.wagon.authorization.AuthorizationException: Access
>> >>> denied
>> >>> > to:
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> ,
>> >>> > ReasonPhrase:Forbidden.
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] INFO
>> >>> >
>> >>>
>>  org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask$DownloadListener
>> >>> >  - error of transfer file [nexus-maven-repository-index.properties,
>> >>> Access
>> >>> > denied to:
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> ,
>> >>> > ReasonPhrase:Forbidden.]:
>> >>> > org.apache.maven.wagon.authorization.AuthorizationException: Access
>> >>> denied
>> >>> > to:
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> ,
>> >>> > ReasonPhrase:Forbidden.
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.DefaultClientConnection  - Connection shut
>> down
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager  -
>> Released
>> >>> > connection is not reusable.
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.tsccm.ConnPoolByRoute  - Releasing
>> connection
>> >>> > [HttpRoute[{}->http://repo.maven.apache.org]][null]
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] DEBUG
>> >>> > org.apache.http.impl.conn.tsccm.ConnPoolByRoute  - Notifying no-one,
>> >>> there
>> >>> > are no waiting threads
>> >>> > 2012-08-07 15:52:43,933 [taskScheduler#indexDownloadRemote-2] ERROR
>> >>> > org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask  -
>> Access
>> >>> > denied to:
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> ,
>> >>> > ReasonPhrase:Forbidden.
>> >>> > java.io.IOException: Access denied to:
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> ,
>> >>> > ReasonPhrase:Forbidden.
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask$WagonResourceFetcher.retrieve(DownloadRemoteIndexTask.java:332)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:459)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:589)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:857)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:136)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask.run(DownloadRemoteIndexTask.java:165)
>> >>> >  at
>> >>> >
>> >>>
>> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51)
>> >>> >  at
>> >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> >>> > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>> >>> >  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>> >>> > at
>> >>> >
>> >>>
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>> >>> >  at
>> >>> >
>> >>>
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>> >>> >  at
>> >>> >
>> >>>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>> >>> >  at
>> >>> >
>> >>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>> >>> > at java.lang.Thread.run(Thread.java:722)
>> >>> > 2012-08-07 15:52:43,934 [taskScheduler#indexDownloadRemote-2] ERROR
>> >>> > org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler
>>  -
>> >>> > Unexpected error occurred in scheduled task.
>> >>> > java.lang.RuntimeException: Access denied to:
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> ,
>> >>> > ReasonPhrase:Forbidden.
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask.run(DownloadRemoteIndexTask.java:193)
>> >>> >  at
>> >>> >
>> >>>
>> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51)
>> >>> >  at
>> >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> >>> > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>> >>> >  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>> >>> > at
>> >>> >
>> >>>
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>> >>> >  at
>> >>> >
>> >>>
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>> >>> >  at
>> >>> >
>> >>>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>> >>> >  at
>> >>> >
>> >>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>> >>> > at java.lang.Thread.run(Thread.java:722)
>> >>> > Caused by: java.io.IOException: Access denied to:
>> >>> >
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> ,
>> >>> > ReasonPhrase:Forbidden.
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask$WagonResourceFetcher.retrieve(DownloadRemoteIndexTask.java:332)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:459)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:589)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:857)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:136)
>> >>> >  at
>> >>> >
>> >>>
>> org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask.run(DownloadRemoteIndexTask.java:165)
>> >>> >  ... 9 more
>> >>> > 2012-08-07 15:52:43,991 [Thread-7] DEBUG
>> >>> > org.codehaus.plexus.taskqueue.DefaultTaskQueue  - pool
>> >>> > 2012-08-07 15:52:43,992 [Thread-6] DEBUG
>> >>> > org.codehaus.plexus.taskqueue.DefaultTaskQueue  - pool
>> >>> >
>> >>> >
>> >>> >
>> >>> > On Tue, Aug 7, 2012 at 2:19 PM, Olivier Lamy <olamy@apache.org>
>> wrote:
>> >>> >
>> >>> >> We need more debug logs to try understand (or have access to your
>> server
>> >>> >> :-) )
>> >>> >> Can you change log4j.xml file and add
>> >>> >>
>> >>> >>   <!-- apache httpclient debug content transfer-->
>> >>> >>   <logger name="org.apache.http.wire">
>> >>> >>     <level value="debug"/>
>> >>> >>   </logger>
>> >>> >>
>> >>> >>   <logger name="org.apache.http.headers">
>> >>> >>     <level value="debug"/>
>> >>> >>   </logger>
>> >>> >>
>> >>> >> That will be a bit verbose but we will have more details.
>> >>> >>
>> >>> >>
>> >>> >> 2012/8/7 Jeff <predatorvi@gmail.com>:
>> >>> >> > Any other thoughts as to why this might not work for me?  I really
>> >>> want
>> >>> >> the
>> >>> >> > indexes! :-)
>> >>> >> >
>> >>> >> > On Mon, Jul 30, 2012 at 4:38 PM, Jeff <predatorvi@gmail.com>
>> wrote:
>> >>> >> >
>> >>> >> >> Could it be that Archiva needs to set more HTTP header values
>> (e.g.,
>> >>> >> >> "Accept: ...") when requesting these files?  Here is a dump of
>> what I
>> >>> >> see
>> >>> >> >> with Archiva vs. Chrome.
>> >>> >> >>
>> >>> >> >> ARCHIVA HTTP Request:
>> >>> >> >>
>> >>> >> >> GET /maven2/.index/nexus-maven-repository-index.properties
>> HTTP/1.1
>> >>> >> >> Cache-control: no-cache
>> >>> >> >> Cache-store: no-store
>> >>> >> >> Pragma: no-cache
>> >>> >> >> Expires: 0
>> >>> >> >> Accept-Encoding: gzip
>> >>> >> >> Host: repo.maven.apache.org
>> >>> >> >> Connection: Keep-Alive
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> CHROME BROWSER HTTP Request:
>> >>> >> >>
>> >>> >> >> GET /maven2/.index/nexus-maven-repository-index.properties
>> HTTP/1.1
>> >>> >> >> Host: central.maven.org
>> >>> >> >> Connection: keep-alive
>> >>> >> >> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64)
>> AppleWebKit/536.11
>> >>> >> (KHTML,
>> >>> >> >> like Gecko) Chrome/20.0.1132.57 Safari/536.11
>> >>> >> >> Accept:
>> >>> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>> >>> >> >> Accept-Encoding: gzip,deflate,sdch
>> >>> >> >> Accept-Language: en-US,en;q=0.8
>> >>> >> >> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> On Mon, Jul 30, 2012 at 2:57 PM, Olivier Lamy <olamy@apache.org>
>> >>> wrote:
>> >>> >> >>
>> >>> >> >>> 2012/7/30 Jeff <predatorvi@gmail.com>:
>> >>> >> >>> > I've been fiddling and noticed that when it tries to connect
>> to
>> >>> the
>> >>> >> >>> Maven
>> >>> >> >>> > Central index location at
>> >>> >> >>> >
>> >>> >> >>>
>> >>> >>
>> >>>
>> http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.propertiesI
>> >>> >> >>> > see:
>> >>> >> >>> >
>> >>> >> >>> > 2012-07-30 14:44:20,825 [taskScheduler#indexDownloadRemote-4]
>> INFO
>> >>> >> >>> >
>> >>> >> >>>
>> >>> >>
>> >>>
>>  org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask$DownloadListener
>> >>> >> >>> >  - error of transfer file
>> >>> [nexus-maven-repository-index.properties,
>> >>> >> >>> Access
>> >>> >> >>> > denied to:
>> >>> >> >>> >
>> >>> >> >>>
>> >>> >>
>> >>>
>> http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> >> >>> ,
>> >>> >> >>> > ReasonPhrase:Forbidden.]:
>> >>> >> >>> > org.apache.maven.wagon.authorization.AuthorizationException:
>> >>> Access
>> >>> >> >>> denied
>> >>> >> >>> > to:
>> >>> >> >>> >
>> >>> >> >>>
>> >>> >>
>> >>>
>> http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> >> >>> ,
>> >>> >> >>> > ReasonPhrase:Forbidden.
>> >>> >> >>>
>> >>> >> >>> weird.
>> >>> >> >>> Works fine here.
>> >>> >> >>> Note I use:
>> >>> >> >>>
>> >>> >>
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> >> >>>
>> >>> >> >>> curl -I
>> >>> >> >>>
>> >>> >>
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
>> >>> >> >>> HTTP/1.1<
>> >>> >>
>> >>>
>> http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.propertiesHTTP/1.1
>> >>> >200
>> >>> >> OK
>> >>> >> >>> Accept-Ranges: bytes
>> >>> >> >>> Content-Type: application/octet-stream
>> >>> >> >>> Date: Mon, 30 Jul 2012 20:56:36 GMT
>> >>> >> >>> Last-Modified: Sun, 15 Jul 2012 10:54:57 GMT
>> >>> >> >>> Server: ECAcc (cdg/D67A)
>> >>> >> >>> X-Cache: HIT
>> >>> >> >>> Content-Length: 1130
>> >>> >> >>>
>> >>> >> >>> Do you pass tru a proxy or something else (firewall) ?
>> >>> >> >>>
>> >>> >> >>> >
>> >>> >> >>> >
>> >>> >> >>> > However, when I go to that URL directly or do a wget from the
>> >>> Archiva
>> >>> >> >>> > server, it downloads just fine.
>> >>> >> >>> >
>> >>> >> >>> > Any idea why?
>> >>> >> >>> >
>> >>> >> >>> > On Mon, Jul 30, 2012 at 11:17 AM, Olivier Lamy <
>> olamy@apache.org>
>> >>> >> >>> wrote:
>> >>> >> >>> >
>> >>> >> >>> >> 2012/7/26 Jeff <predatorvi@gmail.com>:
>> >>> >> >>> >> > In my NetBeans environment, it pulls the Maven indexes and
>> >>> gives
>> >>> >> me
>> >>> >> >>> hints
>> >>> >> >>> >> > when I <CTRL>-<SPACE> on versions or artifact ID's, etc.
>> >>> >> >>> >> >
>> >>> >> >>> >> > However, it seems that the indexes that NetBeans pulls
>> from my
>> >>> >> >>> Archiva
>> >>> >> >>> >> > server is not handling all of the indexes for all of my
>> >>> >> repositories
>> >>> >> >>> like
>> >>> >> >>> >> > it used to and I don't know what I've done wrong.
>> >>> >> >>> >> >
>> >>> >> >>> >> > I have 6 managed repositories:
>> >>> >> >>> >> >
>> >>> >> >>> >> >    - 3rd-party-releases
>> >>> >> >>> >> >    - 3rd-party-snapshots
>> >>> >> >>> >> >    - team1-releases
>> >>> >> >>> >> >    - team1-snapshots
>> >>> >> >>> >> >    - team2-releases
>> >>> >> >>> >> >    - team2-snapshots
>> >>> >> >>> >> >
>> >>> >> >>> >> > I also have 16 remote repositories.  Some of them are
>> "release"
>> >>> >> >>> >> > repositories (central, java.net, etc.) that are connected
>> via
>> >>> >> proxy
>> >>> >> >>> to
>> >>> >> >>> >> the
>> >>> >> >>> >> > "3rd-party-releases" managed repo.  Some are remote
>> snapshot
>> >>> repos
>> >>> >> >>> that
>> >>> >> >>> >> are
>> >>> >> >>> >> > proxied to the "3rd-party-snapshots" managed repo.
>> >>> >> >>> >> >
>> >>> >> >>> >> > I then have one repository group that contains all 6
>> managed
>> >>> >> repos.
>> >>> >> >>> >> >
>> >>> >> >>> >> > I have defined explicit index directories for each managed
>> >>> >> >>> repository as
>> >>> >> >>> >> > well as the remote repos.
>> >>> >> >>> >> >
>> >>> >> >>> >> > For all remote repositories, I have checked "Activate
>> download
>> >>> >> remote
>> >>> >> >>> >> > index", attempted to specify the "Remote index url" (for
>> >>> Central
>> >>> >> it
>> >>> >> >>> is
>> >>> >> >>> >> set
>> >>> >> >>> >> > to .index), but some don't seem to generate indexes.
>> >>> >> >>> >> Are you sure remote repositories generate an index file ?
>> >>> >> >>> >>
>> >>> >> >>> >> BTW with 1.4-M2 there is now an aggregated indice file in
>> your
>> >>> >> group.
>> >>> >> >>> >>
>> >>> >> >>> >> >
>> >>> >> >>> >> > However, it seems to not contain all of the versions of the
>> >>> >> >>> artifacts.
>> >>> >> >>> >> >
>> >>> >> >>> >> > Did I set up my repo wrong or is it something else?  I
>> don't
>> >>> know
>> >>> >> >>> where
>> >>> >> >>> >> to
>> >>> >> >>> >> > look?
>> >>> >> >>> >> >
>> >>> >> >>> >> > Thanks!
>> >>> >> >>> >> >
>> >>> >> >>> >> > --
>> >>> >> >>> >> > Jeff Vincent
>> >>> >> >>> >> > predatorvi@gmail.com
>> >>> >> >>> >> > See my LinkedIn profile at:
>> >>> >> >>> >> > http://www.linkedin.com/in/rjeffreyvincent
>> >>> >> >>> >> > I ♥ DropBox <http://db.tt/9O6LfBX> !!
>> >>> >> >>> >>
>> >>> >> >>> >>
>> >>> >> >>> >>
>> >>> >> >>> >> --
>> >>> >> >>> >> Olivier Lamy
>> >>> >> >>> >> Talend: http://coders.talend.com
>> >>> >> >>> >> http://twitter.com/olamy | http://linkedin.com/in/olamy
>> >>> >> >>> >>
>> >>> >> >>> >
>> >>> >> >>> >
>> >>> >> >>> >
>> >>> >> >>> > --
>> >>> >> >>> > Jeff Vincent
>> >>> >> >>> > predatorvi@gmail.com
>> >>> >> >>> > See my LinkedIn profile at:
>> >>> >> >>> > http://www.linkedin.com/in/rjeffreyvincent
>> >>> >> >>> > I ♥ DropBox <http://db.tt/9O6LfBX> !!
>> >>> >> >>>
>> >>> >> >>>
>> >>> >> >>>
>> >>> >> >>> --
>> >>> >> >>> Olivier Lamy
>> >>> >> >>> Talend: http://coders.talend.com
>> >>> >> >>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>> >>> >> >>>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> --
>> >>> >> >> Jeff Vincent
>> >>> >> >> predatorvi@gmail.com
>> >>> >> >> See my LinkedIn profile at:
>> >>> >> >> http://www.linkedin.com/in/rjeffreyvincent
>> >>> >> >> I ♥ DropBox <http://db.tt/9O6LfBX> !!
>> >>> >> >>
>> >>> >> >>
>> >>> >> >
>> >>> >> >
>> >>> >> > --
>> >>> >> > Jeff Vincent
>> >>> >> > predatorvi@gmail.com
>> >>> >> > See my LinkedIn profile at:
>> >>> >> > http://www.linkedin.com/in/rjeffreyvincent
>> >>> >> > I ♥ DropBox <http://db.tt/9O6LfBX> !!
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> --
>> >>> >> Olivier Lamy
>> >>> >> Talend: http://coders.talend.com
>> >>> >> http://twitter.com/olamy | http://linkedin.com/in/olamy
>> >>> >>
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > Jeff Vincent
>> >>> > predatorvi@gmail.com
>> >>> > See my LinkedIn profile at:
>> >>> > http://www.linkedin.com/in/rjeffreyvincent
>> >>> > I ♥ DropBox <http://db.tt/9O6LfBX> !!
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Olivier Lamy
>> >>> Talend: http://coders.talend.com
>> >>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Jeff Vincent
>> >> predatorvi@gmail.com
>> >> See my LinkedIn profile at:
>> >> http://www.linkedin.com/in/rjeffreyvincent
>> >> I ♥ DropBox <http://db.tt/9O6LfBX> !!
>> >
>> >
>> >
>> > --
>> > Olivier Lamy
>> > Talend: http://coders.talend.com
>> > http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend: http://coders.talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>
>
>
> --
> Jeff Vincent
> predatorvi@gmail.com
> See my LinkedIn profile at:
> http://www.linkedin.com/in/rjeffreyvincent
> I ♥ DropBox <http://db.tt/9O6LfBX> !!
> The information transmitted is intended only for the person(s)or entity to which it is addressed and may contain confidential and/or legally privileged material. Delivery of this message to any person other than the intended recipient(s) is not intended in any way to waive privilege or confidentiality. Any review, retransmission, dissemination or other use of , or taking of any action in reliance upon, this information by entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from any computer.
>
> For Translation:
>
> http://www.baxter.com/email_disclaimer



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

Mime
View raw message