06-25-07 06:11 PM
Hi All,
checked it out on Windows XP SP2 with Maven 2.0.7 and JDK 1.5.0_10 and =20
built the trunks, built the installers, did the integration tests and =20
also built the eclipse files. All run fine, except for one failure in =20
integration tests. It says:
----------------------------------------------------------------------------
=
---
Test set: org.apache.directory.server.PersistentSearchTest
----------------------------------------------------------------------------
=
---
Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: =20
38.484 sec <<< FAILURE!
testPsearchAbandon(org.apache.directory.server.PersistentSearchTest) =20
Time elapsed: 2.938 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<...Tori Amos> but =20
was:<...Jack Black>
=09at junit.framework.Assert.assertEquals(Assert.java:81)
=09at junit.framework.Assert.assertEquals(Assert.java:87)
=09at =20
org.apache.directory.server.PersistentSearchTest.testPsearchAbandon(Persiste
=
ntSearchTest.java:609)
=09at =20
org.apache.directory.server.PersistentSearchTest.testPsearchAbandon(Persiste
=
ntSearchTest.java:609)
=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
=09at =20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
=
)
=09at =20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
=
.java:25)
=09at java.lang.reflect.Method.invoke(Method.java:585)
=09at junit.framework.TestCase.runTest(TestCase.java:154)
=09at junit.framework.TestCase.runBare(TestCase.java:127)
=09at junit.framework.TestResult$1.protect(TestResult.java:106)
=09at junit.framework.TestResult.runProtected(TestResult.java:124)
=09at junit.framework.TestResult.run(TestResult.java:109)
=09at junit.framework.TestCase.run(TestCase.java:118)
=09at junit.framework.TestSuite.runTest(TestSuite.java:208)
=09at junit.framework.TestSuite.run(TestSuite.java:203)
=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
=09at =20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
=
)
=09at =20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
=
.java:25)
=09at java.lang.reflect.Method.invoke(Method.java:585)
=09at =20
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
=09at =20
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
=
stractDirectoryTestSuite.java:138)
=09at =20
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
=
irectoryTestSuite.java:163)
=09at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
=09at =20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
=
)
=09at =20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
=
.java:25)
=09at java.lang.reflect.Method.invoke(Method.java:585)
=09at =20
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireB
=
ooter.java:244)
=09at =20
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:814
=
)
Another error was thrown when I tried to start the server without the =20
installation from within apacheds/server-main using apacheds.bat. The =20
error message was:
Exception in thread "main" java.lang.NoClassDefFoundError: =20
DS\apachds15\apacheds-trunk\apacheds\server-main/log4j/properties
Reason for this is that the start script was called from within a =20
directory containing whitespaces. The full directory is:
D:\_Developer\Apache DS\apachds15\apacheds-trunk
To prevent the script from running into this error the following =20
change is done in apacheds.bat file:
before:
java -Dlog4j.configuration=3Dfile:///%cd%/log4j.properties -jar =20
target/apacheds-server-main-1.5.1-SNAPSHOT-app.jar server.xml
after:
java -Dlog4j.configuration=3D"file:///%cd%/log4j.properties" -jar =20
target/apacheds-server-main-1.5.1-SNAPSHOT-app.jar server.xml
enclose the log4j.configuration switch with "".
Greetings
Markus
Zitat von Emmanuel Lecharny <elecharny-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.o
rg>:
> Hi,
>
> does it work fine ?
>
> If so, let's just switch
>
>
> On 6/25/07, Ersin Er <ersin.er-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wr
ote:
ty[vbcol=seagreen]
>
>
> --=20
> Regards,
> Cordialement,
> Emmanuel L=E9charny
> www.iktek.com
--=20
WEBUNITY - Internet, Consulting, Neue Medien
Markus Pohle (SCJP)
GPG Public Key Block available at:
http://www.webunity.de/markus.pohle...ublic.gmane.org
[ Post a follow-up to this message ]
|