Hi Bill, You are right - both about the socket rebind that happens because I used setUp() and tearDown() to create new servers, I will change that - and about the ThreadPool code that I�m going to streamline. Thanks for this notice, CGJ -----Urspr�ngliche Nachricht----- Von: Bill Petheram [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 17. August 2000 09:14 An: [EMAIL PROTECTED] Betreff: [jBoss-User] ZOAP tests do not work on Linux I get the following exception in ZOAP with Linux. It seems OK on WinNT. java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397) at java.net.ServerSocket.<init>(ServerSocket.java:170) at java.net.ServerSocket.<init>(ServerSocket.java:82) at de.infor.ce.http.Server.start(Server.java:167) at org.zoap.soap.test.Soap.setUp(Soap.java:139) at junit.framework.TestCase.runBare(TestCase.java:297) at junit.framework.TestResult.run(TestResult.java:65) at junit.framework.TestCase.run(TestCase.java:289) at junit.framework.TestSuite.run(TestSuite.java:119) at junit.textui.TestRunner.doRun(TestRunner.java:32) at junit.textui.TestRunner.start(TestRunner.java:129) at junit.textui.TestRunner.main(TestRunner.java:55) I thought that it could be that a new ServerSocket was being created and a listen on a previous ServerSocket was not being terminated. However the code in ThreadPool is rather convoluted and wrong IMHO. I would suggest using XP ;-). bill -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED] -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
