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

Reply via email to