In Tomcat 4.0 the URL used for the codeBase for jar files located in
/WEB-INF/lib starts with "jar:file:...", your grant below starts
with "file:...". Those are two different codeBases! The SecurityManager
is very picky about where code comes from when granting permissions,
the URL must start wit
resident
> StratusCom Manufacturing Systems Inc. - We use information technology to
> solve business problems on your plant floor.
> http://stratuscom.ca
>
> >-Original Message-
> >From: John Pelly [mailto:[EMAIL PROTECTED]]
> >Sent: November 18, 2002 22:19
> >T
lto:[EMAIL PROTECTED]]
>Sent: November 18, 2002 22:19
>To: 'Tomcat Users List'; 'David Wall'
>Subject: RE: Granting security permissions not working
>
>
>Thank you for your suggestions. See my comments below:
>
>> First, ensure you are running with t
Thank you for your suggestions. See my comments below:
> First, ensure you are running with the -security option that
> turns on Tomcat
> with the security manager installed. Often you need to modify the
I am definitely running with the -security option. I have double-checked
that it's in my st
I know it's not going to help you much or at all. And I am not
certain what's going on with your side, but just FYI. I have
tested the TC v4.1.12 with "-security." And it runs fine on
the WinNT.
It has many security permissions in the catalina.policy, inclduing
own Web Apps, JAXM, AXIS, RMI stub d
Thank you for your suggestions. See my comments below:
> First, ensure you are running with the -security option that
> turns on Tomcat
> with the security manager installed. Often you need to modify the
I am definitely running with the -security option. I have double-checked
that it's in my st
> I am not able to grant security permissions on individual jar files. Can
> someone tell me what I'm doing wrong?
>
> In my policy file (CATALINA_HOME/conf/catalina.policy) I have the
> following setting:
>
> grant codeBase "file:${catalina.home}/-" {
> permission java.security.AllPermission;
> };