The configuration files used are created only when the OSGi features are
installed. For this reason, the features are installed and then the container is
shut down. The configuration is done in the configuration files created.
Procedure
-
Start the container:
-
In the Talend Runtime Container, execute the following command to install the
DataSource into the container, for example, the Oracle DataSource. A
configuration file named org.talend.esb.datasource.oracle.cfg
will be created in the <Talend.runtime.dir>/container/etc
folder.
feature:install tesb-datasource-oracle
-
Stop the Talend Runtime Container using the logout command.
-
Set the values of the following properties in the configuration file
<Talend.runtime.dir>/container/etc/org.talend.esb.datasource.oracle.cfg:
datasource.url= jdbc:oracle:thin:@HOST:1521:SID
datasource.user=USER
datasource.password=talend