RE: [tomcat 7 migartion] cannot load images with jsession id in url

2011-06-23 Thread Guy Katz
Thanks you were correct.
It was my code. Though my code did work in tomcat 6 which I very
surprising...
Found the bug in my code...

-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] 
Sent: Thursday, June 23, 2011 2:54 AM
To: Tomcat Users List
Subject: Re: [tomcat 7 migartion] cannot load images with jsession id in
url

2011/6/22 Guy Katz gk...@allot.com:
 Hi all;

 I am migrating to tomcat 7 from 6.

 In tomcat 6 urls like
 http://68.169.51.83:8080/gallery/wave_surfing_gallery_thumb_652.jpg;js
 es
 sionid=A859D830090798F238DABADC713C1327 would load an image but in 
 tomcat 7 I get the following response: The Image . cannot be 
 displayed because it contains errors


First you will have to find, what the difference is.

 - corrupted file  (e.g. by transferring a binary file as text over FTP,
or using a Writer to serve binary data)
 - truncated file
 - wrong response headers

E.g. with wget --save-headers

If Tomcat 7 were not able to serve images it would have been noted a
long ago.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

##
This message is intended only for the designated recipient(s).It may contain 
confidential or proprietary information.
If you are not the designated recipient, you may not review, copy or distribute 
this message.
If you have mistakenly received this message, please notify the sender by a 
reply e-mail and delete this message. 
Thank you.
##

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



[tomcat 7 migartion] cannot load images with jsession id in url

2011-06-22 Thread Guy Katz
Hi all;

I am migrating to tomcat 7 from 6.

In tomcat 6 urls like
http://68.169.51.83:8080/gallery/wave_surfing_gallery_thumb_652.jpg;jses
sionid=A859D830090798F238DABADC713C1327 would load an image but in
tomcat 7 I get the following response: The Image . cannot be
displayed because it contains errors

I noticed there were some changes in configuration (by looking in the
migration guide) but I still can't understand how to overcome this.

I would appreciate your help.

Thanks.

 

 

Guy Katz

NetXplorer Server Team Leader
RD
Allot Communications * a mind for networks(tm)
Tel: + 972 9 761 9288
Fax: + 972 9 744 3626
gk...@allot.com mailto:gk...@allot.com 
www.allot.com http://www.allot.com 

 

 


##
This message is intended only for the designated recipient(s).It may contain 
confidential or proprietary information.
If you are not the designated recipient, you may not review, copy or distribute 
this message.
If you have mistakenly received this message, please notify the sender by a 
reply e-mail and delete this message. 
Thank you.
##


Re: [tomcat 7 migartion] cannot load images with jsession id in url

2011-06-22 Thread Konstantin Kolinko
2011/6/22 Guy Katz gk...@allot.com:
 Hi all;

 I am migrating to tomcat 7 from 6.

 In tomcat 6 urls like
 http://68.169.51.83:8080/gallery/wave_surfing_gallery_thumb_652.jpg;jses
 sionid=A859D830090798F238DABADC713C1327 would load an image but in
 tomcat 7 I get the following response: The Image . cannot be
 displayed because it contains errors


First you will have to find, what the difference is.

 - corrupted file  (e.g. by transferring a binary file as text over
FTP, or using a Writer to serve binary data)
 - truncated file
 - wrong response headers

E.g. with wget --save-headers

If Tomcat 7 were not able to serve images it would have been noted a long ago.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org