Dependencies for James as Windows service

2011-03-16 Thread USHAKOV, Sergey
Hi, I have occasionally ran into an issue when James service fails to start upon system reboot due to its dependency on a database server, and the database just being a little bit slow to start... The standard cure for this trouble is to register service dependencies, so the system could arr

Re: 3.0-M2 - problem with fetchmail enabling

2011-03-16 Thread USHAKOV, Sergey
Norman, just a short question on the upgrade to M3-SNAPSHOT. Is it a good idea to retain the JDBC database during upgrade from M2? I have changed Derby to PostgeSQL, so the database is not embedded and may be better accessible for control... Thanks and best regards, Sergey - Original Me

Re: 3.0-M2 - problem with fetchmail enabling

2011-03-16 Thread USHAKOV, Sergey
Thank you Norman. I've got the snapshot downloaded with no problems. Hope to come back to you with my test results after a while... Thanks and best regards, Sergey - Original Message - From: "Norman Maurer" To: "James Users List" Cc: "USHAKOV, Sergey" Sent: Wednesday, March 16, 2

Re: Help implementing a custom UsersRepository

2011-03-16 Thread Larry Ruiz
Hi Norman I got it running, at last :) So we have these two scripts, run.sh and james wrapper and the appassembler-maven-plugin which built all the thing, to increase the permgen size for the run.sh you have to modified -Xms256m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m for the wrappe

howto use restriction on ReadOnlyUsersLDAPRepository

2011-03-16 Thread Lanfeust troy
Hi list, i'm doing test on Apache James and i want to use the group restriction on ReadOnlyUsersLDAPRepository. all of my test do nothing. I have always all of LDAP user. in usersrepository.xml: ldap://obm3.kvm.rla:389"; principal="" credentials="" userBase="dc=local" userIdAt

Re: Help implementing a custom UsersRepository

2011-03-16 Thread Larry Ruiz
Well I guess they are 256 to 1024 configure in conf/wrapper.conf (I ran james with bin/james script) #my configs wrapper.java.initmemory=256 wrapper.java.maxmemory=1024 Is there a way to increase PermGen space, and also who to run james with remote debugging enabled? vm 1| DEBUG 11:53:36,5

Re: Howto use ReadOnlyUsersLDAPRepository

2011-03-16 Thread Norman Maurer
Hi there, this was a bug. I just committed a fix. See also : https://issues.apache.org/jira/browse/JAMES-1204 You should be able to build james from source your grab a fresh snapshot in a few hours: https://repository.apache.org/content/groups/snapshots/org/apache/james/james-server-container-sp

Re: 3.0-M2 - problem with fetchmail enabling

2011-03-16 Thread Norman Maurer
Hi there, I think this was already fixed in trunk. Could you try if you see the same problem with M3-SNAPSHOT ? You can get it from: https://repository.apache.org/content/groups/snapshots/org/apache/james/james-server-container-spring/3.0-M3-SNAPSHOT/ Bye, Norman 2011/3/16 USHAKOV, Sergey >

Re: Help implementing a custom UsersRepository

2011-03-16 Thread Norman Maurer
Whats your -Xmx and -Xms settings ? How much memory does your server have ? Bye, Norman 2011/3/16 Larry Ruiz > Thank you very much Norman, > > but know I'm facing a OutOfMemory every time I sent an email, take a look > any clue or guidanc, I will apreciate > > jvm 1| INFO 04:36:43,517 | o

Re: Help implementing a custom UsersRepository

2011-03-16 Thread Larry Ruiz
Thank you very much Norman, but know I'm facing a OutOfMemory every time I sent an email, take a look any clue or guidanc, I will apreciate jvm 1| INFO 04:36:43,517 | org.apache.james.container.spring.Main | Apache James Server is successfully started in 33985 milliseconds. jvm 1| INFO

Re: 3.0-M2 - problem with fetchmail enabling

2011-03-16 Thread USHAKOV, Sergey
Yes, sure :) Here it comes below... The 'fetchmail.xml' comes below too, just to be on the safe side... Thanks and best regards, Sergey INFO | jvm 1| 2011/03/15 21:09:06 | WrapperSimpleApp: Encountered an error running main: org.springframework.beans.factory.BeanCreationException: Err

Re: Howto use ReadOnlyUsersLDAPRepository

2011-03-16 Thread Lanfeust troy
Hi, sure i can send log With this configration: in spring-beans.xml: in usersrepository.xml: ldap://obm3.kvm.rla:389"; principal="" credentials="" userBase="dc=local" userIdAttribute="mailBox"/>; stacktrace in file join 2011/3/15 Eric Charles > Hi, > The w

Re: Develop on Mac?

2011-03-16 Thread Eric Charles
Hi, Sorry, I brought a double confusion: 1. Seems like the extra file for xsd issue was added after 3.0-M2 in META-INF. 2. Even with that extra file, I now remember I got a clear exception stating the activemqcore xsd was not reachable. In you case, you don't have such an exception. If you s