Saturday 9 February 2019

How to install Talend BPM on Tomcat


 How to install Talend BPM on Tomcat

1.       Download ApacheTomcat6  zip folder from the following web site.
Unzip into a folder and use this path as <TOMCAT_HOME>
2.       Download server files
In the bundle section on the page, download the deploy zip for your version
3.       For Talend 5.3 we need to download  BOSVersion5.10 i.e BOS-5.10-deploy.
4.       Unzip the file into the folder of your choice.
This location path will be referenced as <Talend BPM-DEPLOY> in the installation guides.
5.       Copy Talend conf folders
copy <Talend BPM-DEPLOY>\conf\bonita to <TOMCAT_HOME>\bonita
copy <Talend BPM-DEPLOY>\conf\external to <TOMCAT_HOME>\external
6.       Copy BPM Execution Engine libraries
·         Create a folder <TOMCAT_HOME>\lib\bonita.
·         Copy all *.jar files from
·         <Talend BPM-deploy>\bonita_execution_engine\engine\libs
·         <Talend BPM-deploy>\bonita_execution_engine\bonita_client\libs
·         NOTE: Please overwrite duplicate files if any.
7.    Modify <TOMCAT_HOME>\conf\catalina.properties  by adding ${catalina.home}/lib/bonita/*.jar to the property common.loader
Result:
common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/
lib/*.jar,${catalina.home}/lib/bonita/*.jar

8.       Deploy User Experience web application (*.war file)
Copy
<Talend BPM-5.3 DEPLOY>\bonita_user_experience\without_execution_engine_without_client\bonita.war
to
<TOMCAT_HOME>\webapps

Important for Talend BPM: Remove the jdtcore*.jar file
To do this, open the bonita.war file (using an unzip tool) and remove jdt-core*.jar from the WEB-INF/lib folder.
9.        Define system variables
To configure Talend, system variables need to be defined. To do that, use a setenv script.
                For Windows:
 create <TOMCAT_HOME>\bin\setenv.bat to set variables:
Copy the following content into setenv.bat file and save it.
@echo on
rem Sets some variables
set BONITA_HOME="-DBONITA_HOME=%CATALINA_HOME%\bonita"
set LOG_OPTS="-Djava.util.logging.config.file=%CATALINA_HOME%\external\logging\logging.properties"
set SECURITY_OPTS="-Djava.security.auth.login.config=%CATALINA_HOME%\external\security\jaas-standard.cfg"
set JAVA_OPTS=%JAVA_OPTS% %LOG_OPTS% %SECURITY_OPTS% %BONITA_OPTS% %BONITA_HOME% -Dfile.encoding=UTF-8 -Xshare:auto
-Xms512m -Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError



10.   Finally Go to <TOMCAT_HOME>\bin  click on startup.bat to start the tomcat server.


No w the Tomcat server started .
While starting  tomcat first time all the bonita tables created respective Datasource like h2or mysql or sqlserver.


11.   Default it integrated with h2 databse.
If we want we can configure any one of the Datasource by configuring properties files
12.   Login
Access the login page at http://localhost:8080/bonita and the use the admin default account ("admin"/"bpm") to login.



1 comment:

java.io.IOException: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact Return code is: 400, ReasonPhrase: Repository does not allow updating assets: releases.

 HI, by Default in Nexus release branch will not allow redeploy of the Same version of Talend job. if we need to redeploy same job again int...