tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7319] - codeBase in catalina.policy broken with jars
Date Thu, 16 May 2002 15:30:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7319>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7319

codeBase in catalina.policy broken with jars





------- Additional Comments From randy.watson@guidant.com  2002-05-16 15:30 -------
Interesting!  I rebuilt the war file, didn't include the parser, and now I get a
different error.  If I set security to:
grant {
  permission java.security.AllPermission;
};

Everything works fine.  If I try to lock things down to the webapp dir/subdirs:

grant codeBase "file:${catalina.home}/webapps/prm_web/-" {
  permission java.security.AllPermission;
};

report</p><p><b>message</b> <u>Internal Server
Error</u></p><p><b>description</b> <u>The server encountered
an internal error
(Internal Server Error) that prevented it from fulfilling this
request.</u></p><p><b>exception</b> <pre>java.lang.NullPointerException
	at prm_db_query.PrmDataSource.submitQuery(PrmDataSource.java:147)
	at prm_db_forms.QueryManagerAction.submitQuery(QueryManagerAction.java:205)
	at prm_db_forms.QueryManagerAction.perform(QueryManagerAction.java:106)

I've also tried setting the permissions also with the lib/- and the classes/-. 
It works to the point of the remote query to a postgresql db, but dies there. 
I'm thinking that this is less of a bug and more of a config issue, since it
works if I wide open things with the security manager.

--
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