Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About

This chapter explaines the configuration of Core of tia SAPHTTP.

Content

Table of Contents

Introduction

Core of tia SAPHTTP ArchiveLink is configured for all kinds of deployments in the same manner by the repository.cfg.
(info) There are small differences how the several kinds are finding the repository.cfg. This way is explained first.

After this the configuration of Core of tia ArchiveLinkinside repository.cfg is explained.

Finally the configuration inside SAP is explained shortly.

How to configure where to find the repository.cfg

Tomcat

  • shut down the app

  • enter tomcat web app folder

  • edit there …/WEB-INF/web.xml

  • configure the folder and file name for your repository.cfg

...

Code Block
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">

   <context-param>
    <param-name>configDirectory</param-name>
    <param-value>/opt/kgs/coreOfTia/configs/configSFS</param-value>
  </context-param>

     <context-param>
    <param-name>configFile</param-name>
    <param-value>repository.cfg</param-value>
  </context-param>
</web-app>
  • start the app again

SpringBoot fat JAR

  • while starting the app the config location can be given by the configDirectory parameter

Code Block
java -jar -DconfigDirectory="C:/Users/m.wodarz/Documents/AutoDigit/configs/configSFS" autodigit-saphttp-app-2.0.7.jar

...

...

please consider also to read https://kgs-software.atlassian.net/wiki/spaces/WIKI/pages/2536669187/Core+of+tia+SAPHTTP+-+Installation+-+using+Spring-Boot+fat+jar#Memory-Settings

Native

TODO

Configuration of

...

ArchiveLink

For general configuration information see /wiki/spaces/WIKI/pages/2051211280 and /wiki/spaces/WIKI/pages/1368064007

...

Code Block
repositoryfactory.repositorylist = FI;HR

SAP Configuration

First the url needs to defined:

...

Enter the information in oac0.

Security

If the security is set to 1 or 2 it is necessary to have a keystore service configured.

...