File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Unexpected  end of file from server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Unexpected end of file from server
 
Similar Threads
Unexpected end of file from server
HttpURLConnection hangs downloading big files
how to read content of a site?
trying to post from servlet to web server
java.net.SocketException: Unexpected end of file from server