Re: too many open files with 1.0.2

2008-04-12 Thread Henri Gomez
I see that also but it was releated to a problem with Tomcat 6.x and
libtcnative.

Is it your setting ?

2008/4/11, Jason Chaffee [EMAIL PROTECTED]:
 With Archvia-1.0.2 running in tomcat, I am getting too many open files
  errors at least twice a day, forcing a reboot of archiva to fix the
  issue.  When I run lsof, I see that the database files are open more
  than once so I suspect a resource leak.  Is anyone else seeing this?




archiva / internal / snapshot and settings.xml

2008-03-20 Thread Henri Gomez
Hi to all,

My archiva proxy has a the regular 'internal' and 'snapshot' repositories.

Many proxies to apache, jboss and java.devnet, for release and/or snapshots.

ie :

urlhttp://people.apache.org/repo/m2-snapshot-repository/url
username/
password/
idapachesnapshots/id
nameApache Snapshot Repository/name
/remoteRepository

remoteRepository
urlhttp://repository.jboss.com/maven2/url
idjboss/id
nameJBoss Repository/name
/remoteRepository

All are proxied to archiva 'internal' repo.

proxyConnector
order1/order
sourceRepoIdinternal/sourceRepoId
targetRepoIdapachesnapshots/targetRepoId

...

proxyConnector
order4/order
sourceRepoIdinternal/sourceRepoId
targetRepoIdjboss/targetRepoId
...

I should mix release/snapshot since I got the following in my settings.xml :

mirror
idarchiva/id
url
http://myrepository.mycorp.com/archiva/repository/internal
/url
mirrorOf*/mirrorOf
/mirror


I wonder how I could trick my settings.xml to get ALL releases from
internal and ALL snapshots from snapshot.

Regards


Re: archiva / internal / snapshot and settings.xml

2008-03-20 Thread Henri Gomez
 In Maven 2.0.8 you just need to list each snapshot repository by ID
  and point it to the Archiva snapshot repo, and place it before the *
  definition.

Do you recommand avoiding MirrorOf * ?

  In Maven 2.0.9 there will be some include/exclude semantics for mirrorOf.

Hum, did the 2.0.9 include/exclude will also works with maven
2.1-SNAPSHOT, used in m2eclipse or q4e ?


Re: archiva / internal / snapshot and settings.xml

2008-03-20 Thread Henri Gomez
   Do you recommand avoiding MirrorOf * ?


 No, mirrorOf * is a very useful method of locking down all access to
  your managed repositories. I highly recommend it.

Indeed but in that case you endup mixing releases and snapshots in the
same archiva repository ;(

I suspect these couldn't works ;(

mirror
  idinternal-snapshot-repository/id
  nameMaven Repository Manager for snapshots/name
  urlhttp://repo.mycompany.com/archiva/snapshots/url
  mirrorOf*snapshots*/mirrorOf
/mirror

mirror
  idinternal-releases-repository/id
  nameMaven Repository Manager for release/name
  urlhttp://repo.mycompany.com/archiva/internal/url
  mirrorOf*/mirrorOf
/mirror



  In Maven 2.0.9 there will be some include/exclude semantics for 
 mirrorOf.
  
  
   Hum, did the 2.0.9 include/exclude will also works with maven
2.1-SNAPSHOT, used in m2eclipse or q4e ?
  


 Not yet, but I imagine it will be.


  - Brett


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