Oracle 9i 支持 JCE 吗?
I created a Java based Oracle stored procedure which requires JCE installed.
I used loadjava command to load all JCE jar files. I also granted necessary permissions as follows:
dbms_java.grant_permission('SCOTT','SYS:java.security.SecurityPermission', 'putProviderProperty.SunJCE','')
dbms_java.grant_permission('SCOTT','SYS:java.security.SecurityPermission', 'insertProvider.SunJCE','')
dbms_java.grant_permission('SCOTT','SYS:java.io.FilePermission', '<<ALL FILES>>','read')
dbms_java.grant_permission('SCOTT','SYS:java.lang.RuntimePermission', 'getProtectionDomain','')
But when I ran a testing code to call the procedure, it gave me the error "ORA-29532: Java call terminated by uncaught Java exception:
java.lang.ExceptionInInitializerError"
[B]Anybody knows whether Oracle 9i support JCE? If yes, how to make it work?[/B]
Thanks,
Oracle, created, Java, based, procedure
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论