[This KA was unapproved and obsolete when migrated.] How can you configure the hawk session # used by the SAP adapter to be something other than the default 7474?

[This KA was unapproved and obsolete when migrated.] How can you configure the hawk session # used by the SAP adapter to be something other than the default 7474?

book

Article ID: KB0084559

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions -
Not Applicable -

Description

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"?>
&ltSAPAdapter instanceId="SAOutboundIdoc-Instance008">
    &ltstartup 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.  

&ltsessions>
    &ltmessaging>
    &ltrvSession 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.

Issue/Introduction

[This KA was unapproved and obsolete when migrated.] How can you configure the hawk session # used by the SAP adapter to be something other than the default 7474?

Environment

Product: TIBCO Adapter for R/3 (SAP) Version: 2.x OS: Not Specified OS --------------------

Attachments

[This KA was unapproved and obsolete when migrated.] How can you configure the hawk session # used by the SAP adapter to be something other than the default 7474? get_app