You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Va...@aol.com on 2007/01/20 04:26:30 UTC

Tomcat SSL & SVG

Tomcat users,

My web application was working fine the last 12 months  but all of the sudden 
I can't display SVG inside the JSP pages by using the embed tag. The Tomcat 
server can  display the SVG when I'm not using SSL but fails when I switch to 
SSL. I'm using the correct mime-types for SVG in the conf/web.xml and inside 
the embed tag. I'm using Tomcat 5.5.9 (tried also with 5.5.20), the adobe SVG 
plugin 
3.03 , and IE 6.0. Somehow Tomcat stopped recognizing the SVG when using SSL. 
Have you experience this problem? How can I force Tomcat to recognize SVG in 
SSL mode? Everything works fine in nonSSL mode and it used to work in SSL 
mode until 
2 days ago. If I try opening a test.svg file in SSL mode the browser 
complains that the test.svg can not be found. Any help will be appreciated.

Thanks,

Alberto

Re: Tomcat SSL & SVG

Posted by Mark Thomas <ma...@apache.org>.
VascoAce@aol.com wrote:
> Any help will be appreciated.

I have seen similar issues reported and it appears to be a
browser/plug-in issue although I never got as far as finding the root
cause.

Have you tried with other browsers?

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat SSL & SVG

Posted by Bill Barker <wb...@wilshire.com>.
<Va...@aol.com> wrote in message news:c9d.7ccc0ab.32e2e5e6@aol.com...
> Tomcat users,
>
> My web application was working fine the last 12 months  but all of the 
> sudden
> I can't display SVG inside the JSP pages by using the embed tag. The 
> Tomcat
> server can  display the SVG when I'm not using SSL but fails when I switch 
> to
> SSL. I'm using the correct mime-types for SVG in the conf/web.xml and 
> inside
> the embed tag. I'm using Tomcat 5.5.9 (tried also with 5.5.20), the adobe 
> SVG
> plugin
> 3.03 , and IE 6.0. Somehow Tomcat stopped recognizing the SVG when using 
> SSL.
> Have you experience this problem? How can I force Tomcat to recognize SVG 
> in
> SSL mode? Everything works fine in nonSSL mode and it used to work in SSL
> mode until
> 2 days ago. If I try opening a test.svg file in SSL mode the browser
> complains that the test.svg can not be found. Any help will be 
> appreciated.
>

If you are using SSL via a <transport-guarantee>, then this is a very old 
"feature" of Tomcat.  Search the archives for disableProxyCaching for the 
answers.

> Thanks,
>
> Alberto
> 




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat SSL & SVG

Posted by va...@aol.com.
 Tomcat users,
 
Your replies were very helpful to solve the problem. The solution was found in bugzilla and it consists of disabling the proxyCaching. See below:
 
http://issues.apache.org/bugzilla/show_bug.cgi?id=27122+
 
The work-around is to configure the Authenticator yourself:
<Context path="/myapp" docBase="myapp">
  <Valve className="org.apache.catalina.authenticator.FormAuthenticator"
          disableProxyCaching="false" />
</Context>

Of course, if you're not using Form auth, then substitute the correct class in 
the example above.
 
Thanks very much!!
 
Alberto
 
 
 
-----Original Message-----
From: VascoAce@aol.com
To: users@tomcat.apache.org
Sent: Fri, 19 Jan 2007 10:26 PM
Subject: Tomcat SSL & SVG


Tomcat users,

My web application was working fine the last 12 months  but all of the sudden 
I can't display SVG inside the JSP pages by using the embed tag. The Tomcat 
server can  display the SVG when I'm not using SSL but fails when I switch to 
SSL. I'm using the correct mime-types for SVG in the conf/web.xml and inside 
the embed tag. I'm using Tomcat 5.5.9 (tried also with 5.5.20), the adobe SVG plugin 
3.03 , and IE 6.0. Somehow Tomcat stopped recognizing the SVG when using SSL. 
Have you experience this problem? How can I force Tomcat to recognize SVG in 
SSL mode? Everything works fine in nonSSL mode and it used to work in SSL mode until 
2 days ago. If I try opening a test.svg file in SSL mode the browser complains that the test.svg can not be found. Any help will be appreciated.

Thanks,

Alberto
________________________________________________________________________
Check out the new AOL.  Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more.