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 with
'; 'David Wall'
Subject: RE: Granting security permissions not working
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
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 the -security option that
turns on Tomcat
with the security manager installed. Often you need
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
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;
};
I would
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;
};
I would
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
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