SlideShare a Scribd company logo
MULE TCAT SERVER
DEPLOYING APPLICATIONS
Shanky Gupta
Introduction
◦ A Deployment is the mechanism that enables you to deploy one or more
applications to multiple Tomcat instances or groups, and to undeploy
them just as easily. This page describes the various tasks related to
deployment.
◦ A Deployment is a grouping of applications you can deploy to servers or
groups.
Creating a Deployment
◦ To create the deployment:
◦ On the Deployments tab, click New Deployment and enter a unique name for this entity.
◦ Just beneath the Web Applications list, click
Add from Repository or
Upload New Version.
◦ Browse to the .war
file and click Open.
◦ For a new web
application, you can
edit the URL context
path by clicking
Advanced Options and
entering it in the Name
field.
◦ Edit version information
(optional).
◦ Click Add.
◦ To the right of the Web Applications list, select the target server or group for this
deployment.
◦ To the bottom right, click Save.
◦ The package now appears on the Deployments tab. If you saved the package without
deploying it, you can deploy it later by selecting its check box and clicking Deploy.
Uploading Applications
◦ There are three ways to upload applications (WAR files) into the
repository:
◦ Add an application manually when you are creating a deployment
(described below).
◦ Add applications directly into the repository using the Repository tab
(administrator permissions are required).
◦ When developing an application, upload it to the repository as part of the
build process using the Maven Publishing Plug-in.
Manual Application Upload
◦ To upload an application manually:
◦ When creating or editing a deployment on the Deployments tab, click Upload
New Application.
◦ Click Browse and navigate to the location of the application’s WAR file and
click Open to select it.
◦ Optionally, click the Advanced down arrow to specify a location, unique name,
and version for the application as you want it to appear in the repository.
◦ Click Add to add the application to the repository and include it in the
deployment.
Modifying a Deployment
◦ After you have created a deployment, you might want to modify some
of its details, including its applications, configuration files, or target
servers.
◦ To modify a deployment:
◦ On the Deployments tab, click the name of the deployment you want to
modify.
◦ Make the changes you want to the deployment, and then click Save to save
the changes without deploying the updated version yet (you can
click Deploy later), or click Deploy to save and deploy in one step.
Uploading a new web app
◦ To upload a new web application:
◦ On the Deployments tab, click the name of the deployment you want to
modify.
◦ Click on the green up arrow to the right of the web application you want to
replace.
◦ Browse to a the new .war file, click Open.
◦ Click Add to upload the new .war file.
◦ Click Save.
◦ The deployment is now updated, but appears with a yellow icon (for
unreconciled) until it is deployed.
Viewing History on a Deployment
◦ Each time you modify, deploy, or undeploy, a new version of the deployment is
created. To see what has changed over time, select the deployment and click on the
History tab.
◦ Note: Deployments can be restored from history using the Restore button.
** Important
◦ Two or more deployments can contain the same web application, as long as
the context path of each web application is different. If the context path of
the web applications is the same, the deploy action would fail.
Parallel Deployments [v 7.0.1]
◦ Starting with Tcat 7.0.1, you can perform truly parallel deployments such as selecting
multiple deployments and performing a group action on them (deploy, undeploy,
redeploy), and have them work in parallel. Earlier versions allowed you to perform
group actions, but the actions were queued and prior actions had to be finished for
subsequent actions to be executed. Lets explain this in greater detail.
◦ Let’s say we have 2 deployments; D1 and D2. You could select these deployments and
then click the "Deploy" button. In earlier versions of Tcat, deployment D1 would start
executing and deploying its webapps to the servers one at a time, while deployment
D2 would be queued; waiting for D1 to finish. In Tcat 7.0.1, both D1 and D2 can now
simultaneous run in parallel. However, by default this feature is not enabled. You need
to enable it before you start the Tcat console.
Enabling parallel deployment
◦ To enable parallel deployment:
◦ Open the webapps/console/WEB-INF/classes/galaxy.properties file
◦ Determine the number of deployments you would want to run in parallel and then
update the following properties with that value for example, in the above scenario we
want two deployments in parallel so we would set the properties as follows:
galaxy.properties
The above set the size of the "ThreadPool" which contains threads, each of which is
responsible for one deployment.
deployments.corePoolSize=2
deployments.maxPoolSize=2
◦ Similarly, within a Deployment you could have multiple Webapps which need to
be deployed to multiple Servers. To perform that in parallel (enabled by default),
you could change the following:
galaxy.properties
If you change these properties while the console is running, then you need to
restart the console for the new values to be picked up.
deploymentExecutor.corePoolSize=5 deploymentExecutor.maxPoolSize=20

