When I started working with TIBCO products in 2004, the running gag was that on every project there should be a consultant hired directly from TIBCO, to help with the more advanced - and conspicuously undocumented - features of the software. Deceptively easy to install, configure and use, snags and gotchas were never far away, and you needed said consultant to help you out (or to call the helpline available only to insiders). After hours of fruitless trial and error it would usually turn out that some "secret" property in a TRA file was enough to make things work (and make you tear out your hair in frustration).
I was reminded of this when I was trying to configure SSL for an SAP/R3 Adapter with EMS connections in a BW 5.14 project. Although the adapter configuration does not depend on a shared EMS connection resource, configuration looks similar enough. So I approached it in the same way; by referring to a Trusted Certificates directory internal to the project, and creating the infamous global variable BW_GLOBAL_TRUSTED_CA_STORE, which we all know will be used at run-time to locate the external directory holding the trusted CA certificates.
The adapter SDK pre-dates BW by at least 5 years, and doesn't know this trick. If you missed this, don't feel bad - it wasn't included in the documentation prior to version 7.2.0, which is the second to last version compatible with BW5. Anyway, it clearly states that you need to (surprise!) add a property a TRA file, and create a special global variable. Specifically, it tells you to
- add this property to the designer.tra: RuntimeExternalCertificatesFeature true,
- then add a global variable named RuntimeCertificatesDirectory, and
- refer to %%RuntimeCertificatesDirectory%% in the Trusted Certificates Folder field.
No comments:
Post a Comment