Skip to main content

Posts

Error, "No X11 DISPLAY variable was set, but this program performed an operation which requires it", while executing JDBC activity in deployed application

  Issue: X11 Display error for JDBC activity in deployed application.   Complete Error: JDBC plugin evaluation error: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it." Resolution:  Password reset for the DB connection Details: The password for the DB connection is about to expire. If you test the connection from designer it works fine but while running it gives a pop up saying the password is about to expire and asks if you wanna change it. On running the code from designer on local you can choose to act accordingly when the pop up appears and proceed with the process.  But on deployed application, the code does not know how to behave on this pop up since there is no display option setup or configured to handle this.  Resetting the password for the DB connection and updating in the application resolves this issue. *******************************************************************...
Recent posts

Tibco R3 Adapter Error: java.lang.NullPointerException

Issue:   After upgrading the code to 7.2.0 it starts giving error like below Server Exception: Gateway Host: USMTGFCV6574D Gateway Service: sapgw02 Program ID: TIBSAP02 Error Message: java.lang.NullPointerException ****************************************************************************************************************************************** Complete Error: 2019 Mar 29 01:42:25:109 GMT -0700 Tibco_R3Adapter-Tibco_Outbound_R3Adapter Info [Application] AER3-000084 Received IDOC Name/Number/Receiving Partner: IDOCNEW-Offer03/000000101654285343/TIBSAP02, Count: 1 2019 Mar 29 01:42:25:341 GMT -0700 Tibco_R3Adapter-Tibco_Outbound_R3Adapter Info [Adapter] AER3-000091 Total IDOCs processed: 1 2019 Mar 29 01:42:25:342 GMT -0700 Tibco_R3Adapter-Tibco_Outbound_R3Adapter Info [Adapter] AER3-000199 Transaction rolled back 0A16A13406905C9DCF7D033D 2019 Mar 29 01:42:25:344 GMT -0700 Tibco_R3Adapter-Tibco_Outbound_R3Adapter Warn [Adapter] AER3-970276 Server Exception: Gatewa...

How to add JCO Trace?

Requirement: To debug an issue and to check the data flowing through Tibco R3 adapter enable SAP JCo trace. Once the trace is enable it creates JCo tracing files in the specified location. These files have details of the JCo library, versions and JCo paths. It will show a complete trace log of the fields/segments in the adapter and it's tables and the input/output data that is flowing through the adapter. ************************************************************************************************************************************************ Steps: Add below properties in the adr3.tra file to enable SAP JCo trace: ===== java.property.jco.trace_level=8 java.property.jco.trace_path=<The path of the directory where the JCo trace file will be generated> ===== Restart the SAP adapter instance. Once you test, the JCo files will be created in the specified location. *********************************************************************************************...

Tibco BW Error: The markup in the document following the root element must be well-formed

Issue:  An error occurred while parsing:  The markup in the document following the root element must be well-formed ****************************************************************************************************************************************** Complete Error: <?xml version = "1.0" encoding = "UTF-8"?> <ns0:ErrorReport xmlns:ns0 = "http://www.tibco.com/pe/EngineTypes"> <StackTrace>Job-24000 Error in [Processes/Offer/NewOfferAdd.process/Parse XML] An error occurred while parsing:  The markup in the document following the root element must be well-formed.. at com.tibco.plugin.xml.XMLParseActivity.for(Unknown Source) at com.tibco.plugin.xml.XMLParseActivity.eval(Unknown Source) at com.tibco.pe.plugin.Activity.eval(Unknown Source) at com.tibco.pe.core.TaskImpl.eval(Unknown Source) at com.tibco.pe.core.Job.a(Unknown Source) at com.tibco.pe.core.Job.k(Unknown Source) at com.tibco.pe.core.JobDispatcher$JobCour...

Tibco R3 Adapter Error : Mismatch found for service: ****, thread count: *, connection count: *

Issue: Mismatch found for service: OfferModfiyServer, thread count: 1, connection count: 30 ****************************************************************************************************************************************** Resolution: For all Inbound Adapter Configurations in code, go to Advanced Tab and configure ThreadCount.  It is better to configure a GV and use in all the adapter configurations. ****************************************************************************************************************************************** Details: The error defines that there is an mismatch in the number of threads and the number of connections used in client connection pool. Here, in my case it says connection count is 30 but the thread count is 1. So I configured the thread count to be 30 and the issue is resolved. ******************************************************************************************************************************...

Tibco BW Error "Exception in parse eval: [Ljava.lang.Object;@****]"

Issue: Exception in parse eval: [Ljava.lang.Object;@124bf39b ****************************************************************************************************************************************** Complete Error: <?xml version = "1.0" encoding = "UTF-8"?> <ns0:ErrorReport xmlns:ns0 = "http://www.tibco.com/pe/EngineTypes"> <StackTrace>Job-6000 Error in [Processes/ABC.process/Header Group/RenderE1EDL20] Exception in parse eval: [Ljava.lang.Object;@124bf39b. at com.tibco.plugin.parse.RenderActivity.eval(Unknown Source) at com.tibco.pe.plugin.Activity.eval(Unknown Source) at com.tibco.pe.core.TaskImpl.eval(Unknown Source) at com.tibco.pe.core.Job.a(Unknown Source) at com.tibco.pe.core.Job.k(Unknown Source) at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source) at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source) caused by: java.io.IOException at com.tibco.plugin.parse.Rende...

Tibco Rendezvous (RV): Monitoring and Troubleshooting

Once the setup is done, the most important thing is to monitor the connections, communication, transfer of messages and to troubleshoot the issues. This can be done through the means listed below. Monitoring and Troubleshooting: Below are the means available for monitoring and assessment: Rendezvous performance assessment software: It is a tool that measures the performance of RV in a running situation and provides a detailed output report. It consists of two executable programs: Rvperfm and rvperfs : These are the performance assessment tools which measures their capacity to receive messages as part of overall network performance. Rvperfm sends messages to the network and reports the statistics to stdout. Rvperfs listens for messages from rvperfm, gathers and reports statistics to rvperfm at the end of each run. Latency assessment software (rvlat): It is a latency assessment tool that measures the message latency that is the total time taken to send a m...