This discussion is archived
0 Replies Latest reply: May 27, 2012 6:09 PM by 940001 RSS

ORA-29534 itextpdf-5.2.1 11g

940001 Newbie
Currently Being Moderated
Hi Evereryone.
I need make some pdf's from pl-sq, I have java code to generate some reports, this code needs itext5.2.1 library, but the database trhows ORA-29534 error when I load itext5.2.1 jar file (with loadjava).


Database: Oracle Database 11g R2
SO: Oracle Enterprise Linux 4 update 8
Itext Version: itext-5.2.1.jar


I load:

javaload -user  pdf3/pdf3 -schema pdf3 -f -r -v -recursivejars bcprov-jdk14-147.jar
javaload -user  pdf3/pdf3 -schema pdf3 -f -r -v -recursivejars bcmail-jdk15on-147.jar
javaload -user  pdf3/pdf3 -schema pdf3 -f -r -v -recursivejars itextpdf-5.2.1.jar

I grant the rights (my user PDF3) on folder /PDF/:

begin
dbms_java.grant_permission ('PDF3', 'SYS:java.io.FilePermission', '//PDF/*', 'read, write');
dbms_java.grant_permission ('PDF3', 'SYS:java.lang.RuntimePermission', ' * ', 'writeFileDescriptor');
end;



This is the log file:


arguments: '-user' 'pdf3/***' '-schema' 'pdf3' '-f' '-r' '-v' '-recursivejars' 'itextpdf-5.2.1.jar'
creating : resource PDF3.META-INF/MANIFEST.MF
loading : resource PDF3.META-INF/MANIFEST.MF
creating : resource PDF3.com/itextpdf/text/pdf/fonts/Helvetica-Bold.afm
loading : resource PDF3.com/itextpdf/text/pdf/fonts/Helvetica-Bold.afm
creating : resource PDF3.com/itextpdf/text/pdf/fonts/Times-Italic.afm
loading : resource PDF3.com/itextpdf/text/pdf/fonts/Times-Italic.afm
creating : resource PDF3.com/itextpdf/text/pdf/fonts/Times-BoldItalic.afm
loading : resource PDF3.com/itextpdf/text/pdf/fonts/Times-BoldItalic.afm
creating : resource PDF3.com/itextpdf/text/pdf/fonts/mustRead.html
loading : resource PDF3.com/itextpdf/text/pdf/fonts/mustRead.html
creating : resource PDF3.com/itextpdf/text/pdf/fonts/Courier-Bold.afm
loading : resource PDF3.com/itextpdf/text/pdf/fonts/Courier-Bold.afm
.
.
.
.
This first block only load, but when resolve the classes throws the ORA--29534 like this


errors : class com/itextpdf/text/Anchor
ORA-29534: el objeto PDF2.com/itextpdf/text/Chunk al que se hace referencia no se ha podido resolver
errors : class com/itextpdf/text/BaseColor
ORA-29534: el objeto PDF2.com/itextpdf/text/error_messages/MessageLocalization al que se hace referencia no se ha podido resolver
errors : class com/itextpdf/text/Chapter
ORA-29534: el objeto PDF2.com/itextpdf/text/Paragraph al que se hace referencia no se ha podido resolver
ORA-29534: el objeto PDF2.com/itextpdf/text/Section al que se hace referencia no se ha podido resolver
errors : class com/itextpdf/text/ChapterAutoNumber
ORA-29534: el objeto PDF2.com/itextpdf/text/Paragraph al que se hace referencia no se ha podido resolver
ORA-29534: el objeto PDF2.com/itextpdf/text/Section al que se hace referencia no se ha podido resolver
errors : class com/itextpdf/text/Chunk
ORA-29534: el objeto PDF2.com/itextpdf/text/Image al que se hace referencia no se ha podido resolver
errors : class com/itextpdf/text/DocListener
ORA-29534: el objeto PDF2.com/itextpdf/text/Rectangle al que se hace referencia no se ha podido resolver
errors : class com/itextpdf/text/DocWriter
ORA-29534: el objeto PDF2.com/itextpdf/text/Document al que se hace referencia no se ha podido resolver
errors : class com/itextpdf/text/Document
ORA-29534: el objeto PDF2.com/itextpdf/text/ChapterAutoNumber al que se hace referencia no se ha podido resolver
errors : class com/itextpdf/text/Font$1
ORA-29534: el objeto PDF2.com/itextpdf/text/Font al que se hace referencia no se ha podido resolver
errors : class com/itextpdf/text/Font$FontFamily
ORA-29534: el objeto PDF2.com/itextpdf/text/Font al que se hace referencia no se ha podido resolver

Thanks in advance

Edited by: hugo598 on 27-may-2012 17:10

Edited by: hugo598 on 27-may-2012 17:11

Edited by: hugo598 on 27-may-2012 17:11

Edited by: hugo598 on 27-may-2012 17:11

Edited by: hugo598 on 27-may-2012 18:05

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points