I was testing cactus with BEA WebLogic 4.5.1. All works fine on my own NT machine. When I try to test the Sun Solaris machine from my NT machine a SocketException was thrown on the server:
Mon Nov 19 11:45:33 CET 2001:<W> <ListenThread> Connection rejected: Unable to read from the socket [host=172.16.232.57,port=1307,localport=7101] java.net.SocketException: Connection reset by peer: Connection reset by peer 172.16.232.57 was my local machine. The output file looks like this: Testsuite: de.dl.service.useradmin.gui.TestPartnerAdminServlet Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 5,778 sec Testcase: testLogin took 5,738 sec Caused an ERROR null java.lang.NullPointerException at de.dl.service.useradmin.gui.TestPartnerAdminServlet.endLogin(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at org.apache.commons.cactus.AbstractTestCase.callEndMethod(AbstractTestCase.java:240) at org.apache.commons.cactus.ServletTestCase.runGenericTest(ServletTestCase.java:156) at org.apache.commons.cactus.ServletTestCase.runTest(ServletTestCase.java:128) at org.apache.commons.cactus.AbstractTestCase.runBare(AbstractTestCase.java:266) 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:131) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409) The Exception was thrown when cactus tries to send the results back to the client. has anybody an Idea. bye Olaf -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
