Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Running Multiple Instances of Mule 3.0

DZone's Guide to

Running Multiple Instances of Mule 3.0

· Java Zone
Free Resource

What every Java engineer should know about microservices: Reactive Microservices Architecture.  Brought to you in partnership with Lightbend.

I’m working on some Mule services, with the new 3.0.1 version, and need to run multiple instances of Mule on the same physical server.

With Mule 2.x, this was done by running the provided setup_local_instance.sh script to copy some of the Mule directories, and then using the MULE_BASE environment variable to point to the new location.

With Mule 3.0, the script still exists, but deploying multiple instances in this manner does not work correctly.

After some experimentation, what worked for me was to copy the entire Mule installation directory, and set the MULE_HOME environment variable for each new instance.

From http://greybeardedgeek.net/2010/12/running-multiple-instances-of-mule-3-0/

Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}