I had also some problem with the server build, and I solved them by removing the org/apache/directory folder from my local repository. But this was before Emmanuel did the move to Mina 2.
Regards Jeff MAURY On Fri, Nov 21, 2008 at 10:41 AM, Lorenz Breu <[EMAIL PROTECTED]> wrote: > hi list > > here's what happened: > > a) checkout mina 2 trunk, build successful > b) update working copy of apacheds-mina > c) superclean > d) successful build of daemon > e) tried to build whole project -> fail > > here is what went wrong: > > > ------------------------------------------------------------------------------- > Test set: org.apache.directory.server.kerberos.kdc.SaslGssapiBindITest > > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.87 sec > <<< FAILURE! > testSaslGssapiBind(org.apache.directory.server.kerberos.kdc.SaslGssapiBindITest) > Time elapsed: 3.862 sec <<< ERROR! > java.lang.IllegalArgumentException: maximumPoolSize: 0 > at > org.apache.mina.filter.executor.OrderedThreadPoolExecutor.<init>(OrderedThreadPoolExecutor.java:113) > at > org.apache.mina.filter.executor.OrderedThreadPoolExecutor.<init>(OrderedThreadPoolExecutor.java:100) > at > org.apache.mina.filter.executor.OrderedThreadPoolExecutor.<init>(OrderedThreadPoolExecutor.java:86) > at > org.apache.mina.filter.executor.OrderedThreadPoolExecutor.<init>(OrderedThreadPoolExecutor.java:81) > at > org.apache.mina.filter.executor.OrderedThreadPoolExecutor.<init>(OrderedThreadPoolExecutor.java:77) > at > org.apache.directory.server.ldap.LdapService.start(LdapService.java:335) > at > org.apache.directory.server.unit.AbstractServerTest.setUp(AbstractServerTest.java:273) > at > org.apache.directory.server.kerberos.kdc.SaslGssapiBindITest.setUp(SaslGssapiBindITest.java:84) > at junit.framework.TestCase.runBare(TestCase.java:132) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:124) > at junit.framework.TestSuite.runTest(TestSuite.java:232) > at junit.framework.TestSuite.run(TestSuite.java:227) > at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) > at org.apache.maven.surefire.Surefire.run(Surefire.java:177) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) > > > > And here is line 335 in LdapService.java: > > > > // Now inject an ExecutorFilter for the write operations > // We use the same number of thread than the number of IoProcessor > // (NOTE : this has to be double checked) > ((DefaultIoFilterChainBuilder)chain).addLast( "executor", > new ExecutorFilter( new OrderedThreadPoolExecutor( > getNbTcpThreads() ), > IoEventType.WRITE ) ); > > > > Any ideas? > > cheers, > lorenz > > -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.lastfm.fr/listen/user/jeffmaury/personal Mes CDs à récupérer: http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en
