带有ORA-01704的oracle.jrad.tools.xml.importer.XMLImporter:字符串文字太长

时间:2017-10-04 20:00:42

标签: java oracle oaf

我目前正在尝试使用oracle.jrad.tools.xml.importer.XMLImporter命令导入区域。

但我明白了:

  

ORA-01704:字符串文字太长

Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA
                                    AD Java
                                 Version 11.5.0
NOTE: You may not use this utility for custom development
      unless you have written permission from Oracle Corporation.
Reading product information from file...
Reading language and territory information from file...
Reading language information from applUS.txt ...
  Temporarily resetting CLASSPATH to:
  "/u001/oracle/env04appl/ad/11.5.0/java/adjri.zip:/u002/jdk/jdk1.6.0_121/jre/lib/rt.jar:/u002/jdk/jdk1.6.0_121/lib/dt.jar:/u002/jdk/jdk1.6.0_121/lib/tools.jar:/u002/jdk/jdk1.6.0_121/jre/lib/charsets.jar:/u001/oracle/env04comn/java/appsborg2.zip:/u002/oracle/env04ora/8.0.6/forms60/java:/u001/oracle/env04comn/java"
  Calling /u002/jdk/jdk1.6.0_121/bin/java ... 
Importing /gir/oracle/apps/xxrh/selfservice/sq/rh23286/maj/webui/EnteteArmeElectImpulRefRN14
Error:     

ORA-01704: string literal too long
Import completed.
AD Run Java Command is complete.

它适用于我的其他地区,但这不是

jdr_utils.printDocument(p_document => '/gir/oracle/apps/xxrh/selfservice/sq/rh23286/maj/webui/EnteteArmeElectImpulRefRN14');

返回

  

错误:找不到文件/ gir / oracle / apps / xxrh / selfservice / sq / rh23286 / maj / webui / EnteteArmeElectImpulRefRN14

是什么导致这种情况?

更新 如果我使用-displayOnly标志运行它,我就不会收到错误

                     Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA

                                    AD Java

                                 Version 11.5.0

NOTE: You may not use this utility for custom development
      unless you have written permission from Oracle Corporation.

Reading product information from file...

Reading language and territory information from file...

Reading language information from applUS.txt ...
  Temporarily resetting CLASSPATH to:
  "/u001/oracle/env04appl/ad/11.5.0/java/adjri.zip:/u002/jdk/jdk1.6.0_121/jre/lib/rt.jar:/u002/jdk/jdk1.6.0_121/lib/dt.jar:/u002/jdk/jdk1.6.0_121/lib/tools.jar:/u002/jdk/jdk1.6.0_121/jre/lib/charsets.jar:/u001/oracle/env04comn/java/appsborg2.zip:/u002/oracle/env04ora/8.0.6/forms60/java:/u001/oracle/env04comn/java"

  Calling /u002/jdk/jdk1.6.0_121/bin/java ...
Validating /gir/oracle/apps/xxrh/selfservice/sq/rh23286/maj/webui/EnteteArmeElectImpulRefRN14

Documents and Package Files that will be imported:
  /gir/oracle/apps/xxrh/selfservice/sq/rh23286/maj/webui/EnteteArmeElectImpulRefRN14

AD Run Java Command is complete.

1 个答案:

答案 0 :(得分:0)

想出来, 我有一个包含7160个字符的rawText项目。删除它解决了我的问题。