>  기사  >  데이터 베이스  >  【EBS】打中文patch6678700报错小记

【EBS】打中文patch6678700报错小记

WBOY
WBOY원래의
2016-06-07 16:12:441363검색

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.

 

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.