aspose file tools
The moose likes Distributed Java and the fly likes Unexpected  end of file from server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Unexpected  end of file from server" Watch "Unexpected  end of file from server" New topic
Author

Unexpected end of file from server

ajse ruku
Ranch Hand

Joined: May 06, 2005
Posts: 192
Hi all,
I am getting (Unexpected end of file from server)this error when I am connecting to my server via proxy server.
I have done the configuration like this

System.getProperties().put("proxySet", "true");
System.getProperties().put("http.proxyPort", "8080");
System.getProperties().put("http.proxyHost", "192.168.1.34");
URL url=new URL("http://192.168.1.45:8657/someapp/somepage");
URLConnection connection = url.openConnection();

Pls help if anybody have any idea.
with regards,
ajse
Oricio Ocle
Ranch Hand

Joined: Nov 30, 2004
Posts: 284

Are you identifying to the proxy?


or


Regards
[ July 22, 2006: Message edited by: Oricio Ocle ]

SCJP, OCMJD, OCMJEA
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Unexpected end of file from server
 
Similar Threads
HttpURLConnection hangs downloading big files
how to read content of a site?
trying to post from servlet to web server
Unexpected end of file from server
java.net.SocketException: Unexpected end of file from server