Mule ESB installation on Debian

From MyWiki

(Difference between revisions)
Jump to: navigation, search
Admin (Talk | contribs)
(Created page with 'First, download Mule stand-alone for Linux from Mulesoft web site. Copy it to your server and extract somewhere. I'll do into /usr/local <pre> # cd /usr/local # gzip -dc ~amark…')
Newer edit →

Revision as of 14:30, 20 April 2014

First, download Mule stand-alone for Linux from Mulesoft web site.

Copy it to your server and extract somewhere. I'll do into /usr/local

# cd /usr/local
# gzip -dc ~amarkelo/mule-standalone-3.4.0.tar.gz |tar xvf -
# ln -s mule mule-standalone-3.4.0
# chown -R root:staff mule-standalone-3.4.0

Check your java version:

#  java -version
#  gzip -dc ~amarkelo/jre-7u51-linux-x64.tar.gz |tar xvf -
#  ln -s jre1.7.0_51 java
#  vi /etc/profile
#  export PATH=$PATH:/usr/local/java/bin:/usr/local/mule/bin

Check that you can launch Mule

#  mule

Enable boot time start:

#  which mule
#  vi `which mule`
#  ln -s /usr/local/mule/bin/mule /etc/init.d/mule
#  /etc/init.d/mule 
#  update-rc.d mule start 99 2 3 4 5 . stop 99 0 1 6 .

Check that the service can start:

#  service mule start
#  ps -ef | grep mule
#  service mule stop
#  ps -ef | grep mule

Logs are in /usr/local/mule/logs/

Applications deployed by copying .zip archive of the app into $MULE/apps directory

# ls /usr/local/mule/apps/
default  default-anchor.txt  product.registration  product.registration-anchor.txt

You can check the Mule log how the hot deployment went:

tail -f /usr/local/mule/logs/mule.log
Personal tools