Service deployment
Before you begin
-
If you installed Zookeeper in standalone, you first need to install and start two bundles: "org.talend.esb.locator" and "org.apache.zookeeper.zookeeper" that activate the Service Locator feature in the Talend Runtime Container. And then, you can deploy the three bundles you previously created and start them. To do so, execute the following commands sequentially:
karaf@trun> bundle:install mvn:org.apache.zookeeper/zookeeper/3.3.3 karaf@trun> bundle:install mvn:org.talend.esb/locator/ karaf@trun> bundle:install mvn:org.talend.esb.examples.locator/locator_common/1.0.0 karaf@trun> bundle:install mvn:org.talend.esb.examples.locator/locator_service/1.0.0 karaf@trun> bundle:install mvn:org.talend.esb.examples.locator/locator_client/1.0.0 karaf@trun> bundle:start 154 karaf@trun> bundle:start 155 karaf@trun> bundle:start 156 karaf@trun> bundle:start 157
-
If you installed Zookeeper as an OSGi bundle, you will only need to deploy the three bundles you previously created and start them:
karaf@trun> bundle:install mvn:org.talend.esb.examples.locator/locator_common/1.0.0 karaf@trun> bundle:install mvn:org.talend.esb.examples.locator/locator_service/1.0.0 karaf@trun> bundle:install mvn:org.talend.esb.examples.locator/locator_client/1.0.0 karaf@trun> bundle:start 156 karaf@trun> bundle:start 157
The bundle numbers returned for each bundle:install command will probably be different from those used in this sample; use those numbers instead.
Then, all bundles will be installed and the environment is ready to test. Except "locator_client", we need to keep it stopped for the time being.
About this task
Now that the Service Locator has been installed successfully in the Talend Runtime Container, you will deploy the services.
Procedure
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!