More Related Content

PPTX
Mule environments
PPTX
Deploy mule application
PPT
Mule deploying a cloud hub application
PPTX
Best way to deploy mule application
PPT
Mule deploying a cloud hub application
PPT
Mule managing cloud hub
PPTX
Running mule as worker role on azure
PPTX
Sharing Resources - Mule
Mule environments
Deploy mule application
Mule deploying a cloud hub application
Best way to deploy mule application
Mule deploying a cloud hub application
Mule managing cloud hub
Running mule as worker role on azure
Sharing Resources - Mule

What's hot (20)

PPTX
Debugging mule
PDF
Introducing Mule Application and API
PPTX
Troubleshooting mule
PPTX
Anypoint access management - Roles
PPTX
Mule debugging
PPT
Mule Tcat server
PDF
CloudHub Connector With Mulesoft
PPTX
Introduce anypoint studio
PPTX
Mule: Munit domain support
PPTX
Integration with CMIS using Mule ESB
PPTX
Anypoint runtime manager v1
PPT
Mule legacy modernization example
PPTX
Logging best practice in mule using logger component
PPTX
Automatic documentation with mule
 
PPTX
Github plugin setup in anypointstudio
PPTX
Mule with drools
PPTX
JUnit and MUnit Set Up In Anypoint Studio
PPTX
Creating a mule project with raml and api
PPTX
Using maven with mule
PPTX
MUnit run and wait scope
Debugging mule
Introducing Mule Application and API
Troubleshooting mule
Anypoint access management - Roles
Mule debugging
Mule Tcat server
CloudHub Connector With Mulesoft
Introduce anypoint studio
Mule: Munit domain support
Integration with CMIS using Mule ESB
Anypoint runtime manager v1
Mule legacy modernization example
Logging best practice in mule using logger component
Automatic documentation with mule
 
Github plugin setup in anypointstudio
Mule with drools
JUnit and MUnit Set Up In Anypoint Studio
Creating a mule project with raml and api
Using maven with mule
MUnit run and wait scope
Ad

Viewers also liked (20)

PPTX
Cloudhub fabric
PPTX
Sap integration by mule esb
PPTX
Mule with velocity
PPTX
MUnit matchers
PPTX
Configuring Anypoint Studio MQ connector
PPTX
Mule message structure
PPTX
Cloud hub scalability and availability
PPTX
Mule agent notifications
PPTX
Mule tcat server - Server profiles
PPTX
MuleSoft CloudHub FAQ
PPTX
Anypoint access management
PPTX
Mule testing
PPTX
Rest security in mule
PPTX
Mule management console
PPTX
Cloudhub and Mule
PPTX
Mule Security
PPTX
Using mule with web services
PPTX
Mule esb mule message
PPTX
Mule tcat server - Monitoring applications
PPTX
Cloud hub architecture
Cloudhub fabric
Sap integration by mule esb
Mule with velocity
MUnit matchers
Configuring Anypoint Studio MQ connector
Mule message structure
Cloud hub scalability and availability
Mule agent notifications
Mule tcat server - Server profiles
MuleSoft CloudHub FAQ
Anypoint access management
Mule testing
Rest security in mule
Mule management console
Cloudhub and Mule
Mule Security
Using mule with web services
Mule esb mule message
Mule tcat server - Monitoring applications
Cloud hub architecture
Ad

Similar to Mule tcat server - deploying applications (20)

