DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Retrieval Augmented Generation With Spring AI 2.0, Claude, and PGvector
  • A Spring Boot App With Half the Startup Time
  • Key Takeaways From Integrating a RAG Application With LangSmith
  • Improving Java Application Reliability with Dynatrace AI Engine

Trending

  • Cloud Cost Optimization Was Hard; AI Cost Optimization Will Be Worse.
  • What Is Plagiarism? How to Avoid It and Cite Sources
  • How to Build a Solid Test Pipeline in the Era of Agentic AI Development
  • Add Observability to Your React Native Application in 5 Minutes

Standalone Runtime Server in Mule 4

The application has an embedded Mule runtime server and we are deploying it on Anypoint Studio. But in production, we need to start a standalone Mule Runtime.

By 
Kiranjot Kaur user avatar
Kiranjot Kaur
·
May. 30, 21 · Tutorial
Likes (4)
Comment
Save
Tweet
Share
11.8K Views

Join the DZone community and get the full member experience.

Join For Free

Why Do We Need a Standalone Runtime Server?

We can deploy our application on Anypoint Studio. The application has an embedded Mule runtime server and we are deploying it on Anypoint Studio. But in production, we won’t do that. We need to start a standalone Mule Runtime.

How to Start a Standalone Runtime Server?

1. We need to download Mule Runtime Server from the link:
https://www.mulesoft.com/lp/dl/mule-esb-enterprise

2. Extract the downloaded zip file in your root directory.

3. Login to your Anypoint Platform -> Runtime Manager -> Servers -> Add Server.

Runtime Manager > Servers > Add Server

4. Popup window will be displayed as shown below.

Runtime Manager Pop Up

5. Go to the directory where you have extracted your Standalone Runtime zip. Go to the bin directory and open the command prompt.

Command Prompt

6. Execute the command that you have copied from the above popup window. You can replace the server name with the name that you want to give to a server. Remove (./ )from the command before executing the command. Mule runtime agent will get installed after executing the above command.

Mule Agent Installer

Mule Agent Installer Part 2

7. Once the Mule runtime agent is installed, you will see the server with your given name is created in runtime manager with status CREATED.

Standalone Runtime Server

8. Now, go to Applications -> Deploy Application.

Deploy Application

9. Upload the jar file and deploy the application.

Application Deployment

BAT Files

10. Check the application status.

Deploy Application

11. We can check the status of the application in the BAT file.

BAT file

12. Now put a get request, and we would be able to get the results.

Runtime Server Results

13. Use Ctrl+C in the Mule BAT file to disconnect the application.

bat file final


application

Published at DZone with permission of Kiranjot Kaur. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Retrieval Augmented Generation With Spring AI 2.0, Claude, and PGvector
  • A Spring Boot App With Half the Startup Time
  • Key Takeaways From Integrating a RAG Application With LangSmith
  • Improving Java Application Reliability with Dynatrace AI Engine

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook