Hello,
I am trying to use the loadjava utility to install iText as a Oracle Stored
Java Procedure. The version of iText is v2.0.8 and the Oracle Database is v9.2.
I use the following commands to try to accomplish this:
loadjava -v -r -genmissing -user MYUSER/MYPASS bcprov-jdk14.137.jar
loadjava -v -r -genmissing -user MYUSER/MYPASS bcmail-jdk14.137.jar
loadjava -v -r -genmissing -user MYUSER/MYPASS iText.jar
I also had my DBA run the following:
call dbms_java.grant_permission('MYUSER',
'SYS:oracle.aurora.security.JServerPermission', 'loadClassInPackage.*', null);
call dbms_java.grant_permission('MYUSER',
'SYS:oracle.aurora.security.JServerPermission',
'loadClassInPackage.oracle.jdbc.*', null);
During the load attempt of the bcprov & bcmail jar files, I get numerous errors
such as:
ORA-29545: badly formed class: User has attempted to load a class
(java.security.cert.PKIXCertPathValidatorResult) into a restricted package.
Permission can be granted using dbms_java.grant_permission(<user>,
LoadClassInPackage...
During the load attempt of iText I get a number of errors such as:
ORA-29545: badly formed class: User has attempted to load a class
(java.nio.MappedByteBuffer) into a restricted package. Permission can be
granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
I have seen references to people Loading iText into the database in this
fashion. Would someone who has done this before enlighten me on what piece I am
missing?
Thanks in Advance,
Jerry
Please be advised that effective November 12th, 2007 our e-mail address has
changed to wftrumbull.com. Any e-mails sent to trumbullgroup.com will be
forwarded during this transitional period. Please be sure to update your
records to reflect our new address. Thank you.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/