PDF
Apache Tomcat 8 Application Server
PDF
Spring Live Sample Chapter
PDF
Rock Solid Deployment of Web Applications
PPT
Web Applications and Deployment
PPTX
Ordina SOFTC Presentation - Deployment with TFS Build and Workflow
PPTX
Xebia deploy it
PDF
Automating and Accelerating Application Deployments to IBM WebSphere without ...
PPTX
Tcat server
PDF
Deployit overview for JUG-Italy meeting
PDF
01 web-apps
PDF
01 web-apps
PPTX
Web deploy
PPTX
Java App On Digital Ocean: Deploying With Gitlab CI/CD
PPTX
File -> new project to deploy in 10 minutes with TeamCity and Octopus Deploy
PDF
Webinar on deployment automation Xebialabs - 15 sept 2010
PDF
Application deployment automation (XebiaLabs)
PDF
SymfonyCon Madrid 2014 - Rock Solid Deployment of Symfony Apps
PPT
Tomcat Server
PDF
Evolution of deploy.sh
PDF
Deployment Tactics
Apache Tomcat 8 Application Server
Spring Live Sample Chapter
Rock Solid Deployment of Web Applications
Web Applications and Deployment
Ordina SOFTC Presentation - Deployment with TFS Build and Workflow
Xebia deploy it
Automating and Accelerating Application Deployments to IBM WebSphere without ...
Tcat server
Deployit overview for JUG-Italy meeting
01 web-apps
01 web-apps
Web deploy
Java App On Digital Ocean: Deploying With Gitlab CI/CD
File -> new project to deploy in 10 minutes with TeamCity and Octopus Deploy
Webinar on deployment automation Xebialabs - 15 sept 2010
Application deployment automation (XebiaLabs)
SymfonyCon Madrid 2014 - Rock Solid Deployment of Symfony Apps
Tomcat Server
Evolution of deploy.sh
Deployment Tactics

More from Shanky Gupta (11)

PPTX
Mule tcat server - common problems and solutions
PPTX
Mule access management - Managing Environments and Permissions
PPTX
Mule tcat server - Monitoring a server
PPTX
Mule tcat server - automating tasks
PPTX
Mule management console Architecture
PPTX
CloudHub networking guide
PPTX
Anypoint access management - Users
PPTX
The Mule Agent
PPTX
MUnit - Testing Mule
PDF
OAuth 2.0 authorization
PDF
OAuth 2.0 authentication
Mule tcat server - common problems and solutions
Mule access management - Managing Environments and Permissions
Mule tcat server - Monitoring a server
Mule tcat server - automating tasks
Mule management console Architecture
CloudHub networking guide
Anypoint access management - Users
The Mule Agent
MUnit - Testing Mule
OAuth 2.0 authorization
OAuth 2.0 authentication

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Empathic Computing: Creating Shared Understanding
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
A Presentation on Artificial Intelligence
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Machine learning based COVID-19 study performance prediction
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25 Week I
Empathic Computing: Creating Shared Understanding
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation_ Review paper, used for researhc scholars
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Building Integrated photovoltaic BIPV_UPV.pdf
Approach and Philosophy of On baking technology
Advanced methodologies resolving dimensionality complications for autism neur...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Diabetes mellitus diagnosis method based random forest with bat algorithm
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
The AUB Centre for AI in Media Proposal.docx
20250228 LYD VKU AI Blended-Learning.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
A Presentation on Artificial Intelligence
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Machine learning based COVID-19 study performance prediction

