Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions | - |
Not Applicable | - |
Resolution:
Edit the adapter configuration .xml file.
This file can be found under the under the \config directory in the sap home folder. For example, my .xml files are found at:
C:\tibco\adapter\sap203\config\Instance008\XXXXXXXXX.xml
Open the respective file in an editor and the first thing you will need to do is create a "defaultMicroAgentSession". In the excerpt below, we have added the following line:
defaultMicroAgentSession="HawkSession"
<?xml version="1.0" standalone="yes"?>
<SAPAdapter instanceId="SAOutboundIdoc-Instance008">
<startup defaultStartup="active"
defaultMicroAgentSession="HawkSession"
defaultSession="RFCServerCMSession-SAOutboundIdoc-Instance008" hasStdMicroAgent="false" hasClassMicroAgent="true">
</startup>
Now, the reason you have to add this line is because it will reference the next thing you will need to do. You will have to create a "rvSession name" and specify the name which equals the "defualtMicroAgentSession" name given above. In this case, "HawkSession". Under the "rvSession name", specify the service, network, and daemon. See example below.
<sessions>
<messaging>
<rvSession name="HawkSession"
service="7600"
network=""
daemon="tcp:7600"
/>
</sessions>
You can setup multiple session names in the "sessions" section and reference the one you want to use in the "startup" section above.
If you are using 3.x SAPAdapter, you will need to ensure that the changes you made to the config xml file, are saved to the Repository.