tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklancic, Daniel J" <mikla...@bp.com>
Subject Loading sun.jdbc.odbc.JdbcOdbcDriver in Tomcat 4.0 with -security
Date Wed, 21 Nov 2001 14:42:29 GMT
I am running Tomcat with the -security option.

When trying to load the sun.jdbc.odbc.JdbcOdbcDriver I receive an access
control exception   

    java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc

and it tells me I am trying to load a Restriced Access class.  

I have added the following to my catalina.policy file to no avail:

permission java.lang.RuntimePermission
"accessClassInPackage.sun.jdbc.odbc.*";

Note: Adding java.security.AllPermission works, but would prefer to restrict
access.

Any ideas on how to resolve this?

Thanks,

Dan

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message