directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre CHATEL <maili...@chatelp.org>
Subject Re: trying to build maven on MacOS X
Date Sat, 18 Mar 2006 13:15:06 GMT
Here is the content of the  
org.apache.directory.server.ssl.LdapsTest.txt file.
I also attached to this email the test-suite xml file which probably  
contains more details about the error.

Should i deactivate the tests for now in order to see if i can  
complete the build process despite the failing test ? (and if so, how  
can i do that)

Pierre

------------------------------------------------------------------------ 
-------
Battery: org.apache.directory.server.ssl.LdapsTest
------------------------------------------------------------------------ 
-------
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 5.362 sec

testSetUpTearDown(org.apache.directory.server.ssl.LdapsTest)  Time  
elapsed: 5.326 sec  <<< ERROR!

[ stdout ]  
---------------------------------------------------------------



[ stderr ]  
---------------------------------------------------------------



[ stacktrace ]  
-----------------------------------------------------------

javax.naming.CommunicationException: simple bind failed: localhost: 
8192 [Root exception is java.net.SocketException: Socket is closed]
	at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:197)
	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2637)
	at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java: 
175)
	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java: 
193)
	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance 
(LdapCtxFactory.java:136)
	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext 
(LdapCtxFactory.java:66)
	at javax.naming.spi.NamingManager.getInitialContext 
(NamingManager.java:667)
	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java: 
247)
	at javax.naming.InitialContext.init(InitialContext.java:223)
	at javax.naming.InitialContext.<init>(InitialContext.java:197)
	at javax.naming.directory.InitialDirContext.<init> 
(InitialDirContext.java:82)
	at org.apache.directory.server.ssl.LdapsTest.setUp(LdapsTest.java:94)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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.battery.JUnitBattery.executeJUnit 
(JUnitBattery.java:242)
	at org.apache.maven.surefire.battery.JUnitBattery.execute 
(JUnitBattery.java:216)
	at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
	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.SurefireBooter.runTestsInProcess 
(SurefireBooter.java:304)
	at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java: 
220)
	at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java: 
368)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginManager.java:415)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:531)
	at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec 
ycle(DefaultLifecycleExecutor.java:472)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java:451)
	at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
Failures(DefaultLifecycleExecutor.java:303)
	at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
DefaultLifecycleExecutor.java:270)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java:139)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
	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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.net.SocketException: Socket is closed
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF 
(SSLSocketImpl.java:1145)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite 
(SSLSocketImpl.java:1166)
	at com.sun.net.ssl.internal.ssl.AppOutputStream.write 
(AppOutputStream.java:43)
	at java.io.BufferedOutputStream.flushBuffer 
(BufferedOutputStream.java:65)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
	at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:390)
	at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:334)
	at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:192)
	... 53 more



On Mar 18, 2006, at 1:18 PM, Emmanuel Lecharny wrote:

> surefire-reports


Mime
View raw message