Deploying a WAR to the installed web feature - 7.3

Talend ESB Container Administration Guide

Version
7.3
Language
English
Product
Talend Cloud
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
Administration and Monitoring
Design and Development
Installation and Upgrade
Last publication date
2023-09-13

About this task

The following steps will describe how to install a simple WAR file (with JSPs or Servlets) to the just installed web feature.

Procedure

  1. To deploy a WAR (JSP or Servlet) to Jetty, update its MANIFEST.MF to include the required OSGi headers as described here: http://ops4j.github.io/pax/web/6.x/User-Guide.html#war-extender
  2. Copy the updated WAR (archive or extracted files) to the deploy directory.

Results

If you want to deploy a sample web application into Karaf, you could use the following command:

karaf@trun> bundle:install -s webbundle:http://tomcat.apache.org/tomcat-5.5-doc/appdev/sample/sample.war?Bundle-SymbolicName=tomcat-sample&Webapp-Context=/sample

Then open your web browser and point to http://localhost:8181/sample/index.html.