Re: Problem with individual jars and Security Manager in TC4.1.10

2002-09-05 Thread Remy Maucherat

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:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Problem with individual jars and Security Manager in TC4.1.10

2002-09-04 Thread Renato


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 ?

Thanks

 

 

 



-
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes