<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Emmanuel Marchiset on Medium]]></title>
        <description><![CDATA[Stories by Emmanuel Marchiset on Medium]]></description>
        <link>https://medium.com/@emarchiset?source=rss-aa50b0c40e44------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*te0cr9LgHb65YMfvpLyFSw.jpeg</url>
            <title>Stories by Emmanuel Marchiset on Medium</title>
            <link>https://medium.com/@emarchiset?source=rss-aa50b0c40e44------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:22:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@emarchiset/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to manage HTTP Flows in TIBCO BusinessWorks 6.X]]></title>
            <link>https://emarchiset.medium.com/how-to-manage-http-flows-in-tibco-businessworks-6-x-d30217d79088?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/d30217d79088</guid>
            <category><![CDATA[tibco-businessworks]]></category>
            <category><![CDATA[tibco]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Fri, 30 Oct 2026 15:08:58 GMT</pubDate>
            <atom:updated>2026-10-30T15:08:58.804Z</atom:updated>
            <content:encoded><![CDATA[<p>A challenge in managing HTTP flows (REST, SOAP/HTTP and plain HTTP) is that there can be peaks of activity at certain times, where HTTP requests are received at a high throughput, and while the HTTP protocol is by nature synchronous there is no way to buffer the incoming requests.</p><p>This means that the different components managing the flows need to be correctly sized and configured to be able to handle peak volumes and possibly even able to reject incoming HTTP requests that would be received after a given threshold would be exceeded.</p><p>Without proper sizing and configuration the following problems are likely to be seen during peak activity times : significantly degraded response times, increases in error and time-out rates, out of memory errors and even waste of resources in back-end components (when a request is processed and the client times out before the response is sent).</p><p>Some readers may think that flow control should be managed with the throttling capability of an API Gateway solution. I agree with this but not all companies have such solution in place, especially in the case of internal flows.</p><p>This article is to explain the configuration options available in BusinessWorks 6.X to manage HTTP flows while exposing or consuming REST APIs, WEB Services or plain HTTP services.</p><p><strong>How to understand what is going on</strong></p><p>One important thing before adjusting HTTP configurations in BusinessWorks is to know how to check the BusinessWorks process activity and identify where time is spend in the processes executions, in other words identify the activities where most of the time is spent.</p><p>This is explained in the following article:<br><a href="https://emarchiset.medium.com/how-to-monitor-bw-process-activity-in-businessworks-6-x-2344da746d36">https://emarchiset.medium.com/how-to-monitor-bw-process-activity-in-businessworks-6-x-2344da746d36</a></p><p><strong>How to adjust the configuration to manage the incoming HTTP requests</strong></p><p>The maximum number of process instances that the BusinessWorks engine can create at runtime to manage incoming HTTP requests for a given HTTP end point is defined by the ‘Max QTP’ configuration option managed in the ‘HTTP Connector’ shared resource:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*Wir6mqfCmi_gOfzFPoCYig.png" /></figure><p>While the BusinessWorks engine is multi threaded the process instances that are active at a certain time are handling HTTP requests in parallel.</p><p>To make sure that the ‘Max QTP’ is always enforced it is recommended to set the ‘Min QTP’ configuration option to the same value as the ‘Max QTP’.</p><p>This is generally recommended to keep the ‘Accept Queue Size’ and ‘Acceptor Thread’ configurations options to their default values.</p><p>The use of the paging mechanism and the flow limit mechanism is not recommended for processes triggered by HTTP requests, the use of ‘Max QTP’ is more efficient and ensure a more stable behavior of the BusinessWorks engine.</p><p>In an ‘HTTP Client’ configuration it is a good practice to set the ‘Host’ configuration option to the value 0.0.0.0 to allow client to connect using any of server hostnames (localhost and hostnames used by the different network interfaces of the machine).</p><p>While exposing a REST API, using a REST Component Binding, it is also possible to have BusinessWorks to reject incoming HTTP requests with an HTTP 500 error once a defined threshold is reached. This can be done using the approach described below.</p><p>Configure the HTTP Connector resource has explained above:</p><p>· Keep the ‘Accept Queue Size’ and ‘Acceptor Thread’ configuration options to their default values</p><p>· Set the ‘Max QTP’ configuration option to define the maximum number of BusinessWorks process instances that may process HTTP requests in parallel</p><p>Edit the REST Binding configuration and set the Blocking Queue Size to a value &gt; 1:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*bsI9FXRc2MOtZg0wrT28zA.png" /></figure><p>In such configuration the BusinessWorks behavior will be the following:</p><p>· ‘Max QTP’ process instances will be created and will each handle an HTTP request</p><p>· ‘Blocking Queue Size’ requests will be queued in BusinessWorks</p><p>· Further requests will be rejected with an HTTP 500 Error</p><p>In high volume environments it is recommended to set the Blocking Queue Size to a value higher than 2 to ensure optimal performance (possibly around 20 % of the Max QTP value).</p><p>With the approach above client applications may receive more HTTP errors but this would avoid having BusinessWorks and the back-ends to process requests with long delays leading to response times degradation and situations where requests are processed for client applications that already have timed out. This configuration applies only to the configured end point.</p><p>Note that the above solution may not work with old BusinessWorks releases (before 6.10).</p><p>To increase the througput of a BusinessWorks configuration it is also possible to have multiple appnodes of the same appspace running on the same server. To do this, the properties used to define HTTP port values should be set at deployment time at application instance level instead of general level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*c-HIjmaYjiefeo-2oRxpKQ.png" /></figure><p><strong>How to adjust the configuration to manage the outgoing HTTP requests</strong></p><p>While BusinessWorks is mostly used as a mediation layer exposing services to WEB Portals or mobile applications based on the orchestration of services exposed by Back-End applications, it is key for the BusinessWorks applications to have enough resources to access the back end services when needed.</p><p>The above applies to all kind of back-ends, for example for database accesses managed with the JDBC Query activity it is important to have enough JDBC connections available and for the invocation of HTTP based services it is important to have enough HTTP connections.</p><p>This is configured in the ‘HTTP Client’ shared resource with the two following configuration options:</p><p>· Maximum Total Connection</p><p>· Maximum Total Connection Per Host</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*Ydv4CglxV-T6dWZtap23ag.png" /></figure><p>As you can see above by default there are 20 connections available to connect to the target remote host while this might not be enough in some cases this is important to manage those configuration options using properties.</p><p>When the target host is defined in the ‘HTTP Client’ resource configuration the ‘Maximum Total Connection’ should just be greater or equal to the ‘Maximum Total Connection Per Host’.</p><p>When the target hostname is defined dynamically in the input of an activity (for example in the ‘host’ input field of the ‘HTTP Send Request activity’ ) the ‘Maximum Total Connection Per Host’ should be greater or equal to : nb of target host * ‘Maximum Total Connection Per Host’. For example if you have 5 target hosts and ‘Maximum Total Connection Per Host’ is set to 20 the minimum value of ‘Maximum Total Connection’ should be 100.</p><p>In BusinessWorks 6.X connections are by default persistent, which means that once a connection is open it remain available in a pool for other interactions with the HTTP server for a given time (the default duration seems to be 3 minutes but that can also be set by the remote HTTP server).</p><p>The connection pool is managed at the level of the ‘Client HTTP’ connection and then shared between all activities using this shared resource.</p><p>The ‘Stale Check’ configuration option of the ‘HTTP Client’ resource can be enabled to make the configuration more reliable by checking a connection before using it, but this is to the detriment of performances.</p><p>To disable connection pooling you can check the ‘Disable connection pooling’ option.</p><p><strong>Important things to keep in mind</strong></p><p># Testing is very important ..</p><p>To adjust the property values do some tests to understand the behavior of the configuration and do multiple iterations of testing.</p><p># Think of the impact for the Back-ends …</p><p>Once the BusinessWorks configuration has been adjusted keep in mind this is likely that you are going to send more requests to the back-ends and they may have difficulties to deal with the extra load. It could be wise not to increase too quickly the number of connections to invoke the back-ends. If the back-ends have difficulties to handle the load of incoming requests you might need to limit the flows before they reach BusinessWorks.</p><p># Think architecture ..</p><p>Keep in mind also that things can be improved by improving the design of the flows .. Processing can be parallelized in a BusinessWorks process, asynchronous messaging can help in processing events that don’t need an immediate answer also it might not be needed to log all events related to HTTP services just doing queries.</p><p>I hope the elements provided will help you improve the handling of your HTTP based services with reduced response times and increase throughput.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d30217d79088" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to make sure an Hawk agent installed as a Windows Service can start without error while using…]]></title>
            <link>https://emarchiset.medium.com/how-to-make-sure-an-hawk-agent-installed-as-a-windows-service-can-start-without-error-488730ed315b?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/488730ed315b</guid>
            <category><![CDATA[tibco]]></category>
            <category><![CDATA[tibco-businessworks]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Sun, 18 Oct 2026 10:27:47 GMT</pubDate>
            <atom:updated>2026-10-24T17:08:03.993Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>How to make sure an Hawk agent installed as a Windows Service can start without error while using Rendezvous with a license</strong></h3><p>In Microsoft Windows environment it is possible to install Hawk agents as Services which is convenient to get the agents started after a server reboot and automatically restarted in case of failure.</p><p>Meanwhile we have seen customers having issues with this configuration when using BusinessWorks and Rendezvous releases using activation licenses.</p><p>What happens is that the Hawk agent Service cannot start with the following error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*FMtFDVCJppDdlGhiXqj5ew.png" /></figure><p>And if you look at the Hawk log you see messages like below:</p><pre>2026 Oct 16 11:38:54:126 GMT +02:00 HawkAgent.server1 Info [Application] HWKXXX-000011 Configured Console RV Transport =[ 7474 ; tcp:7474]<br>2026 Oct 16 11:38:54:127 GMT +02:00 HawkAgent.server1 Info [Application] HWKXXX-000011 Configured AMI RV Transport =[ 7475 ; tcp:7474]<br>2026 Oct 16 11:39:01:729 GMT +02:00 HawkAgent.server1 Error [Application] HWKAGT-010606 TibrvException[error=21,message=Not connected to daemon] Not connected to daemon<br>2026 Oct 16 11:39:01:730 GMT +02:00 HawkAgent.server1 Info [Application] HWKAGT-010601 Agent gracefully shutting down - Hawk Agent Name:[server1]</pre><p>After analysis we found the Hawk agent Service cannot start because the needed Rendezvous daemon itself doesn’t start even with having the TIBRV_LICENSE environment variable properly set at System level.</p><p>A solution to this issue is the following:<br> . Go in the &lt;TIBCO_HOME&gt;/tibrv/8.8/bin directory<br> . Stop all running TIBCO components<br> . Rename rvd.exe to rvd_real.exe<br> . Create an rvd.bat script launching the following command:</p><pre>rvd_real -license file://&lt;path to license file&gt; %1 %2 %3 %4 %5 %6</pre><p>for example:</p><pre>rvd_real -license file://c:\tibco\licenses\MyLicenses_ANY.bin %1 %2</pre><p>Note that if you have applications starting Rendezvous with more command line arguments you will need to add more place holders for them at the end of the rvd_real command (like %3 %4 %5 %6).</p><p>The image below is just to have a cover image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*Dgd2PiiMqgdUr8i-Eu8OUA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=488730ed315b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to configure BusinessWorks 5.X applications to use native JDBC drivers]]></title>
            <link>https://emarchiset.medium.com/how-to-configure-businessworks-5-x-applications-to-use-native-jdbc-drivers-2041e56cc63c?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/2041e56cc63c</guid>
            <category><![CDATA[tibco]]></category>
            <category><![CDATA[tibco-businessworks]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Sun, 06 Sep 2026 20:31:19 GMT</pubDate>
            <atom:updated>2026-09-07T10:07:04.271Z</atom:updated>
            <content:encoded><![CDATA[<p>Since BusinessWorks 5.15.1 the Database Driver Supplement that provided a number of JDBC drivers is no longer supported. This component was based on an EOM agreement with Progress Data Direct.</p><p>Those drivers had their names starting by ‘tibcosoftwareinc’:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Cofh9BnRQxm4MVmTxL8ZGA.png" /></figure><p>Customers must now use native JDBC drivers, for example the Microsoft JDBC driver for SQL Server, this was already a very common approach but some legacy applications may still use the tibcosoftwareinc drivers.</p><p>This article outlines two approaches that allows such applications to use native JDBC drivers at runtime without having to update source code and rebuild EAR files.</p><p>Note that such approaches works in most of the cases because JDBC is a mature standard but code change might still be needed in specific scenarios in general related to the use of proprietary database mechanisms (handling of blobs, handling of large numeric or decimal types,…).</p><p>Note also that the JDBC URL must be updated to use the native driver syntax. Any properties specific to the ‘tibcosoftwareinc’ driver in the existing URL must be replaced with their native equivalents.</p><p><strong># Update the JDBC driver name and URL</strong></p><p>If the application has been coded following the best practice to set the JDBC driver and the JDBC URL using Global Variables it is possible to just update the Global Variable values and redeploy the application.</p><p>For example if the initial configuration is using the tibcosoftware driver for SQL server:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*XTUEOOLwfZ6hmN6aszqZFw.png" /></figure><p>The configuration can be updated with the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*D-D6BDnOwXplz-ngDYCcEg.png" /></figure><p><strong># Use java properties</strong></p><p>If the name of the driver is hardcoded in the application, it is possible to use a java property to set the URL to the native format and automatically use the related JDBC driver at runtime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Oz73GetYGoN241yJqIn7dg.png" /></figure><p>The property name includes the name of the JDBC connection and is in the following format:</p><pre>java.property.bw.plugin.jdbc.&lt;DBCConnectionResourceName&gt;.dburl= &lt;Database Connection URL&gt;</pre><p>SQL Server example:</p><pre>java.property.bw.plugin.jdbc.JDBCConnection.dburl= jdbc:sqlserver://localhost:1433;databaseName=TESTDB</pre><p>If the database Connection Resource name contains spaces, escape the spaces using \ (backslash and space). For example:</p><pre>java.property.bw.plugin.jdbc.JDBC\ Connection.dburl= jdbc:sqlserver://localhost:1433;databaseName=TESTDB</pre><p>Note that the driver name can also be forced at runtime if needed, this can be done with the following property:</p><pre>java.property.bw.plugin.jdbc.&lt;DBCConnectionResourceName&gt;.driver=&lt;Database Connection URL&gt;</pre><p>SQL Server example:</p><pre>java.property.bw.plugin.jdbc.JDBCConnection.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver</pre><p>If the database Connection Resource name contains spaces, escape the spaces using \ (backslash and space). For example:</p><pre>java.property.bw.plugin.jdbc.JDBC\ Connection.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver</pre><p>Reference elements about this topic are available in the BusinessWorks documentation, in the section Palette Reference -&gt; JDBC Connection -&gt; Configuration -&gt; Migrating from TIBCO Database Drivers Supplement configured application to native driver</p><p><a href="https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/Default.htm#palette-reference/Configuration_75.htm?TocPath=Palette%2520Reference%257CJDBC%2520Palette%257CJDBC%2520Connection%257C_____1">https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/Default.htm#palette-reference/Configuration_75.htm?TocPath=Palette%2520Reference%257CJDBC%2520Palette%257CJDBC%2520Connection%257C_____1</a></p><p>For explanations on how to set properties in a BusinessWorks 5.X environment you can refer to the following section of the Administration Guide:</p><p><a href="https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/Default.htm#admin/Custom_Engine_Properties.htm?TocPath=Administration%257CCustom%2520Engine%2520Properties%257C_____0">https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/Default.htm#admin/Custom_Engine_Properties.htm?TocPath=Administration%257CCustom%2520Engine%2520Properties%257C_____0</a></p><p><strong>Additional elements</strong></p><p>In BusinessWorks 5.15.1 and 5.16.1 context native JDBC drivers for SQL Server, ORACLE and Postgres are bundled in the TRA. They are present in the &lt;TIBCO_HOME&gt;/tpcl/5.X/native-jdbc directory:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*-CDvABbtyfsTlr_p74r6DA.png" /></figure><p>You can copy other JDBC driver jar files in this directory to use them in BusinessWorks.</p><p>To assess the impact in your environment you can use the utility created by my colleague Dave Winstone:<br><a href="https://github.com/davewins/tibco-bw5-ear-jdbc-scanner">https://github.com/davewins/tibco-bw5-ear-jdbc-scanner</a></p><p>The following article explains how to connect to an SQL Server database from a Linux server while using the native Microsoft JDBC driver and Windows authentication: <br><a href="https://medium.com/@emarchiset/how-to-connect-to-an-sql-server-database-using-windows-authentication-from-businessworks-or-0f945303ef6c">https://medium.com/@emarchiset/how-to-connect-to-an-sql-server-database-using-windows-authentication-from-businessworks-or-0f945303ef6c</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2041e56cc63c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to do ‘in mapper’ debugging in BusinessWorks 6.X]]></title>
            <link>https://emarchiset.medium.com/how-to-do-in-mapper-debugging-in-businessworks-6-x-78ac3b7c701e?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/78ac3b7c701e</guid>
            <category><![CDATA[tibco]]></category>
            <category><![CDATA[tibco-businessworks]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Mon, 31 Aug 2026 18:05:38 GMT</pubDate>
            <atom:updated>2026-08-31T18:07:15.052Z</atom:updated>
            <content:encoded><![CDATA[<p>The BusinessWorks 6.X mapper is very easy to use and very powerful but in complex mapping scenarios it is sometimes difficult to understand what is happening in successive mapping statements at runtime.</p><p>This article describes an approach that allows to create comments in the XML output of a mapper which helps understand its behavior at runtime. This approach can also be used to log values of mapping variables in comments which is sometimes very useful to debug complex mappings.</p><p>The steps to create comments in a BusinessWorks 6.X mapping are detailed below:</p><p># The starting point is an existing mapping</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Pzb1WnWnWNQtgF_Y313tuw.png" /></figure><p># Click the Show / Hide Edit Tab button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*JxqBEf7CI9zvpve2CHwYjA.png" /></figure><p># Open the XSLT Source tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*md0CQ3YO38TpD6xHBhKX9g.png" /></figure><p># Locate the place where you want the comment to be added in the generated XML document and add a comment statement in the XSLT code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*c0uMgbkm7pCnTUyOGKO-rA.png" /></figure><p>XSL statement to add a comment:</p><pre>&lt;xsl:comment&gt;<br>&lt;xsl:value-of select=&quot;string($var)&quot;/&gt;<br>&lt;/xsl:comment&gt;</pre><p># Once done click on the Parse button, check for possible errors and fix them if needed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*cvNTEatuOpha1JNkkEcEuQ.png" /></figure><p># Click again the Show / Hide Edit Tab button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*Zc3T5g2TFeFof1cjfJHiUw.png" /></figure><p># Your mapping should now look like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*mseMY9YaZvp-bVcF7XSang.png" /></figure><p># Now while running the debbuger go to root element of the Output of your mapper, right click and select Copy Values</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*RBTYEa21jD9AViDOl9fhgQ.png" /></figure><p># Paste the XML in a text editor and check for the comments</p><p>In my sample scenario this allows to see the value of an index even if it is not part of the needed output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*1MH2g-l4pNXvedbAEHnlIg.png" /></figure><p># Note that adding comments in the generated XML as no impact in the runtime.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78ac3b7c701e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to do ‘in mapper’ debugging in BusinessWorks 5.X]]></title>
            <link>https://emarchiset.medium.com/how-to-do-in-mapper-debugging-in-businessworks-5-x-0c34da6a5eb8?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c34da6a5eb8</guid>
            <category><![CDATA[tibco]]></category>
            <category><![CDATA[tibco-businessworks]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Sun, 30 Aug 2026 10:43:01 GMT</pubDate>
            <atom:updated>2026-08-31T16:47:40.961Z</atom:updated>
            <content:encoded><![CDATA[<p>The BusinessWorks 5.X mapper is very easy to use and very powerful but in complex mapping scenarios it is sometimes difficult to understand what is happening in successive mapping statements at runtime.</p><p>This article describes an approach that allows to create comments in the XML output of a mapper which helps understand its behavior at runtime. This approach can also be used to log values of mapping variables in comments which is sometimes very useful to debug complex mappings.</p><p>The steps to create comments in a BusinessWorks 5.X mapping are detailed below:</p><p># The starting point is an existing mapping</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Z5xlIydKjEaZaWLKOYPlgw.png" /></figure><p># Select the element where you want to add the comment and click on Add Child</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*VghaI_GaOQlPmOFWUi9eVg.png" /></figure><p>The following dialog appears</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*8Sx0cJAgB5Fu9Tk5xvZMlQ.png" /></figure><p># Set the Statement Type to Value-Of and click OK</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*GsdhJofJNoNZrgskSMBy5g.png" /></figure><p>The mapping now looks like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*6ATU9E-k4sThzkfttTT9cQ.png" /></figure><p># Select the Value-Of statement and click the Move In button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*_pur71QbHR2LyoleFHHVqg.png" /></figure><p>The following dialog box appears</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*kHAoRcC5xMJlVHql_dpb6Q.png" /></figure><p># Set the Statement Type to Generate Comment and click OK</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*vWBQ7rpzHVHzjkCLgBaljg.png" /></figure><p>The mapping now looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*rp2b5EiIozAOV1QZO3sHvQ.png" /></figure><p># Map the comment value using any fields available or with a variable, for example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*rZlrImaEf-4QoSIefs__AA.png" /></figure><p># In my sample scenario this allows to see the value of an index even if it is not part of the needed output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*tJ4lswODL9pj1aulZz8LIw.png" /></figure><p># Note that adding comments in the generated XML as no impact in the runtime.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c34da6a5eb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to set up open telemetry traces in BusinessWorks 5.X]]></title>
            <link>https://emarchiset.medium.com/how-to-set-up-open-telemetry-traces-in-businessworks-5-x-6db59f47e567?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/6db59f47e567</guid>
            <category><![CDATA[tibco-businessworks]]></category>
            <category><![CDATA[tibco]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Thu, 13 Aug 2026 12:09:49 GMT</pubDate>
            <atom:updated>2026-09-09T08:02:36.670Z</atom:updated>
            <content:encoded><![CDATA[<p>Open telemetry traces are useful to have an end-to-end view on the execution of orchestrations involving front end, back end and BusinessWorks applications, it is also useful to identify performance bottlenecks in such orchestration scenarios.</p><p>Open telemetry metrics are useful to monitor a BusinessWorks engine activity and the underlying JVM load over time. Available KPI’s mostly cover BusinessWorks process instance executions and JVM resources usage.</p><p>This article explains how to enable open telemetry traces and metrics in BusinessWorks 5.X, how to manage end to end traces and how to integrate with an open telemetry compliant service provider.</p><p>Open telemetry traces support has been introduced in BusinessWorks 5.15.1 HF02 and BusinessWorks 5.16.0.</p><p>Open telemetry metrics support has been introduced in BusinessWorks 5.16.1.</p><p><strong>Open telemetry configuration</strong></p><p>The configuration is set-up globally in the bwengine.tra file or at process archive level by using the usual approach to set java properties value at deployment time.</p><p>To enable open telemetry traces you have to set the following property:<br>java.property.bw.engine.opentelemetry.traces.enable=true</p><p>To enable open telemetry metrics you have to set the following property:<br>java.property.bw.engine.opentelemetry.metrics.enable=true</p><p>It is not possible to enable or disable open telemetry on demand.</p><p>Once enabled open telemetry is configured using the standard open telemetry properties.</p><p>All environment variables described in the open telemetry documentation are available:<br><a href="https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/">https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/</a></p><p>For the open telemetry exporter you may check this other section of the documentation:<br><a href="https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/">https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/</a></p><p>Note that property names are derived from environment variable names by using lowercase instead for uppercase and using dots instead of underscores, for example to set the environment variable OTEL_EXPORTER_OTLP_HEADER using a property you have to use the property named otel.exporter.otlp.headers.</p><p>The approach to set java properties value at deployment time is explained in the following section of the BusinessWorks documentation:<br><a href="https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/Default.htm#admin/Setting_Custom_Engine_Properties_in_Deployed_Projects.htm?TocPath=Administration%257CCustom%2520Engine%2520Properties%257CSetting%2520Custom%2520Engine%2520Properties%2520in%2520Deployed%2520Projects%257C_____0">https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/Default.htm#admin/Setting_Custom_Engine_Properties_in_Deployed_Projects.htm?TocPath=Administration%257CCustom%2520Engine%2520Properties%257CSetting%2520Custom%2520Engine%2520Properties%2520in%2520Deployed%2520Projects%257C_____0</a></p><p><strong>Open telemetry traces configuration example</strong></p><p>The following configuration can be used to enable open telemetry traces and integrate with the honeycomb.io Saas solution. Using honeycomb.io you can create a free account and get an API key to test open telemetry.</p><pre># Open telemetry configuration<br>java.property.bw.engine.opentelemetry.traces.enable=true<br>java.property.otel.service.name=TestBW5X<br>java.property.otel.exporter.otlp.endpoint=https://api.honeycomb.io<br>java.property.otel.exporter.otlp.protocol=http/protobuf<br>java.property.otel.exporter.otlp.headers=x-honeycomb-team=b2V7LlnbKQXZ5EmjVRUh2B<br>java.property.otel.traces.exporter=otlp</pre><p><strong>Open telemetry traces and metrics configuration example</strong></p><p>The following configuration can be used to enable open telemetry traces and metrics and also to integrate with the honeycomb.io Saas solution.</p><p>This configuration is using a specific honeycomb header to name the BusinessWorks metrics data set.</p><pre># Open telemetry configuration<br>java.property.bw.engine.opentelemetry.traces.enable=true<br>java.property.bw.engine.opentelemetry.metrics.enable=true<br>java.property.otel.service.name=TestBW5X<br>java.property.otel.exporter.otlp.endpoint=https://api.honeycomb.io<br>java.property.otel.exporter.otlp.protocol=http/protobuf<br>java.property.otel.exporter.otlp.headers=x-honeycomb-team= b2V7LlnbKQXZ5EmjVRUh2B,x-honeycomb-dataset=bw-dataset<br>java.property.otel.traces.exporter=otlp</pre><p>By default a BusinessWorks engine is exporting metrics every minute, this can be changed by using the otel.metric.export.interval property that defines the time interval (in milliseconds) between two export attempts, for example to change the export interval to 90 seconds you can use:</p><p>Java.property.otel.metric.export.interval=90000</p><p><strong>Developer perspective on open telemetry traces</strong></p><p>Since BusinessWorks 5.16.1 HF06 it is possible for a developer to add custom open telemetry tags to any activity simply by using the ‘Tags’ tab available for all activities, adding a tag and setting a value for each tag using a mapping.</p><p>Note that TRA 5.13 HF05 is required for BusinessWorks 5.16.1 HF06 to work properly.</p><p>In the example below two tags have been added, one set with the MessageID of the JMS message that triggered the process instance execution and the other with a business key set to an arbitrary value in the example but that could be mapped as needed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*VYxm3TLRB55oXfRypM5iUg.png" /></figure><p>In the open telemetry solution the tags are visible like standard open telemetry tags:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/1*wS3JnpD0tUJ7hOiiddTwTA.png" /></figure><p><strong>End to end traces monitoring</strong></p><p>Once open telemetry is enabled and configured for a process archive and it is redeployed, all related service instances will send details about process and activity executions to the open telemetry solution.</p><p>BusinessWorks applications using HTTP or JMS transports are also automatically propagating the open telemetry spanid while invoking each other to allow for an end to end monitoring of the orchestration.</p><p>For HTTP transport this is managed in a traceparent HTTP header, this apply for all HTTP based activities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*TyvKxN99vH4XmGL3A0XlPQ.png" /></figure><p>For JMS Transport this is managed in a traceparent JMS Properties, this apply for all activities of the JMS palette activities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*2L_KRDq6XrnBtoj9Yph6mg.png" /></figure><p>The open telemetry spanid is managed by BusinessWorks in the following way:</p><p>. If a BusinessWorks process instance is started after receiving an HTTP request or a JMS message having a traceparent, the process instance uses the received spanid otherwise a new unique spanid is created</p><p>. While invoking HTTP based services or APIs, or sending JMS messages the process spanid is automatically included in HTTP requests and JMS messages sent by the application as a traceparent</p><p>But while open telemetry is a standard the spanid propagation goes beyond BusinessWorks itself and can include front end and back end applications also using open telemetry.</p><p>This enable the creation of an end to end view on the execution of orchestrations involving front end, back end and BusinessWorks applications.</p><p>The open telemetry SDK property otel.propagators can be used to define how the open telemetry context is passed between applications, for example to use both the b3 multiple headers and the traceparent header you can set the property with the following value:</p><p>Java.property.otel.propagators=tracecontext,b3multi</p><p><strong>Traces visualization</strong></p><p>In a scenario where three applications would call each other like below the traces visualization solution would show the overall time spent to manage the orchestration, a JMS request / reply interaction in this case, and the time spent in each BusinessWorks process and activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*PEA_2wYEeay2n1cj3B-Cvg.png" /></figure><p>In an open telemetry solution like honeycomb.io, this is shown in a hierarchy as seen below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*cr1rklVmIo6e79UF_KsOQw.png" /></figure><p>Detail of a process trace as seen in honeycomb.io:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*CaRm4F3N6aLiHXwkZmLq8A.png" /></figure><p>Detail of an activity trace as seen in honeycomb.io:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*FIkI19hkxBLtSZW6QgjgNQ.png" /></figure><p>Note that for activity traces details are varying depending on the activity type, in the exemple above the fields Message Type and Destination Name are specific to the JMS palette activities.</p><p><strong>Metrics visualization</strong></p><p>The list of all metrics available in BusinessWorks 5.16.1 (with HF06) is available in this article:<br><a href="https://community.tibco.com/articles/37_tibco-platform/60_platform-control-plane/optimizing-opentelemetry-metrics-in-tibco-businessworks-5-containers-on-tibco-platform-r3846/">https://community.tibco.com/articles/37_tibco-platform/60_platform-control-plane/optimizing-opentelemetry-metrics-in-tibco-businessworks-5-containers-on-tibco-platform-r3846/</a></p><p>In an open telemetry solutions like honeycomb.io, metrics can be displayed using queries like below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*iFEL0ZNnnMHxAHtIIRIe2A.png" /></figure><p>A subset of BusinessWorks 5.X metrics as seen in honeycomb.io:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/0*tBpc-bQZ23fY6hWd.png" /></figure><p><strong>Additional elements</strong></p><p>The BusinessWorks 5.X documentation about open telemetry is available here:<br><a href="https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/concepts/opentelemetry.htm">https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/concepts/opentelemetry.htm</a></p><p>Details about BusinessWorks open telemetry metrics are available in the following section of the documentation:<br><a href="https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/concepts/Open_Telemetry_Metrics.htm?tocpath=Concepts%7CPhase%205%253A%20Deployment%7COpen%20Telemetry%7C_____2">https://docs.tibco.com/pub/activematrix_businessworks/5.16.1/doc/html/concepts/Open_Telemetry_Metrics.htm?tocpath=Concepts%7CPhase%205%253A%20Deployment%7COpen%20Telemetry%7C_____2</a></p><p>Details about open telemetry can be found here:<br><a href="https://opentelemetry.io/">https://opentelemetry.io/</a></p><p>The honeycomb solution is available here:<br><a href="https://www.honeycomb.io/">https://www.honeycomb.io/</a></p><p><strong>Other articles about open telemetry in BusinessWorks 5.X</strong></p><p>This article explains how to enable open telemetry traces:<br><a href="https://community.tibco.com/articles/37_tibco-platform/40_integration/53_businessworks/new-feature-in-tibco-activematrix-businessworks-5-support-for-opentelemetry-traces/">https://community.tibco.com/articles/37_tibco-platform/40_integration/53_businessworks/new-feature-in-tibco-activematrix-businessworks-5-support-for-opentelemetry-traces/</a></p><p>This article explains how to enable open telemetry metrics:<br><a href="https://community.tibco.com/articles/37_tibco-platform/40_integration/53_businessworks/new-feature-in-tibco-activematrix-businessworks-5161-support-for-opentelemetry-metrics/">https://community.tibco.com/articles/37_tibco-platform/40_integration/53_businessworks/new-feature-in-tibco-activematrix-businessworks-5161-support-for-opentelemetry-metrics/</a></p><p>This article provides details about BusinessWorks 5.X open telemetry metrics and explain how to optimize the open telemetry metrics configuration:<br><a href="https://community.tibco.com/articles/37_tibco-platform/60_platform-control-plane/optimizing-opentelemetry-metrics-in-tibco-businessworks-5-containers-on-tibco-platform-r3846/">https://community.tibco.com/articles/37_tibco-platform/60_platform-control-plane/optimizing-opentelemetry-metrics-in-tibco-businessworks-5-containers-on-tibco-platform-r3846/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6db59f47e567" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best practices to connect from BusinessWorks to an SQL Server Always On Availability Group]]></title>
            <link>https://emarchiset.medium.com/best-practices-to-connect-to-an-sql-server-always-on-availability-group-from-businessworks-664c6f2cefec?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/664c6f2cefec</guid>
            <category><![CDATA[tibco]]></category>
            <category><![CDATA[tibco-businessworks]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Sun, 05 Jul 2026 20:14:03 GMT</pubDate>
            <atom:updated>2026-07-05T20:14:46.909Z</atom:updated>
            <content:encoded><![CDATA[<p>This article outlines the best practices to apply for connecting from BusinessWorks to an SQL Server instance configured with an Always On Availability Group.</p><p><strong>Use a recent version of the Microsoft JDBC driver</strong></p><p>Microsoft JDBC driver release 13.2.1 is bundled in both:<br>. BusinessWorks 6.12 HF01<br>. TIBCO Runtime Agent 5.13 HF06</p><p>The use of this version is not mandatory but recommended.</p><p><strong>Add the following options on the JDBC URL</strong></p><p>. multiSubnetFailover=true<br>. connectRetryCount=10<br>. connectRetryInterval=3<br>. loginTimeout=30</p><p>Example:</p><pre>jdbc:sqlserver://MyAgListener.domain.com:1433;encrypt=true;trustServerCertificate=true;multiSubnetFailover=true;connectRetryCount=10;connectRetryInterval=3;loginTimeout=30</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*6Y-XagHSNDEkTmvADoRklQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=664c6f2cefec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to make sure the TIBCO Adapter for SAP always reconnects to the SAP server after an outage]]></title>
            <link>https://emarchiset.medium.com/how-to-make-sure-the-tibco-adapter-for-sap-always-reconnects-to-the-sap-server-cafter-an-outage-2ca252434378?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ca252434378</guid>
            <category><![CDATA[tibco-businessworks]]></category>
            <category><![CDATA[tibco]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Sat, 02 May 2026 20:31:54 GMT</pubDate>
            <atom:updated>2026-05-02T20:32:12.051Z</atom:updated>
            <content:encoded><![CDATA[<p>In production environments the connectivity to a SAP server can sometimes be lost for a few minutes and even a few hours because of maintenance activities on the SAP server or at network level.</p><p>In order to make such outages transparent for the integration layer it is a best practice to configure the TIBCO Adapter for SAP to reconnect indefinitely to the SAP server.<br> <br> For SAP Inbound scenarios, where the Adapter is sending Idocs to SAP or calling BAPIs exposed by SAP, this can be done by setting the ‘Maximum Number of Reconnect Attempts’ configuration option of the Advanced tab of the Client Connection to the value -1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*n-gBkXl_FTrfsKbkn7SvlQ.png" /></figure><p>For SAP Outbound scenarios, where the Adapter is receiving Idocs from SAP or exposing BAPI endpoints to SAP, this can be done by setting the ‘Maximum time between two startup attempts in case of failure (sec)’ configuration option of the Advanced tab of the Server Connection to the value -1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*rCmaTwI8uJeSAD3Qgyj5tQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ca252434378" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to make sure the BusinessWorks Plugin for SAP Solutions always reconnects to the SAP server…]]></title>
            <link>https://emarchiset.medium.com/how-to-make-sure-the-plugin-for-sap-always-reconnect-to-the-sap-server-after-an-outage-4225a3beb326?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/4225a3beb326</guid>
            <category><![CDATA[tibco-businessworks]]></category>
            <category><![CDATA[tibco]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Sat, 02 May 2026 20:16:01 GMT</pubDate>
            <atom:updated>2026-05-02T20:23:48.278Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>How to make sure the BusinessWorks Plugin for SAP Solutions always reconnects to the SAP server after an outage</strong></h3><p>In production environments the connectivity to a SAP server can sometimes be lost for a few minutes and even a few hours because of maintenance activities on the SAP server or at network level.</p><p>In order to make such outages transparent for the integration layer it is a best practice to configure the BusinessWorks Plugin for SAP to reconnect indefinitely to the SAP server.<br> <br> For SAP Inbound scenarios, where the Plugin is sending Idocs to SAP or calling BAPIs exposed by SAP, this can be done by setting the ‘Maximum Number of Reconnect Attempts’ configuration option of the Client Connection tab of the SAP Connection to the value -1. Note that this configuration option is visible after clicking the ‘Show / Hide Advanced options’ of the Client Connection tab and also that -1 is the default value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*D7Hr5WIPHE-z0NOx8Kv56g.png" /></figure><p>For SAP Outbound scenarios, where the Plugin is receiving Idocs from SAP or exposing BAPI endpoints to SAP, this can be done by setting the ‘Maximum time between two startup attempts in case of failure (sec)’ configuration option of the Server Connection tab of the SAP Connection to the value -1. Note that this configuration option is visible after clicking the ‘Show / Hide Advanced options’ of the Server Connection tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*N23hAt-HoB03dDzvJLB0nA.png" /></figure><p>For additional details about the server connection you can refer to the following TIBCO support KB article:<br> <a href="https://support.tibco.com/wolken-support/kbsearch/article?articleNumber=KB0082507">https://support.tibco.com/wolken-support/kbsearch/article?articleNumber=KB0082507</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4225a3beb326" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to configure a BusinessWorks 6.X application to connect to an EMS instance using SSL/TLS]]></title>
            <link>https://emarchiset.medium.com/how-to-configure-a-businessworks-6-x-application-to-connect-to-an-ems-instance-using-ssl-tls-aba27f6356bc?source=rss-aa50b0c40e44------2</link>
            <guid isPermaLink="false">https://medium.com/p/aba27f6356bc</guid>
            <category><![CDATA[tibco-businessworks]]></category>
            <category><![CDATA[tibco]]></category>
            <dc:creator><![CDATA[Emmanuel Marchiset]]></dc:creator>
            <pubDate>Sun, 08 Feb 2026 19:28:38 GMT</pubDate>
            <atom:updated>2026-02-24T09:03:32.812Z</atom:updated>
            <content:encoded><![CDATA[<p>This article is to explain how to configure a JMS connection shared resource of a BusinessWorks 6.X application to connect to an EMS instance using SSL/TLS, it also explains how to configure existing applications to use SSL/TLS by only using properties managed by the EMS client library.</p><p><strong>Creation of a KeyStore file</strong></p><p>Before setting up the configuration in Studio you need to create a keystore containing one of the public certificates of the target EMS instance.</p><p>You can get such certificates using tools like java keytool or KeyStore Explorer as covered in the article explaining how to connect to an HTTPS endpoint:<br><a href="https://emarchiset.medium.com/how-to-configure-an-http-client-connection-to-access-a-rest-api-or-web-services-exposed-over-https-6b97dcfe1fb4">https://emarchiset.medium.com/how-to-configure-an-http-client-connection-to-access-a-rest-api-or-web-services-exposed-over-https-6b97dcfe1fb4</a></p><p>KeyStore Explorer can connect to an EMS instance using the Examine -&gt; Examine SSL/TLS menu:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*GsiaqYucLJ4hl78IqnbLcQ.png" /></figure><p>After connecting to the target EMS instance the certificate hierarchy is displayed like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*e6Spwm9VFj0IhlkFDMLTMA.png" /></figure><p>In the example above we are connecting to an EMS instance configured with the EMS sample certificates and there is a single certificate in the hierarchy. This certificate needs to be imported in a KeyStore file.</p><p>The configuration of an EMS instance using the sample certificates provided in the EMS installation package is described in the article below:</p><p><a href="https://medium.com/@emarchiset/how-to-configure-a-tibco-ems-instance-to-use-ssl-tls-for-client-connections-12b5bd69891d">https://medium.com/@emarchiset/how-to-configure-a-tibco-ems-instance-to-use-ssl-tls-for-client-connections-12b5bd69891d</a></p><p><strong>JMS connection Shared Resource configuration</strong></p><p>The JMS connection can be configured to use the created Key Store using the following approach.</p><p>#1 Create and configure a Keystore Provider resource</p><p>. Create a Keystore Provider resource by right clicking on the Resources folder and selecting New -&gt; KeyStore Explorer</p><p>. Configure the created resource:</p><p>In Linux and Windows environments, the Provider should be set to ‘SUN’.</p><p>The URL parameter should be set with the full path of the Key Store file and it is recommended to manage it with a property.</p><p>The Password parameter should be set with the Key Store file password defined at the Key Store creation time and it is recommended to manage it with a property.</p><p>The type of Key Store file should be set.</p><p>The Refresh Interval can be left to its default value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*HTXN_0JgwnoxTAW8JFJp_A.png" /></figure><p>#2 Create and configure an SSL Client Configuration resource</p><p>. Create an SSL Client Configuration resource by right clicking on the Resources folder and selecting New -&gt; SSL Client Configuration</p><p>. Configure the created resource:</p><p>Select the Key Store Provider you want to use.</p><p>The SSL Security provider can usually be left blank (in that case the default ORACLE JVM SunJSSE security provider is used).</p><p>Select the SSL Protocol and SSL Cipher Class as needed (the default configuration is a valid choice if accepted by the remote server).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*ncagCJOS_vqWaBC5BnMWnQ.png" /></figure><p>#3 Configuration of the JMS Connection resource</p><p>. Create a JMS Connection resource by right clicking on the Resources folder and selecting New -&gt; JMS Connection</p><p>. Configure the created resource:</p><p>When using a Direct connection configure the Provider URL to use SSL/TLS using the syntax: ssl:&lt;host&gt;:&lt;port&gt;,ssl:&lt;host&gt;:&lt;port&gt;</p><p>In the case of a JNDI connection you can use the syntax tibjmsnaming:// :&lt;host&gt;:&lt;port&gt;, you may also need to check the configuration of the connection factories you are using are aligned with your project requirements to use SSL/TLS or not.</p><p>Then check the ‘Confidentiality’ option and select the SSL Client Configuration you want to use</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*o0sPkGX5pHFpizcLcqBA-g.png" /></figure><p><strong>Testing the configuration</strong></p><p>From the JMS Connection click the Test Connection button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*K8opSy5Ibdo3IUhiyAnfKg.png" /></figure><p><strong>Using TIBCO EMS client library properties</strong></p><p>It is also possible to configure existing applications to use TLS when connecting to an EMS instance by only updating the JMS URL to use the ssl://&lt;host&gt;:&lt;port&gt; syntax and adding java properties managed by the EMS client library in the appnode config.ini file.</p><p>This allows using TLS without having to update and redeploy applications, in this approach all JMS connections of all BusinessWorks applications running in a given appnode are using the same configuration.</p><p>The list of available properties is available in this TIBCO Support knowledge base article:<br><a href="https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-41162">https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-41162</a></p><p>Possible values for the property com.tibco.tibjms.ssl.vendor are ‘j2se-default’ and ‘bcfips’.</p><p>To connect from Business Studio to an EMS instance configured to use TLS with the sample certificates you have to update the EMS URL to use the ssl://&lt;host&gt;:&lt;port&gt; syntax and to use the following properties:</p><pre>com.tibco.tibjms.ssl.trusted=C:/tib/messaging/ems/10.4.1/samples/certs/server_root.cert.pem<br>com.tibco.tibjms.ssl.expected_hostname=server</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*pfYdMb0a2bFIw_IaMRL2zg.png" /></figure><p><strong>Elements for BusinessWorks 5.X</strong></p><p>For BusinessWorks 5.X you can use the following KB article:</p><p><a href="https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-38804">https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-38804</a></p><p>The approach to use properties can also be used in BusinessWorks 5.X, properties have to be added in the application .tra files and property names have to be prefixed with ‘java.property.’ for example:<br>java.property.com.tibco.tibjms.ssl.vendor=bcfips</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aba27f6356bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>