Thursday, 4 July 2013

How to deploy War Application in Mule Standlone

Deploying war application on mule standalone is very simple using jetty connector . First of all create a mule project in your mule studio. Now create a new folder named webapps in your src/mule/app folder and copy your war file (exploded form )here . You will get a structure like this :
Now configure jetty connector in mule flow like this :
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:jetty="" xmlns="" xmlns:doc="" xmlns:spring="" version="CE-3.3.1" xmlns:xsi="" xsi:schemaLocation=" "> <jetty:connector name="jettyConnector" doc:name="Jetty"> <jetty:webapps directory="${app.home}/webapps" port="8083"/> </jetty:connector> </mule>
That's it . Now you can access your application at localhost:8083/{context-path of web app}

Post Comments and Suggestions !! Reference