cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leo leonid <...@leonid.de>
Subject Re: [OT] [solution] Why is my cocoon app an IE6 killer?
Date Fri, 11 Oct 2002 11:20:33 GMT
I finally solved the problem.
It is not Cocoon nor is it the sevlet container or apache.
The problem is caused by corrupt IPTC profiles in some JPG Images. e.g.:
   Profile-iptc: 4496 bytes
     unknown:
   0x00000000: ffffffff ffffffff ffffffff ffffffff ffffff03  -----------
   0x00000014: ffffffff ffffffff 03ff00                      ------

Whereas most browsers don't care, some IE6 and 5.5 on Windows crash.
I got this corrupt profiles by generating thumbnails with 
JMagick/ImageMagick.
I used v.5.4.2. The latest v.5.4.9 seems to handle profiles correctly, 
but
I now remove all profiles generally with JMagick
   image.profileImage("*", null);
This also reduces the file size of may thumbnails dramatically.

So this problem is completely OT.
But maybe this clue can help others out of this hell.

/Leo


On Freitag, Oktober 4, 2002, at 04:10  Uhr, leo leonid wrote:

> Hi,
> most generally I would describe my problem with my cocoon-app as 
> follows:
>
> When accessing a
> - servlet generated site
This was a wrong assumption.
I was put on this wrong track because I tested a static page from the 
local filesystem
and the page rendered perfectly. In Another test with a static page 
from the
server the page also rendered perfectly, as I know now, by accident it 
did not
contain such harmful images.

> - with (lots of) images
> - using a recent versions of Internet Explorer (i.e.6) on windows
> then IE stops loading images. And even better: from this moment on it 
> generally
> doesn’t display images anymore, even from other sites until you 
> restart IE.
>
> The problem only (but not necessarily) occurs with IE on windows,
> but only on servlet generated sites.
>
> I found reports on this problem in the tomcat-user list,
> http://marc.theaimsgroup.com/?l=tomcat-user&m=103340719301191&w=2
> but its not just tomcat related. It’s the same with jetty.
>
> If someone likes to see the problem live, start a recent windows IE 
> and go to
> http://www.helnwein.com/werke/theater/tafel_1.html
> It's nothing wrong with the HTML and there is no JS at all.
> The current server configuration is
> c2.0.4-dev jetty 4.1 mod_jk 1.2 apache 2.0.42 – images directly from 
> apache
> on a RH linux 7.2., Java 1.4.1.
>
> Itested the following configurations with no effect to the problem:
> c2.0.3 tomcat 4.0.5/4.1.12 standalone – images served by cocoon
> c2.0.3 tomcat 4.0.5/4.1.12 standalone – images from an extra context
> c2.0.3 tomcat 4.0.5/4.1.12 mod_webapp apache 1.3 – images served by 
> cocoon
> c2.0.3 tomcat 4.0.5/4.1.12 mod_webapp apache 1.3 – images from an 
> extra context
> c2.03 tomcat 4.0.5/4.1.12 mod_webapp apache 2.0.42 – images served by 
> cocoon
> c2.0.3 tomcat 4.0.5/4.1.12 mod_webapp apache 2.0.42 – images served 
> from an extra context
> c2.0.3 tomcat 4.0.5/4.1.12 mod_webapp apache 2.0.42 – images directly 
> from apache
> c2.0.4-dev tomcat 4.0.5/4.1.12 mod_jk 1.2 apache 2.0.42 – images 
> served by cocoon
> c2.0.4-dev tomcat 4.0.5/4.1.12 mod_jk 1.2 apache 2.0.42 – images from 
> an extra context
> c2.0.4-dev tomcat 4.0.5/4.1.12 mod_jk 1.2 apache 2.0.42 – images 
> directly from apache
> c2.0.4-dev jetty 4.1 mod_jk 1.2 apache 2.0.42 – images directly from 
> apache
>
> This is really frustrating.
> Does anyone have similar experiences or hints to solve the problem?
> Please tell me!
>
> Thanks
> /Leo
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message