Hi,

Trying a simplge connection  in andorid using the 3rd party library
Apache Client (these libs were present by default in M5 now that it is
removed, compiling by including these as part of my app)..

However this results in unknown error..
the stacktrace is below..

[logConsole] I/TNS_DIALER(  231): unknown error
[logConsole] I/TNS_DIALER(  231): java.net.SocketException: unknown
error
[logConsole] I/TNS_DIALER(  231):       at
org.apache.harmony.luni.platform.OSNe
tworkSystem.createSocketImpl(Native Method)
[logConsole] I/TNS_DIALER(  231):       at
org.apache.harmony.luni.platform.OSNe
tworkSystem.createSocket(OSNetworkSystem.java:79)
[logConsole] I/TNS_DIALER(  231):       at
org.apache.harmony.luni.net.PlainSock
etImpl2.create(PlainSocketImpl2.java:59)
[logConsole] I/TNS_DIALER(  231):       at
java.net.Socket.startupSocket(Socket.
java:668)
[logConsole] I/TNS_DIALER(  231):       at java.net.Socket.<init>
(Socket.java:16
8)
[logConsole] I/TNS_DIALER(  231):       at
org.apache.commons.httpclient.protoco
l.DefaultProtocolSocketFactory.createSocket
(DefaultProtocolSocketFactory.java:79
)
[logConsole] I/TNS_DIALER(  231):       at
org.apache.commons.httpclient.protoco
l.DefaultProtocolSocketFactory.createSocket
(DefaultProtocolSocketFactory.java:12
1)
[logConsole] I/TNS_DIALER(  231):       at
org.apache.commons.httpclient.HttpCon
nection.open(HttpConnection.java:706)
[logConsole] I/TNS_DIALER(  231):       at
org.apache.commons.httpclient.HttpMet
hodDirector.executeWithRetry(HttpMethodDirector.java:386)
[logConsole] I/TNS_DIALER(  231):       at
org.apache.commons.httpclient.HttpMet
hodDirector.executeMethod(HttpMethodDirector.java:170)
[logConsole] I/TNS_DIALER(  231):       at
org.apache.commons.httpclient.HttpCli
ent.executeMethod(HttpClient.java:396)
[logConsole] I/TNS_DIALER(  231):       at
org.apache.commons.httpclient.HttpCli
ent.executeMethod(HttpClient.java:324)
[logConsole] I/TNS_DIALER(  231):       at
com.tejasoft.dialer.mobile.android.ut
ils.net.apache.ApacheHTTPPost.getStringResponse(ApacheHTTPPost.java:
63)
[logConsole] I/TNS_DIALER(  231):       at
com.tejasoft.dialer.mobile.android.ut
ils.net.AbstractNetTask.getResponse(AbstractNetTask.java:62)
[logConsole] I/TNS_DIALER(  231):       at
com.tejasoft.dialer.mobile.android.lo
gin.forms.net.LoginNetTask.parse(LoginNetTask.java:49)
[logConsole] I/TNS_DIALER(  231):       at
com.tejasoft.dialer.mobile.android.lo
gin.forms.net.LoginNetTask.doTaskExecute(LoginNetTask.java:31)
[logConsole] I/TNS_DIALER(  231):       at
com.tejasoft.dialer.mobile.android.ut
ils.net.AbstractNetTask.taskExecute(AbstractNetTask.java:71)
[logConsole] I/TNS_DIALER(  231):       at
com.tejasoft.dialer.mobile.android.ut
ils.net.NetTaskHelper$1.run(NetTaskHelper.java:26)
[logConsole] I/TNS_DIALER(  231): task time(sec):0
[logConsole] I/TNS_DIALER(  231): Handle: Login
[logConsole] I/TNS_DIALER(  231): Connecting: http://192.168.0.88:8181/tezzd/ser
vlet/ControlerServlet
[logConsole] I/TNS_DIALER(  231): XMLRequest: <LoginRequest
loginID='A' password
='a' remember='true'/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to