Configure Maven and Java Security Extension - 8.0

Talend ESB STS User Guide

Version
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Installation and Upgrade
Last publication date
2023-09-14

Procedure

  1. Update (or create if not present) your Maven repository settings.xml file for Maven deployment plugin authorization.
    Go to the .m2/settings.xml file of your operating system home directory (usually \Documents and Settings\<windows-user> for Windows and /home/<user> for Linux) and add:
    <settings>
       <servers>
          <server>
             <id>myTomcat</id>
             <username>tomcat</username>
             <password>(defined in tomcat-users.xml configuration)</password>
          </server>
       </servers>
       ...
    </settings>
    Where tomcat above is the name of the user you granted the manager role(s) to in the previous section.
  2. Check if the Java Security Extension installed:
    To prevent the Illegal key size or default parameters exception, update your Java SDK by downloading the Java(TM) Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6. Follow the README in that download for instructions on upgrading your JDK to support 256-bit encryption. (Another option is to reduce the encryption level of the sample to 128-bit by following the instructions in this sample's README file.)
    You can download the policy files from http://www.oracle.com/technetwork/java/javase/downloads/index.html. All versions of Java from 1.8.0_161 enable the unlimited strength policy files by default, see https://www.oracle.com/technetwork/java/javase/8u161-relnotes-4021379.html for more information.