Deploy BYOK War File
The CADP for Java sfbyok.war file can be deployed on a web server. This article describes how to deploy the sfbyok.war file on a web server running Tomcat version 9.
Prerequisites
To deploy BYOK for AWS ensure that:
Tomcat version 9 or higher is installed.
Any of the supported Java version is installed on your machine. Refer to General system architecture for details.
In case of Java 11 or higher, copy the following jar files to the Tomcat’s lib directory:
jaxb-api-2.3.1
jaxb-core-2.3.0.1
jaxb-impl-2.3.1
activation- 1.1.1
The
/jre/lib/ext directory should not have the CADP for Java provider jar files.
Steps to deploy
Extract the file using any standard archive utility.
Extracting the archive creates the following directory structure:

For information on directory structure and its content, refer to Directory Structure.
Configure the location of the
CADP_for_JAVA.propertiesfile from the\CADP_for_JAVA\lib\extdirectory by creating an environment variable with the nameINGRIAN_CONF_PATHas shown below.
On Linux machines, run the following command to set the environment variable for
INGRIAN_CONF_PATH:export INGRIAN_CONF_PATH=/Copy the
sfbyok.warfile from the\CADP_for_JAVA\webservices\sfbyokdirectory to the%CATALINA_HOME%\webappsdirectory. If Tomcat is already running, it may automatically extract the contents to the%CATALINA_HOME%\webapps\sfbyokdirectory.If
INGRIAN_CONF_PATHis not set, theCADP_for_JAVA.propertiesfile stored at the%CATALINA_HOME%\webapps\sfbyok\WEB-INF\classesdirectory is used.Note
The Tomcat server should be configured with a Fully Qualified Domain Name (FQDN) and SSL certificate for SSL communication. The Named Credential in Salesforce accepts only (FQDN) and SSL certificate. This step is applicable to Salesforce only.
Restart the Apache-Tomcat server. While deploying the
sfbyok.war, if a folder with samesfbyokname already exists in thewebappsfolder, then delete the existing folder for clean deployment before starting the Tomcat server.Edit the following parameters in the
CADP_for_JAVA.propertiesfile:NAE_IP.1 NAE_PORT Protocol Client_Cert_Alias Client_Cert_Passphrase Key_Store_Location Key_Store_Location
Important Notes
The Tomcat server must be restarted after making changes in the
CADP_for_JAVA.propertiesfile.The CADP for Java BYOK is supported in remote mode only.
For logging, the
log.filepath parameter must be set in the application.properties file located in the%CATALINA_HOME%\webapps\sfbyok\WEB-INF\classesdirectory.