Thursday 4 July 2013

Textual description of firstImageUrl

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="http://www.mulesoft.org/schema/mule/jetty" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="CE-3.3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.mulesoft.org/schema/mule/jetty http://www.mulesoft.org/schema/mule/jetty/current/mule-jetty.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd "> <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