Configuring an application

Configure custom application profile

  1. Copy %SOAM_HOME%\5.0\Integrations\ConnectorForMsExcel\samples\CPP\AsyncClient\connectorForExcelSampleApp.xml and create a new file.
  2. Change the consumer section to indicate your application name and consumer:
    ...
     <Consumer applicationName="ConnectorForExcel" 
    consumerId="/SampleApplications/SOASamples"
    .../>
    ...
  3. Consider and decide which of the following parameters to change, if necessary, for your application.
    ...<env name="START_SNIFFER">false</env>
    <env name="FATAL_PATTERNS">Compile error</env>
    <env name="NON_FATAL_PATTERNS">The Office Assistant
       could not be started</env>
    <env name="DISSMISS_DLG_WITH_PATTERNS">Simulated error 
       happened</env>
    <env name="FATAL_TIMEOUT">30</env>
    <env name="NON_FATAL_TIMEOUT">40</env>
    <env name="APP_DEPLOY_DIR">${SOAM_DEPLOY_DIR}</env>
    ...

Configure logging

  1. Make a backup copy of the api.log4j.properties file in %SOAM_HOME%\conf.
  2. Copy the %SOAM_HOME%\5.0\Integrations\ConnectorForMsExcel\conf\api.log4j.properties file to %SOAM_HOME%\conf.