tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: Problem with individual jars and Security Manager in TC4.1.10
Date Thu, 05 Sep 2002 07:41:51 GMT
Renato wrote:
> Hi all,
> 
> I'm trying to upgrade a production installation running TC 4.0.4 to lastest 4.1.10. So
far, so good ( still using Jasper 1 ), but I think there is a problem with the configuration
of catalina.policy for individual jar files.
> 
> On catalina.policy it says to use:
> 
> grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar" {
> 
> But if I use like this I get:
> 
> java.security.policy: error adding Entry:
>         java.net.MalformedURLException: no !/ in spec
> 
> 
> If I include "!/-" as it usually worked in TC 4.0.4 apparently it woks ok.
> 
> Anybody ? Glenn ?

Well, I changed the URLs to be used for the codebases to something more 
standard. Now the codebase URL should be:
file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar

I'm building a list of issues I should add to the release notes, and 
that one should go in.

Remy


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message