Re: 100% CPU on Debian

2014-04-11 Thread Olivier Lamy
maybe log4j2 async with disruptor.
See http://archiva.apache.org/docs/2.0.2-SNAPSHOT/adminguide/logging.html


On 12 April 2014 00:43,   wrote:
> Hi,
>
>
>
> I'm attempting to use Archiva on a debian virtualbox and Archiva consumes
> all the CPU.
>
>
>
> I've tested it with several JVM but the problem remain. I've check the linux
> user has access to repository and index folder and I also tries to diagnose
> using jvisualvm but that impossible to see cpu per threads.
>
>
>
> The same 2.0.1 version runs fine on windows 7.
>
>
>
> Log files says that but I don't know if it's the problem:
>
> java.lang.RuntimeException: Unable to update a stale item: item.save()
>
> at
> org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.save(JcrMet
> adataRepository.java:1238) ~[metadata-store-jcr-2.0.1.jar:?]
>
> at
> org.apache.archiva.metadata.repository.RepositorySession.save(RepositorySess
> ion.java:69) ~[metadata-repository-api-2.0.1.jar:2.0.1]
>
> at
> org.apache.archiva.consumers.metadata.ArchivaMetadataCreationConsumer.proces
> sFile(ArchivaMetadataCreationConsumer.java:204)
> ~[archiva-metadata-consumer-2.0.1.jar:?]
>
> at
> org.apache.archiva.consumers.metadata.ArchivaMetadataCreationConsumer.proces
> sFile(ArchivaMetadataCreationConsumer.java:229)
> ~[archiva-metadata-consumer-2.0.1.jar:?]
>
> at
> org.apache.archiva.repository.scanner.functors.ConsumerProcessFileClosure.ex
> ecute(ConsumerProcessFileClosure.java:60)
> [archiva-repository-scanner-2.0.1.jar:?]
>
> at
> org.apache.commons.collections.functors.IfClosure.execute(IfClosure.java:118
> ) [commons-collections-3.2.1.jar:3.2.1]
>
> at
> org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java
> :389) [commons-collections-3.2.1.jar:3.2.1]
>
> at
> org.apache.archiva.repository.scanner.RepositoryScannerInstance.directoryWal
> kStep(RepositoryScannerInstance.java:163)
> [archiva-repository-scanner-2.0.1.jar:?]
>
> at
> org.codehaus.plexus.util.DirectoryWalker.fireStep(DirectoryWalker.java:174)
> [plexus-utils-3.0.15.jar:?]
>
> at
> org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:392)
> [plexus-utils-3.0.15.jar:?]
>
> at
> org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
> [plexus-utils-3.0.15.jar:?]
>
> at
> org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
> [plexus-utils-3.0.15.jar:?]
>
> at
> org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
> [plexus-utils-3.0.15.jar:?]
>
> at
> org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
> [plexus-utils-3.0.15.jar:?]
>
> at
> org.codehaus.plexus.util.DirectoryWalker.scan(DirectoryWalker.java:345)
> [plexus-utils-3.0.15.jar:?]
>
> at
> org.apache.archiva.repository.scanner.DefaultRepositoryScanner.scan(DefaultR
> epositoryScanner.java:133) [archiva-repository-scanner-2.0.1.jar:?]
>
> at
> org.apache.archiva.repository.scanner.DefaultRepositoryScanner.scan(DefaultR
> epositoryScanner.java:65) [archiva-repository-scanner-2.0.1.jar:?]
>
> at
> org.apache.archiva.rest.services.DefaultRepositoriesService.scanRepositoryDi
> rectoriesNow(DefaultRepositoriesService.java:1090)
> [archiva-rest-services-2.0.1.jar:?]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) ~[?:1.6.0_27]
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57
> ) ~[?:1.6.0_27]
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:43) ~[?:1.6.0_27]
>
> at java.lang.reflect.Method.invoke(Method.java:616)
> ~[?:1.6.0_27]
>
> at
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInv
> oker.java:180) [cxf-bundle-jaxrs-2.6.13.jar:2.6.13]
>
> at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:9
> 6) [cxf-bundle-jaxrs-2.6.13.jar:2.6.13]
>
> at
> org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:165)
> [cxf-bundle-jaxrs-2.6.13.jar:2.6.13]
>
> at
> org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:89)
> [cxf-bundle-jaxrs-2.6.13.jar:2.6.13]
>
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInt
> erceptor.java:57) [cxf-bundle-jaxrs-2.6.13.jar:2.6.13]
>
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceIn
> vokerInterceptor.java:93) [cxf-bundle-jaxrs-2.6.13.jar:2.6.13]
>
> at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain
> .java:263) [cxf-bundle-jaxrs-2.6.13.jar:2.6.13]
>
> at
> org.apach

RE: [VOTE] Apache Archiva 1.3.8

2014-04-11 Thread Eric Barboni
+1 for me
Eric

-Message d'origine-
De : Brett Porter [mailto:br...@porterclan.net] De la part de Brett Porter
Envoyé : vendredi 11 avril 2014 15:55
À : dev@archiva.apache.org
Objet : [VOTE] Apache Archiva 1.3.8

Hi,

I'd like to call a vote to release Apache Archiva 1.3.8. This is an update
to those still on 1.3.x that has an updated version of Struts for some of
their latest fixes, and supercedes the vote for 1.3.7.

(The announcement will still recommend users upgrade to 2.0.1 when they
can).

The release artifacts are at:
https://dist.apache.org/repos/dist/dev/archiva/1.3.8/
Specifically,
https://dist.apache.org/repos/dist/dev/archiva/1.3.8/src/apache-archiva-1.3.
8-src.zip with signature
https://dist.apache.org/repos/dist/dev/archiva/1.3.8/src/apache-archiva-1.3.
8-src.zip.asc

Site available here: http://archiva.apache.org/docs/1.3.8/

Staging repository:
https://archiva-repository.apache.org/archiva/repository/archiva-releases-st
age-1.3/

The git tag is archiva-1.3.8, revision
df33f0707d7c64f34ce88c5416e817fc8aa2388d

The vote is open for 72 hours:

[ ] +1
[ ] 0
[ ] -1

Regards,
Brett





[VOTE] Apache Archiva 1.3.8

2014-04-11 Thread Brett Porter
Hi,

I'd like to call a vote to release Apache Archiva 1.3.8. This is an update to 
those still on 1.3.x that has an updated version of Struts for some of their 
latest fixes, and supercedes the vote for 1.3.7.

(The announcement will still recommend users upgrade to 2.0.1 when they can).

The release artifacts are at: 
https://dist.apache.org/repos/dist/dev/archiva/1.3.8/
Specifically, 
https://dist.apache.org/repos/dist/dev/archiva/1.3.8/src/apache-archiva-1.3.8-src.zip
 with signature 
https://dist.apache.org/repos/dist/dev/archiva/1.3.8/src/apache-archiva-1.3.8-src.zip.asc

Site available here: http://archiva.apache.org/docs/1.3.8/

Staging repository: 
https://archiva-repository.apache.org/archiva/repository/archiva-releases-stage-1.3/

The git tag is archiva-1.3.8, revision df33f0707d7c64f34ce88c5416e817fc8aa2388d

The vote is open for 72 hours:

[ ] +1
[ ] 0
[ ] -1

Regards,
Brett