Welcome Guest Search | Active Topics | Members | Log In | Register

java.net.SocketException: Connection reset by peer Options · View
sunghun
Posted: Monday, February 27, 2012 8:55:11 PM
Rank: Newbie Coder
Groups: Member

Joined: 2/16/2012
Posts: 4
Points: -185
Location: Australia
Hi,

Network error happens while I am testing WebORB messaging with Android client. What I did is that I create subscriber when main activity starts to wait for the push message from server. When the weborb client starts, suddenly the error happens. I am trying to analyze the log, but i can't the reason,.
Would you let me know what the below messages means?


02-28 14:50:07.275: WARN/System.err(7353): java.net.SocketException: Connection reset by peer
02-28 14:50:07.280: WARN/System.err(7353): at org.apache.harmony.luni.platform.OSNetworkSystem.read(Native Method)
02-28 14:50:07.280: WARN/System.err(7353): at dalvik.system.BlockGuard$WrappedNetworkSystem.read(BlockGuard.java:273)
02-28 14:50:07.280: WARN/System.err(7353): at org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:458)
02-28 14:50:07.280: WARN/System.err(7353): at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:85)
02-28 14:50:07.285: WARN/System.err(7353): at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:65)
02-28 14:50:07.285: WARN/System.err(7353): at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:140)
02-28 14:50:07.285: WARN/System.err(7353): at java.io.BufferedInputStream.read(BufferedInputStream.java:225)
02-28 14:50:07.315: WARN/System.err(7353): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.readLine(HttpURLConnectionImpl.java:660)
02-28 14:50:07.315: WARN/System.err(7353): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.readResponseHeaders(HttpURLConnectionImpl.java:690)
02-28 14:50:07.315: WARN/System.err(7353): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.retrieveResponse(HttpURLConnectionImpl.java:1040)
02-28 14:50:07.315: WARN/System.err(7353): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:512)
02-28 14:50:07.320: WARN/System.err(7353): at weborb.client.HttpIOEngine.sendRequest(HttpIOEngine.java:141)
02-28 14:50:07.320: WARN/System.err(7353): at weborb.client.Subscription.initDsId(Subscription.java:191)
02-28 14:50:07.325: WARN/System.err(7353): at weborb.client.Subscription.subscribe(Subscription.java:108)
02-28 14:50:07.325: WARN/System.err(7353): at weborb.client.WeborbClient.subscribe(WeborbClient.java:130)
02-28 14:50:07.325: WARN/System.err(7353): at weborb.client.WeborbClient.subscribe(WeborbClient.java:113)
02-28 14:50:07.325: WARN/System.err(7353): at com.cca.ccah.services.WeborbSubscriber.makeConnection(WeborbSubscriber.java:91)
02-28 14:50:07.330: WARN/System.err(7353): at com.cca.ccah.services.WeborbSubscriber.run(WeborbSubscriber.java:62)
02-28 14:50:07.330: WARN/System.err(7353): at com.cca.ccah.mainscreens.Home.startPushSubscriber(Home.java:215)
02-28 14:50:07.330: WARN/System.err(7353): at com.cca.ccah.mainscreens.Home.onCreate(Home.java:129)
02-28 14:50:07.335: WARN/System.err(7353): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
02-28 14:50:07.335: WARN/System.err(7353): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
02-28 14:50:07.335: WARN/System.err(7353): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
02-28 14:50:07.335: WARN/System.err(7353): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
02-28 14:50:07.335: WARN/System.err(7353): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
02-28 14:50:07.340: WARN/System.err(7353): at android.os.Handler.dispatchMessage(Handler.java:99)
02-28 14:50:07.340: WARN/System.err(7353): at android.os.Looper.loop(Looper.java:130)
02-28 14:50:07.345: WARN/System.err(7353): at android.app.ActivityThread.main(ActivityThread.java:3691)
02-28 14:50:07.345: WARN/System.err(7353): at java.lang.reflect.Method.invokeNative(Native Method)
02-28 14:50:07.345: WARN/System.err(7353): at java.lang.reflect.Method.invoke(Method.java:507)
02-28 14:50:07.345: WARN/System.err(7353): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
02-28 14:50:07.345: WARN/System.err(7353): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
02-28 14:50:07.345: WARN/System.err(7353): at dalvik.system.NativeStart.main(Native Method)
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.083 seconds.