상세 컨텐츠

본문 제목

javax.xml.xpath with BW6

TIBCO/BW6

by 야솔아빠 2020. 5. 31. 22:47

본문

반응형

 

If you find out below error with this sample project, you shoud add java.extended.properties.

2020-05-29 14:36:34.786 ERROR [bwEngThread:In-Memory Process Worker-1] com.tibco.bw.core - TIBCO-BW-CORE-500050: The BW process [doctest.Process] instance faulted, JobId [bw0a100], ProcessInstanceId [bw0a100], ParentProcessInstanceId [-], Module [DocTest:1.0.0.20200529143529], Application [DocTest.application:1.0].
<CausedBy> TIBCO-BW-CORE-500051: Activity [JavaInvoke] fault.
<CausedBy> com.tibco.bw.runtime.ActivityFault: The method [createDoc] raised exception [javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created]. [Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created].-{ActivityName=JavaInvoke, ProcessName=doctest.Process, ModuleName=DocTest}
<CausedBy> java.lang.RuntimeException: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
<CausedBy> java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

 

You should add below properties in bwappnode.tra file 

java.extended.properties=-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Djavax.xml.xpath.XPathFactory=com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl -Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl

MySeqTest.application.zip
0.06MB

반응형

'TIBCO > BW6' 카테고리의 다른 글

BW6 list of itmes using Java to Xml  (0) 2020.06.19
BW 6.6.1 JMS Sender test  (0) 2020.06.05
Memory Saving mode  (0) 2020.05.26
EMS install on BW6  (0) 2020.05.26
BW 6.6.1 upgrade from BW 6.6.0  (0) 2020.05.23

관련글 더보기

댓글 영역