Hi Ming, > -----Original Message----- > From: ïffffc3ïfffff9ïffffb7ïffffef ïffffb5ïffffd4 > [mailto:[EMAIL PROTECTED] > Sent: lundi 9 aoÃt 2004 03:41 > To: Cactus Users List > Subject: org.apache.commons.httpclient.HttpRecoverableException: > java.net.SocketException: Connection reset > > > Hi all, > I have deploy a webapp (meetingcenter) on weblogic which run in a > server(whose ip is 192.168.5.4).The application has been configured SSL > namely "https://..." and I have a cactus struts test in me local host. > Because the cactus does not support https so I put "cactus.contextURL = > http://192.168.5.4:8002/meetingcenter" in cactus.properties. when I > ran the test the background of weblogic reported :
Is the application configured to work without SSL? As for the error below, I have no idea. My suggestion would be to enable Cactus logging on the client side so that you can check what's going on and why HttpClient throws a "Connection reset". See http://jakarta.apache.org/cactus/integration/manual/howto_config.html for help on enabling logging. -Vincent > > "<Security> <BEA-090475> <Plaintext data for protocol HTTP was received > from peer 172.16.192.180 - 172.16.192.180 instead of an SSL handshake.>" > here "172.16.192.180" is my local host's ip address. > > And the exeptional trace in the eclipse reported : > org.apache.commons.httpclient.HttpRecoverableException: > java.net.SocketException: Connection reset > at > org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.j > ava:1952) > at > org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase > .java:2631) > at > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1 > 085) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:674 > ) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:558 > ) > at > org.apache.cactus.internal.client.connector.http.HttpClientConnectionHelpe > r.connect_aroundBody0(HttpClientConnectionHelper.java:142) > at > org.apache.cactus.internal.client.connector.http.HttpClientConnectionHelpe > r.connect_aroundBody1$advice(HttpClientConnectionHelper.java:188) > at > org.apache.cactus.internal.client.connector.http.HttpClientConnectionHelpe > r.connect(HttpClientConnectionHelper.java) > at > org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callRun > Test(DefaultHttpClient.java:162) > at > org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_ > aroundBody0(DefaultHttpClient.java:80) > at > org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_ > aroundBody1$advice(DefaultHttpClient.java:188) > at > org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest( > DefaultHttpClient.java) > at > org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWe > bTest(HttpProtocolHandler.java:159) > at > org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTe > st_aroundBody0(HttpProtocolHandler.java:80) > at > org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTe > st_aroundBody1$advice(HttpProtocolHandler.java:188) > at > org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTe > st(HttpProtocolHandler.java) > at > org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestC > aseCaller.java:144) > at > org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCa > ctusTestCase.java:215) > at > org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTe > stCase.java:133) > 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 > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTest > Runner.java:392) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunne > r.java:276) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunn > er.java:167) > > > > can anyone who know the reason tell me the solution? > Thanks very much > -Ming > > > > > --------------------------------- > Do You Yahoo!? > 150äæMP3ççæïåæéåéäæå > çåææåæåæïæéçåãèååéå > 1Gåæ1000åïéèçéèåæåï --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