Mule tcat server - deploying applications

  • 1. MULE TCAT SERVER DEPLOYING APPLICATIONS Shanky Gupta
  • 2. Introduction ◦ A Deployment is the mechanism that enables you to deploy one or more applications to multiple Tomcat instances or groups, and to undeploy them just as easily. This page describes the various tasks related to deployment. ◦ A Deployment is a grouping of applications you can deploy to servers or groups.
  • 3. Creating a Deployment ◦ To create the deployment: ◦ On the Deployments tab, click New Deployment and enter a unique name for this entity. ◦ Just beneath the Web Applications list, click Add from Repository or Upload New Version. ◦ Browse to the .war file and click Open. ◦ For a new web application, you can edit the URL context path by clicking Advanced Options and entering it in the Name field. ◦ Edit version information (optional). ◦ Click Add.
  • 4. ◦ To the right of the Web Applications list, select the target server or group for this deployment. ◦ To the bottom right, click Save. ◦ The package now appears on the Deployments tab. If you saved the package without deploying it, you can deploy it later by selecting its check box and clicking Deploy.
  • 5. Uploading Applications ◦ There are three ways to upload applications (WAR files) into the repository: ◦ Add an application manually when you are creating a deployment (described below). ◦ Add applications directly into the repository using the Repository tab (administrator permissions are required). ◦ When developing an application, upload it to the repository as part of the build process using the Maven Publishing Plug-in.
  • 6. Manual Application Upload ◦ To upload an application manually: ◦ When creating or editing a deployment on the Deployments tab, click Upload New Application. ◦ Click Browse and navigate to the location of the application’s WAR file and click Open to select it. ◦ Optionally, click the Advanced down arrow to specify a location, unique name, and version for the application as you want it to appear in the repository. ◦ Click Add to add the application to the repository and include it in the deployment.
  • 7. Modifying a Deployment ◦ After you have created a deployment, you might want to modify some of its details, including its applications, configuration files, or target servers. ◦ To modify a deployment: ◦ On the Deployments tab, click the name of the deployment you want to modify. ◦ Make the changes you want to the deployment, and then click Save to save the changes without deploying the updated version yet (you can click Deploy later), or click Deploy to save and deploy in one step.
  • 8. Uploading a new web app ◦ To upload a new web application: ◦ On the Deployments tab, click the name of the deployment you want to modify. ◦ Click on the green up arrow to the right of the web application you want to replace. ◦ Browse to a the new .war file, click Open. ◦ Click Add to upload the new .war file. ◦ Click Save.
  • 9. ◦ The deployment is now updated, but appears with a yellow icon (for unreconciled) until it is deployed.
  • 10. Viewing History on a Deployment ◦ Each time you modify, deploy, or undeploy, a new version of the deployment is created. To see what has changed over time, select the deployment and click on the History tab. ◦ Note: Deployments can be restored from history using the Restore button.
  • 11. ** Important ◦ Two or more deployments can contain the same web application, as long as the context path of each web application is different. If the context path of the web applications is the same, the deploy action would fail.
  • 12. Parallel Deployments [v 7.0.1] ◦ Starting with Tcat 7.0.1, you can perform truly parallel deployments such as selecting multiple deployments and performing a group action on them (deploy, undeploy, redeploy), and have them work in parallel. Earlier versions allowed you to perform group actions, but the actions were queued and prior actions had to be finished for subsequent actions to be executed. Lets explain this in greater detail. ◦ Let’s say we have 2 deployments; D1 and D2. You could select these deployments and then click the "Deploy" button. In earlier versions of Tcat, deployment D1 would start executing and deploying its webapps to the servers one at a time, while deployment D2 would be queued; waiting for D1 to finish. In Tcat 7.0.1, both D1 and D2 can now simultaneous run in parallel. However, by default this feature is not enabled. You need to enable it before you start the Tcat console.
  • 13. Enabling parallel deployment ◦ To enable parallel deployment: ◦ Open the webapps/console/WEB-INF/classes/galaxy.properties file ◦ Determine the number of deployments you would want to run in parallel and then update the following properties with that value for example, in the above scenario we want two deployments in parallel so we would set the properties as follows: galaxy.properties The above set the size of the "ThreadPool" which contains threads, each of which is responsible for one deployment. deployments.corePoolSize=2 deployments.maxPoolSize=2
  • 14. ◦ Similarly, within a Deployment you could have multiple Webapps which need to be deployed to multiple Servers. To perform that in parallel (enabled by default), you could change the following: galaxy.properties If you change these properties while the console is running, then you need to restart the console for the new values to be picked up. deploymentExecutor.corePoolSize=5 deploymentExecutor.maxPoolSize=20