...
In the following we provide instructions for the initial installation of the Tax Data Hub on a Tomcat application server. If your requirements for the installation differ from the assumptions made here, we will be happy to advise you to facilitate the integration of the Tax Data Hub in your company.
Tax Data Hub 24.1.1 and newer
If you want to install version 24.1.1 (or newer) of Tax Data Hub, please install Tomcat 10.1.
In this case, please read the linked instructions.
Checking the preconditions - infrastructure
Please use the System requirements document to check whether your infrastructure is up to date. If this is not the case, please update the infrastructure before you start with the Tax Data Hub installation.
Excerpt | |||||
---|---|---|---|---|---|
| |||||
Installation of databaseThe steps for setting up are kept general at this point in order to do justice to the different configurations of the database systems.
|
...
|
Excerpt | ||
---|---|---|
| ||
Installation of the Web Application ServerAs a rule, the module is set up on the same Tomcat on which the module Portal is installed. In this case, a Tomcat already exists. You can skip the steps "Installing the JDK" and " Installation of the Tomcat 9". In the following, we assume an installation on a Windows operating system. An installation on a Unix-like system differs mainly in the paths. Installation of the JDKInstall a suitable JDK 17 and create the system variable "JAVA_HOME", which points to the installation directory. Installation of the "Tomcat 9"Install Apache Tomcat 9 in a directory of your choice. We recommend installing Tomcat to a drive other than "C:", in the further process the directory "D:\Server\Tomcat" is assumed. We recommend installing the entries for the start menu to simplify the configuration. The ports used by the Tomcat can be adapted according to your requirements. |
Excerpt | ||
---|---|---|
| ||
Configuration of the "Tomcat 9"Memory
HTTPSMake the necessary connector settings in the „D:\Server\Tomcat\lib\server.xml" configuration file to ensure communication via https. A reference to a valid key store for identifying the module to other applications must be maintained. Connection to the databaseDatabase driverCopy the database driver that matches your database server into the "\lib" directory in the Tomcat installation directory.
ConfigurationConfigure the database connection as a JNDI connection in Tomcat: |
Open the "context.xml" file in the "\conf" directory of the Tomcat.
Add a new "Resource" XML tag with appropriate attributes for your DBMS and name "jdbc/taxdatahubdatasource".
Example "Resource" XML tag for MSSQLCode Block language xml <Resource name="jdbc/taxdatahubdatasource" auth="Container" type="javax.sql.DataSource" maxTotal="100" maxIdle="30" maxWaitMillis="10000" username="taxdatahub" password="taxdatahub" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="jdbc:sqlserver://localhost:1433;databaseName=taxdatahub" />
Note |
---|
When using a Microsoft SQL Server database driver with version greater than 10.x.x without encryption, the parameter “url” of the tag “resource” must be extended by “;encrypt=false (in this example url="jdbc:sqlserver://localhost:1433;databaseName=taxdatahub;encrypt=false")” |
Excerpt | ||
---|---|---|
| ||
Windows authentication(Optional for Microsoft SQL Server) From the JDBC driver package, the appropriate “*.dll”-file must also be copied from the folder “auth” into the directory “System32” of the system.
|
...
|
Code Block | ||
---|---|---|
| ||
<Resource name="jdbc/taxdatahubdatasource" type="javax.sql.DataSource"
maxTotal="100" maxIdle="30" maxWaitMillis="10000
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://[SERVER-NAME];DatabaseName=[DATABASE_NAME];Integratedsecurity=true"/> |
Connection to SAP (optional for systems with an RfC connection)
...
The registration of the module on the portal is carried out directly with Tomcat start java option parameters. The following parameters are necessary in any case:
-Dtaxdatahub.url.base=<URL of the module Tax Transfer Data Hub>
-Dtaxdatahub.url.portal=<URL of the module Portal>
...
-Dtaxdatahub.url.api=<API URL of the module Tax Transfer Data Hu>
Optionally required for static registration (if the module and the portal are installed on one Tomcat):
...
Info |
---|
The URLs must always be specified with port, even if it is a standard port (e.g. 80 or 443). |
Communication with other GTC Suite modules (API key)
For secure communication with other modules in the GTC Suite, an API key has to be generated. You can access the documentation via this link.
Deployment setup
The following steps set up the Tax Data Hub module on the "Tomcat 9" application server.
...
Excerpt | ||
---|---|---|
| ||
Use of Self-Signed CertificatesIf you have integrated a self-signed TLS/SSL certificate in Tomcat, it can happen that HTTP requests from the Tax Data Hub this module to other modules cannot be carried out. In this case, enter the following parameter in the "Java Options" field in Tomcat. This explicitly allows the use of self-signed certificates in the application. This configuration is generally not recommended for productive systems. |
-Dtaxdatahub.api.allowSelfSignedCertificat=true
Excerpt | ||
---|---|---|
| ||
Start
|
...
|
...
Open a supported browser and enter the following in the address bar (note the port selected when installing the Tomcat): "http://:/taxdatahub".
...
|
Excerpt | ||
---|---|---|
| ||
Concluding remarksThe software can now be handed over to the departments for use or professional testing. Finally, a few comments:
|