Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error 502: cannot read input file

3 views
Skip to first unread message

mast...@gmail.com

unread,
Jul 9, 2007, 9:14:58 AM7/9/07
to
Hello,
I'm trying to develop a GWT Application (but it's not a GWT problem).
In the server side, I've something like this:

URL url = new URL("http://myip:8080/myproject/image/myjpeg.jpg");
BufferedImage im = ImageIO.read(url);
// then I make some "drawImage()" in order to create a Graphics2D...

On my computer (Tomcat 5.5.23 on Windows), it works fine, even with
another computer with the same IP (LAN).
But on a Linux server, I've an error:

Error 502: cannot read input file (bad gateway) or reverse proxy
error.
at "ImageIO.read("...");"

Can someone can help me and tell me where dis I make a mistake?

0 new messages