0

我目前正在尝试使用该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.
4

1 回答 1

0

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

于 2017-10-05T14:56:32.753 回答