Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

About

This chapter explaines the configuration of Core of tia SAPHTTP.

Content

Introduction

Core of tia SAPHTTP 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 inside 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

for configuration (repository.cfg) see Core of tia SAPHTTP - Configuration

the folder and file for repository.cfg as well as the key store configuration needs to be readable by tomcat started by systemd. Don’t put these configuration inside an user folder of another user like your login user! Otherwise the app inside tomcat don’t have access permissions and will not start,

<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>configFileName</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

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

Native

TODO

Configuration of Core of tia

For general configuration information see Repository Konfigurationsfile and CoreOfTia Konfigurationsparameter

After installation ILM contains a example repository (see <webapps-Foler>/<war-filename>/WEB-INF/classes/config/repository.cfg)

You can define as many repositores as needed in the configuration, e.g. for Repositories with the name FI and HR

repositoryfactory.repositorylist = FI;HR

You need to configure secure access for each repositories or use the template configuration Konfigurations-Templates :

<repo>.authentication.required = true
<repo>.authentication.user     = ilm-access
<repo>.authentication.password = se3ret

SAP Configuration

First the url needs to defined:

<Host>:<port>/<deployment-name>/ilm/<repository>

An example is:

https://ilm-server/autodigit-ilm/ilm/FI

Enter the information in SM59 and configure Basic Authentication in “Logon & Security“:

Continue in ILMSTOREADM as usual.

  • No labels