5 Replies Latest reply: Oct 30, 2006 6:31 PM by 475314 RSS

    errors loading fop.jar file into  database

    73453
      Hi,

      I had a problem with the fop.jar file. I used the loadjava utility to load the jar files. Only fop.jar had problems loading, the others completed without problems.
      When loading fop.jar, the majority of the classes loaded, but quite a few show erros like this:

      ORA-29534: referenced object CMSADMIN.org/apache/fop/fo/flow/FootnoteBody co
      uld not be resolved
      ORA-29534: referenced object CMSADMIN.org/apache/fop/fo/FObj could not be resolved

      Subsequently, when loading the servlets, the Logger class, which could not be resolved from the fop.jar load cannot be resolved when the following servlets are loaded:

      <SAMPLE_HOME>\src\oracle\otnsamples\cmsxdb\dbmanager\*.java

      The only idea I have right now is that I am using the wrong version of fop.jar.
      The database version I am using is:

      SQL> select * from v$version;

      BANNER
      ----------------------------------------------------------------
      Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
      PL/SQL Release 10.2.0.1.0 - Production
      CORE 10.2.0.1.0 Production
      TNS for Solaris: Version 10.2.0.1.0 - Production
      NLSRTL Version 10.2.0.1.0 - Production


      The fop verison I loaded is the one currently on the Apache web site and listed as fop-0.20.5.

      Thank you,
      Rosi MacLean
        • 1. Re: errors loading fop.jar file into  database
          475314
          did you check Jar file and content of it?

          try this;


          jar -t fop.jar | grep FootnoteBody

          or

          jar -t fop.jar | grep FObj
          • 2. Re: errors loading fop.jar file into  database
            73453
            Thank you very much for the reply. I tried to use the jar command, but finally opened the fop.jar file with winzip.

            Both FootnoteBody.class and FObj.class are in fop.jar.

            I am still going to try to make sure I can open fop.jar with the jar command, though. Perhaps this is a problem.

            Thanks again,
            Rosi MacLean
            • 3. Re: errors loading fop.jar file into  database
              475314
              no problem, one more thing; while loading java use resolve parameter... like that;

              loadjava -resolve fob.jar
              • 4. Re: errors loading fop.jar file into  database
                73453
                The -resolve did not make the problems go away.

                Here is the command I used to load fop.jar again:

                loadjava -user cmsadmin/XXX@<hostname>:1521:TestDB -verbose -resolve -force -order -thin -grant public /export/home/fop.jar

                Here is an snippet of the error messages:
                ORA-29534: referenced object CMSADMIN.org/apache/fop/fo/PropertyList could n
                ot be resolved
                granting : execute on class org/apache/fop/fo/properties/CountryMaker to public
                resolving: class org/apache/fop/fo/properties/CountryMaker
                errors : class org/apache/fop/fo/properties/CountryMaker
                ORA-29534: referenced object CMSADMIN.org/apache/fop/fo/PropertyList could n
                ot be resolved
                granting : execute on class org/apache/fop/fo/properties/LanguageMaker to public
                resolving: class org/apache/fop/fo/properties/LanguageMaker
                errors : class org/apache/fop/fo/properties/LanguageMaker
                ORA-29534: referenced object CMSADMIN.org/apache/fop/fo/PropertyList could n
                ot be resolved
                granting : execute on class org/apache/fop/fo/properties/ScriptMaker to public
                resolving: class org/apache/fop/fo/properties/ScriptMaker
                errors : class org/apache/fop/fo/properties/ScriptMaker
                ORA-29534: referenced object CMSADMIN.org/apache/fop/datatypes/ToBeImplement
                edProperty$Maker could not be resolved
                granting : execute on class org/apache/fop/fo/properties/HyphenateMaker to publi
                c
                resolving: class org/apache/fop/fo/properties/HyphenateMaker


                Some classes can be loaded, others have the ORA-29534 error. Any ideas are much appreciated.

                Thank you very much,
                Rosi MacLean
                • 5. Re: errors loading fop.jar file into  database
                  475314
                  check it out at http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:650235428776

                  it might help you to solve your problem.