Re: timeouts configuration

2008-04-08 Thread Brett Porter
the feature is present in trunk and will be released with Archiva 1.1.

On 09/04/2008, aldana [EMAIL PROTECTED] wrote:

  hi,

  currently proxy repository of http://repository.codehaus.org/ had been very
  slow in respondance. this made archiva hang (see log below). after removing
  this repository as proxy connector everything worked fine again. instead of
  deleting this another setting would be nice, so if there are download
  problems or a certain timeout has been reached, respective proxy connector
  should be ignored for a certain time gap.


  1150450336 [Thread-5] ERROR
  org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:database-update  -
  Error executing task
  edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
  java.lang.NullPointerException
 at
  
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
 at
  
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
 at
  
 org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
 at
  
 org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
  Caused by: java.lang.NullPointerException
 at
  
 org.apache.maven.archiva.database.updater.ProcessArchivaArtifactClosure.execute(ProcessArchivaArtifactClosure.java:56)
 at
  
 org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
 at
  
 org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateProcessed(JdoDatabaseUpdater.java:170)
 at
  
 org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateAllProcessed(JdoDatabaseUpdater.java:111)
 at
  
 org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskExecutor.executeTask(ArchivaDatabaseUpdateTaskExecutor.java:78)
 at
  
 org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
 at
  
 edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
 at
  
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
 at
  
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
 at
  
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
 at java.lang.Thread.run(Thread.java:619)


  -
  manuel aldana
  aldana((at))gmx.de
  homepage: http://www.aldana-online.de

 --
  View this message in context: 
 http://www.nabble.com/timeouts-configuration-tp16558750p16558750.html
  Sent from the archiva-users mailing list archive at Nabble.com.




-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/


timeouts configuration

2008-04-08 Thread aldana

hi,

currently proxy repository of http://repository.codehaus.org/ had been very
slow in respondance. this made archiva hang (see log below). after removing
this repository as proxy connector everything worked fine again. instead of
deleting this another setting would be nice, so if there are download
problems or a certain timeout has been reached, respective proxy connector
should be ignored for a certain time gap.


1150450336 [Thread-5] ERROR
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:database-update  -
Error executing task
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
java.lang.NullPointerException
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
Caused by: java.lang.NullPointerException
at
org.apache.maven.archiva.database.updater.ProcessArchivaArtifactClosure.execute(ProcessArchivaArtifactClosure.java:56)
at
org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
at
org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateProcessed(JdoDatabaseUpdater.java:170)
at
org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateAllProcessed(JdoDatabaseUpdater.java:111)
at
org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskExecutor.executeTask(ArchivaDatabaseUpdateTaskExecutor.java:78)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:619)


-
manuel aldana
aldana((at))gmx.de
homepage: http://www.aldana-online.de
-- 
View this message in context: 
http://www.nabble.com/timeouts-configuration-tp16558750p16558750.html
Sent from the archiva-users mailing list archive at Nabble.com.