Home  >  Article  >  Database  >  【EBS】打中文patch6678700报错小记

【EBS】打中文patch6678700报错小记

WBOY
WBOYOriginal
2016-06-07 16:12:441365browse

EBS12.1.1在打patch6678700中文补丁时报错如下: ATTENTION: All workers either have failed or are waiting:FAILED: file XLIFFLoader.class on worker ....ATTENTION: Please fix the above failed worker(s) so the manager can continue. 进一步去查看

EBS12.1.1在打patch6678700中文补丁时报错如下:

ATTENTION: All workers either have failed or are waiting:

FAILED: file XLIFFLoader.class on worker ....

ATTENTION: Please fix the above failed worker(s) so the manager can continue.

进一步去查看出错的adwrok的日志,发现其中报错如下:

Target file: FADTXD.xlf

Start uploading...
[060209_054527800][][EXCEPTION] java.io.UTFDataFormatException: Invalid UTF8 encoding.
at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:203)
at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2488)
at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:1089)
at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:3047)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:521)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:288)
at oracle.apps.xdo.oa.util.TemplateTranslator.
createMLSTemplates(TemplateTranslator.java:238)
at oracle.apps.xdo.oa.util.XLIFFLoader.processUpload(XLIFFLoader.java:709)
at oracle.apps.xdo.oa.util.XLIFFLoader.process(XLIFFLoader.java:565)
at oracle.apps.xdo.oa.util.XLIFFLoader.main(XLIFFLoader.java:1073)

oracle.apps.xdo.XDOException: Exception while parsing base template
at oracle.apps.xdo.oa.util.TemplateTranslator.
createMLSTemplates(TemplateTranslator.java:241)
at oracle.apps.xdo.oa.util.XLIFFLoader.processUpload(XLIFFLoader.java:709)
at oracle.apps.xdo.oa.util.XLIFFLoader.process(XLIFFLoader.java:565)
at oracle.apps.xdo.oa.util.XLIFFLoader.main(XLIFFLoader.java:1073)

AD Worker error:
The above program failed. See the error messages listed
above, if any, or see the log and output files for the program.

解决方法如下:

1.设置环境变量APPS.env

2.执行以下命令:

adjava -ms128m -mx256m -nojit oracle.apps.xdo.oa.util.XDOLoader UPLOAD
-DB_USERNAME <apps_un> -DB_PASSWORD <apps_pw> -JDBC_CONNECTION
"(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL
=tcp)(HOST=<your hostname with domain>)(PORT=<your port>)))(CONNECT_DATA=(SID=<your sid>)))"
-LOB_TYPE DATA_TEMPLATE -APPS_SHORT_NAME OFA -LOB_CODE FADTXD -LANGUAGE 00
-XDO_FILE_TYPE XML-DATA-TEMPLATE -FILE_NAME
$FA_TOP/patch/115/publisher/defs/FADTXD.xml

执行命令:

adjava -ms128m -mx256m -nojit oracle.apps.xdo.oa.util.XDOLoader UPLOAD
-DB_USERNAME <apps_un> -DB_PASSWORD <apps_pw> -JDBC_CONNECTION
"(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL
=tcp)(HOST=<your hostname with domain>)(PORT=<your port>)))(CONNECT_DATA=(SID=<your sid>)))"
-LOB_TYPE TEMPLATE_SOURCE -APPS_SHORT_NAME OFA -LOB_CODE FADTXD -LANGUAGE en
-TERRITORY US -XDO_FILE_TYPE RTF -TRANSLATE Y -FILE_NAME
$FA_TOP/patch/115/publisher/templates/US/FADTXD.rtf

Note: 修改以上命令中以下内容
 

<apps_un> with your apps user ;
<apps_pw> with your apps password ;
<your hostname with domain> with hostname and domain like: test1.oracle.com ;
<your port> with your port number ;
<your sid> with your SID.

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn