There seems to be a bug in the servlet output. I installed two versions
of Tomcat freshly installed on my machine. All I did was change the port
numbers and add 2 image files:

  Tomcat 3.2.4: http://24.202.111.74:8081/test.jpg
  Tomcat 4.0.3: http://24.202.111.74:8082/test.jpg


  (Sorry, images are big (500K) but they make the problem more
reproducible)

The version 4 corrupts the image while version 3 does not. If you try
these links and 4 does not seem to corrupt the image, try refreshing a
couple of times.

This does not happen when I access these images using localhost, or the
local IP address. This only happens when the images are accessed using
my network IP address (24.202.111.74). My machine is running behind a
router that forwards request for ports 8081 and 8082 to my working
machine that hosts these tomcat instances.

At first, I thought it was a router problem but since v3.2.4 works just
fine, I am now leaning toward a problem in Tomcat.

Note that this problem happens also with simple text output. The image
just makes it more obvious.

Environment: Windows 2000

Please let me know if I should have posted this to tomcat-users instead.

PS: These links will not be there for too long...-)

--
Claude Montpetit
[EMAIL PROTECTED]
--




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to