Solutions of some common TIBCO BW failures-Part 2

Call process input failed –  COMPLEX_E_MISSING_ELEMENT_DECLARATION

"<ns0:ErrorReport xmlns:ns0=""http://www.tibco.com/pe/EngineTypes""><StackTrace>Job-12331880 Error in [Services/NXZ/Starters/nxz.process/Call Implementation]
Call process input failed validation
at com.tibco.pe.core.CallProcessActivity.eval(CallProcessActivity.java:293)
at com.tibco.pe.plugin.Activity.eval(Activity.java:240)
at com.tibco.pe.core.TaskImpl.eval(TaskImpl.java:775)
at com.tibco.pe.core.Job.step(Job.java:729)
at com.tibco.pe.core.Job.checkStep(Job.java:518)
at com.tibco.pe.core.JobDispatcher$JobCourier.runx(JobDispatcher.java:249)
at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)
caused by: org.xml.sax.SAXException: validation error: no declaration for element ""{http://www.xxx""   ({com.tibco.xml.validation}COMPLEX_E_MISSING_ELEMENT_DECLARATION) at /ns1:DatabaseServiceRequest[1]
com.tibco.xml.validation.exception.MissingDeclarationException: no declaration for element ""{http://www.xxx""

If you got the error that is shown above, you must check namespaces in your XSD’s.

BW-HTTP-100300 – An IOException was thrown while trying to execute the Http method

<ns0:ErrorReport xmlns:ns0=""http://www.tibco.com/pe/EngineTypes""><StackTrace>Job-336386518 Error in [Services/Insurance/Implementation/XXWS.process/WebService]
An IOException was thrown while trying to execute the Http method
at com.tibco.plugin.share.http.client.JakartaHttpTransportDriver$RequestExecutor.run(JakartaHttpTransportDriver.java:245)
at com.tibco.pe.util.ThreadPool$ThreadPoolThread.run(ThreadPool.java:99)
caused by: java.io.IOException: Failed to create secure client socket: Server certificate rejected by ChainVerifier
at com.tibco.plugin.share.security.TIBCryptClientSocketFactory.createSocket(TIBCryptClientSocketFactory.java:131)
at com.tibco.plugin.share.security.TIBCryptClientSocketFactory.createSocket(TIBCryptClientSocketFactory.java:179)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.tibco.plugin.share.http.client.JakartaHttpTransportDriver$RequestExecutor.run(JakartaHttpTransportDriver.java:239)
at com.tibco.pe.util.ThreadPool$ThreadPoolThread.run(ThreadPool.java:99)
</StackTrace><Msg>An IOException was thrown while trying to execute the Http method</Msg><FullClass>com.tibco.plugin.share.http.client.HttpCommunicationException</FullClass><Class>HttpCommunicationException</Class><ProcessStack>Services/Insurance/Starters/XX.process/Call Implementation&gt;Services/Insurance/Implementation/XXWS.process/WebService</ProcessStack><MsgCode>BW-HTTP-100300</MsgCode><Data><ns1:HttpCommunicationException xmlns:ns1=""http://schemas.tibco.com/bw/plugins/http/5.0/httpExceptions""><msg>An IOException was thrown while trying to execute the Http method</msg><msgCode>BW-HTTP-100300</msgCode></ns1:HttpCommunicationException></Data></ns0:ErrorReport>

The issue was not having the actual root certificate in the trusted certs path.
This was easily solved by exporting certificates using OpenSSL:
openssl s_client -showcerts -connect <domain>:443
and copying all the certificates from there.

About Okan Pulukcu
IT Consultant and Founder of WodenSoft IT Solutions and Consultancy. Wodensoft delivering various services mainly focused on Software Development, Integration Solutions, Enterprise Solution Architecture and System Monitoring in various industries.

Leave a comment

Your email address will not be published.


*