problem facing when uploadin file thru java applet using WSA

Unanswered Question
Nov 12th, 2009

I am facing a issue, when I am trying to upload a pdf file on a website which uses java applet and WSA as proxy. On the java applet window when I select the file a click upload, it gives " Upload failed : java.net.Unknownhostexception ".
On checking the issue in java console getting following error "SEVERE: java.net.UnknownHostException: www.mca.gov.in
java.net.UnknownHostException: www.mca.gov.in
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:86)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:652)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:628)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
at javazoom.transfer.client.http.HTTPTransfer.headInfo(Unknown Source)
at javazoom.transfer.client.http.HTTPUploadTransfer.dbupdate(HTTPUploadTransfer.java:973)
at javazoom.transfer.client.http.HTTPUploadTransfer.run(HTTPUploadTransfer.java:155)
at java.lang.Thread.run(Unknown Source)
network: Connecting http://www.mca.gov.in:80/ with proxy=DIRECT
29-Oct-2009 15:03:58 javazoom.transfer.client.http.HTTPTransfer headInfo
SEVERE: java.net.UnknownHostException: www.mca.gov.in
29-Oct-2009 15:03:58 javazoom.transfer.client.http.HTTPUploadTransfer run
INFO: Upload failed"

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion