You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/07/18 11:11:43 UTC

[1/9] applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch

Updated Branches:
  refs/heads/master 5cf165efe -> fae253159


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/log4j.properties
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/log4j.properties b/products/elb/modules/distribution/src/main/conf/log4j.properties
new file mode 100644
index 0000000..d13ffc0
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/log4j.properties
@@ -0,0 +1,132 @@
+#
+#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+##
+# This is the log4j configuration file used by WSO2 ESB
+# =====================================================
+#
+# IMPORTANT : Please do not remove or change the names of any of the Appenders defined here.
+# The layout pattern & log file can be changed using the WSO2 ESB Management Console, and those
+# settings will override the settings in this file.
+##
+
+##
+# WSO2 ESB is now able to create per-service trace logs at runtime. Thus while a message
+# is being processed through a Proxy service or the Synapse service (i.e. message mediation through
+# the 'main' sequence), tracing may be turned 'on' at any Proxy, Sequence or Mediator level. This
+# trace state 'flows' with the message - i.e from a trace enabled sequence to another sequence etc.
+# and applies to all mediators within a trace enabled sequence etc. unless another sequence or
+# mediator does not override and specify a different trace setting.
+##
+
+# the root category is ERROR (applies for all 3rd party JARs etc) and will be logged to the
+# LOG_APPENDER and the CONSOLE_APPENDER
+
+log4j.rootLogger=ERROR, CARBON_CONSOLE, CARBON_LOGFILE, ERROR_LOGFILE
+
+log4j.category.org.apache.synapse=INFO
+log4j.category.org.apache.synapse.transport=INFO
+log4j.category.org.apache.axis2=INFO
+log4j.category.org.apache.axis2.transport=INFO
+log4j.logger.com.atomikos=INFO,ATOMIKOS
+log4j.logger.org.quartz=WARN
+log4j.logger.org.wso2=INFO
+log4j.logger.org.wso2.carbon=INFO
+
+log4j.logger.org.apache.catalina=WARN
+log4j.logger.org.apache.synapse.endpoints.EndpointContext=ERROR
+log4j.logger.org.apache.coyote=WARN
+log4j.logger.org.apache.axis2.enterprise=FATAL
+log4j.logger.de.hunsicker.jalopy.io=FATAL
+
+# uncomment the following logs to see HTTP headers and messages
+# nhttp case
+#log4j.logger.org.apache.synapse.transport.nhttp.headers=DEBUG
+#log4j.logger.org.apache.synapse.transport.nhttp.wire=DEBUG
+# passthru case
+#log4j.logger.org.apache.synapse.transport.passthru.headers=DEBUG
+#log4j.logger.org.apache.synapse.transport.passthru.wire=DEBUG
+
+#nhttp accesslogs
+#log4j.logger.org.apache.synapse.transport.nhttp.access=INFO
+
+#passthru access logs
+log4j.logger.org.apache.synapse.transport.passthru.access=INFO
+
+# qpid related logs for the message broker
+log4j.logger.qpid=FATAL
+log4j.logger.org.apache.qpid=FATAL
+
+# The console appender is used to display general information at console
+log4j.appender.CARBON_CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CARBON_CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CARBON_CONSOLE.layout.ConversionPattern=[%d{ISO8601}] %5p - %c{1} %m%n
+
+# Configure the service logger at INFO level. Writes only run-time/mediation-time audit messages
+log4j.category.SERVICE_LOGGER=INFO, SERVICE_APPENDER
+log4j.additivity.SERVICE_LOGGER=false
+log4j.appender.SERVICE_APPENDER=org.apache.log4j.RollingFileAppender
+log4j.appender.SERVICE_APPENDER.File=repository/logs/${instance.log}/wso2-elb${instance.log}.log
+log4j.appender.SERVICE_APPENDER.MaxFileSize=1000KB
+log4j.appender.SERVICE_APPENDER.MaxBackupIndex=10
+log4j.appender.SERVICE_APPENDER.layout=org.apache.log4j.PatternLayout
+log4j.appender.SERVICE_APPENDER.layout.ConversionPattern=%d{ISO8601} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
+
+# The trace logger dumps enough information @INFO level, but maybe pushed upto TRACE.
+# Writes only run-time/mediation time tracing/debug messages for messages passing through trace
+# enabled sequences, mediators and services. Enabling tracing on these has a performance impact
+log4j.category.TRACE_LOGGER=INFO, TRACE_APPENDER
+log4j.additivity.TRACE_LOGGER=false
+log4j.appender.TRACE_APPENDER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.TRACE_APPENDER.File=repository/logs/${instance.log}/wso2-elb-trace${instance.log}.log
+log4j.appender.TRACE_APPENDER.Append=true
+log4j.appender.TRACE_APPENDER.layout=org.apache.log4j.PatternLayout
+log4j.appender.TRACE_APPENDER.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
+
+# CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
+log4j.appender.CARBON_LOGFILE=org.apache.log4j.DailyRollingFileAppender
+# Log file will be overridden by the configuration setting in the DB
+# This path should be relative to WSO2 Carbon Home
+log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log
+log4j.appender.CARBON_LOGFILE.Append=true
+log4j.appender.CARBON_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
+# ConversionPattern will be overridden by the configuration setting in the DB
+log4j.appender.CARBON_LOGFILE.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
+log4j.appender.CARBON_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
+log4j.appender.CARBON_LOGFILE.threshold=DEBUG
+
+# The standard error log where all the warnings, errors and fatal errors will be logged
+log4j.appender.ERROR_LOGFILE=org.apache.log4j.FileAppender
+log4j.appender.ERROR_LOGFILE.File=repository/logs/${instance.log}/wso2-elb-errors.log
+log4j.appender.ERROR_LOGFILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.ERROR_LOGFILE.layout.ConversionPattern=%d{ISO8601} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
+log4j.appender.ERROR_LOGFILE.threshold=WARN
+
+log4j.logger.org.apache.directory.shared.ldap=WARN, CARBON_CONSOLE
+log4j.logger.org.apache.directory.server.ldap.handlers=WARN, CARBON_CONSOLE
+log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=FATAL, CARBON_CONSOLE
+log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR, CARBON_CONSOLE
+log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=ERROR, CARBON_CONSOLE
+
+# Appender config to send Atomikos transaction logs to new log file tm.out.
+log4j.appender.ATOMIKOS = org.apache.log4j.RollingFileAppender
+log4j.appender.ATOMIKOS.File = repository/logs/tm.out
+log4j.appender.ATOMIKOS.Append = true
+log4j.appender.ATOMIKOS.layout = org.apache.log4j.PatternLayout
+log4j.appender.ATOMIKOS.layout.ConversionPattern=%p %t %c - %m%n
+log4j.additivity.com.atomikos=false
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/nhttp.properties
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/nhttp.properties b/products/elb/modules/distribution/src/main/conf/nhttp.properties
new file mode 100644
index 0000000..d3c1108
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/nhttp.properties
@@ -0,0 +1,46 @@
+#
+#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+# This file contains the configuration parameters used by the Non-blocking HTTP transport
+
+worker_pool_size_core=400
+worker_pool_size_max=500
+#worker_thread_keepalive_sec=60
+#worker_pool_queue_length=-1
+#io_threads_per_reactor=2
+io_buffer_size=16384
+
+#http.socket.timeout=60000
+#nhttp_buffer_size=8192
+#http.tcp.nodelay=1
+#http.connection.stalecheck=0
+
+# Uncomment the following property for an AIX based deployment
+#http.nio.interest-ops-queueing=true
+
+# HTTP Sender thread pool parameters
+#snd_t_core=20
+#snd_t_max=100
+#snd_alive_sec=5
+#snd_qlen=-1
+#snd_io_threads=2
+
+# HTTP Listener thread pool parameters
+#lst_t_core=20
+#lst_t_max=100
+#lst_alive_sec=5
+#lst_qlen=-1
+#lst_io_threads=2

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/passthru-http.properties
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/passthru-http.properties b/products/elb/modules/distribution/src/main/conf/passthru-http.properties
new file mode 100644
index 0000000..f39efa3
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/passthru-http.properties
@@ -0,0 +1,32 @@
+#
+#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+## This file contains the configuration parameters used by the Pass-through HTTP transport
+
+## Pass-through HTTP transport specific tuning parameters 
+force.passthrough.builder=false
+worker_pool_size_core=400
+worker_pool_size_max=500
+#worker_thread_keepalive_sec=60
+#worker_pool_queue_length=-1
+#io_threads_per_reactor=2
+io_buffer_size=16384
+#http.max.connection.per.host.port=32767
+
+## Other parameters
+#http.user.agent.preserve=false
+#http.server.preserve=true
+#http.connection.disable.keepalive=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/rule-component.conf
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/rule-component.conf b/products/elb/modules/distribution/src/main/conf/rule-component.conf
new file mode 100644
index 0000000..1bd6c09
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/rule-component.conf
@@ -0,0 +1,3 @@
+<RuleServer>
+    <RuleEngineProvider class="org.wso2.carbon.rule.engine.jsr94.JSR94BackendRuntimeFactory"/>
+</RuleServer>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/synapse-configs/default/registry.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/synapse-configs/default/registry.xml b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/registry.xml
new file mode 100644
index 0000000..b19a4c8
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/registry.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+
+<!-- Registry declaration of the WSO2 ESB -->
+<registry xmlns="http://ws.apache.org/ns/synapse" provider="org.wso2.carbon.mediation.registry.WSO2Registry">
+    <!--all resources loaded from the URL registry would be
+    cached for this number of milliseconds -->
+    <parameter name="cachableDuration">15000</parameter>
+</registry>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml
new file mode 100644
index 0000000..62c31a6
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+    <sequence name="errorHandler" xmlns="http://ws.apache.org/ns/synapse">
+	<log level="full">
+        	<property name="MESSAGE" value="Executing default 'fault' sequence"/>
+        	<property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
+        	<property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
+    	</log>
+        <makefault response="true">
+            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
+            <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
+        </makefault>
+        <send/>
+    </sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml
new file mode 100644
index 0000000..1192bbd
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+
+<!-- Default fault sequence shipped with the Apache Synapse -->
+<sequence xmlns="http://ws.apache.org/ns/synapse" name="fault">
+
+    <!-- Log the message at the full log level with the ERROR_MESSAGE and the ERROR_CODE-->
+    <!-- log level="full">
+        <property name="MESSAGE" value="Executing default 'fault' sequence"/>
+        <property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
+        <property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
+    </log -->
+
+    <!-- Drops the messages by default if there is a fault -->
+    <script language="js"><![CDATA[
+        mc.setPayloadXML(
+           <{mc.getProperty("SERVICENAME")}Response xmlns="org.wso2.gateway">
+            <Timestamp>{new Date()}</Timestamp>
+            <Ack>Failure</Ack>
+            <Errors>
+             <ShortMessage>Gateway Error</ShortMessage>
+             <LongMessage>{mc.getProperty("ERROR_MESSAGE")}</LongMessage>
+             <ErrorCode>500</ErrorCode>
+             <SeverityCode>Error</SeverityCode>
+             <ErrorClassification>RequestError</ErrorClassification>
+            </Errors>
+            <ServiceName>{mc.getProperty("SERVICENAME")}</ServiceName>
+            <ResponseCode>{mc.getProperty("HTTP_SC")}</ResponseCode>
+            <ContentType>{mc.getProperty("Content-Type")}</ContentType>
+            <Version>1.5.1</Version>
+           </{mc.getProperty("SERVICENAME")}Response>
+        );
+      ]]></script>
+    <switch source="get-property('ERROR_CODE')">
+        <case regex="101504">   <!-- TIMEOUT ERROR -->
+            <property name="HTTP_SC" value="504" scope="axis2"/>
+            <sequence key="seq_timeout"/>
+        </case>
+        <case regex="303001">
+            <property name="HTTP_SC" value="503" scope="axis2"/>
+            <sequence key="seq_endpoint_down"/>
+        </case>
+        <case regex="111503">
+            <property name="HTTP_SC" value="503" scope="axis2"/>
+            <sequence key="seq_endpoint_down"/>
+        </case>
+        <default>
+            <property name="HTTP_SC" value="500" scope="axis2"/>
+        </default>
+    </switch>
+    <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/>
+    <header name="To" action="remove"/>
+    <property name="RESPONSE" value="true"/>
+    <property name="messageType" value="text/xml" scope="axis2"/>
+    <property name="ContentType" value="text/xml" scope="axis2"/>
+
+    <send/>
+
+</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml
new file mode 100644
index 0000000..e8ead4a
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+
+<!-- Default main sequence shipped with the WSO2 ESB -->
+<sequence xmlns="http://ws.apache.org/ns/synapse" name="main" onError="fault">
+    <description>The main sequence for the message mediation</description>
+
+    <in>
+        <property name="REQUEST_HOST_HEADER" expression="$trp:host" scope="axis2"/>
+        <property name="SERVICE_PREFIX" expression="$axis2:SERVICE_PREFIX"/>
+        <send>
+            <!--endpoint name="sdlbEndpoint">
+                <session type="http">-->
+                    <!-- Session timout is 15mins-->
+                    <!--sessionTimeout>900000</sessionTimeout>
+                </session>
+                <serviceDynamicLoadbalance failover="true"
+                                           algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin"
+                                           configuration="$system:loadbalancer.xml"/>
+            </endpoint>
+            -->
+	          <!--endpoint name="tenantAwareLBEndpoint">
+                <class name ="org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint">
+                     <parameter name="algorithm"> org.apache.synapse.endpoints.algorithms.RoundRobin</parameter>
+                     <parameter name="configuration">$system:loadbalancer.conf</parameter>
+                     <parameter name="failover">true</parameter>          
+                     <parameter name="sessionTimeout">900000</parameter>
+  	            </class>
+ 	          </endpoint-->
+        </send>
+        <drop/>
+    </in>
+
+    <out>
+        <!-- Handling status codes: 301, 302 Redirection -->
+        <filter source="$trp:Location" regex=".+">
+            <property name="LB_SP_Host" expression="$ctx:SERVICE_PREFIX"
+                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
+
+            <property name="LB_Location_Protocol" expression="$trp:Location"
+                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="1"/>
+            <property name="LB_Location_Host" expression="$trp:Location"
+                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
+            <property name="LB_Location_Path" expression="$trp:Location"
+                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="4"/>
+
+            <!--<log level="custom">
+               <property name="ameera-ocation" expression="$trp:Location"/>
+               <property name="ameera-sprefix" expression="$ctx:SERVICE_PREFIX"/>
+           </log>-->
+
+            <filter xpath="fn:lower-case($ctx:LB_SP_Host)=fn:lower-case($ctx:LB_Location_Host)">
+                <then>
+                    <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
+                        <case regex="https://">
+                            <property name="Location"
+                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
+                                      scope="transport"/>
+                        </case>
+                        <case regex="http://">
+                            <property name="Location"
+                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
+                                      scope="transport"/>
+                        </case>
+                    </switch>
+                </then>
+
+                <else>
+                    <filter xpath="$ctx:LB_REQUEST_HOST=fn:lower-case($ctx:LB_Location_Host)">
+                        <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
+                            <case regex="https://">
+                                <property name="Location"
+                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
+                                          scope="transport"/>
+                            </case>
+                            <case regex="http://">
+                                <property name="Location"
+                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
+                                          scope="transport"/>
+                            </case>
+                        </switch>
+                    </filter>
+                </else>
+            </filter>
+        </filter>
+
+        <!-- Send the messages where they have been sent (i.e. implicit To EPR) -->
+        <property name="messageType" value="text/html" scope="axis2"/>
+        <send/>
+        <drop/>
+    </out>
+
+</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml
new file mode 100755
index 0000000..f3da986
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+
+<!-- The default synapse configuration shipped with the WSO2 Elastic  Load Balancer
+ -->
+
+<definitions xmlns="http://ws.apache.org/ns/synapse">
+</definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/synapse.properties
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/synapse.properties b/products/elb/modules/distribution/src/main/conf/synapse.properties
new file mode 100755
index 0000000..36e21c2
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/synapse.properties
@@ -0,0 +1,35 @@
+#
+#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+#synapse.threads.core = 20
+#synapse.threads.max = 100
+#synapse.threads.keepalive = 5
+#synapse.threads.qlen = 10
+#synapse.threads.group = synapse-thread-group
+#synapse.threads.idprefix = SynapseWorker
+
+synapse.sal.endpoints.sesssion.timeout.default=600000
+
+#In memory statistics cleaning state 
+statistics.clean.enable=false
+
+# Dependency tracking Synapse observer
+# Comment out to disable dependency management
+synapse.observers=org.wso2.carbon.mediation.dependency.mgt.DependencyTracker
+
+# User defined wsdlLocator/Schema Resolver Implementations.
+# synapse.wsdl.resolver=org.wso2.carbon.mediation.initializer.RegistryWSDLLocator
+# synapse.schema.resolver=org.wso2.carbon.mediation.initializer.RegistryXmlSchemaURIResolver
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/user-mgt.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/user-mgt.xml b/products/elb/modules/distribution/src/main/conf/user-mgt.xml
new file mode 100644
index 0000000..c902307
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/user-mgt.xml
@@ -0,0 +1,238 @@
+<!--
+  ~ Copyright WSO2, Inc. (http://wso2.com)
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+        
+<UserManager>
+    <Realm>
+        <Configuration>
+                <AdminRole>admin</AdminRole>
+                <AdminUser>
+                     <UserName>admin</UserName>
+                     <Password>admin</Password>
+                </AdminUser>
+            <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role sees the registry root -->
+            <Property name="dataSource">jdbc/WSO2CarbonDB</Property>
+            <Property name="MultiTenantRealmConfigBuilder">org.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder</Property>
+        </Configuration>
+	<!-- Following is the default user store manager. This user store manager is based on embedded-apacheds LDAP. It reads/writes users and roles into the 		     default apacheds LDAP user store. Descriptions about each of the following properties can be found in user management documentation of the 	 respective product. In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->
+	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
+            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
+            <Property name="ConnectionName">uid=admin,ou=system</Property>
+            <Property name="ConnectionPassword">admin</Property>
+            <Property name="passwordHashMethod">SHA</Property>
+            <Property name="UserNameListFilter">(objectClass=person)</Property>
+	    <Property name="UserEntryObjectClass">wso2Person</Property>
+            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
+            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
+            <Property name="UserNameAttribute">uid</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+            <Property name="ReadLDAPGroups">true</Property>
+	    <Property name="WriteLDAPGroups">true</Property>
+	    <Property name="EmptyRolesAllowed">true</Property>
+            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
+            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
+            <Property name="GroupEntryObjectClass">groupOfNames</Property>
+            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+	    <Property name="UserRolesCacheEnabled">true</Property>
+	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
+        </UserStoreManager-->
+
+	<!-- Following is the configuration for internal JDBC user store. This user store manager is based on JDBC. In case if application needs to manage 		     passwords externally set property <Property name="PasswordsExternallyManaged">true</Property>. In case if user core cache domain is needed to 			identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>. Furthermore properties, IsEmailUserName and 	     			DomainCalculation are readonly properties. 
+	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->	
+        <UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager">
+	    <Property name="ReadOnly">false</Property>
+            <Property name="MaxUserNameListLength">100</Property>
+            <Property name="IsEmailUserName">false</Property>
+            <Property name="DomainCalculation">default</Property>
+            <Property name="PasswordDigest">SHA-256</Property>
+            <Property name="StoreSaltedPassword">true</Property>
+            <Property name="UserNameUniqueAcrossTenants">false</Property>
+            <Property name="PasswordJavaRegEx">^[\S]{5,30}$</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="UsernameJavaRegEx">^[^~!#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+	    <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+	    <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+        </UserStoreManager>
+	
+	<!-- If product is using an external LDAP as the user store in READ ONLY mode, use following user manager.
+		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+ 	-->
+        <!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager">
+            <Property name="ReadOnly">true</Property>
+	    <Property name="MaxUserNameListLength">100</Property>
+            <Property name="ConnectionURL">ldap://localhost:10389</Property>
+            <Property name="ConnectionName">uid=admin,ou=system</Property>
+            <Property name="ConnectionPassword">admin</Property>
+            <Property name="UserSearchBase">ou=system</Property>
+            <Property name="UserNameListFilter">(objectClass=person)</Property>
+            <Property name="UserNameAttribute">uid</Property>
+            <Property name="ReadLDAPGroups">false</Property>
+            <Property name="GroupSearchBase">ou=system</Property>
+            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
+        </UserStoreManager-->
+	
+	<!-- Active directory configuration is as follows.
+	    In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+	    There are few special properties for "Active Directory". 
+	    They are : 
+	    1.Referral - (comment out this property if this feature is not reuired) This enables LDAP referral support.
+	    2.BackLinksEnabled - (Do not comment, set to true or false) In some cases LDAP works with BackLinksEnabled. In which role is stored
+	     at user level. Depending on this value we need to change the Search Base within code.
+	    3.isADLDSRole - (Do not comment) Set to true if connecting to an AD LDS instance else set to false.  
+	-->
+	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager">
+            <Property name="defaultRealmName">WSO2.ORG</Property>
+            <Property name="kdcEnabled">false</Property>
+            <Property name="ConnectionURL">ldaps://10.100.1.100:636</Property> 
+            <Property name="ConnectionName">CN=admin,CN=Users,DC=WSO2,DC=Com</Property>
+            <Property name="ConnectionPassword">A1b2c3d4</Property>
+	    <Property name="passwordHashMethod">SHA</Property>
+            <Property name="UserSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
+            <Property name="UserEntryObjectClass">user</Property>
+            <Property name="UserNameAttribute">cn</Property>
+            <Property name="isADLDSRole">false</Property>
+	    <Property name="userAccountControl">512</Property>
+            <Property name="UserNameListFilter">(objectClass=user)</Property>
+	    <Property name="UserNameSearchFilter">(&amp;(objectClass=user)(cn=?))</Property>
+            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
+            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
+	    <Property name="ReadLDAPGroups">true</Property>
+	    <Property name="WriteLDAPGroups">true</Property>
+	    <Property name="EmptyRolesAllowed">true</Property>
+            <Property name="GroupSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
+	    <Property name="GroupEntryObjectClass">group</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+            <Property name="GroupNameListFilter">(objectcategory=group)</Property>
+	    <Property name="GroupNameSearchFilter">(&amp;(objectClass=group)(cn=?))</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+            <Property name="Referral">follow</Property>
+	    <Property name="BackLinksEnabled">true</Property>
+        </UserStoreManager-->
+	
+	<!-- If product is using an external LDAP as the user store in read/write mode, use following user manager 
+		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+	-->
+	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
+            <Property name="ConnectionURL">ldap://localhost:10389</Property>
+            <Property name="ConnectionName">uid=admin,ou=system</Property>
+            <Property name="ConnectionPassword">secret</Property>
+            <Property name="passwordHashMethod">SHA</Property>
+            <Property name="UserNameListFilter">(objectClass=person)</Property>
+	    <Property name="UserEntryObjectClass">inetOrgPerson</Property>
+            <Property name="UserSearchBase">ou=system</Property>
+            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
+            <Property name="UserNameAttribute">uid</Property>
+	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
+            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="ReadLDAPGroups">true</Property>
+	    <Property name="WriteLDAPGroups">true</Property>
+	    <Property name="EmptyRolesAllowed">false</Property>
+            <Property name="GroupSearchBase">ou=system</Property>
+            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
+            <Property name="GroupEntryObjectClass">groupOfNames</Property>
+            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
+        </UserStoreManager-->
+
+	<!-- Following user manager is used by Identity Server (IS) as its default user manager. 
+	     IS will do token replacement when building the product. Therefore do not change the syntax. 
+	     If "kdcEnabled" parameter is true, IS will allow service principle management. Thus "ServicePasswordJavaRegEx", "ServiceNameJavaRegEx"
+	     properties control the service name format and service password formats.
+	     In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+	-->
+	<!--ISUserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
+            <Property name="defaultRealmName">WSO2.ORG</Property>
+            <Property name="kdcEnabled">false</Property>
+            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
+            <Property name="ConnectionName">uid=admin,ou=system</Property>
+            <Property name="ConnectionPassword">admin</Property>
+            <Property name="passwordHashMethod">SHA</Property>
+            <Property name="UserNameListFilter">(objectClass=person)</Property>
+            <Property name="UserEntryObjectClass">scimPerson</Property>
+            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
+            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
+            <Property name="UserNameAttribute">uid</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="ServicePasswordJavaRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="ServiceNameJavaRegEx">^[\\S]{2,30}/[\\S]{2,30}$</Property>
+            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+	    <Property name="ReadLDAPGroups">true</Property>
+	    <Property name="WriteLDAPGroups">true</Property>
+	    <Property name="EmptyRolesAllowed">true</Property>
+            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
+            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
+	    <Property name="GroupEntryObjectClass">groupOfNames</Property>
+            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
+	    <Property name="SCIMEnabled">true</Property>
+        </ISUserStoreManager-->
+
+        <AuthorizationManager
+            class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager">
+            <Property name="AdminRoleManagementPermissions">/permission</Property>
+	    <Property name="AuthorizationCacheEnabled">true</Property>
+        </AuthorizationManager>
+    </Realm>
+</UserManager>
+
+<!--*******Description of some of the configuration properties used in user-mgt.xml*********************************
+UserRolesCacheEnabled - This is to indicate whether to cache role list of a user. By default it is set to true.
+                        You may need to disable it if user-roles are changed by external means and need to reflect
+                        those changes in the carbon product immediately.
+
+ReplaceEscapeCharactersAtUserLogin - This is to configure whether escape characters in user name needs to be replaced at user login.
+				     Currently the identified escape characters that needs to be replaced are '\' & '\\'
+
+UserDNPattern - This property will be used when authenticating users. During authentication we do a bind. But if the user is login with
+                email address or some other property we need to first lookup LDAP and retreive DN for the user. This involves an additional step. 
+                If UserDNPattern is specified the DN will be contructed using the pattern specified in this property. Performance of this is much better than looking
+                up DN and binding user.
+
+passwordHashMethod - This says how the password should be stored. Allowed values are as follows,
+                     SHA - Uses SHA digest method
+                     MD5 - Uses MD 5 digest method
+                     PLAIN_TEXT - Plain text passwords
+                     In addition to above this supports all digest methods supported by http://docs.oracle.com/javase/6/docs/api/java/security/MessageDigest.html.
+
+-->

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/integration/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/integration/pom.xml b/products/elb/modules/integration/pom.xml
new file mode 100644
index 0000000..4a16265
--- /dev/null
+++ b/products/elb/modules/integration/pom.xml
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <parent>
+        <groupId>org.wso2.lb</groupId>
+        <artifactId>lb-parent</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>integration</artifactId>
+    <name>WSO2 LB - Integration Tests</name>
+    <packaging>jar</packaging>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-clean-plugin</artifactId>
+                <version>2.4.1</version>
+                <executions>
+                    <execution>
+                        <id>auto-clean</id>
+                        <phase>initialize</phase>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <inherited>false</inherited>
+                <configuration>
+                    <includes>
+                        <include>**/*TestServerManager.java</include>
+                        <include>**/*TestCase.java</include>
+                    </includes>
+                    <systemProperties>
+                        <maven.test.haltafterfailure>false</maven.test.haltafterfailure>
+                        <carbon.zip>
+                            ${basedir}/../distribution/product/target/wso2lb-${project.version}.zip
+                        </carbon.zip>
+                        <sec.verifier.dir>${basedir}/target/security-verifier/</sec.verifier.dir>
+                        <samples.dir>${basedir}/../samples/product</samples.dir>
+                        <extracted.dir>wso2lb-${project.version}</extracted.dir>
+                        <emma.home>${basedir}/target/emma</emma.home>
+                    </systemProperties>
+                    <workingDirectory>${basedir}/target</workingDirectory>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-emma-dependencies</id>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${project.build.directory}/emma</outputDirectory>
+                            <includeTypes>jar</includeTypes>
+                            <includeArtifactIds>emma,org.wso2.carbon.integration.framework</includeArtifactIds>
+                        </configuration>
+                    </execution>
+                    <execution>
+                    	<id>copy-secVerifier</id>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${basedir}/target/security-verifier</outputDirectory>
+                            <includeTypes>aar</includeTypes>
+                            <includeArtifactIds>SecVerifier</includeArtifactIds>
+                            <stripVersion>true</stripVersion>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <!--<dependency>
+            <groupId>org.wso2.lb</groupId>
+            <artifactId>wso2lb</artifactId>
+            <version>${project.version}</version>
+        </dependency>-->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.integration.framework</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.testng</groupId>
+            <artifactId>testng</artifactId>
+            <version>6.1.1</version>
+        </dependency>
+        <dependency>
+            <groupId>emma</groupId>
+            <artifactId>emma</artifactId>
+            <version>${emma.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>SecVerifier</artifactId>
+            <version>${carbon.version}</version>
+            <type>aar</type>
+        </dependency>
+    </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java
----------------------------------------------------------------------
diff --git a/products/elb/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java b/products/elb/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java
new file mode 100644
index 0000000..b9954cf
--- /dev/null
+++ b/products/elb/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java
@@ -0,0 +1,52 @@
+/*
+*  Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+*
+*  WSO2 Inc. licenses this file to you under the Apache License,
+*  Version 2.0 (the "License"); you may not use this file except
+*  in compliance with the License.
+*  You may obtain a copy of the License at
+*
+*    http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+package org.wso2.lb.integration.tests;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.testng.annotations.AfterSuite;
+import org.testng.annotations.BeforeSuite;
+import org.wso2.carbon.integration.framework.TestServerManager;
+
+import java.io.IOException;
+
+/**
+ * Prepares the WSO2 LB for test runs, starts the server, and stops the server after
+ * test runs
+ */
+public class LoadBalancerTestServerManager extends TestServerManager {
+
+    @Override
+    @BeforeSuite(timeOut = 300000)
+    public String startServer() throws IOException {
+        String carbonHome = super.startServer();
+        System.setProperty("carbon.home", carbonHome);
+        return carbonHome;
+    }
+
+    @Override
+    @AfterSuite(timeOut = 60000)
+    public void stopServer() throws Exception {
+        super.stopServer();
+    }
+
+    protected void copyArtifacts(String carbonHome) throws IOException {
+        // Nothing to do
+    }
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/integration/src/test/resources/instrumentation.txt
----------------------------------------------------------------------
diff --git a/products/elb/modules/integration/src/test/resources/instrumentation.txt b/products/elb/modules/integration/src/test/resources/instrumentation.txt
new file mode 100644
index 0000000..39ec979
--- /dev/null
+++ b/products/elb/modules/integration/src/test/resources/instrumentation.txt
@@ -0,0 +1 @@
+org.wso2.carbon.*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/p2-profile/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/p2-profile/pom.xml b/products/elb/modules/p2-profile/pom.xml
new file mode 100755
index 0000000..1358e39
--- /dev/null
+++ b/products/elb/modules/p2-profile/pom.xml
@@ -0,0 +1,342 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) WSO2 Inc. (http://wso2.com) All Rights Reserved.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~      http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <parent>
+        <groupId>org.wso2.elb</groupId>
+        <artifactId>elb-parent</artifactId>
+        <version>2.0.5</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>wso2elb-p2-profile-gen</artifactId>
+    <packaging>pom</packaging>
+    <name>WSO2 ELB - P2 Profile Generation</name>
+    <url>http://www.wso2.org</url>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0-alpha-4</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>unpack-carbon-core</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.wso2.carbon</groupId>
+                                    <artifactId>wso2carbon-core</artifactId>
+                                    <version>${carbon.kernel.version}</version>
+                                    <type>zip</type>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>target</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                     <execution>
+                        <id>2-unpack-kernel-patch</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.wso2.carbon</groupId>
+                                    <artifactId>WSO2-CARBON-PATCH-4.1.0</artifactId>
+                                    <version>0002</version>
+                                    <type>zip</type>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>target</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>2-p2-repo-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-repo-gen</goal>
+                        </goals>
+                        <configuration>
+                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
+                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
+                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
+                            <publishArtifacts>true</publishArtifacts>
+                            <publishArtifactRepository>true</publishArtifactRepository>
+                            <featureArtifacts>
+                                <!--featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.aws.java.sdk.feature:1.0.0
+                                </featureArtifactDef-->
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.service.mgt.server.feature:${carbon.version}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.transport.mgt.server.feature:${carbon.version}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.transport.nhttp.feature:${carbon.patch.version.4.1.1}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.datasource.server.feature:${carbon.patch.version.4.1.1}
+                                </featureArtifactDef>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.apache.synapse.wso2.feature:${synapse.version}
+                                </featureArtifactDef>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.apache.synapse.transport.nhttp.feature:${synapse.version}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.task.server.feature:${carbon.patch.version.4.1.1}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.mediation.initializer.feature:${carbon.patch.version.4.1.1}
+                                </featureArtifactDef>
+
+                                <!--featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.localentry.server.feature:${carbon.version}
+                                </featureArtifactDef-->
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.endpoint.server.feature:${carbon.patch.version.4.1.1}
+                                </featureArtifactDef>
+
+				 <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.lb.endpoint.server.feature:${carbon.patch.version.4.1.3}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.sequences.server.feature:${carbon.patch.version.4.1.1}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.mediators.server.feature:${carbon.patch.version.4.1.1}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.relay.server.feature:${carbon.patch.version.4.1.1}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.transports.passthru.feature:${passthru.transport.version}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.ntask.core.feature:${carbon.version}
+                                </featureArtifactDef>
+
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.stratos.cloud.controller.feature:${stratos.component.patch.version.2.1.3}
+                                </featureArtifactDef>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.mediator.autoscale.feature:${carbon.patch.version.4.1.3}
+                                </featureArtifactDef>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.lb.common.feature:${carbon.patch.version.4.1.3}
+                                </featureArtifactDef>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.coordination.server.feature:${carbon.version}
+                                </featureArtifactDef>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.coordination.core.feature:${carbon.version}
+                                </featureArtifactDef>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.registry.core.feature:${carbon.version}
+                                </featureArtifactDef>
+		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.security.mgt.server.feature:${carbon.version}</featureArtifactDef>
+		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.module.mgt.server.feature:${carbon.version}</featureArtifactDef>
+		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.throttle.server.feature:${carbon.version}</featureArtifactDef>
+		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.caching.server.feature:${carbon.version}</featureArtifactDef>
+		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.rm.server.feature:${carbon.version}</featureArtifactDef>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.databridge.datapublisher.feature:${carbon.patch.version.4.1.1}
+                                </featureArtifactDef>
+				<!--***********************************************-->
+				<featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.event.server.feature:${carbon.version}
+                                </featureArtifactDef>
+                            </featureArtifacts>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>3-p2-profile-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-profile-gen</goal>
+                        </goals>
+                        <configuration>
+                            <profile>WSO2CarbonProfile</profile>
+                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
+                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
+                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
+                            <destination>
+                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
+                            </destination>
+                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
+                            <features>
+                                <feature>
+                                    <id>org.apache.synapse.wso2.feature.group</id>
+                                    <version>${synapse.version}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.apache.synapse.transport.nhttp.feature.group</id>
+                                    <version>${synapse.version}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.task.server.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.1}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.datasource.server.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.1}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.mediation.initializer.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.1}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.service.mgt.server.feature.group</id>
+                                    <version>${carbon.version}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.transport.mgt.server.feature.group</id>
+                                    <version>${carbon.version}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.transport.nhttp.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.1}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.stratos.cloud.controller.feature.group</id>
+                                    <version>${stratos.component.patch.version.2.1.3}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.endpoint.server.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.1}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.sequences.server.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.1}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.mediators.server.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.1}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.relay.server.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.1}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.transports.passthru.feature.group</id>
+                                    <version>${passthru.transport.version}</version>
+                                </feature>
+                                <!--feature>
+                                    <id>org.wso2.carbon.load.balance.agent.ui.feature.group</id>
+                                    <version>${stratos.version}</version>
+                                </feature-->
+                                <feature>
+                                    <id>org.wso2.carbon.ntask.core.feature.group</id>
+                                    <version>${carbon.version}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.coordination.server.feature.group</id>
+                                    <version>${carbon.version}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.coordination.core.feature.group</id>
+                                    <version>${carbon.version}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.registry.core.feature.group</id>
+                                    <version>${carbon.version}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.mediator.autoscale.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.3}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.lb.common.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.3}</version>
+                                </feature>
+				<feature>
+                                    <id>org.wso2.carbon.lb.endpoint.server.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.3}</version>
+                                </feature>
+                                <feature>
+                                    <id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
+                                    <version>${carbon.patch.version.4.1.1}</version>
+                                </feature>
+				<!--***********************************************-->
+				<feature>
+                                    <id>org.wso2.carbon.event.server.feature.group</id>
+                                    <version>${carbon.version}</version>
+                                </feature>
+
+                            </features>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+	    <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.1</version>
+        <executions>
+            <execution>
+                <phase>package</phase>
+                <configuration>
+                    <tasks>
+                        <replace token="false" value="true"
+                                 dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/configuration/org.eclipse.equinox.simpleconfigurator">
+                            <include name="**/bundles.info"/>
+                        </replace>
+                    </tasks>
+                </configuration>
+                <goals>
+                    <goal>run</goal>
+                </goals>
+            </execution>
+        </executions>
+    </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/pom.xml b/products/elb/pom.xml
new file mode 100755
index 0000000..dc47f8c
--- /dev/null
+++ b/products/elb/pom.xml
@@ -0,0 +1,216 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <parent>
+        <groupId>org.wso2.carbon</groupId>
+        <artifactId>carbon-products</artifactId>
+        <version>4.0.0</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.wso2.elb</groupId>
+    <artifactId>elb-parent</artifactId>
+    <packaging>pom</packaging>
+    <version>2.0.5</version>
+    <name>WSO2 ELB - Aggregator Module</name>
+    <url>http://wso2.com/products/load-balancer</url>
+    <description>WSO2 Elastic Load Balancer (ELB)</description>
+
+    <licenses>
+        <license>
+            <name>Apache License Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+        </license>
+    </licenses>
+
+    <modules>
+        <module>modules/p2-profile</module>
+        <module>modules/distribution</module>
+        <!--<module>modules/integration</module>-->
+    </modules>
+
+    <scm>
+        <connection>scm:svn:http://wso2.org/repos/wso2/trunk/carbon/products/lb</connection>
+        <developerConnection>scm:svn:https://wso2.org/repos/wso2/trunk/carbon/products/lb</developerConnection>
+        <url>https://wso2.org/repos/wso2/trunk/carbon/products/lb</url>
+    </scm>
+
+    <repositories>
+        <repository>
+            <id>wso2-nexus</id>
+            <name>WSO2 internal Repository</name>
+            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
+            <releases>
+                <enabled>true</enabled>
+                <updatePolicy>daily</updatePolicy>
+                <checksumPolicy>ignore</checksumPolicy>
+            </releases>
+        </repository>
+        <!--moved to nexus
+
+        <repository>
+            <id>wso2-maven2-repository-snapshot</id>
+            <url>http://dist.wso2.org/snapshots/maven2</url>
+        </repository>
+        <repository>
+            <id>wso2-maven2-repository</id>
+            <url>http://dist.wso2.org/maven2</url>
+        </repository>
+
+        -->
+    </repositories>
+
+    <pluginRepositories>
+        <pluginRepository>
+            <id>wso2-maven2-repository</id>
+            <url>http://dist.wso2.org/maven2</url>
+        </pluginRepository>
+    </pluginRepositories>
+
+    <distributionManagement>
+        <repository>
+            <id>wso2-maven2-repository</id>
+            <name>WSO2 Maven2 Repository</name>
+            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
+        </repository>
+        <snapshotRepository>
+            <id>wso2-maven2-snapshot-repository</id>
+            <name>WSO2 Maven2 Snapshot Repository</name>
+            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url>
+        </snapshotRepository>
+    </distributionManagement>
+
+    <profiles>
+        <profile>
+            <id>signed-build</id>
+            <activation>
+                <property>
+                    <name>sign</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <version>1.0-alpha-3</version>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+    <organization>
+        <name>WSO2 Inc</name>
+        <url>http://wso2.com</url>
+    </organization>
+
+    <issueManagement>
+        <system>JIRA</system>
+        <url>http://wso2.org/jira/browse/LB</url>
+    </issueManagement>
+
+    <mailingLists>
+        <mailingList>
+            <name>WSO2 LB Users' list</name>
+            <post>mailto:lb-user@wso2.org</post>
+            <archive>http://wso2.org/mailarchive/lb-user/</archive>
+            <subscribe>mailto:lb-user-request@wso2.org?subject=subscribe</subscribe>
+            <unsubscribe>mailto:lb-user-request@wso2.org?subject=unsubscribe</unsubscribe>
+        </mailingList>
+        <mailingList>
+            <name>WSO2 LB/Carbon Developers' List</name>
+            <post>mailto:dev@wso2.org</post>
+            <archive>http://wso2.org/mailarchive/dev/</archive>
+            <subscribe>mailto:dev-request@wso2.org?subject=subscribe</subscribe>
+            <unsubscribe>mailto:dev-request@wso2.org?subject=unsubscribe</unsubscribe>
+        </mailingList>
+    </mailingLists>
+
+    <dependencyManagement>
+        <dependencies>
+            <!-- Dependencies for dashboard ui -->
+            <dependency>
+                <groupId>org.apache.axis2.wso2</groupId>
+                <artifactId>axis2</artifactId>
+                <version>${axis2.wso2.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>log4j</groupId>
+                <artifactId>log4j</artifactId>
+                <version>${log4j.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-logging</groupId>
+                <artifactId>commons-logging</artifactId>
+                <version>${commons.logging.version}</version>
+            </dependency>
+            <!-- Dependencies for login ui -->
+            <dependency>
+                <groupId>javax.servlet</groupId>
+                <artifactId>servlet-api</artifactId>
+                <version>${servlet-api.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.ws.commons.axiom.wso2</groupId>
+                <artifactId>axiom</artifactId>
+                <version>${axiom.wso2.version}</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+
+     <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <log4j.version>1.2.13</log4j.version>
+        <commons.logging.version>1.1</commons.logging.version>
+        <opencsv.version>1.8</opencsv.version>
+        <poi.version>3.0-FINAL</poi.version>
+        <carbon.version>4.1.0</carbon.version>
+        <carbon.kernel.version>4.1.0</carbon.kernel.version>
+        <carbon.patch.version.4.1.1>4.1.1</carbon.patch.version.4.1.1>
+        <carbon.patch.version.4.1.3>4.1.3</carbon.patch.version.4.1.3>
+	<stratos.component.version>2.1.0</stratos.component.version>
+	<stratos.component.patch.version.2.1.1>2.1.1</stratos.component.patch.version.2.1.1>
+	<stratos.component.patch.version.2.1.3>2.1.3</stratos.component.patch.version.2.1.3>
+        <synapse.version>2.1.1-wso2v6</synapse.version>
+        <axis2.transport.version>1.1.0-wso2v6</axis2.transport.version>
+        <elb.version>2.0.5</elb.version>
+        <passthru.transport.version>1.0.2</passthru.transport.version>
+        <axis2.wso2.version>1.6.1.wso2v9</axis2.wso2.version>
+        <axiom.wso2.version>1.2.11.wso2v2</axiom.wso2.version>
+	<servlet-api.version>2.4</servlet-api.version>
+        <log4j.version>1.2.13</log4j.version>
+        <commons.logging.version>1.1</commons.logging.version>
+    </properties>
+</project>


[2/9] applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/assembly/bin.xml b/products/elb/modules/distribution/src/main/assembly/bin.xml
new file mode 100755
index 0000000..668dd9b
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/assembly/bin.xml
@@ -0,0 +1,292 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+ ~
+ ~ WSO2 Inc. licenses this file to you under the Apache License,
+ ~ Version 2.0 (the "License"); you may not use this file except
+ ~ in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~    http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied.  See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<assembly>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
+            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
+            <excludes>
+                <exclude>**/*.sh</exclude>
+                <exclude>**/conf/axis2/axis2.xml</exclude>
+                <exclude>**/conf/mgt-transports.xml</exclude>
+                <exclude>**/conf/synapse.xml</exclude>
+                <exclude>**/conf/cipher-text.properties</exclude>
+                <exclude>**/log4j.properties</exclude>
+                <exclude>**/native/*</exclude>
+                <exclude>**/services/sample01.aar</exclude>
+                <exclude>**/repository/services/version/**</exclude>
+                <exclude>**/version.txt</exclude>
+                <exclude>**/wso2server.bat</exclude>
+                <exclude>**/README.txt</exclude>
+                <exclude>**/LICENSE.txt</exclude>
+                <exclude>**/INSTALL.txt</exclude>
+                <exclude>**/release-notes.html</exclude>
+                <exclude>**/carbon.xml</exclude>
+                <exclude>**/wsdl2java.*</exclude>
+                <exclude>**/java2wsdl.*</exclude>
+                <exclude>**/java2wsdl.*</exclude>
+                <exclude>**/tcpmon.*</exclude>
+                <exclude>**/build.xml</exclude>
+                <exclude>**/chpasswd.*</exclude>
+                <exclude>**/carbondump.*</exclude>
+                <exclude>**/ciphertool.*</exclude>
+                <exclude>**/jgroups-s3_ping-aws.xml</exclude>
+                <exclude>**/tomcat-users.xml</exclude>
+                <exclude>**/axis2/tenant-axis2.xml</exclude>
+                <exclude>**/authenticators.xml</exclude>
+                <exclude>**/embedded-ldap.xml</exclude>
+                <exclude>**/user-mgt.xml</exclude>
+                <exclude>**/*.aar</exclude>
+                <exclude>**/webapp-mode/**</exclude>
+                <exclude>**/repository/components/plugins/*.ui*</exclude>
+                <!--exclude>**/samples/*</exclude-->
+            </excludes>
+        </fileSet>
+        <!-- get axis2_1.6.1.wso2v9.jar from carbon kernel patch 0002 -->
+        <fileSet>
+            <directory>../p2-profile/target/WSO2-CARBON-PATCH-4.1.0-0002/</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/patches</outputDirectory>
+            <includes>
+                <include>**/patch0002/axis2_1.6.1.wso2v9.jar</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>src/main/conf/synapse-configs</directory>
+            <outputDirectory>wso2elb-${pom.version}/repository/deployment/server/synapse-configs
+            </outputDirectory>
+        </fileSet>
+        <fileSet>
+            <directory>src/main/cartridges</directory>
+            <outputDirectory>wso2elb-${pom.version}/repository/deployment/server/cartridges</outputDirectory>
+        </fileSet>
+        <fileSet>
+            <directory>src/main/services</directory>
+            <outputDirectory>wso2elb-${pom.version}/repository/deployment/server/services</outputDirectory>
+        </fileSet>
+        <fileSet>
+            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/</directory>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf/etc</outputDirectory>
+            <includes>
+                <include>*.xsd</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+
+    <dependencySets>
+        <!-- use the new tool to create a bundles -->
+        <dependencySet>
+            <outputDirectory>wso2elb-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
+            <includes>
+                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
+            </includes>
+        </dependencySet>
+        <!--dependencySet>
+            <outputDirectory>wso2elb-${pom.version}/samples/axis2Client/client_repo/modules
+            </outputDirectory>
+            <includes>
+                <include>org.apache.axis2:addressing:mar</include>
+                <include>org.apache.rampart:rampart:mar</include>
+                <include>org.apache.sandesha2:sandesha2:mar</include>
+            </includes>
+            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
+            </outputFileNameMapping>
+        </dependencySet>
+        <dependencySet>
+            <outputDirectory>wso2elb-${pom.version}/samples/axis2Server/repository/modules
+            </outputDirectory>
+            <includes>
+                <include>org.apache.axis2:addressing:mar</include>
+                <include>org.apache.rampart:rampart:mar</include>
+                <include>org.apache.sandesha2:sandesha2:mar</include>
+            </includes>
+            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
+            </outputFileNameMapping>
+        </dependencySet-->
+        <dependencySet>
+            <outputDirectory>wso2elb-${pom.version}/repository/axis2/client/lib</outputDirectory>
+            <includes>
+                <include>bouncycastle:bcprov-jdk15:jar</include>
+            </includes>
+            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
+            </outputFileNameMapping>
+        </dependencySet>
+        <dependencySet>
+            <outputDirectory>wso2elb-${pom.version}/repository/deployment/client/modules
+            </outputDirectory>
+            <includes>
+                <include>org.apache.rampart:rampart:mar</include>
+            </includes>
+        </dependencySet>
+        <!-- MB Client libs -->
+        <dependencySet>
+            <outputDirectory>wso2elb-${pom.version}/repository/components/dropins</outputDirectory>
+            <includes>
+                <include>org.wso2.andes.wso2:andes-client:jar</include>
+                <include>org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar</include>
+                <!--include>org.wso2.carbon:org.wso2.carbon.event.client.stub:jar</include>
+                <include>org.wso2.carbon:org.wso2.carbon.event.client:jar</include-->
+            </includes>
+        </dependencySet>
+    </dependencySets>
+
+    <files>
+        <file>
+            <source>src/main/bin/wso2server.sh</source>
+            <outputDirectory>wso2elb-${pom.version}/bin</outputDirectory>
+            <destName>wso2server.sh</destName>
+            <fileMode>755</fileMode>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>src/main/bin/wso2server.bat</source>
+            <outputDirectory>wso2elb-${pom.version}/bin</outputDirectory>
+            <destName>wso2server.bat</destName>
+            <fileMode>755</fileMode>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>
+                ../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-broker.xml
+            </source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
+        </file>
+        <file>
+            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/zoo.cfg</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf/etc</outputDirectory>
+        </file>
+        <file>
+            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/coordination-client-config.xml</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf/etc</outputDirectory>
+        </file>
+        <file>
+            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/cloud-controller.xml</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf/</outputDirectory>
+        </file>
+        <file>
+            <source>src/main/conf/user-mgt.xml</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
+            <destName>user-mgt.xml</destName>
+        </file>
+        <file>
+            <source>src/main/conf/embedded-ldap.xml</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
+            <destName>embedded-ldap.xml</destName>
+        </file>
+        <file>
+            <source>src/main/conf/axis2.xml</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf/axis2</outputDirectory>
+            <destName>axis2.xml</destName>
+        </file>
+	      <file>
+            <source>src/main/conf/loadbalancer.conf</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
+            <destName>loadbalancer.conf</destName>
+        </file>
+        <file>
+            <source>src/main/conf/log4j.properties</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
+            <destName>log4j.properties</destName>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>src/main/conf/synapse.properties</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
+            <destName>synapse.properties</destName>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>src/main/conf/cipher-text.properties</source>
+            <outputDirectory>wso2elb-${pom.version}/lib</outputDirectory>
+            <destName>cipher-text.properties</destName>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>src/main/conf/nhttp.properties</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
+            <destName>nhttp.properties</destName>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>src/main/conf/passthru-http.properties</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
+            <destName>passthru-http.properties</destName>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>src/main/conf/datasources.properties</source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
+            <destName>datasources.properties</destName>
+            <filtered>true</filtered>
+        </file>
+                                                                
+        <file>
+            <source>../../LICENSE.txt</source>
+            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>../../README.txt</source>
+            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>../../INSTALL.txt</source>
+            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>../../docs/xdoc/release-notes.xml</source>
+            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
+            <destName>release-notes.html</destName>
+            <fileMode>644</fileMode>
+        </file>
+        <!--file>
+            <source>target/wso2carbon-core-${carbon.patch.version}/bin/README.txt</source>
+            <outputDirectory>wso2elb-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file-->
+        <file>
+            <source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
+            <outputDirectory>wso2elb-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <!--file>
+            <source>target/wso2carbon-core-${carbon.patch.version}/bin/wso2server.bat
+            </source>
+            <outputDirectory>wso2elb-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+        </file-->
+        <file>
+            <source>
+                target/wso2carbon-core-${carbon.kernel.version}/repository/conf/carbon.xml
+            </source>
+            <outputDirectory>wso2elb-${pom.version}/repository/conf/</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+    </files>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/assembly/dist.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/assembly/dist.xml b/products/elb/modules/distribution/src/main/assembly/dist.xml
new file mode 100644
index 0000000..8e75c32
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/assembly/dist.xml
@@ -0,0 +1,37 @@
+<!--
+ ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+ ~
+ ~ WSO2 Inc. licenses this file to you under the Apache License,
+ ~ Version 2.0 (the "License"); you may not use this file except
+ ~ in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~    http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied.  See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<assembly>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <!-- Copying p2 profile and osgi bundles-->
+        <fileSet>
+            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
+            <outputDirectory>wso2elb-${pom.version}/repository/components</outputDirectory>
+            <excludes>
+                <exclude>**/eclipse.ini</exclude>
+                <exclude>**/*.lock</exclude>
+                <exclude>**/.data</exclude>
+                <exclude>**/.settings</exclude>
+                <exclude>**/synapse-samples*</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/assembly/docs.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/assembly/docs.xml b/products/elb/modules/distribution/src/main/assembly/docs.xml
new file mode 100644
index 0000000..1b0fe65
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/assembly/docs.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+ ~
+ ~ WSO2 Inc. licenses this file to you under the Apache License,
+ ~ Version 2.0 (the "License"); you may not use this file except
+ ~ in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~    http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied.  See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<assembly>
+    <id>docs</id>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>target/site</directory>
+            <outputDirectory>wso2elb-${pom.version}-docs</outputDirectory>
+            <fileMode>755</fileMode>
+        </fileSet>
+    </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/assembly/filter.properties b/products/elb/modules/distribution/src/main/assembly/filter.properties
new file mode 100644
index 0000000..e91e50c
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/assembly/filter.properties
@@ -0,0 +1,8 @@
+product.name=WSO2 ELB
+product.key=ELB
+product.version=2.0.5
+
+carbon.version=4.1.3
+lb.version=2.0.5
+default.server.role=ElasticLoadBalancer
+bundle.creators=org.wso2.carbon.mediator.bridge.MediatorBundleCreator

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/assembly/src.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/assembly/src.xml b/products/elb/modules/distribution/src/main/assembly/src.xml
new file mode 100644
index 0000000..6a4e705
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/assembly/src.xml
@@ -0,0 +1,72 @@
+<!--
+ ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+ ~
+ ~ WSO2 Inc. licenses this file to you under the Apache License,
+ ~ Version 2.0 (the "License"); you may not use this file except
+ ~ in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~    http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied.  See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<assembly>
+    <id>src</id>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <formats>
+        <format>zip</format>
+    </formats>
+
+    <fileSets>
+        <fileSet>
+            <directory>target/sources</directory>
+            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
+            <includes>
+                <include>**/*</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>../..</directory>
+            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
+            <includes>
+                <include>modules/**/*</include>
+                <include>**/pom.xml</include>
+            </includes>
+            <excludes>
+                <exclude>**/target</exclude>
+                <exclude>**/target/**/*</exclude>
+                <exclude>**/build</exclude>
+                <exclude>**/build/**/*</exclude>
+                <exclude>**/.settings</exclude>
+                <exclude>**/.classpath</exclude>
+                <exclude>**/.project</exclude>
+                <exclude>**/.wtpmodules</exclude>
+                <exclude>**/*.iml</exclude>
+                <exclude>**/.settings</exclude>
+                <exclude>**/.settings/**/*</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+    <files>
+        <file>
+            <source>../../LICENSE.txt</source>
+            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>../../README.txt</source>
+            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>../../INSTALL.txt</source>
+            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+    </files>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/bin/wso2server.bat
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/bin/wso2server.bat b/products/elb/modules/distribution/src/main/bin/wso2server.bat
new file mode 100644
index 0000000..3274bc6
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/bin/wso2server.bat
@@ -0,0 +1,170 @@
+@echo off
+
+REM ---------------------------------------------------------------------------
+REM        Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
+REM
+REM  Licensed under the Apache License, Version 2.0 (the "License");
+REM  you may not use this file except in compliance with the License.
+REM  You may obtain a copy of the License at
+REM
+REM      http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM  Unless required by applicable law or agreed to in writing, software
+REM  distributed under the License is distributed on an "AS IS" BASIS,
+REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM  See the License for the specific language governing permissions and
+REM  limitations under the License.
+
+rem ---------------------------------------------------------------------------
+rem Main Script for WSO2 Carbon
+rem
+rem Environment Variable Prequisites
+rem
+rem   CARBON_HOME   Home of CARBON installation. If not set I will  try
+rem                   to figure it out.
+rem
+rem   JAVA_HOME       Must point at your Java Development Kit installation.
+rem
+rem   JAVA_OPTS       (Optional) Java runtime options used when the commands
+rem                   is executed.
+rem ---------------------------------------------------------------------------
+
+rem ----- if JAVA_HOME is not set we're not happy ------------------------------
+:checkJava
+
+if "%JAVA_HOME%" == "" goto noJavaHome
+if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
+goto checkServer
+
+:noJavaHome
+echo "You must set the JAVA_HOME variable before running CARBON."
+goto end
+
+rem ----- Only set CARBON_HOME if not already set ----------------------------
+:checkServer
+rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed
+if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0..
+SET curDrive=%cd:~0,1%
+SET wsasDrive=%CARBON_HOME:~0,1%
+if not "%curDrive%" == "%wsasDrive%" %wsasDrive%:
+
+rem find CARBON_HOME if it does not exist due to either an invalid value passed
+rem by the user or the %0 problem on Windows 9x
+if not exist "%CARBON_HOME%\bin\version.txt" goto noServerHome
+
+set AXIS2_HOME=%CARBON_HOME%
+goto updateClasspath
+
+:noServerHome
+echo CARBON_HOME is set incorrectly or CARBON could not be located. Please set CARBON_HOME.
+goto end
+
+rem ----- update classpath -----------------------------------------------------
+:updateClasspath
+
+setlocal EnableDelayedExpansion
+cd %CARBON_HOME%
+set CARBON_CLASSPATH=
+FOR %%C in ("%CARBON_HOME%\bin\*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\bin\%%~nC%%~xC"
+
+set CARBON_CLASSPATH="%JAVA_HOME%\lib\tools.jar";%CARBON_CLASSPATH%;
+
+FOR %%D in ("%CARBON_HOME%\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\lib\%%~nD%%~xD"
+
+rem ----- Process the input command -------------------------------------------
+
+rem Slurp the command line arguments. This loop allows for an unlimited number
+rem of arguments (up to the command line limit, anyway).
+
+
+:setupArgs
+if ""%1""=="""" goto doneStart
+
+if ""%1""==""-run""     goto commandLifecycle
+if ""%1""==""--run""    goto commandLifecycle
+if ""%1""==""run""      goto commandLifecycle
+
+if ""%1""==""-restart""  goto commandLifecycle
+if ""%1""==""--restart"" goto commandLifecycle
+if ""%1""==""restart""   goto commandLifecycle
+
+if ""%1""==""debug""    goto commandDebug
+if ""%1""==""-debug""   goto commandDebug
+if ""%1""==""--debug""  goto commandDebug
+
+if ""%1""==""version""   goto commandVersion
+if ""%1""==""-version""  goto commandVersion
+if ""%1""==""--version"" goto commandVersion
+
+shift
+goto setupArgs
+
+rem ----- commandVersion -------------------------------------------------------
+:commandVersion
+shift
+type "%CARBON_HOME%\bin\version.txt"
+type "%CARBON_HOME%\bin\wso2carbon-version.txt"
+goto end
+
+rem ----- commandDebug ---------------------------------------------------------
+:commandDebug
+shift
+set DEBUG_PORT=%1
+if "%DEBUG_PORT%"=="" goto noDebugPort
+if not "%JAVA_OPTS%"=="" echo Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option.
+set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT%
+echo Please start the remote debugging client to continue...
+goto findJdk
+
+:noDebugPort
+echo Please specify the debug port after the --debug option
+goto end
+
+
+:doneStart
+if "%OS%"=="Windows_NT" @setlocal
+if "%OS%"=="WINNT" @setlocal
+
+rem ---------- Handle the SSL Issue with proper JDK version --------------------
+rem find the version of the jdk
+:findJdk
+
+set CMD=RUN %*
+
+:checkJdk16
+"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[6|7]" >NUL
+IF ERRORLEVEL 1 goto unknownJdk
+goto jdk16
+
+:unknownJdk
+echo Starting WSO2 Carbon (in unsupported JDK)
+echo [ERROR] CARBON is supported only on JDK 1.6 and 1.7
+goto jdk16
+
+:jdk16
+goto runServer
+
+rem ----------------- Execute The Requested Command ----------------------------
+
+:runServer
+cd %CARBON_HOME%
+
+rem ---------- Add jars to classpath ----------------
+
+set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
+
+set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
+
+set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms1500m -Xmx3000m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=%CARBON_HOME%\repository\logs\heap-dump.hprof -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dloadbalancer.conf="file:///%CARBON_HOME%/repository/conf/loadbalancer.conf" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\log4j.properties" -
 Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcarbon.logs.path="%CARBON_HOME%\repository\logs" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
+
+:runJava
+echo JAVA_HOME environment variable is set to %JAVA_HOME%
+echo CARBON_HOME environment variable is set to %CARBON_HOME%
+"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.carbon.bootstrap.Bootstrap %CMD%
+if "%ERRORLEVEL%"=="121" goto runJava
+:end
+goto endlocal
+
+:endlocal
+
+:END

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/bin/wso2server.sh
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/bin/wso2server.sh b/products/elb/modules/distribution/src/main/bin/wso2server.sh
new file mode 100644
index 0000000..253a33f
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/bin/wso2server.sh
@@ -0,0 +1,299 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+#  Copyright WSO2, Inc. http://www.wso2.org
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+# ----------------------------------------------------------------------------
+# Main Script for the WSO2 Carbon Server
+#
+# Environment Variable Prequisites
+#
+#   CARBON_HOME   Home of WSO2 Carbon installation. If not set I will  try
+#                   to figure it out.
+#
+#   JAVA_HOME       Must point at your Java Development Kit installation.
+#
+#   JAVA_OPTS       (Optional) Java runtime options used when the commands
+#                   is executed.
+#
+# NOTE: Borrowed generously from Apache Tomcat startup scripts.
+# -----------------------------------------------------------------------------
+
+# OS specific support.  $var _must_ be set to either true or false.
+
+cygwin=false;
+darwin=false;
+os400=false;
+mingw=false;
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+MINGW*) mingw=true;;
+OS400*) os400=true;;
+Darwin*) darwin=true
+        if [ -z "$JAVA_VERSION" ] ; then
+             JAVA_VERSION="CurrentJDK"
+           else
+             echo "Using Java version: $JAVA_VERSION"
+           fi
+           if [ -z "$JAVA_HOME" ] ; then
+             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
+           fi
+           ;;
+esac
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ]; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '.*/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+
+# Get standard environment variables
+PRGDIR=`dirname "$PRG"`
+
+# Only set CARBON_HOME if not already set
+[ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd`
+
+# Set AXIS2_HOME. Needed for One Click JAR Download
+AXIS2_HOME=$CARBON_HOME
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin; then
+  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+  [ -n "$CARBON_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
+  [ -n "$AXIS2_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
+fi
+
+# For OS400
+if $os400; then
+  # Set job priority to standard for interactive (interactive - 6) by using
+  # the interactive priority - 6, the helper threads that respond to requests
+  # will be running at the same priority as interactive jobs.
+  COMMAND='chgjob job('$JOBNAME') runpty(6)'
+  system $COMMAND
+
+  # Enable multi threading
+  QIBM_MULTI_THREADED=Y
+  export QIBM_MULTI_THREADED
+fi
+
+# For Migwn, ensure paths are in UNIX format before anything is touched
+if $mingw ; then
+  [ -n "$CARBON_HOME" ] &&
+    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
+  [ -n "$JAVA_HOME" ] &&
+    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+  [ -n "$AXIS2_HOME" ] &&
+    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
+  # TODO classpath?
+fi
+
+if [ -z "$JAVACMD" ] ; then
+  if [ -n "$JAVA_HOME"  ] ; then
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+      # IBM's JDK on AIX uses strange locations for the executables
+      JAVACMD="$JAVA_HOME/jre/sh/java"
+    else
+      JAVACMD="$JAVA_HOME/bin/java"
+    fi
+  else
+    JAVACMD=java
+  fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+  echo "Error: JAVA_HOME is not defined correctly."
+  echo " CARBON cannot execute $JAVACMD"
+  exit 1
+fi
+
+# if JAVA_HOME is not set we're not happy
+if [ -z "$JAVA_HOME" ]; then
+  echo "You must set the JAVA_HOME variable before running CARBON."
+  exit 1
+fi
+
+# ----- Process the input command ----------------------------------------------
+for c in $*
+do
+    if [ "$c" = "--debug" ] || [ "$c" = "-debug" ] || [ "$c" = "debug" ]; then
+          CMD="--debug"
+          continue
+    elif [ "$CMD" = "--debug" ]; then
+          if [ -z "$PORT" ]; then
+                PORT=$c
+          fi
+    elif [ "$c" = "--n" ] || [ "$c" = "-n" ] || [ "$c" = "n" ]; then
+          CMD="--n"
+          continue
+    elif [ "$CMD" = "--n" ]; then
+          if [ -z "$INSTANCES" ]; then
+                INSTANCES=$c
+          fi
+    elif [ "$c" = "--stop" ] || [ "$c" = "-stop" ] || [ "$c" = "stop" ]; then
+          CMD="stop"
+    elif [ "$c" = "--start" ] || [ "$c" = "-start" ] || [ "$c" = "start" ]; then
+          CMD="start"
+    elif [ "$c" = "--console" ] || [ "$c" = "-console" ] || [ "$c" = "console" ]; then
+          CMD="console"
+    elif [ "$c" = "--version" ] || [ "$c" = "-version" ] || [ "$c" = "version" ]; then
+          CMD="version"
+    elif [ "$c" = "--restart" ] || [ "$c" = "-restart" ] || [ "$c" = "restart" ]; then
+          CMD="restart"
+    elif [ "$c" = "--dump" ] || [ "$c" = "-dump" ] || [ "$c" = "dump" ]; then
+          CMD="dump"
+    elif [ "$c" = "--test" ] || [ "$c" = "-test" ] || [ "$c" = "test" ]; then
+          CMD="test"
+    elif [ "$c" = "--status" ] || [ "$c" = "-status" ] || [ "$c" = "status" ]; then
+          CMD="status"
+    fi
+done
+
+if [ "$CMD" = "--debug" ]; then
+  if [ "$PORT" = "" ]; then
+    echo " Please specify the debug port after the --debug option"
+    exit 1
+  fi
+  if [ -n "$JAVA_OPTS" ]; then
+    echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option."
+  fi
+  CMD="RUN"
+  JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
+  echo "Please start the remote debugging client to continue..."
+elif [ "$CMD" = "--n" ]; then
+  if [ "$INSTANCES" = "" ] || [ ! -z `echo $INSTANCES | sed 's/[0-9]//g'` ]]; then
+    echo " Please specify the number of instances to start after the --n option"
+    exit 1
+  fi
+elif [ "$CMD" = "start" ]; then
+  export CARBON_HOME=$CARBON_HOME
+  nohup $CARBON_HOME/bin/wso2server.sh &
+  exit 0
+elif [ "$CMD" = "stop" ]; then
+  export CARBON_HOME=$CARBON_HOME
+  kill -9 `cat $CARBON_HOME/wso2carbon.pid`
+  exit 0
+elif [ "$CMD" = "restart" ]; then
+  export CARBON_HOME=$CARBON_HOME
+  kill -term `cat $CARBON_HOME/wso2carbon.pid`
+  process_status=0
+  pid=`cat $CARBON_HOME/wso2carbon.pid`
+  while [ "$process_status" -eq "0" ]
+  do
+    sleep 1;
+    ps -p$pid 2>&1 > /dev/null
+    process_status=$?
+  done
+
+  # using nohup bash to avoid erros in solaris OS.TODO
+  nohup bash $CARBON_HOME/bin/wso2server.sh > /dev/null 2>&1 &
+  exit 0
+elif [ "$CMD" = "test" ]; then
+    JAVACMD="exec "$JAVACMD""
+elif [ "$CMD" = "version" ]; then
+  cat $CARBON_HOME/bin/version.txt
+  cat $CARBON_HOME/bin/wso2carbon-version.txt
+  exit 0
+fi
+
+jdk_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
+
+if [ "$jdk_16" = "" ]; then
+   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
+   exit 1
+fi
+
+CARBON_CLASSPATH=""
+if [ -e "$JAVA_HOME/lib/tools.jar" ]; then
+   if [ "$f" != "$JAVA_HOME/lib/tools.jar" ];then
+        CARBON_CLASSPATH="$JAVA_HOME/lib/tools.jar"
+   fi
+fi
+
+CARBON_XBOOTCLASSPATH=""
+for f in "$CARBON_HOME"/lib/xboot/*.jar
+do
+    if [ "$f" != "$CARBON_HOME/lib/xboot/*.jar" ];then
+        CARBON_XBOOTCLASSPATH="$CARBON_XBOOTCLASSPATH":$f
+    fi
+done
+
+JAVA_ENDORSED_DIRS="$CARBON_HOME/lib/endorsed":"$JAVA_HOME/jre/lib/endorsed":"$JAVA_HOME/lib/endorsed"
+
+for f in "$CARBON_HOME"/bin/*.jar
+do
+    if [ "$f" != "$CARBON_HOME/bin/*.jar" ];then
+        CARBON_CLASSPATH="$CARBON_CLASSPATH":$f
+    fi
+done
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+  JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
+  CARBON_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
+  AXIS2_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
+  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+  JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
+  CARBON_CLASSPATH=`cygpath --path --windows "$CARBON_CLASSPATH"`
+  CARBON_XBOOTCLASSPATH=`cygpath --path --windows "$CARBON_XBOOTCLASSPATH"`
+fi
+
+# ----- Execute The Requested Command -----------------------------------------
+
+echo JAVA_HOME environment variable is set to $JAVA_HOME
+echo CARBON_HOME environment variable is set to $CARBON_HOME
+
+cd "$CARBON_HOME"
+
+exec "$JAVACMD" \
+        -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
+        -d64 \
+        -server \
+        -Xms1500m -Xmx3000m \
+        -XX:PermSize=256m -XX:MaxPermSize=512m \
+        -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit \
+        -XX:+CMSClassUnloadingEnabled \
+        -XX:+OptimizeStringConcat \
+        -XX:+HeapDumpOnOutOfMemoryError \
+        -XX:OnOutOfMemoryError="kill -9 `echo $$`;nohup ./wso2server.sh &" \
+        -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
+        -XX:ErrorFile=repository/logs/hs_err_pid.log \
+        -XX:OnError="nohup ./wso2server.sh &" \
+        $JAVA_OPTS \
+        -Dcarbon.pid=$$ \
+        -Dcom.sun.management.jmxremote \
+        -Dwso2.loadbalancer=true \
+        -classpath "$CARBON_CLASSPATH" \
+        -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
+        -Djava.io.tmpdir="$CARBON_HOME/tmp" \
+        -Dwso2.server.standalone=true \
+        -Dcarbon.registry.root=/ \
+        -Dcarbon.home="$CARBON_HOME" \
+        -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf \
+        -Djava.util.logging.config.file="$CARBON_HOME/lib/log4j.properties" \
+        -Dcarbon.config.dir.path="$CARBON_HOME/repository/conf" \
+        -Dconf.location="$CARBON_HOME/repository/conf" \
+        -Dcomponents.repo="$CARBON_HOME/repository/components/plugins" \
+        -Dcom.atomikos.icatch.file="$CARBON_HOME/lib/transactions.properties" \
+        -Dcom.atomikos.icatch.hide_init_file_path=true \
+        -Dorg.terracotta.quartz.skipUpdateCheck=true \
+        org.wso2.carbon.bootstrap.Bootstrap $*
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/axis2.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/axis2.xml b/products/elb/modules/distribution/src/main/conf/axis2.xml
new file mode 100755
index 0000000..58dfb4b
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/axis2.xml
@@ -0,0 +1,525 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+
+<axisconfig name="AxisJava2.0">
+    
+    <!-- ================================================= -->
+    <!--                  Parameters                       -->
+    <!-- ================================================= -->
+
+    <!-- This will give out the timout of the configuration contexts, in milliseconds -->
+    <parameter name="ConfigContextTimeoutInterval" locked="false">30000</parameter>
+
+    <!-- Synapse Configuration file location relative to CARBON_HOME -->
+    <parameter name="SynapseConfig.ConfigurationFile" locked="false">repository/deployment/server/synapse-configs</parameter>
+    <!-- Synapse Home parameter -->
+    <parameter name="SynapseConfig.HomeDirectory" locked="false">.</parameter>
+    <!-- Resolve root used to resolve synapse references like schemas inside a WSDL -->
+    <parameter name="SynapseConfig.ResolveRoot" locked="false">.</parameter>
+    <!-- Synapse Server name parameter -->
+    <parameter name="SynapseConfig.ServerName" locked="false">localhost</parameter>
+   
+
+    <!-- ================================================= -->
+    <!--                Message Formatters                 -->
+    <!-- ================================================= -->
+
+    <!-- Following content type to message formatter mapping can be used to implement support -->
+    <!-- for different message format serializations in Axis2. These message formats are -->
+    <!-- expected to be resolved based on the content type. -->
+    <messageFormatters>
+        <!--messageFormatter contentType="application/xml"
+                          class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>-->
+        <!--messageFormatter contentType="text/xml"
+                         class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>-->
+        <!--messageFormatter contentType="application/soap+xml"
+                         class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>-->
+        <!--messageFormatter contentType="application/x-www-form-urlencoded"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
+        <messageFormatter contentType="multipart/related"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/xml"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/txt"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="text/html"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/soap+xml"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="text/xml"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <!--messageFormatter contentType="x-application/hessian"
+                         class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
+        <!--messageFormatter contentType=""
+                         class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
+
+        <messageFormatter contentType="text/css"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="text/javascript"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+        <messageFormatter contentType="image/gif"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="img/gif"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="image/jpeg"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="image/png"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="image/ico"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="image/x-icon"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+	    <messageFormatter contentType="application/x-javascript"
+                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+	    <messageFormatter contentType="application/x-shockwave-flash"
+                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+	    <messageFormatter contentType="application/atom+xml"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/x-www-form-urlencoded"
+                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+	    <messageFormatter contentType="application/xhtml+xml"
+                              class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+	    <messageFormatter contentType="application/octet-stream"
+                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/javascript"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+        <messageFormatter contentType="multipart/form-data"
+                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/soap+xml"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+        <!--JSON Message Formatters-->
+        <messageFormatter contentType="application/json"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/json/badgerfish"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="text/javascript"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+
+        <messageFormatter contentType=".*"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+    </messageFormatters>
+
+    <!-- ================================================= -->
+    <!--                Message Builders                   -->
+    <!-- ================================================= -->
+
+    <!-- Following content type to builder mapping can be used to implement support for -->
+    <!-- different message formats in Axis2. These message formats are expected to be -->
+    <!-- resolved based on the content type. -->
+    <messageBuilders>
+        <messageBuilder contentType="application/xml"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="application/txt"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <!--messageBuilder contentType="application/xml"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
+        <!--messageBuilder contentType="application/x-www-form-urlencoded"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
+        <!--messageBuilder contentType="multipart/form-data"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
+        <messageBuilder contentType="multipart/related"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="application/soap+xml"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="text/plain"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="text/xml"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <!--messageBuilder contentType="x-application/hessian"
+                        class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
+        <!--messageBuilder contentType=""
+                         class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
+
+        <!--JSON Message Builders-->
+        <messageBuilder contentType="application/json"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="application/json/badgerfish"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="text/javascript"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+
+        <messageBuilder contentType="text/html"
+                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="text/css"
+                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="text/javascript"
+                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+        <messageBuilder contentType="image/gif"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="img/gif"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="image/jpeg"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="image/png"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="image/ico"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="image/x-icon"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+
+	    <messageBuilder contentType="application/x-javascript"
+                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/x-shockwave-flash"
+                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/atom+xml"
+                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/x-www-form-urlencoded"
+                            class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/xhtml+xml"
+                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/octet-stream"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="application/javascript"
+                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+        <messageBuilder contentType="multipart/form-data"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="application/soap+xml"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+
+        <messageBuilder contentType=".*"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+    </messageBuilders>
+
+    <!-- ================================================= -->
+    <!--             Transport Ins (Listeners)             -->
+    <!-- ================================================= -->
+    <!--Default trasnport will be passthrough if you need to change please add it here -->
+   <transportReceiver name="http" class="org.apache.synapse.transport.passthru.PassThroughHttpListener">
+      <parameter name="port">8280</parameter>
+      <parameter name="non-blocking"> true</parameter>
+      <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
+   </transportReceiver>
+   <transportReceiver name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLListener">
+        <parameter name="port" locked="false">8243</parameter>
+        <parameter name="non-blocking" locked="false">true</parameter>
+        <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
+        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
+        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
+        <parameter name="keystore" locked="false">
+            <KeyStore>
+                <Location>repository/resources/security/wso2carbon.jks</Location>
+                <Type>JKS</Type>
+                <Password>wso2carbon</Password>
+                <KeyPassword>wso2carbon</KeyPassword>
+            </KeyStore>
+        </parameter>
+        <parameter name="truststore" locked="false">
+            <TrustStore>
+                <Location>repository/resources/security/client-truststore.jks</Location>
+                <Type>JKS</Type>
+                <Password>wso2carbon</Password>
+            </TrustStore>
+        </parameter>
+        <!--<parameter name="SSLVerifyClient">require</parameter>
+            supports optional|require or defaults to none -->
+    </transportReceiver>
+
+    <!-- uncomment for non blocking http transport based on HttpCore + NIO extensions -->
+    <!--transportReceiver name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
+        <parameter name="port" locked="false">8280</parameter>
+        <parameter name="non-blocking" locked="false">true</parameter-->
+        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
+        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
+        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
+    <!--/transportReceiver-->
+
+    <!-- the non blocking https transport based on HttpCore + SSL-NIO extensions -->
+    <!--transportReceiver name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLListener">
+        <parameter name="port" locked="false">8243</parameter>
+        <parameter name="non-blocking" locked="false">true</parameter-->
+        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
+        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
+        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
+        <!--parameter name="keystore" locked="false">
+            <KeyStore>
+                <Location>repository/resources/security/wso2carbon.jks</Location>
+                <Type>JKS</Type>
+                <Password>wso2carbon</Password>
+                <KeyPassword>wso2carbon</KeyPassword>
+            </KeyStore>
+        </parameter>
+        <parameter name="truststore" locked="false">
+            <TrustStore>
+                <Location>repository/resources/security/client-truststore.jks</Location>
+                <Type>JKS</Type>
+                <Password>wso2carbon</Password>
+            </TrustStore>
+        </parameter-->
+        <!--<parameter name="SSLVerifyClient">require</parameter>
+            supports optional|require or defaults to none -->
+    <!--/transportReceiver-->
+
+    <!-- ================================================= -->
+    <!--             Transport Outs (Senders)              -->
+    <!-- ================================================= -->
+    <!--Default trasnport will be passthrough if you need to change please add it here -->
+    <transportSender name="http"  class="org.apache.synapse.transport.passthru.PassThroughHttpSender">
+        <parameter name="non-blocking" locked="false">true</parameter>
+        <parameter name="warnOnHTTP500" locked="false">*</parameter>
+        <!--parameter name="http.proxyHost" locked="false">localhost</parameter>
+        <parameter name="http.proxyPort" locked="false">3128</parameter>
+        <parameter name="http.nonProxyHosts" locked="false">localhost|moon|sun</parameter-->
+    </transportSender>
+    <transportSender name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLSender">
+        <parameter name="non-blocking" locked="false">true</parameter>
+        <parameter name="keystore" locked="false">
+            <KeyStore>
+                <Location>repository/resources/security/wso2carbon.jks</Location>
+                <Type>JKS</Type>
+                <Password>wso2carbon</Password>
+                <KeyPassword>wso2carbon</KeyPassword>
+            </KeyStore>
+        </parameter>
+        <parameter name="truststore" locked="false">
+            <TrustStore>
+                <Location>repository/resources/security/client-truststore.jks</Location>
+                <Type>JKS</Type>
+                <Password>wso2carbon</Password>
+            </TrustStore>
+        </parameter>
+        <parameter name="HostnameVerifier">AllowAll</parameter>
+            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
+     </transportSender>
+    <!-- Uncomment for non-blocking http transport based on HttpCore + NIO extensions -->
+    <!--transportSender name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
+        <parameter name="non-blocking" locked="false">true</parameter>
+    </transportSender>
+    <transportSender name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLSender">
+        <parameter name="non-blocking" locked="false">true</parameter>
+        <parameter name="keystore" locked="false">
+            <KeyStore>
+                <Location>repository/resources/security/wso2carbon.jks</Location>
+                <Type>JKS</Type>
+                <Password>wso2carbon</Password>
+                <KeyPassword>wso2carbon</KeyPassword>
+            </KeyStore>
+        </parameter>
+        <parameter name="truststore" locked="false">
+            <TrustStore>
+                <Location>repository/resources/security/client-truststore.jks</Location>
+                <Type>JKS</Type>
+                <Password>wso2carbon</Password>
+            </TrustStore>
+        </parameter>
+        <parameter name="HostnameVerifier">AllowAll</parameter-->
+            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
+    <!--/transportSender-->
+
+    <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
+
+    <!-- ================================================= -->
+    <!--                Clustering                         -->
+    <!-- ================================================= -->
+    <!--
+     To enable clustering for this node, set the value of "enable" attribute of the "clustering"
+     element to "true". The initialization of a node in the cluster is handled by the class
+     corresponding to the "class" attribute of the "clustering" element. It is also responsible for
+     getting this node to join the cluster.
+     -->
+    <clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="true">
+
+        <!--
+           This parameter indicates whether the cluster has to be automatically initalized
+           when the AxisConfiguration is built. If set to "true" the initialization will not be
+           done at that stage, and some other party will have to explictly initialize the cluster.
+        -->
+        <parameter name="AvoidInitiation">true</parameter>
+
+        <!--
+           The membership scheme used in this setup. The only values supported at the moment are
+           "multicast" and "wka"
+
+           1. multicast - membership is automatically discovered using multicasting
+           2. wka - Well-Known Address based multicasting. Membership is discovered with the help
+                    of one or more nodes running at a Well-Known Address. New members joining a
+                    cluster will first connect to a well-known node, register with the well-known node
+                    and get the membership list from it. When new members join, one of the well-known
+                    nodes will notify the others in the group. When a member leaves the cluster or
+                    is deemed to have left the cluster, it will be detected by the Group Membership
+                    Service (GMS) using a TCP ping mechanism.
+        -->
+        <parameter name="membershipScheme">wka</parameter>
+
+        <!--
+         The clustering domain/group. Nodes in the same group will belong to the same multicast
+         domain. There will not be interference between nodes in different groups.
+        -->
+        <parameter name="domain">wso2.carbon.lb.domain</parameter>
+
+        <!--
+           When a Web service request is received, and processed, before the response is sent to the
+           client, should we update the states of all members in the cluster? If the value of
+           this parameter is set to "true", the response to the client will be sent only after
+           all the members have been updated. Obviously, this can be time consuming. In some cases,
+           such this overhead may not be acceptable, in which case the value of this parameter
+           should be set to "false"
+        -->
+        <parameter name="synchronizeAll">false</parameter>
+
+        <!--
+          The maximum number of times we need to retry to send a message to a particular node
+          before giving up and considering that node to be faulty
+        -->
+        <parameter name="maxRetries">10</parameter>
+
+        <!-- The multicast address to be used -->
+        <parameter name="mcastAddress">228.0.0.4</parameter>
+
+        <!-- The multicast port to be used -->
+        <parameter name="mcastPort">45564</parameter>
+
+        <!-- The frequency of sending membership multicast messages (in ms) -->
+        <parameter name="mcastFrequency">500</parameter>
+
+        <!-- The time interval within which if a member does not respond, the member will be
+         deemed to have left the group (in ms)
+         -->
+        <parameter name="memberDropTime">3000</parameter>
+
+        <!--
+           The IP address of the network interface to which the multicasting has to be bound to.
+           Multicasting would be done using this interface.
+        -->
+        <parameter name="mcastBindAddress">127.0.0.1</parameter>
+
+        <!-- The host name or IP address of this member -->
+        
+        <!--parameter name="localMemberHost">127.0.0.1</parameter-->
+        
+
+        <!--
+        The TCP port used by this member. This is the port through which other nodes will
+        contact this member
+         -->
+        <parameter name="localMemberPort">4000</parameter>
+
+        <!--
+        Preserve message ordering. This will be done according to sender order.
+        -->
+        <parameter name="preserveMessageOrder">false</parameter>
+
+        <!--
+        Maintain atmost-once message processing semantics
+        -->
+        <parameter name="atmostOnceMessageSemantics">false</parameter>
+         
+        <!--
+           This interface is responsible for handling state replication. The property changes in
+           the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
+
+           The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
+           suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
+           "*" indicates that all properties in a particular context should not be replicated.
+
+            The "enable" attribute indicates whether context replication has been enabled
+        -->
+        <stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
+                      enable="false">
+            <replication>
+                <defaults>
+                    <exclude name="local_*"/>
+                    <exclude name="LOCAL_*"/>
+                </defaults>
+                <context class="org.apache.axis2.context.ConfigurationContext">
+                    <exclude name="local_*"/>
+                    <exclude name="UseAsyncOperations"/>
+                    <exclude name="SequencePropertyBeanMap"/>
+                </context>
+                <context class="org.apache.axis2.context.ServiceGroupContext">
+                    <exclude name="local_*"/>
+                    <exclude name="my.sandesha.*"/>
+                </context>
+                <context class="org.apache.axis2.context.ServiceContext">
+                    <exclude name="local_*"/>
+                    <exclude name="my.sandesha.*"/>
+                </context>
+            </replication>
+        </stateManager>
+    </clustering>
+
+    <!-- ================================================= -->
+    <!--                    Phases                         -->
+    <!-- ================================================= -->
+
+    <phaseOrder type="InFlow">
+        <!--  System pre defined phases       -->
+        <phase name="Transport"/>
+        <phase name="Addressing"/>
+        <phase name="Security"/>
+        <phase name="PreDispatch"/>
+        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
+        <!--  System pre defined phases       -->
+        <phase name="RMPhase"/>
+        <phase name="OpPhase"/>
+    </phaseOrder>
+
+    <phaseOrder type="OutFlow">
+        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
+        <phase name="UEPPhase" />
+        <!--      user can add his own phases to this area  -->
+        <phase name="RMPhase"/>
+        <phase name="MUPhase"/>
+        <phase name="OpPhase"/>
+        <phase name="OperationOutPhase"/>
+        <!--system predefined phase-->
+        <!--these phase will run irrespective of the service-->
+        <phase name="PolicyDetermination"/>
+        <phase name="MessageOut"/>
+        <phase name="Security"/>
+    </phaseOrder>
+
+    <phaseOrder type="InFaultFlow">
+        <phase name="Transport"/>
+        <phase name="Addressing"/>
+        <phase name="Security"/>
+        <phase name="PreDispatch"/>
+        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
+        <!--      user can add his own phases to this area  -->
+        <phase name="RMPhase"/>
+        <phase name="OpPhase"/>
+        <phase name="MUPhase"/>
+        <phase name="OperationInFaultPhase"/>
+    </phaseOrder>
+
+    <phaseOrder type="OutFaultFlow">
+        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
+        <phase name="UEPPhase" />
+        <!--      user can add his own phases to this area  -->
+        <phase name="RMPhase"/>
+        <!-- Must Understand Header processing phase -->
+        <phase name="MUPhase"/>
+        <phase name="OperationOutFaultPhase"/>
+        <phase name="PolicyDetermination"/>
+        <phase name="MessageOut"/>
+        <phase name="Security"/>
+    </phaseOrder>
+
+</axisconfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/cipher-text.properties
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/cipher-text.properties b/products/elb/modules/distribution/src/main/conf/cipher-text.properties
new file mode 100644
index 0000000..9ad599b
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/cipher-text.properties
@@ -0,0 +1,23 @@
+#
+#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+#aliases=esb
+#
+## configuration  per each plaintext
+#esb.secret=M6U74dMVvRm4XFMczki2qZ6CsTvnUuRTjSditlACR5vTISSMI7F/mCTVJGOGdKJjij+VWVhBtmAOkElyvR9TwlUECnZ1o5DNsTK6l8je+9amc/ziTQLP3Q1tzm/Ex1pzHsG6jPGGrv3O0B9pZTfYFqRvlcNhM7Ve3WvA3ibs4Yk=
+#esb.secret.alias=wso2carbon
+#esb.secret.keystore=identity
+#

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/datasources.properties
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/datasources.properties b/products/elb/modules/distribution/src/main/conf/datasources.properties
new file mode 100644
index 0000000..2ef0505
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/datasources.properties
@@ -0,0 +1,55 @@
+#
+#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+
+################################################################################
+## DataSources Configuration
+################################################################################
+#synapse.datasources=lookupds,reportds
+#synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory
+#synapse.datasources.providerPort=2199
+## If following property is present , then assumes that there is an external JNDI provider and will not start a RMI registry
+##synapse.datasources.providerUrl=rmi://localhost:2199
+#
+#synapse.datasources.lookupds.registry=Memory
+#synapse.datasources.lookupds.type=BasicDataSource
+#synapse.datasources.lookupds.driverClassName=org.apache.derby.jdbc.ClientDriver
+#synapse.datasources.lookupds.url=jdbc:derby://localhost:1527/lookupdb;create=false
+## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
+#synapse.datasources.lookupds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
+#synapse.datasources.lookupds.username=esb
+## Depending on the password provider used, you may have to use an encrypted password here!
+#synapse.datasources.lookupds.password=esb
+#synapse.datasources.lookupds.dsName=lookupdb
+#synapse.datasources.lookupds.maxActive=100
+#synapse.datasources.lookupds.maxIdle=20
+#synapse.datasources.lookupds.maxWait=10000
+#
+#synapse.datasources.reportds.registry=JNDI
+#synapse.datasources.reportds.type=PerUserPoolDataSource
+#synapse.datasources.reportds.cpdsadapter.factory=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
+#synapse.datasources.reportds.cpdsadapter.className=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
+#synapse.datasources.reportds.cpdsadapter.name=cpds
+#synapse.datasources.reportds.dsName=reportdb
+#synapse.datasources.reportds.driverClassName=org.apache.derby.jdbc.ClientDriver
+#synapse.datasources.reportds.url=jdbc:derby://localhost:1527/reportdb;create=false
+## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
+#synapse.datasources.reportds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
+#synapse.datasources.reportds.username=esb
+## Depending on the password provider used, you may have to use an encrypted password here!
+#synapse.datasources.reportds.password=esb
+#synapse.datasources.reportds.maxActive=100
+#synapse.datasources.reportds.maxIdle=20
+#synapse.datasources.reportds.maxWait=10000
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/embedded-ldap.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/embedded-ldap.xml b/products/elb/modules/distribution/src/main/conf/embedded-ldap.xml
new file mode 100644
index 0000000..6e64fac
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/embedded-ldap.xml
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- *
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*      http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* -->
+
+<!--
+	All carbon based products comes with a LDAP user store.
+	For this we use an embedded LDAP in carbon based products.
+	This file contains necessary configurations to control the behavior of embedded LDAP.
+	You may use this file to enable, disable LDAP server, configure connection admin password, etc ...
+	In addition to embedded-ldap server configurations this file also has Kerberos KDC (Key Distribution Center)
+	specific configurations.
+-->
+
+<EmbeddedLDAPConfig>
+
+  <!--
+	LDAP server configurations
+	==========================
+	This section contains LDAP server specific configurations.
+
+	Property                Usage
+	=======                 ====
+	enable                  If true the embedded LDAP server will start when server starts up.
+				            Else embedded LDAP server will not start. Thus user has to use a different
+				            user store.
+	instanceid              An id given to the LDAP server instance.
+	connectionPassword      The password of the admin. (uid=admin,ou=system)
+	workingDirectory        Location where LDAP will store its schema files.
+	AdminEntryObjectClass   Object class which encapsulate attributes needed by claims.
+	allowAnonymousAccess    Should allow users to access LDAP server without credentials. Default false.
+	accessControlEnabled    Should access control be enabled among partitions. Default true.
+	saslHostName            Default host name to be used in SASL (Simple Authentication and Security Layer).
+				            This property comes from apacheds implementation itself.
+	saslPrincipalName       Default SASL principal name. Again this property also comes from apacheds implementation
+				            itself.
+  -->
+  <EmbeddedLDAP>
+    <Property name="enable">false</Property>
+    <Property name="port">${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
+    <Property name="instanceId">default</Property>
+    <Property name="connectionPassword">admin</Property>
+    <Property name="workingDirectory">.</Property>
+    <Property name="AdminEntryObjectClass">wso2Person</Property>
+    <Property name="allowAnonymousAccess">false</Property>
+    <Property name="accessControlEnabled">true</Property>
+    <Property name="denormalizeOpAttrsEnabled">false</Property>
+    <Property name="maxPDUSize">2000000</Property>
+    <Property name="saslHostName">localhost</Property>
+    <Property name="saslPrincipalName">ldap/localhost@EXAMPLE.COM</Property>
+  </EmbeddedLDAP>
+
+  <!--
+	Default partition configurations
+	================================
+	When embedded LDAP server starts for the first time it will create a default partition.
+	Following properties configure values for the default partition.
+
+	Property                        Usage
+	=======                         =====
+	id                              Each partition is given an id. The id given to the default paritition.
+	realm                           Realm is the place where we store user principals and service principals.
+                                        The name of the realm for default partition.
+	kdcPassword                     This parameter is used when KDC (Key Distribution Center) is enabled. In apacheds
+                                        KDC also has a server principal. This defines a password for KDC server principal.
+	ldapServerPrinciplePassword     If LDAP server is also defined as a server principal, this will be the password.
+
+  -->
+  <DefaultPartition>
+    <Property name="id">root</Property>
+    <Property name="realm">wso2.org</Property>
+    <Property name="kdcPassword">secret</Property>
+    <Property name="ldapServerPrinciplePassword">randall</Property>
+  </DefaultPartition>
+
+  <!--
+	Default partition admin configurations
+	======================================
+	In a multi-tenant scenario each tenant will have a separate partition. Thus tenant admin will be the partition admin.
+	Following configurations define admin attributes for above created default partition.
+
+	Property            Usage
+	========            =====
+	uid                 UID attribute for partition admin.
+	commonName          The cn attribute for admin
+	lastName            The sn attribute for admin
+	email               The email attribute for admin
+	passwordType        The password hashing mechanism. Following hashing mechanisms are available, "SHA", "MD5".
+                        "Plaintext" is also a valid value. If KDC is enabled password type will be enforced to be
+                        plain text.
+  -->
+  <PartitionAdmin>
+    <Property name="uid">admin</Property>
+    <Property name="firstName">admin</Property>
+    <Property name="lastName">admin</Property>
+    <Property name="email">admin@wso2.com</Property>
+    <Property name="password">admin</Property>
+    <Property name="passwordType">SHA</Property>
+  </PartitionAdmin>
+
+  <!--
+	Default partition admin's group configuration
+	=============================================
+	Embedded LDAP is capable of keeping group information also.
+	If LDAP groups are enabled in user store (usr-mgt.xml) group information will be
+	recorded in a separate sub-context. Following configuration defines the group
+	properties.
+
+	Property                Usage
+	=======                 =====
+	adminRoleName		    The name of the role/group that admin should be included.
+	groupNameAttribute	    The attribute which group name will be recorded.
+	memberNameAttribute	    The attribute which memebers are recorded.
+  -->
+  <PartitionAdminGroup>
+    <Property name="adminRoleName">admin</Property>
+    <Property name="groupNameAttribute">cn</Property>
+    <Property name="memberNameAttribute">member</Property>
+  </PartitionAdminGroup>
+
+    <!--
+      KDC configurations
+      =================
+      Following configurations are applicable to KDC server. Generally, the KDC is only enabled in
+      Identity Server. You may enable KDC server if you wish to do so. But if you dont have any Kerberos specific
+      programs, it is recommended to disable KDC server.
+
+      Property                          Usage
+      =======                           =====
+      name                              Name given to default KDC server.
+      enabled                           If true a KDC server will start when starting LDAP server.
+                                          Else a KDC server will not start with a LDAP server.
+      protocol                          Default protocol to be used in KDC communication. Default is UDP.
+      maximumTicketLifeTime             The maximum life time of a ticket issued by the KDC.
+      maximumRenewableLifeTime          Life time which a ticket can be used by renewing it several times.
+      preAuthenticationTimeStampEnabled Pre-authentication is a feature in latest Kerberos protocol.
+                                          This property says whether to enable it or disable it.
+    -->
+  <KDCServer>
+    <Property name="name">defaultKDC</Property>
+    <Property name="enabled">false</Property>
+    <Property name="protocol">UDP</Property>
+    <Property name="host">localhost</Property>
+    <Property name="port">${Ports.EmbeddedLDAP.KDCServerPort}</Property>
+    <Property name="maximumTicketLifeTime">8640000</Property>
+    <Property name="maximumRenewableLifeTime">604800000</Property>
+    <Property name="preAuthenticationTimeStampEnabled">true</Property>
+  </KDCServer>
+
+</EmbeddedLDAPConfig>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/src/main/conf/loadbalancer.conf
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/src/main/conf/loadbalancer.conf b/products/elb/modules/distribution/src/main/conf/loadbalancer.conf
new file mode 100644
index 0000000..3b883f5
--- /dev/null
+++ b/products/elb/modules/distribution/src/main/conf/loadbalancer.conf
@@ -0,0 +1,126 @@
+# Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+#
+# WSO2 Inc. licenses this file to you under the Apache License,
+# Version 2.0 (the "License"); you may not use this file except
+# in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# configuration details of WSO2 Elastic Load Balancer
+# for more info on how it works, refer to: http://blog.afkham.org/2011/09/wso2-load-balancer-how-it-works.html
+# for more info on how to set it up, refer to: http://nirmalfdo.blogspot.com/2012/06/fronting-wso2-application-server-50.html
+loadbalancer {
+    # minimum number of load balancer instances 
+    instances           1;
+    # whether autoscaling should be enabled or not.
+    enable_autoscaler   false;
+    # autoscaling decision making task
+    #autoscaler_task  org.wso2.carbon.mediator.autoscale.lbautoscale.task.ServiceRequestsInFlightAutoscaler;
+    # whether to use embedded autoscaler or not. By default, we use embedded autoscaler. 
+    #use_embedded_autoscaler false;
+    #please use this whenever url-mapping is used through LB.
+    #size_of_cache		100;
+    # End point reference of the Autoscaler Service. This should be present, if you disabled embedded autoscaling.
+    #autoscaler_service_epr  https://host_address:https_port/services/AutoscalerService/; 
+    # interval between two task executions in milliseconds 
+    autoscaler_task_interval 60000;
+    # after an instance booted up, task will wait maximum till this much of time and let the server started up
+    server_startup_delay 600000; #default will be 60000ms
+    # session time out
+    session_timeout 90000; 
+    # enable fail over 
+    fail_over true;
+    #mb_server_url localhost:5672;
+}
+
+# services' details which are fronted by this WSO2 Elastic Load Balancer
+services {
+    # default parameter values to be used in all services
+    defaults {
+        # minimum number of service instances required. WSO2 ELB will make sure that this much of instances
+        # are maintained in the system all the time, of course only when autoscaling is enabled.
+        min_app_instances       1;
+        # maximum number of service instances that will be load balanced by this ELB.
+        max_app_instances       5;
+        # you need to calibrate autoscaling parameters before start using. Please go through following blog post
+        # http://nirmalfdo.blogspot.com/2013/01/scale-up-early-scale-down-slowly.html
+        max_requests_per_second   5;
+        alarming_upper_rate 0.7;
+        alarming_lower_rate 0.2;
+        scale_down_factor 0.25;
+        rounds_to_average       2;
+        message_expiry_time     60000;
+    }
+
+    appserver {
+        # multiple hosts should be separated by a comma.
+        hosts                   appserver.cloud-test.wso2.com,as.cloud-test.wso2.com;
+	#when using url mapping, url_suffix will be required. hosts should be read first before url_suffix, 
+	#in order to construct the host vs url-suffix pairs, hence keep the logical order to of hosts and url_suffix as it is.                                
+	#url_suffix 		as.wso2.com,appserver.wso2.com;
+        domains   {
+            wso2.as1.domain {
+                # for more info on Tenant aware load balancing please refer to 
+                # http://sanjeewamalalgoda.blogspot.com/2012/05/tenant-aware-load-balancer.html
+                tenant_range    1-100;
+            }
+            wso2.as2.domain {
+                tenant_range    101-200;
+            }
+            wso2.as3.domain {
+                # all tenants other than 1-200 will belong to this domain.
+                tenant_range    *;
+            }
+        }
+    }
+
+    esb {
+        # multiple hosts should be separated by a comma.
+	hosts                   esb.cloud-test.wso2.com;
+	#url_suffix 		esb.wso2.com;
+        domains   {
+            wso2.esb.domain {
+                tenant_range    *;
+            }
+        }
+    }
+
+    governance {
+        hosts                   governance.cloud-test.wso2.com;
+	#url_suffix 		governance.wso2.com;
+        domains   {
+            wso2.governance1.domain {
+                tenant_range    1-100;
+            }
+            wso2.governance2.domain {
+                tenant_range    101-200;
+            }
+            wso2.governance3.domain {
+                tenant_range    *;
+            }
+        }
+    }
+
+    identity {
+        hosts                   identity.cloud-test.wso2.com;
+	#url_suffix 		identity.wso2.com;
+        domains   {
+            wso2.identity1.domain {
+                tenant_range    1-100;
+            }
+            wso2.identity2.domain {
+                tenant_range    101-200;
+            }
+            wso2.identity3.domain {
+                tenant_range    *;
+            }
+        }
+    }


[9/9] git commit: applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch

Posted by la...@apache.org.
applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/fae25315
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/fae25315
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/fae25315

Branch: refs/heads/master
Commit: fae253159d455e7df044d1846620360210d16592
Parents: 5cf165e
Author: Lakmal Warusawithana <la...@wso2.com>
Authored: Thu Jul 18 14:41:21 2013 +0530
Committer: Lakmal Warusawithana <la...@wso2.com>
Committed: Thu Jul 18 14:41:21 2013 +0530

----------------------------------------------------------------------
 products/elb/2.0.4/INSTALL.txt                  |  55 --
 products/elb/2.0.4/LICENSE.txt                  | 371 ------------
 products/elb/2.0.4/README.txt                   | 147 -----
 products/elb/2.0.4/docs/xdoc/release-notes.xml  | 169 ------
 products/elb/2.0.4/modules/distribution/pom.xml | 595 -------------------
 .../distribution/src/main/assembly/bin.xml      | 284 ---------
 .../distribution/src/main/assembly/dist.xml     |  37 --
 .../distribution/src/main/assembly/docs.xml     |  32 -
 .../src/main/assembly/filter.properties         |   8 -
 .../distribution/src/main/assembly/src.xml      |  72 ---
 .../distribution/src/main/bin/wso2server.bat    | 170 ------
 .../distribution/src/main/bin/wso2server.sh     | 299 ----------
 .../distribution/src/main/conf/axis2.xml        | 525 ----------------
 .../src/main/conf/cipher-text.properties        |  23 -
 .../src/main/conf/datasources.properties        |  55 --
 .../src/main/conf/embedded-ldap.xml             | 162 -----
 .../src/main/conf/loadbalancer.conf             | 126 ----
 .../distribution/src/main/conf/log4j.properties | 132 ----
 .../distribution/src/main/conf/nhttp.properties |  39 --
 .../src/main/conf/passthru-http.properties      |  32 -
 .../src/main/conf/rule-component.conf           |   3 -
 .../conf/synapse-configs/default/registry.xml   |  25 -
 .../default/sequences/errorHandler.xml          |  30 -
 .../synapse-configs/default/sequences/fault.xml |  75 ---
 .../synapse-configs/default/sequences/main.xml  | 109 ----
 .../conf/synapse-configs/default/synapse.xml    |  24 -
 .../src/main/conf/synapse.properties            |  35 --
 .../distribution/src/main/conf/user-mgt.xml     | 238 --------
 products/elb/2.0.4/modules/integration/pom.xml  | 127 ----
 .../tests/LoadBalancerTestServerManager.java    |  52 --
 .../src/test/resources/instrumentation.txt      |   1 -
 products/elb/2.0.4/modules/p2-profile/pom.xml   | 323 ----------
 products/elb/2.0.4/pom.xml                      | 214 -------
 products/elb/2.0.5/INSTALL.txt                  |  55 --
 products/elb/2.0.5/LICENSE.txt                  | 386 ------------
 products/elb/2.0.5/README.txt                   | 147 -----
 products/elb/2.0.5/docs/xdoc/release-notes.xml  | 169 ------
 products/elb/2.0.5/modules/distribution/pom.xml | 595 -------------------
 .../distribution/src/main/assembly/bin.xml      | 292 ---------
 .../distribution/src/main/assembly/dist.xml     |  37 --
 .../distribution/src/main/assembly/docs.xml     |  32 -
 .../src/main/assembly/filter.properties         |   8 -
 .../distribution/src/main/assembly/src.xml      |  72 ---
 .../distribution/src/main/bin/wso2server.bat    | 170 ------
 .../distribution/src/main/bin/wso2server.sh     | 299 ----------
 .../distribution/src/main/conf/axis2.xml        | 525 ----------------
 .../src/main/conf/cipher-text.properties        |  23 -
 .../src/main/conf/datasources.properties        |  55 --
 .../src/main/conf/embedded-ldap.xml             | 162 -----
 .../src/main/conf/loadbalancer.conf             | 126 ----
 .../distribution/src/main/conf/log4j.properties | 132 ----
 .../distribution/src/main/conf/nhttp.properties |  46 --
 .../src/main/conf/passthru-http.properties      |  32 -
 .../src/main/conf/rule-component.conf           |   3 -
 .../conf/synapse-configs/default/registry.xml   |  25 -
 .../default/sequences/errorHandler.xml          |  30 -
 .../synapse-configs/default/sequences/fault.xml |  75 ---
 .../synapse-configs/default/sequences/main.xml  | 109 ----
 .../conf/synapse-configs/default/synapse.xml    |  24 -
 .../src/main/conf/synapse.properties            |  35 --
 .../distribution/src/main/conf/user-mgt.xml     | 238 --------
 products/elb/2.0.5/modules/integration/pom.xml  | 127 ----
 .../tests/LoadBalancerTestServerManager.java    |  52 --
 .../src/test/resources/instrumentation.txt      |   1 -
 products/elb/2.0.5/modules/p2-profile/pom.xml   | 342 -----------
 products/elb/2.0.5/pom.xml                      | 216 -------
 products/elb/INSTALL.txt                        |  55 ++
 products/elb/LICENSE.txt                        | 386 ++++++++++++
 products/elb/README.txt                         | 147 +++++
 products/elb/docs/xdoc/release-notes.xml        | 169 ++++++
 products/elb/modules/distribution/pom.xml       | 595 +++++++++++++++++++
 .../distribution/src/main/assembly/bin.xml      | 292 +++++++++
 .../distribution/src/main/assembly/dist.xml     |  37 ++
 .../distribution/src/main/assembly/docs.xml     |  32 +
 .../src/main/assembly/filter.properties         |   8 +
 .../distribution/src/main/assembly/src.xml      |  72 +++
 .../distribution/src/main/bin/wso2server.bat    | 170 ++++++
 .../distribution/src/main/bin/wso2server.sh     | 299 ++++++++++
 .../distribution/src/main/conf/axis2.xml        | 525 ++++++++++++++++
 .../src/main/conf/cipher-text.properties        |  23 +
 .../src/main/conf/datasources.properties        |  55 ++
 .../src/main/conf/embedded-ldap.xml             | 162 +++++
 .../src/main/conf/loadbalancer.conf             | 126 ++++
 .../distribution/src/main/conf/log4j.properties | 132 ++++
 .../distribution/src/main/conf/nhttp.properties |  46 ++
 .../src/main/conf/passthru-http.properties      |  32 +
 .../src/main/conf/rule-component.conf           |   3 +
 .../conf/synapse-configs/default/registry.xml   |  25 +
 .../default/sequences/errorHandler.xml          |  30 +
 .../synapse-configs/default/sequences/fault.xml |  75 +++
 .../synapse-configs/default/sequences/main.xml  | 109 ++++
 .../conf/synapse-configs/default/synapse.xml    |  24 +
 .../src/main/conf/synapse.properties            |  35 ++
 .../distribution/src/main/conf/user-mgt.xml     | 238 ++++++++
 products/elb/modules/integration/pom.xml        | 127 ++++
 .../tests/LoadBalancerTestServerManager.java    |  52 ++
 .../src/test/resources/instrumentation.txt      |   1 +
 products/elb/modules/p2-profile/pom.xml         | 342 +++++++++++
 products/elb/pom.xml                            | 216 +++++++
 99 files changed, 4640 insertions(+), 9229 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/INSTALL.txt b/products/elb/2.0.4/INSTALL.txt
deleted file mode 100644
index 4463c8b..0000000
--- a/products/elb/2.0.4/INSTALL.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-Installing  WSO2 Elastic Load Balancer (ELB) 2.0.3
-==================================================
-
-WSO2 ELB 2.0.3 can be run as a light-weight software load balancer in 
-stand-alone mode, that can be configured to balance the load across the services nodes.
-
-Standalone Mode
-===============
-1. The directory containing this INSTALL.txt file will be the root and it will be
-   treated as Carbon home directory and let it be CARBON_HOME.
-
-2. All the shell scripts and .bat files are available in CARBON_HOME/bin folder.
-
-3. To start ELB one can use either wso2server.sh in all Unix
-   systems & wso2server.bat file on Windows operating systems.
-
-4. Either of the following commands can be used to start ELB
-      i)  ./wso2server.sh {console|start|stop|restart|version}
-     ii)  wso2server.bat {start|stop|version}
-
-        Usage: wso2server.sh [command] [options] [system-properties]
-
-            command:
-                --start		    Start ELB as a Unix daemon in the background
-                --console	    Start ELB as a Unix daemon in the foreground
-                --stop		    Stop the ELB Unix daemon
-                --restart	    Restart the ELB Unix daemon
-                --version	    What version of the ELB server are you running
-            options:
-                --debug <port> 	Start the server in remote debugging mode.
-                                port: The remote debugging port.
-
-            system-properties:
-                -DhttpPort		Overrides the HTTP port defined in the
-                                catalina-server.xml file
-                -DhttpsPort		Overrides the HTTPS port defined in the
-                                catalina-server.xml file
-                -DosgiConsole=[port]
-                                Start Carbon with Equinox OSGi console.
-                                If the optional 'port' parameter is provided, a
-                                telnet port will be opened
-                -DosgiDebugOptions=[options-file]
-                                Start Carbon with OSGi debugging enabled.
-                                If the optional 'options-file is provided, the
-                                OSGi debug options will be loaded from it.
-                -Dsetup			Clean the Registry database & other
-                                configuration, recreate DB, re-populate the
-                                configuration, and start Carbon
-
-System Requirements
-=======================
-1. Minimum memory - 1.5GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. Java SE Development Kit 1.6.0_24 or higher
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/LICENSE.txt b/products/elb/2.0.4/LICENSE.txt
deleted file mode 100644
index 4a3ca04..0000000
--- a/products/elb/2.0.4/LICENSE.txt
+++ /dev/null
@@ -1,371 +0,0 @@
-
-This product is licensed by WSO2 Inc. under Apache License 2.0. The license
-can be downloaded from the following locations:
-	http://www.apache.org/licenses/LICENSE-2.0.html
-	http://www.apache.org/licenses/LICENSE-2.0.txt
-
-This product also contains software under different licenses. This table below
-all the contained libraries (jar files) and the license under which they are 
-provided to you.
-
-At the bottom of this file is a table that shows what each license indicated
-below is and where the actual text of the license can be found.
-
-Name                                                                            Type           License   
----------------------------------------------------------------------------------------------------------
-abdera_1.0.0.wso2v3.jar                                                         bundle         apache2   
-addressing-1.6.1-wso2v5.mar                                                     bundle         apache2   
-ajaxtags_1.3.0.beta-rc7-wso2v1.jar                                              bundle         apache2   
-andes-client-0.13.wso2v5.jar                                                    bundle         apache2   
-annogen_0.1.0.wso2v1.jar                                                        bundle         apache2   
-antlr_3.2.0.wso2v1.jar                                                          bundle         bsd       
-ant_1.7.0.wso2v1.jar                                                            bundle         apache2   
-apache-zookeeper_3.3.5.wso2v1.jar                                               bundle         apache2   
-authenticator_0.7.0.wso2v1.jar                                                  bundle         apache2   
-aws-common_1.5.0.beta_5.jar                                                     bundle         apache2   
-aws-ec2_1.5.0.beta_5.jar                                                        bundle         apache2   
-axiom_1.2.11.wso2v3.jar                                                         bundle         apache2   
-axis2-json_1.6.1.wso2v7.jar                                                     bundle         apache2   
-axis2-transport-jms_1.1.0.wso2v7.jar                                            bundle         apache2   
-axis22695953105565451648rampart-1.6.1-wso2v1.mar                                bundle         apache2   
-axis29161053230966849953addressing-1.6.1-wso2v5.mar                             bundle         apache2   
-axis2_1.6.1.wso2v7.jar                                                          bundle         apache2   
-backport-util-concurrent_3.1.0.wso2v1.jar                                       bundle         public    
-bcprov-jdk15-132.jar                                                            jarinbundle    bouncy    
-bcprov-jdk15.jar                                                                jar            mit       
-bcprov-jdk16_1.45.0.wso2v1.jar                                                  bundle         apache2   
-bsf-all_3.0.0.wso2v2.jar                                                        bundle         apache2   
-caja-r3950.jar                                                                  jarinbundle    apache2   
-com.google.gson_2.1.0.jar                                                       bundle         apache2   
-com.google.gson_2.2.0.jar                                                       bundle         apache2   
-com.sun.jersey.jersey-core_1.12.0.jar                                           bundle         apache2   
-commons-beanutils-1.7.0.jar                                                     jarinbundle    apache2   
-commons-betwixt-0.8.jar                                                         jarinbundle    apache2   
-commons-codec_1.4.0.wso2v1.jar                                                  bundle         apache2   
-commons-collections-3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-collections_3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-dbcp_1.4.0.wso2v1.jar                                                   bundle         apache2   
-commons-digester-1.8.jar                                                        jarinbundle    apache2   
-commons-discovery-0.2.jar                                                       jarinbundle    apache2   
-commons-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
-commons-httpclient_3.1.0.wso2v2.jar                                             bundle         apache2   
-commons-io_2.0.0.wso2v1.jar                                                     bundle         apache2   
-commons-io_2.0.0.wso2v2.jar                                                     bundle         apache2   
-commons-lang-2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-lang_2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-pool_1.5.6.wso2v1.jar                                                   bundle         apache2   
-compass_2.0.1.wso2v2.jar                                                        bundle         apache2   
-ec2_1.5.0.beta_5.jar                                                            bundle         apache2   
-ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
-ezmorph-1.0.4.jar                                                               jarinbundle    apache2   
-geronimo-jaxws_2.2_spec-1.0.jar                                                 bundle         apache2   
-geronimo-jms_1.1_spec-1.1.0.wso2v1.jar                                          bundle         apache2   
-geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar                                         bundle         apache2   
-geronimo-stax-api_1.0_spec_1.0.1.wso2v2.jar                                     bundle         apache2   
-google-collect_1.0.0.wso2v2.jar                                                 bundle         apache2   
-guava_12.0.0.wso2v1.jar                                                         bundle         apache2   
-guice-assistedinject_3.0.0.wso2v1.jar                                           bundle         apache2   
-guice_3.0.0.wso2v1.jar                                                          bundle         apache2   
-h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
-h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
-htmlunit-2.5.jar                                                                jarinbundle    apache2   
-httpclient-4.0.1.jar                                                            jarinbundle    apache2   
-httpclient_4.1.1.wso2v1.jar                                                     bundle         apache2   
-httpcore-nio_4.1.3.wso2v3.jar                                                   bundle         apache2   
-httpcore_4.1.0.wso2v1.jar                                                       bundle         apache2   
-httpcore_4.1.3.wso2v3.jar                                                       bundle         apache2   
-icu4j-3.8.jar                                                                   jarinbundle    ICU       
-infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
-javasysmon_0.3.3.wso2v1.jar                                                     bundle         jsmon     
-javax.servlet_3.0.0.wso2v1.jar                                                  bundle         apache2   
-jaxb_2.2.5.wso2v1.jar                                                           bundle         cddl1     
-jboss-logging_3.1.0.wso2v1.jar                                                  bundle         lgpl2     
-jboss-transaction-api_1.1_spec-1.0.0.Final.jar                                  jar            lgpl2     
-jclouds-bouncycastle_1.5.0.beta_5.jar                                           bundle         apache2   
-jclouds-compute_1.5.0.beta_5.jar                                                bundle         apache2   
-jclouds-core_1.5.0.beta_5.jar                                                   bundle         apache2   
-jclouds-enterprise_1.5.0.beta_5.jar                                             bundle         apache2   
-jclouds-joda_1.5.0.beta_5.jar                                                   bundle         apache2   
-jclouds-log4j_1.5.0.beta_5.jar                                                  bundle         apache2   
-jclouds-netty_1.5.0.beta_5.jar                                                  bundle         apache2   
-jclouds-scriptbuilder_1.5.0.beta_5.jar                                          bundle         apache2   
-jclouds-slf4j_1.5.0.beta_5.jar                                                  bundle         apache2   
-jclouds-sshj_1.5.0.beta_5.jar                                                   bundle         apache2   
-jdbc-pool_7.0.28.wso2v1.jar                                                     bundle         apache2   
-jdom_1.0.0.wso2v1.jar                                                           bundle         jdom      
-jericho-html-2.4.jar                                                            jarinbundle    epl1      
-jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
-jetty-6.1.15.jar                                                                jarinbundle    apache2   
-jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
-js-1.6R7.jar                                                                    jarinbundle    mpl11     
-js-1.6R7.jar                                                                    jar            mpl11     
-jsecurity-0.9.0.jar                                                             jarinbundle    apache2   
-json-simple-1.1.jar                                                             jarinbundle    apache2   
-json_1.0.0.wso2v1.jar                                                           bundle         json      
-json_2.0.0.wso2v1.jar                                                           bundle         json      
-jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
-jstl-1.2.jar                                                                    jarinbundle    cddl1   
-juel-api-2.1.2.jar                                                              jarinbundle    apache2   
-juel-impl-2.1.2.jar                                                             jarinbundle    apache2   
-jzlib_1.0.7.wso2v1.jar                                                          bundle         apache2   
-libthrift_0.7.0.wso2v2.jar                                                      bundle         apache2   
-marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
-neethi_2.0.4.wso2v4.jar                                                         bundle         apache2   
-nekohtml-1.9.13.jar                                                             jarinbundle    apache2   
-net.schmizz.sshj_0.8.0.jar                                                      bundle         apache2   
-oauth-20090531.jar                                                              jarinbundle    apache2   
-oauth-provider-20090531.jar                                                     jarinbundle    apache2   
-opencsv-1.8.jar                                                                 jarinbundle    apache2   
-opencsv_1.8.0.wso2v1.jar                                                        bundle         apache2   
-opensaml-1.1.406.jar                                                            jarinbundle    apache2   
-opensaml-2.4.1.jar                                                              jarinbundle    apache2   
-opensaml2_2.4.1.wso2v1.jar                                                      bundle         apache2   
-openstack-common_1.5.0.beta_5.jar                                               bundle         apache2   
-openstack-keystone_1.5.0.beta_5.jar                                             bundle         apache2   
-openstack-nova_1.5.0.beta_5.jar                                                 bundle         apache2   
-openws-1.4.1.jar                                                                jarinbundle    apache2   
-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar                         bundle         epl1      
-org.eclipse.core.expressions_3.4.300.v20110228.jar                              bundle         epl1      
-org.eclipse.core.jobs_3.5.100.v20110404.jar                                     bundle         epl1      
-org.eclipse.core.runtime_3.7.0.v20110110.jar                                    bundle         epl1      
-org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar                           bundle         epl1      
-org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar                             bundle         epl1      
-org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar     bundle         epl1      
-org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar                  bundle         epl1      
-org.eclipse.ecf_3.1.300.v20110531-2218.jar                                      bundle         epl1      
-org.eclipse.equinox.app_1.3.100.v20110321.jar                                   bundle         epl1      
-org.eclipse.equinox.common_3.6.0.v20110523.jar                                  bundle         epl1      
-org.eclipse.equinox.concurrent_1.0.200.v20110502.jar                            bundle         epl1      
-org.eclipse.equinox.ds_1.3.0.v20110502.jar                                      bundle         epl1      
-org.eclipse.equinox.frameworkadmin.equinox_1.0.300.v20110506.jar                bundle         epl1      
-org.eclipse.equinox.frameworkadmin_2.0.0.v20110502-1955.jar                     bundle         epl1      
-org.eclipse.equinox.http.servlet_1.0.200.v20090520-1800-wso2v1.jar              bundle         epl1      
-org.eclipse.equinox.launcher_1.2.0.v20110502.jar                                bundle         epl1      
-org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar                bundle         epl1      
-org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar                       bundle         epl1      
-org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar                            bundle         epl1      
-org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar                       bundle         epl1      
-org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar              bundle         epl1      
-org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar                        bundle         epl1      
-org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar                               bundle         epl1      
-org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar                  bundle         epl1      
-org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar                   bundle         epl1      
-org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar                  bundle         epl1      
-org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar             bundle         epl1      
-org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar                             bundle         epl1      
-org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar                            bundle         epl1      
-org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar              bundle         epl1      
-org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar                           bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar            bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar            bundle         epl1      
-org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar                         bundle         epl1      
-org.eclipse.equinox.preferences_3.4.0.v20110502.jar                             bundle         epl1      
-org.eclipse.equinox.registry_3.5.100.v20110502.jar                              bundle         epl1      
-org.eclipse.equinox.security_1.1.0.v20110502.jar                                bundle         epl1      
-org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110502-1955.jar     bundle         epl1      
-org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar               bundle         epl1      
-org.eclipse.equinox.util_1.0.300.v20110502.jar                                  bundle         epl1      
-org.eclipse.osgi.services_3.3.0.v20110513.jar                                   bundle         epl1      
-org.eclipse.osgi_3.7.0.v20110613.jar                                            bundle         epl1      
-org.jboss.netty_3.3.0.Final.jar                                                 bundle         apache2   
-org.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
-org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
-org.wso2.carbon.addressing_4.0.0.jar                                            bundle         apache2   
-org.wso2.carbon.application.deployer_4.0.2.jar                                  bundle         apache2   
-org.wso2.carbon.authenticator.proxy_4.0.2.jar                                   bundle         apache2   
-org.wso2.carbon.authenticator.stub_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.base_4.0.0.jar                                                  bundle         apache2   
-org.wso2.carbon.bootstrap-4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.caching.core_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.caching_4.0.2.jar                                               bundle         apache2   
-org.wso2.carbon.cluster.mgt.core_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.coordination.common_4.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.coordination.common_4.0.1.jar                                   bundle         apache2   
-org.wso2.carbon.coordination.core_4.0.2.jar                                     bundle         apache2   
-org.wso2.carbon.coordination.server_4.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.core.bootup.validator_4.0.0.jar                                 bundle         apache2   
-org.wso2.carbon.core.commons.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.core.common_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.core.services_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.core_4.0.5.jar                                                  bundle         apache2   
-org.wso2.carbon.databridge.agent.thrift_4.0.5.jar                               bundle         apache2   
-org.wso2.carbon.databridge.commons.thrift_4.0.5.jar                             bundle         apache2   
-org.wso2.carbon.databridge.commons_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.datasource_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.ec2-client_4.0.0.jar                                            bundle         apache2   
-org.wso2.carbon.endpoint_4.0.0.jar                                              bundle         apache2   
-org.wso2.carbon.event.admin_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.event.client.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.event.client_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.common_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.core_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.event.ws_4.0.2.jar                                              bundle         apache2   
-org.wso2.carbon.feature.mgt.core_4.0.4.jar                                      bundle         apache2   
-org.wso2.carbon.feature.mgt.services_4.0.4.jar                                  bundle         apache2   
-org.wso2.carbon.feature.mgt.stub_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.i18n_4.0.5.jar                                                  bundle         apache2   
-org.wso2.carbon.lb.common_4.0.6.jar                                             bundle         apache2   
-org.wso2.carbon.lb.endpoint_4.0.3.jar                                           bundle         apache2   
-org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub_1.0.0.jar        bundle         apache2   
-org.wso2.carbon.logging-4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.logging.propfile_1.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.logging_4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.mediation.dependency.mgt_4.0.2.jar                              bundle         apache2   
-org.wso2.carbon.mediation.initializer_4.0.2.jar                                 bundle         apache2   
-org.wso2.carbon.mediation.registry_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.mediator.autoscale_4.0.6.jar                                    bundle         apache2   
-org.wso2.carbon.mediator.bridge-4.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.mediator.clazz.services_4.0.0.jar                               bundle         apache2   
-org.wso2.carbon.mediator.command.services_4.0.0.jar                             bundle         apache2   
-org.wso2.carbon.mediator.event_4.0.2.jar                                        bundle         apache2   
-org.wso2.carbon.mediator.router.impl_4.0.0.jar                                  bundle         apache2   
-org.wso2.carbon.module.mgt_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.ndatasource.common_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.ndatasource.core_4.0.5.jar                                      bundle         apache2   
-org.wso2.carbon.ndatasource.rdbms_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.ntask.common_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.ntask.core_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.ntask.solutions_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.operation.mgt_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.osgi.security_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.qpid.stub_4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.queuing_4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.registry.admin.api_4.0.1.jar                                    bundle         apache2   
-org.wso2.carbon.registry.api_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.registry.common_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.registry.core_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.registry.resource.stub_4.0.0.jar                                bundle         apache2   
-org.wso2.carbon.registry.resource_4.0.1.jar                                     bundle         apache2   
-org.wso2.carbon.registry.search.stub_4.0.0.jar                                  bundle         apache2   
-org.wso2.carbon.registry.search_4.0.1.jar                                       bundle         apache2   
-org.wso2.carbon.registry.server_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.registry.servlet_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.relay.mediators.builder_4.0.0.jar                               bundle         apache2   
-org.wso2.carbon.relay.module_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.relay_4.0.1.jar                                                 bundle         apache2   
-org.wso2.carbon.rm_4.0.0.jar                                                    bundle         apache2   
-org.wso2.carbon.roles.mgt.stub_4.0.0.jar                                        bundle         apache2   
-org.wso2.carbon.roles.mgt_4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.securevault_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.security.mgt_4.0.5.jar                                          bundle         apache2   
-org.wso2.carbon.sequences.common_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.sequences_4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.server-4.0.2.jar                                                bundle         apache2   
-org.wso2.carbon.server.admin.common_4.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.server.admin.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.server.admin_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.service.mgt_4.0.5.jar                                           bundle         apache2   
-org.wso2.carbon.startup_4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.stratos.cloud.controller_1.0.0.jar                              bundle         apache2   
-org.wso2.carbon.task.services_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.task_4.0.0.jar                                                  bundle         apache2   
-org.wso2.carbon.throttle_4.0.2.jar                                              bundle         apache2   
-org.wso2.carbon.tomcat.ext_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.tomcat.fragment.dummy_4.0.0.jar                                 bundle         apache2   
-org.wso2.carbon.tomcat.patch_4.0.1.jar                                          bundle         apache2   
-org.wso2.carbon.tomcat_4.0.5.jar                                                bundle         apache2   
-org.wso2.carbon.transport.https_4.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.transport.http_4.0.0.jar                                        bundle         apache2   
-org.wso2.carbon.transport.mgt_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.transport.nhttp_4.0.5.jar                                       bundle         apache2   
-org.wso2.carbon.transports.passthru_1.0.2.jar                                   bundle         apache2   
-org.wso2.carbon.user.api_4.0.3.jar                                              bundle         apache2   
-org.wso2.carbon.user.core_4.0.5.jar                                             bundle         apache2   
-org.wso2.carbon.user.mgt.common_4.0.5.jar                                       bundle         apache2   
-org.wso2.carbon.user.mgt.stub_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.user.mgt_4.0.5.jar                                              bundle         apache2   
-org.wso2.carbon.utils_4.0.5.jar                                                 bundle         apache2   
-org.wso2.ciphertool-1.0.0-wso2v2.jar                                            bundle         apache2   
-org.wso2.securevault_1.0.0.wso2v2.jar                                           bundle         apache2   
-pdepublishing-ant.jar                                                           jar            epl1      
-pdepublishing.jar                                                               jar            epl1      
-poi-ooxml_3.5.0.wso2v1.jar                                                      bundle         apache2   
-poi-scratchpad_3.5.0.wso2v1.jar                                                 bundle         apache2   
-poi_3.5.0.wso2v1.jar                                                            bundle         apache2   
-quartz_2.1.1.wso2v1.jar                                                         bundle         apache2   
-rampart-1.6.1-wso2v1.mar                                                        bundle         apache2   
-rampart-core_1.6.1.wso2v6.jar                                                   bundle         apache2   
-rampart-policy_1.6.1.wso2v6.jar                                                 bundle         apache2   
-rampart-trust_1.6.1.wso2v7.jar                                                  bundle         apache2   
-rocoto_6.1.0.wso2v1.jar                                                         bundle         apache2   
-rome-1.0.jar                                                                    jarinbundle    apache2   
-sanselan-0.97-incubator.jar                                                     jarinbundle    apache2   
-saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
-shindig-common-r910768-wso2v5.jar                                               jarinbundle    apache2   
-shindig-features-r910768-wso2v5.jar                                             jarinbundle    apache2   
-shindig-gadgets-r910768-wso2v5.jar                                              jarinbundle    apache2   
-shindig-social-api-r910768-wso2v5.jar                                           jarinbundle    apache2   
-shindig_1.1.0.wso2v6.jar                                                        bundle         apache2   
-slf4j.api_1.6.4.jar                                                             bundle         mit       
-slf4j.log4j12_1.6.4.jar                                                         bundle         mit       
-synapse-commons_2.1.1.wso2v2.jar                                                bundle         apache2   
-synapse-core_2.1.1.wso2v2.jar                                                   bundle         apache2   
-synapse-extensions_2.1.1.wso2v2.jar                                             bundle         apache2   
-synapse-nhttp-transport_2.1.1.wso2v2.jar                                        bundle         apache2   
-synapse-tasks_2.1.1.wso2v2.jar                                                  bundle         apache2   
-taglibs.standard_1.1.2.wso2v1.jar                                               bundle         apache2   
-tcpmon-1.0.jar                                                                  jar            apache2   
-tiles-jsp_2.0.5.wso2v1.jar                                                      bundle         apache2   
-tomcat-ha_7.0.28.wso2v1.jar                                                     bundle         apache2   
-tomcat_7.0.28.wso2v1.jar                                                        bundle         apache2   
-tribes_7.0.28.wso2v1.jar                                                        bundle         apache2   
-woden_1.0.0.M8-wso2v1.jar                                                       bundle         apache2   
-wsdl4j_1.6.2.wso2v4.jar                                                         bundle         cpl1      
-wss4j_1.5.11.wso2v5.jar                                                         bundle         apache2   
-wstx-1.0.7.jar                                                                  jarinbundle    apache2   
-xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
-xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
-xercesImpl-2.9.1.jar                                                            jarinbundle    apache2   
-xkms_2.4.0.wso2v1.jar                                                           bundle         apache2   
-xml-apis-1.3.04.jar                                                             jarinbundle    apache2   
-xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
-xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
-xmlbeans-2.3.0.jar                                                              jar            apache2   
-xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
-xmlParserAPIs-2.6.2.jar                                                         jarinbundle    apache2   
-XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
-xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
-xpp3_min-1.1.4c.jar                                                             jarinbundle    public   
-xstream-1.3.1.jar                                                               jarinbundle    bsd   
-wso2-uri-templates_1.6.2.jar                                                    bundle         apache2
-org.apache.commons.el_1.0.0.v200806031608.jar                                   bundle         apache2
-org.apache.jasper_5.5.17.v200806031609.jar                                      bundle         apache2
-slf4j.log4j12_1.6.1.jar                                                         jarinbundle    mit
-slf4j.api_1.6.1.jar                                                             jarinbundle    mit
-
-
-
-The license types used by the above libraries and their information is given below:
-
-epl1           Eclipse Public License
-               http://www.eclipse.org/legal/epl-v10.html
-lgpl2          Lesser GPL v2.1
-               http://www.opensource.org/licenses/lgpl-2.1.php
-mpl11          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/MPL-1.1.html
-mpl10          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/
-mit            MIT License
-               http://www.opensource.org/licenses/mit-license.php
-cddl1          Common Development and Distribution License
-               http://www.opensource.org/licenses/cddl1.php
-cpl1           Common Public License 1.0
-               http://www.eclipse.org/legal/cpl-v10.html
-json           JSON.org License
-               null
-jsmon          ThoughtWorks Javasysmon License
-               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
-jdom           JDOM License - Apache Styled
-               null
-apache2        Apache License Version 2.0
-               http://www.apache.org/licenses/LICENSE-2.0.html
-icu            ICU License
-               http://source.icu-project.org/repos/icu/icu/trunk/license.html
-bsd            Berkeley License
-               http://www.opensource.org/licenses/bsd-license.php
-bouncy         Bouncy Castle License
-               http://www.bouncycastle.org/licence.html
-public         Public Domain
-               http://creativecommons.org/licenses/publicdomain/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/README.txt
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/README.txt b/products/elb/2.0.4/README.txt
deleted file mode 100755
index 570dd49..0000000
--- a/products/elb/2.0.4/README.txt
+++ /dev/null
@@ -1,147 +0,0 @@
-================================================================================
-                        WSO2 Elastic Load Balancer 2.0.3
-================================================================================
-
-Welcome to the WSO2 Elastic Load Balancer 2.0.3 release
-
-WSO2 ELB is a lightweight and easy-to-use Open Source Elastic Load Balancer
-(ELB) available under the Apache Software License v2.0. WSO2 ELB allows
-administrators to simply configure message load balancing, failover routing,
-and auto scaling. The runtime has been designed to be completely
-asynchronous, non-blocking and streaming based on the Apache Synapse core.
-
-This is based on the revolutionary WSO2 Carbon [Middleware a' la carte]
-framework. All the major features have been developed as pluggable Carbon
-components. WSO2 Elastic Load Balancer is a compact version doing the load balancing
-features of WSO2 Enterprise Service Bus.
-
-
-Key Features of WSO2 ELB
-========================
-
-1. Non-blocking HTTP/S transports based on Apache HttpCore for ultra fast
-   execution and support for thousands of connections at high concurrency with
-   constant memory usage. Integrated high performing, Passthrough Transport. 
-2. Load-balancing (with or without sticky sessions)/Fail-over, and clustered
-   Throttling and Caching support.
-3. Automatically scaling the system according to the number of requests in-flight for
-   a particular service cluster - "Scale up early, scale down slowly".
-4. Service aware dynamic load balancing - A single load balancer
-   can centrally manage the load across the nodes of different service clusters.
-5. Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
-   Tenants can be partitioned to different service clusters.
-6. Lightweight, XML and Web services centric messaging model.
-7. Administrator friendly - Configurations are simple and easy.
-
-System Requirements
-==================================
-
-1. Minimum memory - 1.5GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. Java SE Development Kit 1.6.0_24 or higher
-
-Installation & Running
-==================================
-
-1. Extract the wso2elb-2.0.3.zip and go to the extracted directory
-2. Run the wso2server.sh or wso2server.bat as appropriate
-3. Configure the load balancer to manage the load across the instants to be balanced.
-
-WSO2 ELB 2.0.3 distribution directory structure
-===============================================
-
-    CARBON_HOME
-	|- bin <folder>
-    |- dbscripts <folder>
-	|- lib <folder>
-	|- repository <folder>
-	|- tmp <folder>
-	|- LICENSE.txt <file>
-	|- README.txt <file>
-	|- INSTALL.txt <file>		
-	|- release-notes.html <file>
-
-    - bin
-	  Contains various scripts, .sh & .bat files
-
-    - dbscripts
-    Contains all the database scripts
-
-    - lib
-	  Contains the basic set of libraries required to startup ELB
-	  in standalone mode
-
-    - repository
-	  The repository where services and modules deployed in WSO2 ELB
-	  are stored. In addition to this, the components directory inside the
-	  repository directory contains the carbon runtime and the user added
-	  jar files including mediators, third party libraries etc. All
-	  global and LB specific configuration files, generated log files
-	  and other deployed artifacts are also housed under this directory.
-
-    - tmp
-	  Used for storing temporary files, and is pointed to by the
-	  java.io.tmpdir System property
-
-    - LICENSE.txt
-	  Apache License 2.0 and the relevant other licenses under which
-	  WSO2 ELB is distributed.
-
-    - README.txt
-	  This document.
-
-    - INSTALL.txt
-      This document will contain information on installing WSO2 ELB
-
-    - release-notes.html
-	  Release information for WSO2 ELB 2.0.3
-
-Support
-==================================
-
-WSO2 Inc. offers a variety of development and production support
-programs, ranging from Web-based support up through normal business
-hours, to premium 24x7 phone support.
-
-For additional support information please refer to http://wso2.com/support/
-
-For more information on WSO2 ELB, visit the WSO2 Oxygen Tank (http://wso2.org)
-
-Issue Tracker
-==================================
-
-  https://wso2.org/jira/browse/CARBON
-  https://wso2.org/jira/browse/LB
-
-Crypto Notice
-==================================
-
-   This distribution includes cryptographic software.  The country in
-   which you currently reside may have restrictions on the import,
-   possession, use, and/or re-export to another country, of
-   encryption software.  BEFORE using any encryption software, please
-   check your country's laws, regulations and policies concerning the
-   import, possession, or use, and re-export of encryption software, to
-   see if this is permitted.  See <http://www.wassenaar.org/> for more
-   information.
-
-   The U.S. Government Department of Commerce, Bureau of Industry and
-   Security (BIS), has classified this software as Export Commodity
-   Control Number (ECCN) 5D002.C.1, which includes information security
-   software using or performing cryptographic functions with asymmetric
-   algorithms.  The form and manner of this Apache Software Foundation
-   distribution makes it eligible for export under the License Exception
-   ENC Technology Software Unrestricted (TSU) exception (see the BIS
-   Export Administration Regulations, Section 740.13) for both object
-   code and source code.
-
-   The following provides more details on the included cryptographic
-   software:
-
-   Apache Rampart   : http://ws.apache.org/rampart/
-   Apache WSS4J     : http://ws.apache.org/wss4j/
-   Apache Santuario : http://santuario.apache.org/
-   Bouncycastle     : http://www.bouncycastle.org/
-
---------------------------------------------------------------------------------
-(c) Copyright 2013 WSO2 Inc.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/docs/xdoc/release-notes.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/docs/xdoc/release-notes.xml b/products/elb/2.0.4/docs/xdoc/release-notes.xml
deleted file mode 100644
index 524ef81..0000000
--- a/products/elb/2.0.4/docs/xdoc/release-notes.xml
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!DOCTYPE html
-     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-      <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
-      <title>WSO2 ELB v2.0.3 Release </title>
-  </head>
-  <body>
-  <div id="header">
-</div>
-
-<div id="main-content">
-<h1>The WSO2 Elastic Load Balancer (ELB) 2.0.3 Release - 28th January 2013!</h1>
-
-<p>
-    The WSO2 ELB team is pleased to announce the release of version 2.0.3 of
-    the Open Source Elastic Load Balancer (ELB).
-</p>
-
-<p>
-    WSO2 ELB is a fast, lightweight and user friendly open source Elastic Load Balancer (ELB)
-    distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache
-    Software License v2.0</a>. WSO2 ELB allows system administrators and developers to
-    easily configure fail over routing, load balancing, service aware load balancing, 
-    tenant aware load balancing and dynamic load balancing with auto scaling.The ELB runtime 
-    is designed to be completely asynchronous, non-blocking and streaming based on the 
-    <a href="http://synapse.apache.org">Apache Synapse</a> mediation engine.
-</p>
-
-<p>
-    WSO2 ELB 2.0.3 is developed on top of the revolutionary
-    <a href="http://wso2.org/projects/carbon">WSO2 Carbon platform</a> (Middleware a' la carte),
-    an OSGi based framework that provides seamless modularity to your SOA via
-    componentization. This release also contains many new features and a range of optional
-    components (add-ons) that can be installed to customize the behavior of the ELB. Further, any
-    existing features of the ELB which are not required to your environment can be easily
-    removed using the underlying provisioning framework of Carbon. In brief, WSO2 ELB can
-    be fully customized and tailored to meet your exact SOA needs.
-</p>
-
-<p>
-    You can download this distribution from <a href="http://wso2.com/products/elastic-load-balancer/">
-    http://wso2.com/products/elastic-load-balancer/</a> our product page and give it a try.</p>
-
-<h2>How to Run </h2>
-<ol>
-  <li>Extract the downloaded zip</li>
-  <li>Go to the bin directory in the extracted folder</li>
-  <li>Run the wso2server.sh or wso2server.bat as appropriate</li>
-  <li>Configure the load balancer to manage the load across the instances to be balanced.</li>
-  <li>If you need to start the OSGi console with the server use the property
-    -DosgiConsole when starting the server. The INSTALL.txt file found on the
-    installation directory will give you a comprehensive set of options and
-    properties that can be passed into the startup script</li>
-</ol>
-
-<h2>Key Features of WSO2 ELB</h2>
-<ul>
-  <li>Non-blocking HTTP/S transports based on Apache HttpCore-NIO for ultra-fast
-   execution and support for thousands of connections at high concurrency with
-   constant memory usage. Integrated high performing, Passthrough Transport.</li>
-  <li>Load-balancing (with or without sticky sessions)/Fail-over, and clustered
-   Throttling and Caching support</li>
-  <li>Lightweight, XML and Web services centric messaging model</li>
-  <li><b>NEW! Automatically scaling the system according to the number of requests in-flight for 
-          a particular service cluster - "Scale up early, scale down slowly"</b> 
-  </li>
-  <li>Service aware dynamic load balancing - A single load balancer
-   can centrally manage the load across the nodes of different service clusters.
-  </li>
-  <li>Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
-   Tenants can be partitioned to different service clusters.
-</ul>
-
-<h2>Known Issues</h2>
-<p>
-    All the open issues pertaining to WSO2 ELB 2.0.3 are reported at following
-    locations:
-</p>
-
-<ul>
-    <li>
-        <a href="http://goo.gl/W8KYs">
-            Open ELB issues
-        </a>
-    </li>
-</ul>
-
-    <h2>Release 2.0.3</h2>
-    <p>Change Log: This release brings out the autoscaling support for ELB and also contains fixes for some critical issues.</p>
-    <ol>
-        <li>LB-17 - SSO Enables deployment does not work with load balancer.</li>
-        <li>LB-31 - No response code in the access log.</li>
-        <li>LB-37 - Browser tries to save the page sent via LB time to time rather than display it.</li>
-        <li>LB-51 - Disable management console in LB and do not print mgmt console URL at startup.</li>
-        <li>LB-52 - When member leaves the cluster, session continued to bind to that cluster member.</li>
-        <li>LB-55 - Make autoscaling algorithm configurable.</li>
-        <li>LB-64 - Failover is broken in ELB.</li>
-        <li>LB-65 - If one member of a cluster is going off and during that time, the requests redirected to that member by the load balancer, will be failed with a timeout, until the load balancer gets updated that this member has left cluster.</li>
-        <li>LB-66 - Embed Cloud Controller Service aka Autoscaler Service into ELB.</li>
-    </ol>
-
-<h2>How You Can Contribute</h2>
-    <h3>
-      Mailing Lists
-    </h3>
-    <p>
-      Join our mailing list and correspond with the developers directly.
-    </p>
-    <ul>
-      <li>
-        Developer List : <a href="mailto:dev@wso2.org">dev@wso2.org</a>
-        | <a href="mailto:dev-request@wso2.org?subject=subscribe">Subscribe</a>
-        | <a href="http://wso2.org/mailarchive/carbon-dev/">Mail Archive</a>
-      </li>
-    </ul>
-    <h3>
-      Reporting Issues
-    </h3>
-    <p>
-      We encourage you to report issues, documentation faults and feature requests regarding
-      WSO2 ELB through the public <a href="https://wso2.org/jira/browse/LB">ELB JIRA</a>. You
-      can use the <a href="https://wso2.org/jira/browse/CARBON">Carbon JIRA</a> to report any
-      issues related to the Carbon base framework or associated Carbon components.
-    </p>
-
-    <h3>
-      Discussion Forums
-    </h3>
-    <p>
-      Alternatively, questions could be raised using <a href="http://stackoverflow.com/questions/tagged/wso2">StackOverflow</a> website.
-    </p>
-
-<h2>Support</h2>
-<p>
-    We are committed to ensuring that your enterprise middleware deployment is
-    completely supported from evaluation to production. Our unique approach
-    ensures that all support leverages our open development methodology and is
-    provided by the very same engineers who build the technology.
-</p>
-<p>
-    For more details and to take advantage of this unique opportunity please
-    visit <a href="http://wso2.com/support">http://wso2.com/support</a>.
-</p>
-
-<p><i>-- The WSO2 ELB Team --</i> </p>
-</div>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/pom.xml b/products/elb/2.0.4/modules/distribution/pom.xml
deleted file mode 100755
index 807d613..0000000
--- a/products/elb/2.0.4/modules/distribution/pom.xml
+++ /dev/null
@@ -1,595 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-        
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.elb</groupId>
-        <artifactId>elb-parent</artifactId>
-        <version>2.0.4</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2elb</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 ELB - Distribution</name>
-    <url>http://wso2.org/projects/load-balancer</url>
-    <description>WSO2 Elastic Load Balancer Distribution</description>
-
-    <dependencies>
-
-        <!-- Carbon core distribution -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>wso2carbon-core</artifactId>
-            <version>${carbon.kernel.version}</version>
-            <type>zip</type>
-        </dependency>
-
-        <!-- Synapse dependencies -->
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-commons</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-nhttp-transport</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-pipe-transport</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-core</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-tasks</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-extensions</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-
-        <!-- Carbon mediation initializer -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.initializer</artifactId>
-            <version>4.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.bridge</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-	      <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.dependency.mgt</artifactId>
-            <version>4.1.1</version>
-        </dependency>
-
-        
-        <!-- ### Required Carbon components ### -->
-        <!-- Transport managament components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Transport components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.http</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.nhttp</artifactId>
-            <version>4.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.https</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.mail</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Sequence management components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.service</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.sequences.common</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.sequences</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.router.impl</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.clazz.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.command.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-         <!--Entitlement mediator dependency -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.identity.entitlement.mediator</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-         <!--OAuth mediator dependency -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.identity.oauth.mediator</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-
-        <!--Drools dependency-->
-        <dependency>
-            <groupId>org.drools.wso2</groupId>
-            <artifactId>drools</artifactId>
-            <version>5.0.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>jsr94.wso2</groupId>
-            <artifactId>jsr94</artifactId>
-            <version>1.1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.mvel.wso2</groupId>
-            <artifactId>mvel2</artifactId>
-            <version>2.0.10.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>joda-time.wso2</groupId>
-            <artifactId>joda-time</artifactId>
-            <version>1.6.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.antlr.wso2</groupId>
-            <artifactId>antlr-runtime</artifactId>
-            <version>3.1.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>janino.wso2</groupId>
-            <artifactId>janino</artifactId>
-            <version>2.5.15.wso2v1</version>
-        </dependency>
-        <!-- Endpoints component -->
-	      <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.endpoint.common</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.endpoint</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Local Entries component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.localentry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Service management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.service.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Operation management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.operation.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Module Management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.module.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Security components (orbit) -->
-         <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-policy</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-trust</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-core</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart</groupId>
-            <artifactId>rampart</artifactId>
-            <type>mar</type>
-            <version>1.6.1-wso2v1</version>
-        </dependency>
-        
-        <!-- Policy Editor component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.policyeditor</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Task component with startups -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.startup</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Synapse Config admin component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.configadmin</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Synapse Registry component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.registry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Datasources component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.datasource</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Throttle component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.throttle</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Caching component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.caching</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- RM component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.rm</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Eventing components -->
-        <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.core</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.impl</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.broker</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <!-- Eventsource component.-->
-	      <!-- Removed since this is not required by LB product.-->
-        <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.eventsource</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <!-- Menus -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui.menu.registry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- ### Required Carbon orbit dependencies ### -->
-        <dependency>
-            <groupId>org.apache.geronimo.specs.wso2</groupId>
-            <artifactId>geronimo-jms_1.1_spec</artifactId>
-            <version>1.1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.andes.wso2</groupId>
-            <artifactId>andes-client</artifactId>
-            <version>0.13.wso2v5</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-net.wso2</groupId>
-            <artifactId>commons-net</artifactId>
-            <version>2.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>jsch.wso2</groupId>
-            <artifactId>jsch</artifactId>
-            <version>0.1.41-wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents.wso2</groupId>
-            <artifactId>httpcore-nio</artifactId>
-            <version>4.2.3.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.quartz-scheduler.wso2</groupId>
-            <artifactId>quartz</artifactId>
-            <version>2.1.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.codehaus.woodstox</groupId>
-            <artifactId>wstx-asl</artifactId>
-            <version>3.2.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
-            <version>1.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>net.sf.saxon.wso2</groupId>
-            <artifactId>saxon</artifactId>
-            <version>8.9.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.abdera.wso2</groupId>
-            <artifactId>abdera</artifactId>
-            <version>1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.ws.wso2</groupId>
-            <artifactId>spring.framework</artifactId>
-            <version>2.5.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-io.wso2</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>2.0.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-collections.wso2</groupId>
-            <artifactId>commons-collections</artifactId>
-            <version>3.2.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.savan.wso2</groupId>
-            <artifactId>savan-core</artifactId>
-            <version>1.0.0-wso2v2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.caching</groupId>
-            <artifactId>wso2caching-core</artifactId>
-            <version>3.5.0</version>
-        </dependency>
-        <!--Bouncycastle dependency for clients and servers-->
-        <dependency>
-            <groupId>bouncycastle</groupId>
-            <artifactId>bcprov-jdk15</artifactId>
-            <version>132</version>
-        </dependency>
-
-        <!-- autoscale components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.autoscale</artifactId>
-            <version>4.0.3</version>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.discovery.core</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.relay</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>unpack-wso2carbon</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>wso2carbon-core</artifactId>
-                                    <version>${carbon.kernel.version}</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <version>1.1</version>
-                <executions>
-                    <execution>
-                        <id>extract-docs-from-components</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <property name="tempdir" value="target/docs-temp"/>
-                                <mkdir dir="${tempdir}"/>
-                                <unzip dest="${tempdir}">
-                                    <fileset dir="target">
-                                        <include name="${project.artifactId}-${project.version}.zip"/>
-                                    </fileset>
-                                </unzip>
-                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/" overwrite="false">
-                                    <fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components/">
-                                    </fileset>
-                                </copy>
-                                <delete file="target/${project.artifactId}-${project.version}.zip"/>
-                                <delete dir="${tempdir}"/>
-                                <mkdir dir="${tempdir}"/>
-                                <unzip dest="${tempdir}">
-                                    <fileset dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/">
-                                        <include name="*.ui*.jar"/>
-                                    </fileset>
-                                </unzip>
-                                <move todir="${tempdir}/web/" includeemptydirs="false">
-                                    <fileset dir="${tempdir}/web/">
-                                        <exclude name="**/yui/**"/>
-                                        <exclude name="**/ajax/**"/>
-                                        <exclude name="**/WEB-INF/**"/>
-                                        <include name="**/*.html"/>
-                                    </fileset>
-                                    <mapper type="glob" from="*.html" to="*.xml"/>
-                                </move>
-                                <delete dir="${tempdir}"/>
-                            </tasks>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>clean_target</id>
-                        <phase>install</phase>
-                        <configuration>
-                            <tasks>
-                                <delete dir="target/archive-tmp"/>
-                                <delete dir="target/dependency-maven-plugin-markers"/>
-                                <delete dir="target/maven-archiver"/>
-                                <delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
-                                <delete dir="target/sources"/>
-                                <delete dir="target/site"/>
-                                <delete dir="src/site"/>
-                            </tasks>
-                        </configuration>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>   
-
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>pre_dist</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/dist.xml</descriptor>
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>dist</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/bin.xml</descriptor>
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-    
-</project>


[6/9] applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/LICENSE.txt b/products/elb/2.0.5/LICENSE.txt
deleted file mode 100644
index f826a50..0000000
--- a/products/elb/2.0.5/LICENSE.txt
+++ /dev/null
@@ -1,386 +0,0 @@
-
-This product is licensed by WSO2 Inc. under Apache License 2.0. The license
-can be downloaded from the following locations:
-	http://www.apache.org/licenses/LICENSE-2.0.html
-	http://www.apache.org/licenses/LICENSE-2.0.txt
-
-This product also contains software under different licenses. This table below
-all the contained libraries (jar files) and the license under which they are 
-provided to you.
-
-At the bottom of this file is a table that shows what each license indicated
-below is and where the actual text of the license can be found.
-
-Name                                                                            Type           License   
----------------------------------------------------------------------------------------------------------
-abdera_1.0.0.wso2v3.jar                                                         bundle         apache2   
-addressing-1.6.1-wso2v9.mar                                                     bundle         apache2   
-ajaxtags_1.3.0.beta-rc7-wso2v1.jar                                              bundle         apache2   
-andes-client-0.13.wso2v8.jar                                                    bundle         apache2   
-annogen_0.1.0.wso2v1.jar                                                        bundle         apache2   
-antlr_3.2.0.wso2v1.jar                                                          bundle         bsd       
-ant_1.7.0.wso2v1.jar                                                            bundle         apache2   
-apache-zookeeper_3.3.6.wso2v1.jar                                               bundle         apache2   
-authenticator_0.7.0.wso2v1.jar                                                  bundle         apache2   
-aws-common_1.5.0.beta_5.jar                                                     bundle         apache2   
-aws-ec2_1.5.0.beta5wso2v1.jar                                                   bundle         apache2   
-axiom_1.2.11.wso2v4.jar                                                         bundle         apache2   
-axis2-json_1.6.1.wso2v9.jar                                                     bundle         apache2   
-axis2-transport-jms_1.1.0.wso2v7.jar                                            bundle         apache2   
-axis2_1.6.1.wso2v9.jar                                                          bundle         apache2   
-backport-util-concurrent_3.1.0.wso2v1.jar                                       bundle         public    
-bcprov-jdk15-132.jar                                                            jarinbundle    bouncy    
-bcprov-jdk15.jar                                                                jar            mit       
-bcprov-jdk16_1.45.0.wso2v1.jar                                                  bundle         apache2   
-bsf-all_3.0.0.wso2v2.jar                                                        bundle         apache2   
-caja-r3950.jar                                                                  jarinbundle    unknown   
-com.google.gson_2.1.0.jar                                                       bundle         apache2   
-com.google.gson_2.2.0.jar                                                       bundle         apache2   
-com.jayway.jsonpath_0.8.1.wso2v1.jar                                            bundle         apache2   
-com.sun.jersey.jersey-core_1.12.0.jar                                           bundle         apache2   
-commons-beanutils-1.7.0.jar                                                     jarinbundle    apache2   
-commons-betwixt-0.8.jar                                                         jarinbundle    unknown   
-commons-codec_1.4.0.wso2v1.jar                                                  bundle         apache2   
-commons-collections-3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-collections_3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-dbcp_1.4.0.wso2v1.jar                                                   bundle         apache2   
-commons-digester-1.8.jar                                                        jarinbundle    apache2   
-commons-discovery-0.2.jar                                                       jarinbundle    apache2   
-commons-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
-commons-httpclient_3.1.0.wso2v2.jar                                             bundle         apache2   
-commons-io_2.0.0.wso2v1.jar                                                     bundle         apache2   
-commons-io_2.0.0.wso2v2.jar                                                     bundle         apache2   
-commons-lang-2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-lang_2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-pool_1.5.6.wso2v1.jar                                                   bundle         apache2   
-compass_2.0.1.wso2v2.jar                                                        bundle         apache2   
-dnsjava_2.1.1.wso2v1.jar                                                        bundle         apache2   
-ec2_1.5.0.beta5wso2v1.jar                                                       bundle         apache2   
-ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
-el-impl_2.2.0.wso2v1.jar                                                        bundle         cddl1     
-ezmorph-1.0.4.jar                                                               jarinbundle    unknown   
-geronimo-jms_1.1_spec-1.1.0.wso2v1.jar                                          bundle         apache2   
-geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar                                         bundle         apache2   
-geronimo-stax-api_1.0_spec-1.0.1.wso2v2.jar                                     bundle         apache2   
-google-collect_1.0.0.wso2v2.jar                                                 bundle         apache2   
-guava_12.0.0.wso2v1.jar                                                         bundle         apache2   
-guice-assistedinject_3.0.0.wso2v1.jar                                           bundle         apache2   
-guice_3.0.0.wso2v1.jar                                                          bundle         apache2   
-h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
-h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
-handy-uri-templates_1.1.7.wso2v1.jar                                            bundle         apache2   
-htmlunit-2.5.jar                                                                jarinbundle    unknown   
-httpclient-4.0.1.jar                                                            jarinbundle    unknown   
-httpclient_4.2.3.wso2v1.jar                                                     bundle         apache2   
-httpcore-nio_4.2.3.wso2v1.jar                                                   bundle         apache2   
-httpcore_4.2.3.wso2v1.jar                                                       bundle         apache2   
-icu4j-3.8.jar                                                                   jarinbundle    ICU       
-infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
-java-xmlbuilder_0.4.0.wso2v1.jar                                                bundle         apache2   
-javasysmon_0.3.3.wso2v1.jar                                                     bundle         jsmon     
-javax.el_2.2.0.v201108011116.jar                                                bundle         cddl1     
-javax.servlet.jsp_2.2.0.v201112011158.jar                                       bundle         cddl1     
-javax.servlet_3.0.0.v201112011016.jar                                           bundle         cddl1     
-jaxb-api-2.2.6.jar                                                              jar            cddl+gpl  
-jaxb_2.2.5.wso2v1.jar                                                           bundle         cddl1     
-jboss-logging_3.1.0.wso2v1.jar                                                  bundle         lgpl2     
-jboss-transaction-api_1.1_spec-1.0.0.Final.jar                                  jar            lgpl2     
-jclouds-bouncycastle_1.5.0.beta_5.jar                                           bundle         apache2   
-jclouds-compute_1.5.0.beta_5.jar                                                bundle         apache2   
-jclouds-core_1.5.0.beta_5.jar                                                   bundle         apache2   
-jclouds-enterprise_1.5.0.beta_5.jar                                             bundle         apache2   
-jclouds-joda_1.5.0.beta_5.jar                                                   bundle         apache2   
-jclouds-log4j_1.5.0.beta_5.jar                                                  bundle         apache2   
-jclouds-netty_1.5.0.beta_5.jar                                                  bundle         apache2   
-jclouds-scriptbuilder_1.5.0.beta_5.jar                                          bundle         apache2   
-jclouds-slf4j_1.5.0.beta_5.jar                                                  bundle         apache2   
-jclouds-sshj_1.5.0.beta_5.jar                                                   bundle         apache2   
-jdbc-pool_7.0.34.wso2v1.jar                                                     bundle         apache2   
-jdom_1.0.0.wso2v1.jar                                                           bundle         jdom      
-jericho-html-2.4.jar                                                            jarinbundle    epl1      
-jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
-jetty-6.1.15.jar                                                                jarinbundle    unknown   
-jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
-js-1.6R7.jar                                                                    jarinbundle    mpl11     
-jsecurity-0.9.0.jar                                                             jarinbundle    unknown   
-json-simple-1.1.jar                                                             jarinbundle    unknown   
-json_1.0.0.wso2v1.jar                                                           bundle         json      
-json_2.0.0.wso2v1.jar                                                           bundle         json      
-jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
-jstl-1.2.jar                                                                    jarinbundle    unknown   
-jstl_1.2.1.wso2v1.jar                                                           bundle         cddl1     
-juel-api-2.1.2.jar                                                              jarinbundle    unknown   
-juel-impl-2.1.2.jar                                                             jarinbundle    unknown   
-jzlib_1.0.7.wso2v1.jar                                                          bundle         apache2   
-libthrift_0.7.0.wso2v2.jar                                                      bundle         apache2   
-marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
-neethi_2.0.4.wso2v4.jar                                                         bundle         apache2   
-nekohtml-1.9.13.jar                                                             jarinbundle    unknown   
-net.schmizz.sshj_0.8.0.jar                                                      bundle         apache2   
-oauth-20090531.jar                                                              jarinbundle    unknown   
-oauth-provider-20090531.jar                                                     jarinbundle    unknown   
-opencsv-1.8.jar                                                                 jarinbundle    apache2   
-opencsv_1.8.0.wso2v1.jar                                                        bundle         apache2   
-opensaml-1.1.406.jar                                                            jarinbundle    apache2   
-opensaml-2.4.1.jar                                                              jarinbundle    apache2   
-opensaml2_2.4.1.wso2v1.jar                                                      bundle         apache2   
-openstack-common_1.5.0.beta_5.jar                                               bundle         apache2   
-openstack-keystone_1.5.0.beta5wso2v1.jar                                        bundle         apache2   
-openstack-nova_1.5.0.beta5wso2v1.jar                                            bundle         apache2   
-openws-1.4.1.jar                                                                jarinbundle    apache2   
-org.apache.felix.gogo.command_0.8.0.v201108120515.jar                           bundle         apache2   
-org.apache.felix.gogo.runtime_0.8.0.v201108120515.jar                           bundle         apache2   
-org.apache.felix.gogo.shell_0.8.0.v201110170705.jar                             bundle         apache2   
-org.apache.jasper.glassfish_2.2.2.v201205150955.jar                             bundle         apache2   
-org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar                         bundle         epl1      
-org.eclipse.core.expressions_3.4.401.v20120627-124442.jar                       bundle         epl1      
-org.eclipse.core.jobs_3.5.300.v20120622-204750.jar                              bundle         epl1      
-org.eclipse.core.runtime_3.8.0.v20120521-2346.jar                               bundle         epl1      
-org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar                           bundle         epl1      
-org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar                             bundle         epl1      
-org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar     bundle         epl1      
-org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar                  bundle         epl1      
-org.eclipse.ecf_3.1.300.v20110531-2218.jar                                      bundle         epl1      
-org.eclipse.equinox.app_1.3.100.v20120522-1841.jar                              bundle         epl1      
-org.eclipse.equinox.common_3.6.100.v20120522-1841.jar                           bundle         epl1      
-org.eclipse.equinox.concurrent_1.0.300.v20120522-2049.jar                       bundle         epl1      
-org.eclipse.equinox.console_1.0.0.v20120522-1841.jar                            bundle         epl1      
-org.eclipse.equinox.ds_1.4.0.v20120522-1841.jar                                 bundle         epl1      
-org.eclipse.equinox.frameworkadmin.equinox_1.0.400.v20120428-0117.jar           bundle         epl1      
-org.eclipse.equinox.frameworkadmin_2.0.100.v20120606-175127.jar                 bundle         epl1      
-org.eclipse.equinox.http.helper_1.1.0.wso2v1.jar                                bundle         epl1      
-org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar                     bundle         epl1      
-org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049.jar                       bundle         epl1      
-org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar                           bundle         epl1      
-org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar                bundle         epl1      
-org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar                       bundle         epl1      
-org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar                            bundle         epl1      
-org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar                       bundle         epl1      
-org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar              bundle         epl1      
-org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar                        bundle         epl1      
-org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar                               bundle         epl1      
-org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar                  bundle         epl1      
-org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar                   bundle         epl1      
-org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar                  bundle         epl1      
-org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar             bundle         epl1      
-org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar                             bundle         epl1      
-org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar                            bundle         epl1      
-org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar              bundle         epl1      
-org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar                           bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar            bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar            bundle         epl1      
-org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar                         bundle         epl1      
-org.eclipse.equinox.preferences_3.5.0.v20120522-1841.jar                        bundle         epl1      
-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar                         bundle         epl1      
-org.eclipse.equinox.security_1.1.100.v20120522-1841.jar                         bundle         epl1      
-org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657.jar     bundle         epl1      
-org.eclipse.equinox.simpleconfigurator_1.0.301.v20120828-033635.jar             bundle         epl1      
-org.eclipse.equinox.util_1.0.400.v20120522-2049.jar                             bundle         epl1      
-org.eclipse.osgi.services_3.3.100.v20120522-1822.jar                            bundle         epl1      
-org.eclipse.osgi_3.8.1.v20120830-144521.jar                                     bundle         epl1      
-org.jboss.netty_3.3.0.Final.jar                                                 bundle         apache2   
-org.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
-org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
-org.wso2.carbon.addressing_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.apache.jasper.fragment_4.1.0.jar                                bundle         apache2   
-org.wso2.carbon.application.deployer_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.authenticator.proxy_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.authenticator.stub_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.base_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.bootstrap-4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.caching.core_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.caching_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.cartridge.messages_2.1.1.jar                                    bundle         apache2   
-org.wso2.carbon.cluster.mgt.core_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.coordination.common_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.coordination.core_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.coordination.server_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.core.bootup.validator_4.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.core.commons.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.core.common_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.core.services_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.core_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.databridge.agent.thrift_4.1.0.jar                               bundle         apache2   
-org.wso2.carbon.databridge.commons.thrift_4.1.0.jar                             bundle         apache2   
-org.wso2.carbon.databridge.commons_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.datasource_4.1.1.jar                                            bundle         apache2   
-org.wso2.carbon.ec2-client_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.endpoint_4.1.1.jar                                              bundle         apache2   
-org.wso2.carbon.event.admin_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.event.client.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.event.client_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.common_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.core_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.event.ws_4.1.0.jar                                              bundle         apache2   
-org.wso2.carbon.feature.mgt.core_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.feature.mgt.services_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.feature.mgt.stub_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.framework.exporter_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.i18n_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.jasper.patch_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.lb.common_4.1.3.jar                                             bundle         apache2   
-org.wso2.carbon.lb.endpoint_4.1.3.jar                                           bundle         apache2   
-org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub_4.1.3.jar        bundle         apache2   
-org.wso2.carbon.logging-4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.logging_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.mediation.dependency.mgt_4.1.1.jar                              bundle         apache2   
-org.wso2.carbon.mediation.initializer_4.1.1.jar                                 bundle         apache2   
-org.wso2.carbon.mediation.registry_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.mediator.autoscale_4.1.3.jar                                    bundle         apache2   
-org.wso2.carbon.mediator.bridge-4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.mediator.clazz.services_4.1.0.jar                               bundle         apache2   
-org.wso2.carbon.mediator.command.services_4.1.0.jar                             bundle         apache2   
-org.wso2.carbon.mediator.event_4.1.1.jar                                        bundle         apache2   
-org.wso2.carbon.mediator.fastXSLT_4.1.1.jar                                     bundle         apache2   
-org.wso2.carbon.mediator.router.impl_4.1.1.jar                                  bundle         apache2   
-org.wso2.carbon.module.mgt_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.ndatasource.common_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.ndatasource.core_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.ndatasource.rdbms_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.ntask.common_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.ntask.core_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.ntask.solutions_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.operation.mgt_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.osgi.security_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.qpid.stub_4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.queuing_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.registry.admin.api_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.registry.api_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.registry.common_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.registry.core_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.registry.resource.stub_4.1.0.jar                                bundle         apache2   
-org.wso2.carbon.registry.resource_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.registry.search.stub_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.registry.search_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.registry.server_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.registry.servlet_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.relay.mediators.builder_4.1.1.jar                               bundle         apache2   
-org.wso2.carbon.relay.module_4.1.1.jar                                          bundle         apache2   
-org.wso2.carbon.relay_4.1.1.jar                                                 bundle         apache2   
-org.wso2.carbon.remote-tasks.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.rm_4.1.0.jar                                                    bundle         apache2   
-org.wso2.carbon.roles.mgt.stub_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.roles.mgt_4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.securevault_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.security.mgt_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.sequences.common_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.sequences_4.1.1.jar                                             bundle         apache2   
-org.wso2.carbon.server-4.1.0.jar                                                bundle         apache2   
-org.wso2.carbon.server.admin.common_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.server.admin.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.server.admin_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.service.mgt_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.startup_4.1.1.jar                                               bundle         apache2   
-org.wso2.carbon.stratos.cloud.controller_2.1.3.jar                              bundle         apache2   
-org.wso2.carbon.task.services_4.1.1.jar                                         bundle         apache2   
-org.wso2.carbon.task_4.1.1.jar                                                  bundle         apache2   
-org.wso2.carbon.throttle_4.1.0.jar                                              bundle         apache2   
-org.wso2.carbon.tomcat.ext_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.tomcat.fragment.dummy_4.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.tomcat.patch_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.tomcat_4.1.0.jar                                                bundle         apache2   
-org.wso2.carbon.transport.https_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.transport.http_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.transport.local_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.transport.mgt_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.transport.nhttp_4.1.1.jar                                       bundle         apache2   
-org.wso2.carbon.transports.passthru_1.0.2.jar                                   bundle         apache2   
-org.wso2.carbon.user.api_4.1.0.jar                                              bundle         apache2   
-org.wso2.carbon.user.core_4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.user.mgt.common_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.user.mgt.stub_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.user.mgt_4.1.0.jar                                              bundle         apache2   
-org.wso2.carbon.utils_4.1.0.jar                                                 bundle         apache2   
-org.wso2.ciphertool-1.0.0-wso2v2.jar                                            bundle         apache2   
-org.wso2.securevault_1.0.0.wso2v2.jar                                           bundle         apache2   
-pdepublishing-ant.jar                                                           jar            epl1      
-pdepublishing.jar                                                               jar            epl1      
-poi-ooxml_3.5.0.wso2v1.jar                                                      bundle         apache2   
-poi-scratchpad_3.5.0.wso2v1.jar                                                 bundle         apache2   
-poi_3.5.0.wso2v1.jar                                                            bundle         apache2   
-quartz_2.1.1.wso2v1.jar                                                         bundle         apache2   
-rampart-1.6.1-wso2v1.mar                                                        bundle         apache2   
-rampart-core_1.6.1.wso2v8.jar                                                   bundle         apache2   
-rampart-policy_1.6.1.wso2v8.jar                                                 bundle         apache2   
-rampart-trust_1.6.1.wso2v8.jar                                                  bundle         apache2   
-rocoto_6.1.0.wso2v1.jar                                                         bundle         apache2   
-rome-1.0.jar                                                                    jarinbundle    unknown   
-sanselan-0.97-incubator.jar                                                     jarinbundle    unknown   
-saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
-shindig-common-r910768-wso2v5.jar                                               jarinbundle    apache2   
-shindig-features-r910768-wso2v5.jar                                             jarinbundle    apache2   
-shindig-gadgets-r910768-wso2v5.jar                                              jarinbundle    apache2   
-shindig-social-api-r910768-wso2v5.jar                                           jarinbundle    apache2   
-shindig_1.1.0.wso2v6.jar                                                        bundle         apache2   
-slf4j.api_1.6.4.jar                                                             bundle         mit       
-slf4j.log4j12_1.6.4.jar                                                         bundle         mit       
-synapse-commons_2.1.1.wso2v6.jar                                                bundle         apache2   
-synapse-core_2.1.1.wso2v6.jar                                                   bundle         apache2   
-synapse-extensions_2.1.1.wso2v6.jar                                             bundle         apache2   
-synapse-nhttp-transport_2.1.1.wso2v6.jar                                        bundle         apache2   
-synapse-tasks_2.1.1.wso2v6.jar                                                  bundle         apache2   
-tcpmon-1.0.jar                                                                  jar            apache2   
-tiles-jsp_2.0.5.wso2v1.jar                                                      bundle         apache2   
-tomcat-ha_7.0.34.wso2v1.jar                                                     bundle         apache2   
-tomcat-juli-7.0.34.jar                                                          jar            apache2   
-tomcat_7.0.34.wso2v1.jar                                                        bundle         apache2   
-tribes_7.0.28.wso2v1.jar                                                        bundle         apache2   
-vcloud_1.6.0.wso2v1.jar                                                         bundle         apache2   
-woden_1.0.0.M8-wso2v1.jar                                                       bundle         apache2   
-wsdl4j_1.6.2.wso2v4.jar                                                         bundle         cpl1      
-wss4j_1.5.11.wso2v5.jar                                                         bundle         apache2   
-wstx-1.0.7.jar                                                                  jarinbundle    unknown   
-xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
-xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
-xercesImpl-2.9.1.jar                                                            jarinbundle    unknown   
-xkms_2.4.0.wso2v1.jar                                                           bundle         apache2   
-xml-apis-1.3.04.jar                                                             jarinbundle    unknown   
-xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
-xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
-xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
-xmlParserAPIs-2.6.2.jar                                                         jarinbundle    unknown   
-XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
-xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
-xpp3_min-1.1.4c.jar                                                             jarinbundle    unknown   
-xstream-1.3.1.jar                                                               jarinbundle    unknown   
-
-
-
-The license types used by the above libraries and their information is given below:
-
-epl1           Eclipse Public License
-               http://www.eclipse.org/legal/epl-v10.html
-lgpl2          Lesser GPL v2.1
-               http://www.opensource.org/licenses/lgpl-2.1.php
-mpl11          Mozilla Public License 1.1
-               http://www.mozilla.org/MPL/MPL-1.1.html
-mpl10          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/
-mit            MIT License
-               http://www.opensource.org/licenses/mit-license.php
-unknown        
-               unknown
-cddl1          Common Development and Distribution License
-               http://www.opensource.org/licenses/cddl1.php
-cddl+gpl       CDDL + GPLv2
-               https://glassfish.dev.java.net/public/CDDL+GPL.html
-cpl1           Common Public License 1.0
-               http://www.eclipse.org/legal/cpl-v10.html
-json           JSON.org License
-               null
-jsmon          ThoughtWorks Javasysmon License
-               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
-jdom           JDOM License - Apache Styled
-               null
-apache2        Apache License Version 2.0
-               http://www.apache.org/licenses/LICENSE-2.0.html
-icu            ICU License
-               http://source.icu-project.org/repos/icu/icu/trunk/license.html
-bsd            Berkeley License
-               http://www.opensource.org/licenses/bsd-license.php
-bouncy         Bouncy Castle License
-               http://www.bouncycastle.org/licence.html
-public         Public Domain
-               http://creativecommons.org/licenses/publicdomain/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/README.txt
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/README.txt b/products/elb/2.0.5/README.txt
deleted file mode 100755
index 352eccd..0000000
--- a/products/elb/2.0.5/README.txt
+++ /dev/null
@@ -1,147 +0,0 @@
-================================================================================
-                        WSO2 Elastic Load Balancer 2.0.5
-================================================================================
-
-Welcome to the WSO2 Elastic Load Balancer 2.0.5 release
-
-WSO2 ELB is a lightweight and easy-to-use Open Source Elastic Load Balancer
-(ELB) available under the Apache Software License v2.0. WSO2 ELB allows
-administrators to simply configure message load balancing, failover routing,
-and auto scaling. The runtime has been designed to be completely
-asynchronous, non-blocking and streaming based on the Apache Synapse core.
-
-This is based on the revolutionary WSO2 Carbon [Middleware a' la carte]
-framework. All the major features have been developed as pluggable Carbon
-components. WSO2 Elastic Load Balancer is a compact version doing the load balancing
-features of WSO2 Enterprise Service Bus.
-
-
-Key Features of WSO2 ELB
-========================
-
-1. Non-blocking HTTP/S transports based on Apache HttpCore for ultra fast
-   execution and support for thousands of connections at high concurrency with
-   constant memory usage. Integrated high performing, Passthrough Transport. 
-2. Load-balancing (with or without sticky sessions)/Fail-over, and clustered
-   Throttling and Caching support.
-3. Automatically scaling the system according to the number of requests in-flight for
-   a particular service cluster - "Scale up early, scale down slowly".
-4. Service aware dynamic load balancing - A single load balancer
-   can centrally manage the load across the nodes of different service clusters.
-5. Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
-   Tenants can be partitioned to different service clusters.
-6. Lightweight, XML and Web services centric messaging model.
-7. Administrator friendly - Configurations are simple and easy.
-
-System Requirements
-==================================
-
-1. Minimum memory - 1.5GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. Java SE Development Kit 1.6.0_24 or higher
-
-Installation & Running
-==================================
-
-1. Extract the wso2elb-2.0.5.zip and go to the extracted directory
-2. Run the wso2server.sh or wso2server.bat as appropriate
-3. Configure the load balancer to manage the load across the instants to be balanced.
-
-WSO2 ELB 2.0.5 distribution directory structure
-===============================================
-
-    CARBON_HOME
-	|- bin <folder>
-    |- dbscripts <folder>
-	|- lib <folder>
-	|- repository <folder>
-	|- tmp <folder>
-	|- LICENSE.txt <file>
-	|- README.txt <file>
-	|- INSTALL.txt <file>		
-	|- release-notes.html <file>
-
-    - bin
-	  Contains various scripts, .sh & .bat files
-
-    - dbscripts
-    Contains all the database scripts
-
-    - lib
-	  Contains the basic set of libraries required to startup ELB
-	  in standalone mode
-
-    - repository
-	  The repository where services and modules deployed in WSO2 ELB
-	  are stored. In addition to this, the components directory inside the
-	  repository directory contains the carbon runtime and the user added
-	  jar files including mediators, third party libraries etc. All
-	  global and LB specific configuration files, generated log files
-	  and other deployed artifacts are also housed under this directory.
-
-    - tmp
-	  Used for storing temporary files, and is pointed to by the
-	  java.io.tmpdir System property
-
-    - LICENSE.txt
-	  Apache License 2.0 and the relevant other licenses under which
-	  WSO2 ELB is distributed.
-
-    - README.txt
-	  This document.
-
-    - INSTALL.txt
-      This document will contain information on installing WSO2 ELB
-
-    - release-notes.html
-	  Release information for WSO2 ELB 2.0.5
-
-Support
-==================================
-
-WSO2 Inc. offers a variety of development and production support
-programs, ranging from Web-based support up through normal business
-hours, to premium 24x7 phone support.
-
-For additional support information please refer to http://wso2.com/support/
-
-For more information on WSO2 ELB, visit the WSO2 Oxygen Tank (http://wso2.org)
-
-Issue Tracker
-==================================
-
-  https://wso2.org/jira/browse/CARBON
-  https://wso2.org/jira/browse/LB
-
-Crypto Notice
-==================================
-
-   This distribution includes cryptographic software.  The country in
-   which you currently reside may have restrictions on the import,
-   possession, use, and/or re-export to another country, of
-   encryption software.  BEFORE using any encryption software, please
-   check your country's laws, regulations and policies concerning the
-   import, possession, or use, and re-export of encryption software, to
-   see if this is permitted.  See <http://www.wassenaar.org/> for more
-   information.
-
-   The U.S. Government Department of Commerce, Bureau of Industry and
-   Security (BIS), has classified this software as Export Commodity
-   Control Number (ECCN) 5D002.C.1, which includes information security
-   software using or performing cryptographic functions with asymmetric
-   algorithms.  The form and manner of this Apache Software Foundation
-   distribution makes it eligible for export under the License Exception
-   ENC Technology Software Unrestricted (TSU) exception (see the BIS
-   Export Administration Regulations, Section 740.13) for both object
-   code and source code.
-
-   The following provides more details on the included cryptographic
-   software:
-
-   Apache Rampart   : http://ws.apache.org/rampart/
-   Apache WSS4J     : http://ws.apache.org/wss4j/
-   Apache Santuario : http://santuario.apache.org/
-   Bouncycastle     : http://www.bouncycastle.org/
-
---------------------------------------------------------------------------------
-(c) Copyright 2013 WSO2 Inc.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/docs/xdoc/release-notes.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/docs/xdoc/release-notes.xml b/products/elb/2.0.5/docs/xdoc/release-notes.xml
deleted file mode 100644
index a685c02..0000000
--- a/products/elb/2.0.5/docs/xdoc/release-notes.xml
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!DOCTYPE html
-     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-      <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
-      <title>WSO2 ELB v2.0.5 Release </title>
-  </head>
-  <body>
-  <div id="header">
-</div>
-
-<div id="main-content">
-<h1>The WSO2 Elastic Load Balancer (ELB) 2.0.5 Release - 12th June 2013!</h1>
-
-<p>
-    The WSO2 ELB team is pleased to announce the release of version 2.0.5 of
-    the Open Source Elastic Load Balancer (ELB).
-</p>
-
-<p>
-    WSO2 ELB is a fast, lightweight and user friendly open source Elastic Load Balancer (ELB)
-    distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache
-    Software License v2.0</a>. WSO2 ELB allows system administrators and developers to
-    easily configure fail over routing, load balancing, service aware load balancing, 
-    tenant aware load balancing and dynamic load balancing with auto scaling.The ELB runtime 
-    is designed to be completely asynchronous, non-blocking and streaming based on the 
-    <a href="http://synapse.apache.org">Apache Synapse</a> mediation engine.
-</p>
-
-<p>
-    WSO2 ELB 2.0.5 is developed on top of the revolutionary
-    <a href="http://wso2.org/projects/carbon">WSO2 Carbon platform</a> (Middleware a' la carte),
-    an OSGi based framework that provides seamless modularity to your SOA via
-    componentization. This release also contains many new features and a range of optional
-    components (add-ons) that can be installed to customize the behavior of the ELB. Further, any
-    existing features of the ELB which are not required to your environment can be easily
-    removed using the underlying provisioning framework of Carbon. In brief, WSO2 ELB can
-    be fully customized and tailored to meet your exact SOA needs.
-</p>
-
-<p>
-    You can download this distribution from <a href="http://wso2.com/products/elastic-load-balancer/">
-    http://wso2.com/products/elastic-load-balancer/</a> our product page and give it a try.</p>
-
-<h2>How to Run </h2>
-<ol>
-  <li>Extract the downloaded zip</li>
-  <li>Go to the bin directory in the extracted folder</li>
-  <li>Run the wso2server.sh or wso2server.bat as appropriate</li>
-  <li>Configure the load balancer to manage the load across the instances to be balanced.</li>
-  <li>If you need to start the OSGi console with the server use the property
-    -DosgiConsole when starting the server. The INSTALL.txt file found on the
-    installation directory will give you a comprehensive set of options and
-    properties that can be passed into the startup script</li>
-</ol>
-
-<h2>Key Features of WSO2 ELB</h2>
-<ul>
-  <li>Non-blocking HTTP/S transports based on Apache HttpCore-NIO for ultra-fast
-   execution and support for thousands of connections at high concurrency with
-   constant memory usage. Integrated high performing, Passthrough Transport.</li>
-  <li>Load-balancing (with or without sticky sessions)/Fail-over, and clustered
-   Throttling and Caching support</li>
-  <li>Lightweight, XML and Web services centric messaging model</li>
-  <li>Automatically scaling the system according to the number of requests in-flight for 
-   a particular service cluster - "Scale up early, scale down slowly"
-  </li>
-  <li>Service aware dynamic load balancing - A single load balancer
-   can centrally manage the load across the nodes of different service clusters.
-  </li>
-  <li>Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
-   Tenants can be partitioned to different service clusters.
-</ul>
-
-<h2>Known Issues</h2>
-<p>
-    All the open issues pertaining to WSO2 ELB 2.0.5 are reported at following
-    locations:
-</p>
-
-<ul>
-    <li>
-        <a href="http://goo.gl/W8KYs">
-            Open ELB issues
-        </a>
-    </li>
-</ul>
-
-    <h2>Release 2.0.5</h2>
-    <p>Change Log: This release brings out the autoscaling support for ELB and also contains fixes for some critical issues.</p>
-    <ol>
-        <li>LB-17 - SSO Enables deployment does not work with load balancer.</li>
-        <li>LB-31 - No response code in the access log.</li>
-        <li>LB-37 - Browser tries to save the page sent via LB time to time rather than display it.</li>
-        <li>LB-51 - Disable management console in LB and do not print mgmt console URL at startup.</li>
-        <li>LB-52 - When member leaves the cluster, session continued to bind to that cluster member.</li>
-        <li>LB-55 - Make autoscaling algorithm configurable.</li>
-        <li>LB-64 - Failover is broken in ELB.</li>
-        <li>LB-65 - If one member of a cluster is going off and during that time, the requests redirected to that member by the load balancer, will be failed with a timeout, until the load balancer gets updated that this member has left cluster.</li>
-        <li>LB-66 - Embed Cloud Controller Service aka Autoscaler Service into ELB.</li>
-    </ol>
-
-<h2>How You Can Contribute</h2>
-    <h3>
-      Mailing Lists
-    </h3>
-    <p>
-      Join our mailing list and correspond with the developers directly.
-    </p>
-    <ul>
-      <li>
-        Developer List : <a href="mailto:dev@wso2.org">dev@wso2.org</a>
-        | <a href="mailto:dev-request@wso2.org?subject=subscribe">Subscribe</a>
-        | <a href="http://wso2.org/mailarchive/carbon-dev/">Mail Archive</a>
-      </li>
-    </ul>
-    <h3>
-      Reporting Issues
-    </h3>
-    <p>
-      We encourage you to report issues, documentation faults and feature requests regarding
-      WSO2 ELB through the public <a href="https://wso2.org/jira/browse/LB">ELB JIRA</a>. You
-      can use the <a href="https://wso2.org/jira/browse/CARBON">Carbon JIRA</a> to report any
-      issues related to the Carbon base framework or associated Carbon components.
-    </p>
-
-    <h3>
-      Discussion Forums
-    </h3>
-    <p>
-      Alternatively, questions could be raised using <a href="http://stackoverflow.com/questions/tagged/wso2">StackOverflow</a> website.
-    </p>
-
-<h2>Support</h2>
-<p>
-    We are committed to ensuring that your enterprise middleware deployment is
-    completely supported from evaluation to production. Our unique approach
-    ensures that all support leverages our open development methodology and is
-    provided by the very same engineers who build the technology.
-</p>
-<p>
-    For more details and to take advantage of this unique opportunity please
-    visit <a href="http://wso2.com/support">http://wso2.com/support</a>.
-</p>
-
-<p><i>-- The WSO2 ELB Team --</i> </p>
-</div>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/pom.xml b/products/elb/2.0.5/modules/distribution/pom.xml
deleted file mode 100755
index 3a9228e..0000000
--- a/products/elb/2.0.5/modules/distribution/pom.xml
+++ /dev/null
@@ -1,595 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-        
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.elb</groupId>
-        <artifactId>elb-parent</artifactId>
-        <version>2.0.5</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2elb</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 ELB - Distribution</name>
-    <url>http://wso2.org/projects/load-balancer</url>
-    <description>WSO2 Elastic Load Balancer Distribution</description>
-
-    <dependencies>
-
-        <!-- Carbon core distribution -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>wso2carbon-core</artifactId>
-            <version>${carbon.kernel.version}</version>
-            <type>zip</type>
-        </dependency>
-
-        <!-- Synapse dependencies -->
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-commons</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-nhttp-transport</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-pipe-transport</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-core</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-tasks</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-extensions</artifactId>
-            <version>2.1.1-wso2v4</version>
-        </dependency>
-
-        <!-- Carbon mediation initializer -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.initializer</artifactId>
-            <version>4.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.bridge</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-	      <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.dependency.mgt</artifactId>
-            <version>4.1.1</version>
-        </dependency>
-
-        
-        <!-- ### Required Carbon components ### -->
-        <!-- Transport managament components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Transport components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.http</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.nhttp</artifactId>
-            <version>4.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.https</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.mail</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Sequence management components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.service</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.sequences.common</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.sequences</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.router.impl</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.clazz.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.command.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-         <!--Entitlement mediator dependency -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.identity.entitlement.mediator</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-         <!--OAuth mediator dependency -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.identity.oauth.mediator</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-
-        <!--Drools dependency-->
-        <dependency>
-            <groupId>org.drools.wso2</groupId>
-            <artifactId>drools</artifactId>
-            <version>5.0.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>jsr94.wso2</groupId>
-            <artifactId>jsr94</artifactId>
-            <version>1.1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.mvel.wso2</groupId>
-            <artifactId>mvel2</artifactId>
-            <version>2.0.10.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>joda-time.wso2</groupId>
-            <artifactId>joda-time</artifactId>
-            <version>1.6.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.antlr.wso2</groupId>
-            <artifactId>antlr-runtime</artifactId>
-            <version>3.1.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>janino.wso2</groupId>
-            <artifactId>janino</artifactId>
-            <version>2.5.15.wso2v1</version>
-        </dependency>
-        <!-- Endpoints component -->
-	      <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.endpoint.common</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.endpoint</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Local Entries component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.localentry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Service management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.service.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Operation management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.operation.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Module Management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.module.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Security components (orbit) -->
-         <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-policy</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-trust</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-core</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart</groupId>
-            <artifactId>rampart</artifactId>
-            <type>mar</type>
-            <version>1.6.1-wso2v1</version>
-        </dependency>
-        
-        <!-- Policy Editor component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.policyeditor</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Task component with startups -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.startup</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Synapse Config admin component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.configadmin</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Synapse Registry component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.registry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Datasources component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.datasource</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Throttle component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.throttle</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Caching component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.caching</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- RM component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.rm</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Eventing components -->
-        <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.core</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.impl</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.broker</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <!-- Eventsource component.-->
-	      <!-- Removed since this is not required by LB product.-->
-        <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.eventsource</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <!-- Menus -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui.menu.registry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- ### Required Carbon orbit dependencies ### -->
-        <dependency>
-            <groupId>org.apache.geronimo.specs.wso2</groupId>
-            <artifactId>geronimo-jms_1.1_spec</artifactId>
-            <version>1.1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.andes.wso2</groupId>
-            <artifactId>andes-client</artifactId>
-            <version>0.13.wso2v8</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-net.wso2</groupId>
-            <artifactId>commons-net</artifactId>
-            <version>2.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>jsch.wso2</groupId>
-            <artifactId>jsch</artifactId>
-            <version>0.1.41-wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents.wso2</groupId>
-            <artifactId>httpcore-nio</artifactId>
-            <version>4.2.3.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.quartz-scheduler.wso2</groupId>
-            <artifactId>quartz</artifactId>
-            <version>2.1.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.codehaus.woodstox</groupId>
-            <artifactId>wstx-asl</artifactId>
-            <version>3.2.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
-            <version>1.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>net.sf.saxon.wso2</groupId>
-            <artifactId>saxon</artifactId>
-            <version>8.9.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.abdera.wso2</groupId>
-            <artifactId>abdera</artifactId>
-            <version>1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.ws.wso2</groupId>
-            <artifactId>spring.framework</artifactId>
-            <version>2.5.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-io.wso2</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>2.0.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-collections.wso2</groupId>
-            <artifactId>commons-collections</artifactId>
-            <version>3.2.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.savan.wso2</groupId>
-            <artifactId>savan-core</artifactId>
-            <version>1.0.0-wso2v2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.caching</groupId>
-            <artifactId>wso2caching-core</artifactId>
-            <version>3.5.0</version>
-        </dependency>
-        <!--Bouncycastle dependency for clients and servers-->
-        <dependency>
-            <groupId>bouncycastle</groupId>
-            <artifactId>bcprov-jdk15</artifactId>
-            <version>132</version>
-        </dependency>
-
-        <!-- autoscale components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.autoscale</artifactId>
-            <version>4.0.3</version>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.discovery.core</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.relay</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>unpack-wso2carbon</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>wso2carbon-core</artifactId>
-                                    <version>${carbon.kernel.version}</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <version>1.1</version>
-                <executions>
-                    <execution>
-                        <id>extract-docs-from-components</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <property name="tempdir" value="target/docs-temp"/>
-                                <mkdir dir="${tempdir}"/>
-                                <unzip dest="${tempdir}">
-                                    <fileset dir="target">
-                                        <include name="${project.artifactId}-${project.version}.zip"/>
-                                    </fileset>
-                                </unzip>
-                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/" overwrite="false">
-                                    <fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components/">
-                                    </fileset>
-                                </copy>
-                                <delete file="target/${project.artifactId}-${project.version}.zip"/>
-                                <delete dir="${tempdir}"/>
-                                <mkdir dir="${tempdir}"/>
-                                <unzip dest="${tempdir}">
-                                    <fileset dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/">
-                                        <include name="*.ui*.jar"/>
-                                    </fileset>
-                                </unzip>
-                                <move todir="${tempdir}/web/" includeemptydirs="false">
-                                    <fileset dir="${tempdir}/web/">
-                                        <exclude name="**/yui/**"/>
-                                        <exclude name="**/ajax/**"/>
-                                        <exclude name="**/WEB-INF/**"/>
-                                        <include name="**/*.html"/>
-                                    </fileset>
-                                    <mapper type="glob" from="*.html" to="*.xml"/>
-                                </move>
-                                <delete dir="${tempdir}"/>
-                            </tasks>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>clean_target</id>
-                        <phase>install</phase>
-                        <configuration>
-                            <tasks>
-                                <delete dir="target/archive-tmp"/>
-                                <delete dir="target/dependency-maven-plugin-markers"/>
-                                <delete dir="target/maven-archiver"/>
-                                <delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
-                                <delete dir="target/sources"/>
-                                <delete dir="target/site"/>
-                                <delete dir="src/site"/>
-                            </tasks>
-                        </configuration>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>   
-
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>pre_dist</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/dist.xml</descriptor>
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>dist</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/bin.xml</descriptor>
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-    
-</project>


[3/9] applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/elb/LICENSE.txt b/products/elb/LICENSE.txt
new file mode 100644
index 0000000..f826a50
--- /dev/null
+++ b/products/elb/LICENSE.txt
@@ -0,0 +1,386 @@
+
+This product is licensed by WSO2 Inc. under Apache License 2.0. The license
+can be downloaded from the following locations:
+	http://www.apache.org/licenses/LICENSE-2.0.html
+	http://www.apache.org/licenses/LICENSE-2.0.txt
+
+This product also contains software under different licenses. This table below
+all the contained libraries (jar files) and the license under which they are 
+provided to you.
+
+At the bottom of this file is a table that shows what each license indicated
+below is and where the actual text of the license can be found.
+
+Name                                                                            Type           License   
+---------------------------------------------------------------------------------------------------------
+abdera_1.0.0.wso2v3.jar                                                         bundle         apache2   
+addressing-1.6.1-wso2v9.mar                                                     bundle         apache2   
+ajaxtags_1.3.0.beta-rc7-wso2v1.jar                                              bundle         apache2   
+andes-client-0.13.wso2v8.jar                                                    bundle         apache2   
+annogen_0.1.0.wso2v1.jar                                                        bundle         apache2   
+antlr_3.2.0.wso2v1.jar                                                          bundle         bsd       
+ant_1.7.0.wso2v1.jar                                                            bundle         apache2   
+apache-zookeeper_3.3.6.wso2v1.jar                                               bundle         apache2   
+authenticator_0.7.0.wso2v1.jar                                                  bundle         apache2   
+aws-common_1.5.0.beta_5.jar                                                     bundle         apache2   
+aws-ec2_1.5.0.beta5wso2v1.jar                                                   bundle         apache2   
+axiom_1.2.11.wso2v4.jar                                                         bundle         apache2   
+axis2-json_1.6.1.wso2v9.jar                                                     bundle         apache2   
+axis2-transport-jms_1.1.0.wso2v7.jar                                            bundle         apache2   
+axis2_1.6.1.wso2v9.jar                                                          bundle         apache2   
+backport-util-concurrent_3.1.0.wso2v1.jar                                       bundle         public    
+bcprov-jdk15-132.jar                                                            jarinbundle    bouncy    
+bcprov-jdk15.jar                                                                jar            mit       
+bcprov-jdk16_1.45.0.wso2v1.jar                                                  bundle         apache2   
+bsf-all_3.0.0.wso2v2.jar                                                        bundle         apache2   
+caja-r3950.jar                                                                  jarinbundle    unknown   
+com.google.gson_2.1.0.jar                                                       bundle         apache2   
+com.google.gson_2.2.0.jar                                                       bundle         apache2   
+com.jayway.jsonpath_0.8.1.wso2v1.jar                                            bundle         apache2   
+com.sun.jersey.jersey-core_1.12.0.jar                                           bundle         apache2   
+commons-beanutils-1.7.0.jar                                                     jarinbundle    apache2   
+commons-betwixt-0.8.jar                                                         jarinbundle    unknown   
+commons-codec_1.4.0.wso2v1.jar                                                  bundle         apache2   
+commons-collections-3.2.0.wso2v1.jar                                            bundle         apache2   
+commons-collections_3.2.0.wso2v1.jar                                            bundle         apache2   
+commons-dbcp_1.4.0.wso2v1.jar                                                   bundle         apache2   
+commons-digester-1.8.jar                                                        jarinbundle    apache2   
+commons-discovery-0.2.jar                                                       jarinbundle    apache2   
+commons-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
+commons-httpclient_3.1.0.wso2v2.jar                                             bundle         apache2   
+commons-io_2.0.0.wso2v1.jar                                                     bundle         apache2   
+commons-io_2.0.0.wso2v2.jar                                                     bundle         apache2   
+commons-lang-2.6.0.wso2v1.jar                                                   bundle         apache2   
+commons-lang_2.6.0.wso2v1.jar                                                   bundle         apache2   
+commons-pool_1.5.6.wso2v1.jar                                                   bundle         apache2   
+compass_2.0.1.wso2v2.jar                                                        bundle         apache2   
+dnsjava_2.1.1.wso2v1.jar                                                        bundle         apache2   
+ec2_1.5.0.beta5wso2v1.jar                                                       bundle         apache2   
+ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
+el-impl_2.2.0.wso2v1.jar                                                        bundle         cddl1     
+ezmorph-1.0.4.jar                                                               jarinbundle    unknown   
+geronimo-jms_1.1_spec-1.1.0.wso2v1.jar                                          bundle         apache2   
+geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar                                         bundle         apache2   
+geronimo-stax-api_1.0_spec-1.0.1.wso2v2.jar                                     bundle         apache2   
+google-collect_1.0.0.wso2v2.jar                                                 bundle         apache2   
+guava_12.0.0.wso2v1.jar                                                         bundle         apache2   
+guice-assistedinject_3.0.0.wso2v1.jar                                           bundle         apache2   
+guice_3.0.0.wso2v1.jar                                                          bundle         apache2   
+h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
+h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
+handy-uri-templates_1.1.7.wso2v1.jar                                            bundle         apache2   
+htmlunit-2.5.jar                                                                jarinbundle    unknown   
+httpclient-4.0.1.jar                                                            jarinbundle    unknown   
+httpclient_4.2.3.wso2v1.jar                                                     bundle         apache2   
+httpcore-nio_4.2.3.wso2v1.jar                                                   bundle         apache2   
+httpcore_4.2.3.wso2v1.jar                                                       bundle         apache2   
+icu4j-3.8.jar                                                                   jarinbundle    ICU       
+infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
+java-xmlbuilder_0.4.0.wso2v1.jar                                                bundle         apache2   
+javasysmon_0.3.3.wso2v1.jar                                                     bundle         jsmon     
+javax.el_2.2.0.v201108011116.jar                                                bundle         cddl1     
+javax.servlet.jsp_2.2.0.v201112011158.jar                                       bundle         cddl1     
+javax.servlet_3.0.0.v201112011016.jar                                           bundle         cddl1     
+jaxb-api-2.2.6.jar                                                              jar            cddl+gpl  
+jaxb_2.2.5.wso2v1.jar                                                           bundle         cddl1     
+jboss-logging_3.1.0.wso2v1.jar                                                  bundle         lgpl2     
+jboss-transaction-api_1.1_spec-1.0.0.Final.jar                                  jar            lgpl2     
+jclouds-bouncycastle_1.5.0.beta_5.jar                                           bundle         apache2   
+jclouds-compute_1.5.0.beta_5.jar                                                bundle         apache2   
+jclouds-core_1.5.0.beta_5.jar                                                   bundle         apache2   
+jclouds-enterprise_1.5.0.beta_5.jar                                             bundle         apache2   
+jclouds-joda_1.5.0.beta_5.jar                                                   bundle         apache2   
+jclouds-log4j_1.5.0.beta_5.jar                                                  bundle         apache2   
+jclouds-netty_1.5.0.beta_5.jar                                                  bundle         apache2   
+jclouds-scriptbuilder_1.5.0.beta_5.jar                                          bundle         apache2   
+jclouds-slf4j_1.5.0.beta_5.jar                                                  bundle         apache2   
+jclouds-sshj_1.5.0.beta_5.jar                                                   bundle         apache2   
+jdbc-pool_7.0.34.wso2v1.jar                                                     bundle         apache2   
+jdom_1.0.0.wso2v1.jar                                                           bundle         jdom      
+jericho-html-2.4.jar                                                            jarinbundle    epl1      
+jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
+jetty-6.1.15.jar                                                                jarinbundle    unknown   
+jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
+js-1.6R7.jar                                                                    jarinbundle    mpl11     
+jsecurity-0.9.0.jar                                                             jarinbundle    unknown   
+json-simple-1.1.jar                                                             jarinbundle    unknown   
+json_1.0.0.wso2v1.jar                                                           bundle         json      
+json_2.0.0.wso2v1.jar                                                           bundle         json      
+jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
+jstl-1.2.jar                                                                    jarinbundle    unknown   
+jstl_1.2.1.wso2v1.jar                                                           bundle         cddl1     
+juel-api-2.1.2.jar                                                              jarinbundle    unknown   
+juel-impl-2.1.2.jar                                                             jarinbundle    unknown   
+jzlib_1.0.7.wso2v1.jar                                                          bundle         apache2   
+libthrift_0.7.0.wso2v2.jar                                                      bundle         apache2   
+marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
+neethi_2.0.4.wso2v4.jar                                                         bundle         apache2   
+nekohtml-1.9.13.jar                                                             jarinbundle    unknown   
+net.schmizz.sshj_0.8.0.jar                                                      bundle         apache2   
+oauth-20090531.jar                                                              jarinbundle    unknown   
+oauth-provider-20090531.jar                                                     jarinbundle    unknown   
+opencsv-1.8.jar                                                                 jarinbundle    apache2   
+opencsv_1.8.0.wso2v1.jar                                                        bundle         apache2   
+opensaml-1.1.406.jar                                                            jarinbundle    apache2   
+opensaml-2.4.1.jar                                                              jarinbundle    apache2   
+opensaml2_2.4.1.wso2v1.jar                                                      bundle         apache2   
+openstack-common_1.5.0.beta_5.jar                                               bundle         apache2   
+openstack-keystone_1.5.0.beta5wso2v1.jar                                        bundle         apache2   
+openstack-nova_1.5.0.beta5wso2v1.jar                                            bundle         apache2   
+openws-1.4.1.jar                                                                jarinbundle    apache2   
+org.apache.felix.gogo.command_0.8.0.v201108120515.jar                           bundle         apache2   
+org.apache.felix.gogo.runtime_0.8.0.v201108120515.jar                           bundle         apache2   
+org.apache.felix.gogo.shell_0.8.0.v201110170705.jar                             bundle         apache2   
+org.apache.jasper.glassfish_2.2.2.v201205150955.jar                             bundle         apache2   
+org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar                         bundle         epl1      
+org.eclipse.core.expressions_3.4.401.v20120627-124442.jar                       bundle         epl1      
+org.eclipse.core.jobs_3.5.300.v20120622-204750.jar                              bundle         epl1      
+org.eclipse.core.runtime_3.8.0.v20120521-2346.jar                               bundle         epl1      
+org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar                           bundle         epl1      
+org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar                             bundle         epl1      
+org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar     bundle         epl1      
+org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar                  bundle         epl1      
+org.eclipse.ecf_3.1.300.v20110531-2218.jar                                      bundle         epl1      
+org.eclipse.equinox.app_1.3.100.v20120522-1841.jar                              bundle         epl1      
+org.eclipse.equinox.common_3.6.100.v20120522-1841.jar                           bundle         epl1      
+org.eclipse.equinox.concurrent_1.0.300.v20120522-2049.jar                       bundle         epl1      
+org.eclipse.equinox.console_1.0.0.v20120522-1841.jar                            bundle         epl1      
+org.eclipse.equinox.ds_1.4.0.v20120522-1841.jar                                 bundle         epl1      
+org.eclipse.equinox.frameworkadmin.equinox_1.0.400.v20120428-0117.jar           bundle         epl1      
+org.eclipse.equinox.frameworkadmin_2.0.100.v20120606-175127.jar                 bundle         epl1      
+org.eclipse.equinox.http.helper_1.1.0.wso2v1.jar                                bundle         epl1      
+org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar                     bundle         epl1      
+org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049.jar                       bundle         epl1      
+org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar                           bundle         epl1      
+org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar                bundle         epl1      
+org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar                       bundle         epl1      
+org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar                            bundle         epl1      
+org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar                       bundle         epl1      
+org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar              bundle         epl1      
+org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar                        bundle         epl1      
+org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar                               bundle         epl1      
+org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar                  bundle         epl1      
+org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar                   bundle         epl1      
+org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar                  bundle         epl1      
+org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar             bundle         epl1      
+org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar                             bundle         epl1      
+org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar                            bundle         epl1      
+org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar              bundle         epl1      
+org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar                           bundle         epl1      
+org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar            bundle         epl1      
+org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar            bundle         epl1      
+org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar                 bundle         epl1      
+org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar                 bundle         epl1      
+org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar                         bundle         epl1      
+org.eclipse.equinox.preferences_3.5.0.v20120522-1841.jar                        bundle         epl1      
+org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar                         bundle         epl1      
+org.eclipse.equinox.security_1.1.100.v20120522-1841.jar                         bundle         epl1      
+org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657.jar     bundle         epl1      
+org.eclipse.equinox.simpleconfigurator_1.0.301.v20120828-033635.jar             bundle         epl1      
+org.eclipse.equinox.util_1.0.400.v20120522-2049.jar                             bundle         epl1      
+org.eclipse.osgi.services_3.3.100.v20120522-1822.jar                            bundle         epl1      
+org.eclipse.osgi_3.8.1.v20120830-144521.jar                                     bundle         epl1      
+org.jboss.netty_3.3.0.Final.jar                                                 bundle         apache2   
+org.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
+org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
+org.wso2.carbon.addressing_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.apache.jasper.fragment_4.1.0.jar                                bundle         apache2   
+org.wso2.carbon.application.deployer_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.authenticator.proxy_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.authenticator.stub_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.base_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.bootstrap-4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.caching.core_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.caching_4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.cartridge.messages_2.1.1.jar                                    bundle         apache2   
+org.wso2.carbon.cluster.mgt.core_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.coordination.common_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.coordination.core_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.coordination.server_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.core.bootup.validator_4.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.core.commons.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.core.common_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.core.services_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.core_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.databridge.agent.thrift_4.1.0.jar                               bundle         apache2   
+org.wso2.carbon.databridge.commons.thrift_4.1.0.jar                             bundle         apache2   
+org.wso2.carbon.databridge.commons_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.datasource_4.1.1.jar                                            bundle         apache2   
+org.wso2.carbon.ec2-client_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.endpoint_4.1.1.jar                                              bundle         apache2   
+org.wso2.carbon.event.admin_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.event.client.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.event.client_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.event.common_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.event.core_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.event.ws_4.1.0.jar                                              bundle         apache2   
+org.wso2.carbon.feature.mgt.core_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.feature.mgt.services_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.feature.mgt.stub_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.framework.exporter_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.i18n_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.jasper.patch_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.lb.common_4.1.3.jar                                             bundle         apache2   
+org.wso2.carbon.lb.endpoint_4.1.3.jar                                           bundle         apache2   
+org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub_4.1.3.jar        bundle         apache2   
+org.wso2.carbon.logging-4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.logging_4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.mediation.dependency.mgt_4.1.1.jar                              bundle         apache2   
+org.wso2.carbon.mediation.initializer_4.1.1.jar                                 bundle         apache2   
+org.wso2.carbon.mediation.registry_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.mediator.autoscale_4.1.3.jar                                    bundle         apache2   
+org.wso2.carbon.mediator.bridge-4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.mediator.clazz.services_4.1.0.jar                               bundle         apache2   
+org.wso2.carbon.mediator.command.services_4.1.0.jar                             bundle         apache2   
+org.wso2.carbon.mediator.event_4.1.1.jar                                        bundle         apache2   
+org.wso2.carbon.mediator.fastXSLT_4.1.1.jar                                     bundle         apache2   
+org.wso2.carbon.mediator.router.impl_4.1.1.jar                                  bundle         apache2   
+org.wso2.carbon.module.mgt_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.ndatasource.common_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.ndatasource.core_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.ndatasource.rdbms_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.ntask.common_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.ntask.core_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.ntask.solutions_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.operation.mgt_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.osgi.security_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.qpid.stub_4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.queuing_4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.registry.admin.api_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.registry.api_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.registry.common_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.registry.core_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.registry.resource.stub_4.1.0.jar                                bundle         apache2   
+org.wso2.carbon.registry.resource_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.registry.search.stub_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.registry.search_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.registry.server_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.registry.servlet_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.relay.mediators.builder_4.1.1.jar                               bundle         apache2   
+org.wso2.carbon.relay.module_4.1.1.jar                                          bundle         apache2   
+org.wso2.carbon.relay_4.1.1.jar                                                 bundle         apache2   
+org.wso2.carbon.remote-tasks.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.rm_4.1.0.jar                                                    bundle         apache2   
+org.wso2.carbon.roles.mgt.stub_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.roles.mgt_4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.securevault_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.security.mgt_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.sequences.common_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.sequences_4.1.1.jar                                             bundle         apache2   
+org.wso2.carbon.server-4.1.0.jar                                                bundle         apache2   
+org.wso2.carbon.server.admin.common_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.server.admin.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.server.admin_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.service.mgt_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.startup_4.1.1.jar                                               bundle         apache2   
+org.wso2.carbon.stratos.cloud.controller_2.1.3.jar                              bundle         apache2   
+org.wso2.carbon.task.services_4.1.1.jar                                         bundle         apache2   
+org.wso2.carbon.task_4.1.1.jar                                                  bundle         apache2   
+org.wso2.carbon.throttle_4.1.0.jar                                              bundle         apache2   
+org.wso2.carbon.tomcat.ext_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.tomcat.fragment.dummy_4.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.tomcat.patch_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.tomcat_4.1.0.jar                                                bundle         apache2   
+org.wso2.carbon.transport.https_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.transport.http_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.transport.local_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.transport.mgt_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.transport.nhttp_4.1.1.jar                                       bundle         apache2   
+org.wso2.carbon.transports.passthru_1.0.2.jar                                   bundle         apache2   
+org.wso2.carbon.user.api_4.1.0.jar                                              bundle         apache2   
+org.wso2.carbon.user.core_4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.user.mgt.common_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.user.mgt.stub_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.user.mgt_4.1.0.jar                                              bundle         apache2   
+org.wso2.carbon.utils_4.1.0.jar                                                 bundle         apache2   
+org.wso2.ciphertool-1.0.0-wso2v2.jar                                            bundle         apache2   
+org.wso2.securevault_1.0.0.wso2v2.jar                                           bundle         apache2   
+pdepublishing-ant.jar                                                           jar            epl1      
+pdepublishing.jar                                                               jar            epl1      
+poi-ooxml_3.5.0.wso2v1.jar                                                      bundle         apache2   
+poi-scratchpad_3.5.0.wso2v1.jar                                                 bundle         apache2   
+poi_3.5.0.wso2v1.jar                                                            bundle         apache2   
+quartz_2.1.1.wso2v1.jar                                                         bundle         apache2   
+rampart-1.6.1-wso2v1.mar                                                        bundle         apache2   
+rampart-core_1.6.1.wso2v8.jar                                                   bundle         apache2   
+rampart-policy_1.6.1.wso2v8.jar                                                 bundle         apache2   
+rampart-trust_1.6.1.wso2v8.jar                                                  bundle         apache2   
+rocoto_6.1.0.wso2v1.jar                                                         bundle         apache2   
+rome-1.0.jar                                                                    jarinbundle    unknown   
+sanselan-0.97-incubator.jar                                                     jarinbundle    unknown   
+saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
+shindig-common-r910768-wso2v5.jar                                               jarinbundle    apache2   
+shindig-features-r910768-wso2v5.jar                                             jarinbundle    apache2   
+shindig-gadgets-r910768-wso2v5.jar                                              jarinbundle    apache2   
+shindig-social-api-r910768-wso2v5.jar                                           jarinbundle    apache2   
+shindig_1.1.0.wso2v6.jar                                                        bundle         apache2   
+slf4j.api_1.6.4.jar                                                             bundle         mit       
+slf4j.log4j12_1.6.4.jar                                                         bundle         mit       
+synapse-commons_2.1.1.wso2v6.jar                                                bundle         apache2   
+synapse-core_2.1.1.wso2v6.jar                                                   bundle         apache2   
+synapse-extensions_2.1.1.wso2v6.jar                                             bundle         apache2   
+synapse-nhttp-transport_2.1.1.wso2v6.jar                                        bundle         apache2   
+synapse-tasks_2.1.1.wso2v6.jar                                                  bundle         apache2   
+tcpmon-1.0.jar                                                                  jar            apache2   
+tiles-jsp_2.0.5.wso2v1.jar                                                      bundle         apache2   
+tomcat-ha_7.0.34.wso2v1.jar                                                     bundle         apache2   
+tomcat-juli-7.0.34.jar                                                          jar            apache2   
+tomcat_7.0.34.wso2v1.jar                                                        bundle         apache2   
+tribes_7.0.28.wso2v1.jar                                                        bundle         apache2   
+vcloud_1.6.0.wso2v1.jar                                                         bundle         apache2   
+woden_1.0.0.M8-wso2v1.jar                                                       bundle         apache2   
+wsdl4j_1.6.2.wso2v4.jar                                                         bundle         cpl1      
+wss4j_1.5.11.wso2v5.jar                                                         bundle         apache2   
+wstx-1.0.7.jar                                                                  jarinbundle    unknown   
+xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
+xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
+xercesImpl-2.9.1.jar                                                            jarinbundle    unknown   
+xkms_2.4.0.wso2v1.jar                                                           bundle         apache2   
+xml-apis-1.3.04.jar                                                             jarinbundle    unknown   
+xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
+xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
+xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
+xmlParserAPIs-2.6.2.jar                                                         jarinbundle    unknown   
+XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
+xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
+xpp3_min-1.1.4c.jar                                                             jarinbundle    unknown   
+xstream-1.3.1.jar                                                               jarinbundle    unknown   
+
+
+
+The license types used by the above libraries and their information is given below:
+
+epl1           Eclipse Public License
+               http://www.eclipse.org/legal/epl-v10.html
+lgpl2          Lesser GPL v2.1
+               http://www.opensource.org/licenses/lgpl-2.1.php
+mpl11          Mozilla Public License 1.1
+               http://www.mozilla.org/MPL/MPL-1.1.html
+mpl10          Mozilla Public License 1.0
+               http://www.mozilla.org/MPL/
+mit            MIT License
+               http://www.opensource.org/licenses/mit-license.php
+unknown        
+               unknown
+cddl1          Common Development and Distribution License
+               http://www.opensource.org/licenses/cddl1.php
+cddl+gpl       CDDL + GPLv2
+               https://glassfish.dev.java.net/public/CDDL+GPL.html
+cpl1           Common Public License 1.0
+               http://www.eclipse.org/legal/cpl-v10.html
+json           JSON.org License
+               null
+jsmon          ThoughtWorks Javasysmon License
+               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
+jdom           JDOM License - Apache Styled
+               null
+apache2        Apache License Version 2.0
+               http://www.apache.org/licenses/LICENSE-2.0.html
+icu            ICU License
+               http://source.icu-project.org/repos/icu/icu/trunk/license.html
+bsd            Berkeley License
+               http://www.opensource.org/licenses/bsd-license.php
+bouncy         Bouncy Castle License
+               http://www.bouncycastle.org/licence.html
+public         Public Domain
+               http://creativecommons.org/licenses/publicdomain/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/README.txt
----------------------------------------------------------------------
diff --git a/products/elb/README.txt b/products/elb/README.txt
new file mode 100755
index 0000000..352eccd
--- /dev/null
+++ b/products/elb/README.txt
@@ -0,0 +1,147 @@
+================================================================================
+                        WSO2 Elastic Load Balancer 2.0.5
+================================================================================
+
+Welcome to the WSO2 Elastic Load Balancer 2.0.5 release
+
+WSO2 ELB is a lightweight and easy-to-use Open Source Elastic Load Balancer
+(ELB) available under the Apache Software License v2.0. WSO2 ELB allows
+administrators to simply configure message load balancing, failover routing,
+and auto scaling. The runtime has been designed to be completely
+asynchronous, non-blocking and streaming based on the Apache Synapse core.
+
+This is based on the revolutionary WSO2 Carbon [Middleware a' la carte]
+framework. All the major features have been developed as pluggable Carbon
+components. WSO2 Elastic Load Balancer is a compact version doing the load balancing
+features of WSO2 Enterprise Service Bus.
+
+
+Key Features of WSO2 ELB
+========================
+
+1. Non-blocking HTTP/S transports based on Apache HttpCore for ultra fast
+   execution and support for thousands of connections at high concurrency with
+   constant memory usage. Integrated high performing, Passthrough Transport. 
+2. Load-balancing (with or without sticky sessions)/Fail-over, and clustered
+   Throttling and Caching support.
+3. Automatically scaling the system according to the number of requests in-flight for
+   a particular service cluster - "Scale up early, scale down slowly".
+4. Service aware dynamic load balancing - A single load balancer
+   can centrally manage the load across the nodes of different service clusters.
+5. Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
+   Tenants can be partitioned to different service clusters.
+6. Lightweight, XML and Web services centric messaging model.
+7. Administrator friendly - Configurations are simple and easy.
+
+System Requirements
+==================================
+
+1. Minimum memory - 1.5GB
+2. Processor      - Pentium 800MHz or equivalent at minimum
+3. Java SE Development Kit 1.6.0_24 or higher
+
+Installation & Running
+==================================
+
+1. Extract the wso2elb-2.0.5.zip and go to the extracted directory
+2. Run the wso2server.sh or wso2server.bat as appropriate
+3. Configure the load balancer to manage the load across the instants to be balanced.
+
+WSO2 ELB 2.0.5 distribution directory structure
+===============================================
+
+    CARBON_HOME
+	|- bin <folder>
+    |- dbscripts <folder>
+	|- lib <folder>
+	|- repository <folder>
+	|- tmp <folder>
+	|- LICENSE.txt <file>
+	|- README.txt <file>
+	|- INSTALL.txt <file>		
+	|- release-notes.html <file>
+
+    - bin
+	  Contains various scripts, .sh & .bat files
+
+    - dbscripts
+    Contains all the database scripts
+
+    - lib
+	  Contains the basic set of libraries required to startup ELB
+	  in standalone mode
+
+    - repository
+	  The repository where services and modules deployed in WSO2 ELB
+	  are stored. In addition to this, the components directory inside the
+	  repository directory contains the carbon runtime and the user added
+	  jar files including mediators, third party libraries etc. All
+	  global and LB specific configuration files, generated log files
+	  and other deployed artifacts are also housed under this directory.
+
+    - tmp
+	  Used for storing temporary files, and is pointed to by the
+	  java.io.tmpdir System property
+
+    - LICENSE.txt
+	  Apache License 2.0 and the relevant other licenses under which
+	  WSO2 ELB is distributed.
+
+    - README.txt
+	  This document.
+
+    - INSTALL.txt
+      This document will contain information on installing WSO2 ELB
+
+    - release-notes.html
+	  Release information for WSO2 ELB 2.0.5
+
+Support
+==================================
+
+WSO2 Inc. offers a variety of development and production support
+programs, ranging from Web-based support up through normal business
+hours, to premium 24x7 phone support.
+
+For additional support information please refer to http://wso2.com/support/
+
+For more information on WSO2 ELB, visit the WSO2 Oxygen Tank (http://wso2.org)
+
+Issue Tracker
+==================================
+
+  https://wso2.org/jira/browse/CARBON
+  https://wso2.org/jira/browse/LB
+
+Crypto Notice
+==================================
+
+   This distribution includes cryptographic software.  The country in
+   which you currently reside may have restrictions on the import,
+   possession, use, and/or re-export to another country, of
+   encryption software.  BEFORE using any encryption software, please
+   check your country's laws, regulations and policies concerning the
+   import, possession, or use, and re-export of encryption software, to
+   see if this is permitted.  See <http://www.wassenaar.org/> for more
+   information.
+
+   The U.S. Government Department of Commerce, Bureau of Industry and
+   Security (BIS), has classified this software as Export Commodity
+   Control Number (ECCN) 5D002.C.1, which includes information security
+   software using or performing cryptographic functions with asymmetric
+   algorithms.  The form and manner of this Apache Software Foundation
+   distribution makes it eligible for export under the License Exception
+   ENC Technology Software Unrestricted (TSU) exception (see the BIS
+   Export Administration Regulations, Section 740.13) for both object
+   code and source code.
+
+   The following provides more details on the included cryptographic
+   software:
+
+   Apache Rampart   : http://ws.apache.org/rampart/
+   Apache WSS4J     : http://ws.apache.org/wss4j/
+   Apache Santuario : http://santuario.apache.org/
+   Bouncycastle     : http://www.bouncycastle.org/
+
+--------------------------------------------------------------------------------
+(c) Copyright 2013 WSO2 Inc.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/docs/xdoc/release-notes.xml
----------------------------------------------------------------------
diff --git a/products/elb/docs/xdoc/release-notes.xml b/products/elb/docs/xdoc/release-notes.xml
new file mode 100644
index 0000000..a685c02
--- /dev/null
+++ b/products/elb/docs/xdoc/release-notes.xml
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+
+<!DOCTYPE html
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+      <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
+      <title>WSO2 ELB v2.0.5 Release </title>
+  </head>
+  <body>
+  <div id="header">
+</div>
+
+<div id="main-content">
+<h1>The WSO2 Elastic Load Balancer (ELB) 2.0.5 Release - 12th June 2013!</h1>
+
+<p>
+    The WSO2 ELB team is pleased to announce the release of version 2.0.5 of
+    the Open Source Elastic Load Balancer (ELB).
+</p>
+
+<p>
+    WSO2 ELB is a fast, lightweight and user friendly open source Elastic Load Balancer (ELB)
+    distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache
+    Software License v2.0</a>. WSO2 ELB allows system administrators and developers to
+    easily configure fail over routing, load balancing, service aware load balancing, 
+    tenant aware load balancing and dynamic load balancing with auto scaling.The ELB runtime 
+    is designed to be completely asynchronous, non-blocking and streaming based on the 
+    <a href="http://synapse.apache.org">Apache Synapse</a> mediation engine.
+</p>
+
+<p>
+    WSO2 ELB 2.0.5 is developed on top of the revolutionary
+    <a href="http://wso2.org/projects/carbon">WSO2 Carbon platform</a> (Middleware a' la carte),
+    an OSGi based framework that provides seamless modularity to your SOA via
+    componentization. This release also contains many new features and a range of optional
+    components (add-ons) that can be installed to customize the behavior of the ELB. Further, any
+    existing features of the ELB which are not required to your environment can be easily
+    removed using the underlying provisioning framework of Carbon. In brief, WSO2 ELB can
+    be fully customized and tailored to meet your exact SOA needs.
+</p>
+
+<p>
+    You can download this distribution from <a href="http://wso2.com/products/elastic-load-balancer/">
+    http://wso2.com/products/elastic-load-balancer/</a> our product page and give it a try.</p>
+
+<h2>How to Run </h2>
+<ol>
+  <li>Extract the downloaded zip</li>
+  <li>Go to the bin directory in the extracted folder</li>
+  <li>Run the wso2server.sh or wso2server.bat as appropriate</li>
+  <li>Configure the load balancer to manage the load across the instances to be balanced.</li>
+  <li>If you need to start the OSGi console with the server use the property
+    -DosgiConsole when starting the server. The INSTALL.txt file found on the
+    installation directory will give you a comprehensive set of options and
+    properties that can be passed into the startup script</li>
+</ol>
+
+<h2>Key Features of WSO2 ELB</h2>
+<ul>
+  <li>Non-blocking HTTP/S transports based on Apache HttpCore-NIO for ultra-fast
+   execution and support for thousands of connections at high concurrency with
+   constant memory usage. Integrated high performing, Passthrough Transport.</li>
+  <li>Load-balancing (with or without sticky sessions)/Fail-over, and clustered
+   Throttling and Caching support</li>
+  <li>Lightweight, XML and Web services centric messaging model</li>
+  <li>Automatically scaling the system according to the number of requests in-flight for 
+   a particular service cluster - "Scale up early, scale down slowly"
+  </li>
+  <li>Service aware dynamic load balancing - A single load balancer
+   can centrally manage the load across the nodes of different service clusters.
+  </li>
+  <li>Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
+   Tenants can be partitioned to different service clusters.
+</ul>
+
+<h2>Known Issues</h2>
+<p>
+    All the open issues pertaining to WSO2 ELB 2.0.5 are reported at following
+    locations:
+</p>
+
+<ul>
+    <li>
+        <a href="http://goo.gl/W8KYs">
+            Open ELB issues
+        </a>
+    </li>
+</ul>
+
+    <h2>Release 2.0.5</h2>
+    <p>Change Log: This release brings out the autoscaling support for ELB and also contains fixes for some critical issues.</p>
+    <ol>
+        <li>LB-17 - SSO Enables deployment does not work with load balancer.</li>
+        <li>LB-31 - No response code in the access log.</li>
+        <li>LB-37 - Browser tries to save the page sent via LB time to time rather than display it.</li>
+        <li>LB-51 - Disable management console in LB and do not print mgmt console URL at startup.</li>
+        <li>LB-52 - When member leaves the cluster, session continued to bind to that cluster member.</li>
+        <li>LB-55 - Make autoscaling algorithm configurable.</li>
+        <li>LB-64 - Failover is broken in ELB.</li>
+        <li>LB-65 - If one member of a cluster is going off and during that time, the requests redirected to that member by the load balancer, will be failed with a timeout, until the load balancer gets updated that this member has left cluster.</li>
+        <li>LB-66 - Embed Cloud Controller Service aka Autoscaler Service into ELB.</li>
+    </ol>
+
+<h2>How You Can Contribute</h2>
+    <h3>
+      Mailing Lists
+    </h3>
+    <p>
+      Join our mailing list and correspond with the developers directly.
+    </p>
+    <ul>
+      <li>
+        Developer List : <a href="mailto:dev@wso2.org">dev@wso2.org</a>
+        | <a href="mailto:dev-request@wso2.org?subject=subscribe">Subscribe</a>
+        | <a href="http://wso2.org/mailarchive/carbon-dev/">Mail Archive</a>
+      </li>
+    </ul>
+    <h3>
+      Reporting Issues
+    </h3>
+    <p>
+      We encourage you to report issues, documentation faults and feature requests regarding
+      WSO2 ELB through the public <a href="https://wso2.org/jira/browse/LB">ELB JIRA</a>. You
+      can use the <a href="https://wso2.org/jira/browse/CARBON">Carbon JIRA</a> to report any
+      issues related to the Carbon base framework or associated Carbon components.
+    </p>
+
+    <h3>
+      Discussion Forums
+    </h3>
+    <p>
+      Alternatively, questions could be raised using <a href="http://stackoverflow.com/questions/tagged/wso2">StackOverflow</a> website.
+    </p>
+
+<h2>Support</h2>
+<p>
+    We are committed to ensuring that your enterprise middleware deployment is
+    completely supported from evaluation to production. Our unique approach
+    ensures that all support leverages our open development methodology and is
+    provided by the very same engineers who build the technology.
+</p>
+<p>
+    For more details and to take advantage of this unique opportunity please
+    visit <a href="http://wso2.com/support">http://wso2.com/support</a>.
+</p>
+
+<p><i>-- The WSO2 ELB Team --</i> </p>
+</div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/modules/distribution/pom.xml b/products/elb/modules/distribution/pom.xml
new file mode 100755
index 0000000..3a9228e
--- /dev/null
+++ b/products/elb/modules/distribution/pom.xml
@@ -0,0 +1,595 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+        
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <parent>
+        <groupId>org.wso2.elb</groupId>
+        <artifactId>elb-parent</artifactId>
+        <version>2.0.5</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>wso2elb</artifactId>
+    <packaging>pom</packaging>
+    <name>WSO2 ELB - Distribution</name>
+    <url>http://wso2.org/projects/load-balancer</url>
+    <description>WSO2 Elastic Load Balancer Distribution</description>
+
+    <dependencies>
+
+        <!-- Carbon core distribution -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>wso2carbon-core</artifactId>
+            <version>${carbon.kernel.version}</version>
+            <type>zip</type>
+        </dependency>
+
+        <!-- Synapse dependencies -->
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-commons</artifactId>
+            <version>2.1.1-wso2v4</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-nhttp-transport</artifactId>
+            <version>2.1.1-wso2v4</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-pipe-transport</artifactId>
+            <version>2.1.1-wso2v4</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-core</artifactId>
+            <version>2.1.1-wso2v4</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-tasks</artifactId>
+            <version>2.1.1-wso2v4</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-extensions</artifactId>
+            <version>2.1.1-wso2v4</version>
+        </dependency>
+
+        <!-- Carbon mediation initializer -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.initializer</artifactId>
+            <version>4.1.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.bridge</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+	      <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.dependency.mgt</artifactId>
+            <version>4.1.1</version>
+        </dependency>
+
+        
+        <!-- ### Required Carbon components ### -->
+        <!-- Transport managament components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Transport components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.http</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.nhttp</artifactId>
+            <version>4.1.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.https</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.mail</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Sequence management components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.service</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.sequences.common</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.sequences</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.router.impl</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.clazz.services</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.command.services</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        
+         <!--Entitlement mediator dependency -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.identity.entitlement.mediator</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        
+         <!--OAuth mediator dependency -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.identity.oauth.mediator</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+        <!--Drools dependency-->
+        <dependency>
+            <groupId>org.drools.wso2</groupId>
+            <artifactId>drools</artifactId>
+            <version>5.0.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>jsr94.wso2</groupId>
+            <artifactId>jsr94</artifactId>
+            <version>1.1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.mvel.wso2</groupId>
+            <artifactId>mvel2</artifactId>
+            <version>2.0.10.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>joda-time.wso2</groupId>
+            <artifactId>joda-time</artifactId>
+            <version>1.6.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.antlr.wso2</groupId>
+            <artifactId>antlr-runtime</artifactId>
+            <version>3.1.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>janino.wso2</groupId>
+            <artifactId>janino</artifactId>
+            <version>2.5.15.wso2v1</version>
+        </dependency>
+        <!-- Endpoints component -->
+	      <!--dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.endpoint.common</artifactId>
+            <version>${carbon.version}</version>
+        </dependency-->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.endpoint</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Local Entries component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.localentry</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Service management component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.service.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Operation management component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.operation.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Module Management component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.module.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Security components (orbit) -->
+         <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-policy</artifactId>
+            <version>1.6.1.wso2v1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-trust</artifactId>
+            <version>1.6.1.wso2v1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-core</artifactId>
+            <version>1.6.1.wso2v1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart</artifactId>
+            <type>mar</type>
+            <version>1.6.1-wso2v1</version>
+        </dependency>
+        
+        <!-- Policy Editor component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.policyeditor</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Task component with startups -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.startup</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.task</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.task.services</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Synapse Config admin component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.configadmin</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Synapse Registry component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.registry</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Datasources component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.datasource</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Throttle component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.throttle</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Caching component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.caching</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- RM component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.rm</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Eventing components -->
+        <!--dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing.core</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing.impl</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing.broker</artifactId>
+            <version>${carbon.version}</version>
+        </dependency-->
+        <!-- Eventsource component.-->
+	      <!-- Removed since this is not required by LB product.-->
+        <!--dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing.eventsource</artifactId>
+            <version>${carbon.version}</version>
+        </dependency-->
+        <!-- Menus -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.ui.menu.registry</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- ### Required Carbon orbit dependencies ### -->
+        <dependency>
+            <groupId>org.apache.geronimo.specs.wso2</groupId>
+            <artifactId>geronimo-jms_1.1_spec</artifactId>
+            <version>1.1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.andes.wso2</groupId>
+            <artifactId>andes-client</artifactId>
+            <version>0.13.wso2v8</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-net.wso2</groupId>
+            <artifactId>commons-net</artifactId>
+            <version>2.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>jsch.wso2</groupId>
+            <artifactId>jsch</artifactId>
+            <version>0.1.41-wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents.wso2</groupId>
+            <artifactId>httpcore-nio</artifactId>
+            <version>4.2.3.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.quartz-scheduler.wso2</groupId>
+            <artifactId>quartz</artifactId>
+            <version>2.1.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.codehaus.woodstox</groupId>
+            <artifactId>wstx-asl</artifactId>
+            <version>3.2.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+            <version>1.0.1</version>
+        </dependency>
+        <dependency>
+            <groupId>net.sf.saxon.wso2</groupId>
+            <artifactId>saxon</artifactId>
+            <version>8.9.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.abdera.wso2</groupId>
+            <artifactId>abdera</artifactId>
+            <version>1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.ws.wso2</groupId>
+            <artifactId>spring.framework</artifactId>
+            <version>2.5.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-io.wso2</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>2.0.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-collections.wso2</groupId>
+            <artifactId>commons-collections</artifactId>
+            <version>3.2.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.savan.wso2</groupId>
+            <artifactId>savan-core</artifactId>
+            <version>1.0.0-wso2v2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.caching</groupId>
+            <artifactId>wso2caching-core</artifactId>
+            <version>3.5.0</version>
+        </dependency>
+        <!--Bouncycastle dependency for clients and servers-->
+        <dependency>
+            <groupId>bouncycastle</groupId>
+            <artifactId>bcprov-jdk15</artifactId>
+            <version>132</version>
+        </dependency>
+
+        <!-- autoscale components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.autoscale</artifactId>
+            <version>4.0.3</version>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.discovery.core</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.relay</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0-alpha-4</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>unpack-wso2carbon</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.wso2.carbon</groupId>
+                                    <artifactId>wso2carbon-core</artifactId>
+                                    <version>${carbon.kernel.version}</version>
+                                    <type>zip</type>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>target</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.1</version>
+                <executions>
+                    <execution>
+                        <id>extract-docs-from-components</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <property name="tempdir" value="target/docs-temp"/>
+                                <mkdir dir="${tempdir}"/>
+                                <unzip dest="${tempdir}">
+                                    <fileset dir="target">
+                                        <include name="${project.artifactId}-${project.version}.zip"/>
+                                    </fileset>
+                                </unzip>
+                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/" overwrite="false">
+                                    <fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components/">
+                                    </fileset>
+                                </copy>
+                                <delete file="target/${project.artifactId}-${project.version}.zip"/>
+                                <delete dir="${tempdir}"/>
+                                <mkdir dir="${tempdir}"/>
+                                <unzip dest="${tempdir}">
+                                    <fileset dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/">
+                                        <include name="*.ui*.jar"/>
+                                    </fileset>
+                                </unzip>
+                                <move todir="${tempdir}/web/" includeemptydirs="false">
+                                    <fileset dir="${tempdir}/web/">
+                                        <exclude name="**/yui/**"/>
+                                        <exclude name="**/ajax/**"/>
+                                        <exclude name="**/WEB-INF/**"/>
+                                        <include name="**/*.html"/>
+                                    </fileset>
+                                    <mapper type="glob" from="*.html" to="*.xml"/>
+                                </move>
+                                <delete dir="${tempdir}"/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>clean_target</id>
+                        <phase>install</phase>
+                        <configuration>
+                            <tasks>
+                                <delete dir="target/archive-tmp"/>
+                                <delete dir="target/dependency-maven-plugin-markers"/>
+                                <delete dir="target/maven-archiver"/>
+                                <delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
+                                <delete dir="target/sources"/>
+                                <delete dir="target/site"/>
+                                <delete dir="src/site"/>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>   
+
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>pre_dist</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                        <configuration>
+                            <filters>
+                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
+                            </filters>
+                            <descriptors>
+                                <descriptor>src/main/assembly/dist.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>dist</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                        <configuration>
+                            <filters>
+                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
+                            </filters>
+                            <descriptors>
+                                <descriptor>src/main/assembly/bin.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    
+</project>


[7/9] applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/log4j.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/log4j.properties b/products/elb/2.0.4/modules/distribution/src/main/conf/log4j.properties
deleted file mode 100644
index d13ffc0..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/log4j.properties
+++ /dev/null
@@ -1,132 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-##
-# This is the log4j configuration file used by WSO2 ESB
-# =====================================================
-#
-# IMPORTANT : Please do not remove or change the names of any of the Appenders defined here.
-# The layout pattern & log file can be changed using the WSO2 ESB Management Console, and those
-# settings will override the settings in this file.
-##
-
-##
-# WSO2 ESB is now able to create per-service trace logs at runtime. Thus while a message
-# is being processed through a Proxy service or the Synapse service (i.e. message mediation through
-# the 'main' sequence), tracing may be turned 'on' at any Proxy, Sequence or Mediator level. This
-# trace state 'flows' with the message - i.e from a trace enabled sequence to another sequence etc.
-# and applies to all mediators within a trace enabled sequence etc. unless another sequence or
-# mediator does not override and specify a different trace setting.
-##
-
-# the root category is ERROR (applies for all 3rd party JARs etc) and will be logged to the
-# LOG_APPENDER and the CONSOLE_APPENDER
-
-log4j.rootLogger=ERROR, CARBON_CONSOLE, CARBON_LOGFILE, ERROR_LOGFILE
-
-log4j.category.org.apache.synapse=INFO
-log4j.category.org.apache.synapse.transport=INFO
-log4j.category.org.apache.axis2=INFO
-log4j.category.org.apache.axis2.transport=INFO
-log4j.logger.com.atomikos=INFO,ATOMIKOS
-log4j.logger.org.quartz=WARN
-log4j.logger.org.wso2=INFO
-log4j.logger.org.wso2.carbon=INFO
-
-log4j.logger.org.apache.catalina=WARN
-log4j.logger.org.apache.synapse.endpoints.EndpointContext=ERROR
-log4j.logger.org.apache.coyote=WARN
-log4j.logger.org.apache.axis2.enterprise=FATAL
-log4j.logger.de.hunsicker.jalopy.io=FATAL
-
-# uncomment the following logs to see HTTP headers and messages
-# nhttp case
-#log4j.logger.org.apache.synapse.transport.nhttp.headers=DEBUG
-#log4j.logger.org.apache.synapse.transport.nhttp.wire=DEBUG
-# passthru case
-#log4j.logger.org.apache.synapse.transport.passthru.headers=DEBUG
-#log4j.logger.org.apache.synapse.transport.passthru.wire=DEBUG
-
-#nhttp accesslogs
-#log4j.logger.org.apache.synapse.transport.nhttp.access=INFO
-
-#passthru access logs
-log4j.logger.org.apache.synapse.transport.passthru.access=INFO
-
-# qpid related logs for the message broker
-log4j.logger.qpid=FATAL
-log4j.logger.org.apache.qpid=FATAL
-
-# The console appender is used to display general information at console
-log4j.appender.CARBON_CONSOLE=org.apache.log4j.ConsoleAppender
-log4j.appender.CARBON_CONSOLE.layout=org.apache.log4j.PatternLayout
-log4j.appender.CARBON_CONSOLE.layout.ConversionPattern=[%d{ISO8601}] %5p - %c{1} %m%n
-
-# Configure the service logger at INFO level. Writes only run-time/mediation-time audit messages
-log4j.category.SERVICE_LOGGER=INFO, SERVICE_APPENDER
-log4j.additivity.SERVICE_LOGGER=false
-log4j.appender.SERVICE_APPENDER=org.apache.log4j.RollingFileAppender
-log4j.appender.SERVICE_APPENDER.File=repository/logs/${instance.log}/wso2-elb${instance.log}.log
-log4j.appender.SERVICE_APPENDER.MaxFileSize=1000KB
-log4j.appender.SERVICE_APPENDER.MaxBackupIndex=10
-log4j.appender.SERVICE_APPENDER.layout=org.apache.log4j.PatternLayout
-log4j.appender.SERVICE_APPENDER.layout.ConversionPattern=%d{ISO8601} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
-
-# The trace logger dumps enough information @INFO level, but maybe pushed upto TRACE.
-# Writes only run-time/mediation time tracing/debug messages for messages passing through trace
-# enabled sequences, mediators and services. Enabling tracing on these has a performance impact
-log4j.category.TRACE_LOGGER=INFO, TRACE_APPENDER
-log4j.additivity.TRACE_LOGGER=false
-log4j.appender.TRACE_APPENDER=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.TRACE_APPENDER.File=repository/logs/${instance.log}/wso2-elb-trace${instance.log}.log
-log4j.appender.TRACE_APPENDER.Append=true
-log4j.appender.TRACE_APPENDER.layout=org.apache.log4j.PatternLayout
-log4j.appender.TRACE_APPENDER.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
-
-# CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
-log4j.appender.CARBON_LOGFILE=org.apache.log4j.DailyRollingFileAppender
-# Log file will be overridden by the configuration setting in the DB
-# This path should be relative to WSO2 Carbon Home
-log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log
-log4j.appender.CARBON_LOGFILE.Append=true
-log4j.appender.CARBON_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-# ConversionPattern will be overridden by the configuration setting in the DB
-log4j.appender.CARBON_LOGFILE.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
-log4j.appender.CARBON_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
-log4j.appender.CARBON_LOGFILE.threshold=DEBUG
-
-# The standard error log where all the warnings, errors and fatal errors will be logged
-log4j.appender.ERROR_LOGFILE=org.apache.log4j.FileAppender
-log4j.appender.ERROR_LOGFILE.File=repository/logs/${instance.log}/wso2-elb-errors.log
-log4j.appender.ERROR_LOGFILE.layout=org.apache.log4j.PatternLayout
-log4j.appender.ERROR_LOGFILE.layout.ConversionPattern=%d{ISO8601} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
-log4j.appender.ERROR_LOGFILE.threshold=WARN
-
-log4j.logger.org.apache.directory.shared.ldap=WARN, CARBON_CONSOLE
-log4j.logger.org.apache.directory.server.ldap.handlers=WARN, CARBON_CONSOLE
-log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=FATAL, CARBON_CONSOLE
-log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR, CARBON_CONSOLE
-log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=ERROR, CARBON_CONSOLE
-
-# Appender config to send Atomikos transaction logs to new log file tm.out.
-log4j.appender.ATOMIKOS = org.apache.log4j.RollingFileAppender
-log4j.appender.ATOMIKOS.File = repository/logs/tm.out
-log4j.appender.ATOMIKOS.Append = true
-log4j.appender.ATOMIKOS.layout = org.apache.log4j.PatternLayout
-log4j.appender.ATOMIKOS.layout.ConversionPattern=%p %t %c - %m%n
-log4j.additivity.com.atomikos=false
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/nhttp.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/nhttp.properties b/products/elb/2.0.4/modules/distribution/src/main/conf/nhttp.properties
deleted file mode 100644
index 0ad3e44..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/nhttp.properties
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-# This file contains the configuration parameters used by the Non-blocking HTTP transport
-
-#http.socket.timeout=60000
-#nhttp_buffer_size=8192
-#http.tcp.nodelay=1
-#http.connection.stalecheck=0
-
-# Uncomment the following property for an AIX based deployment
-#http.nio.interest-ops-queueing=true
-
-# HTTP Sender thread pool parameters
-#snd_t_core=20
-#snd_t_max=100
-#snd_alive_sec=5
-#snd_qlen=-1
-#snd_io_threads=2
-
-# HTTP Listener thread pool parameters
-#lst_t_core=20
-#lst_t_max=100
-#lst_alive_sec=5
-#lst_qlen=-1
-#lst_io_threads=2

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/passthru-http.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/passthru-http.properties b/products/elb/2.0.4/modules/distribution/src/main/conf/passthru-http.properties
deleted file mode 100644
index f39efa3..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/passthru-http.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-## This file contains the configuration parameters used by the Pass-through HTTP transport
-
-## Pass-through HTTP transport specific tuning parameters 
-force.passthrough.builder=false
-worker_pool_size_core=400
-worker_pool_size_max=500
-#worker_thread_keepalive_sec=60
-#worker_pool_queue_length=-1
-#io_threads_per_reactor=2
-io_buffer_size=16384
-#http.max.connection.per.host.port=32767
-
-## Other parameters
-#http.user.agent.preserve=false
-#http.server.preserve=true
-#http.connection.disable.keepalive=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/rule-component.conf
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/rule-component.conf b/products/elb/2.0.4/modules/distribution/src/main/conf/rule-component.conf
deleted file mode 100644
index 1bd6c09..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/rule-component.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-<RuleServer>
-    <RuleEngineProvider class="org.wso2.carbon.rule.engine.jsr94.JSR94BackendRuntimeFactory"/>
-</RuleServer>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/registry.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/registry.xml b/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/registry.xml
deleted file mode 100644
index b19a4c8..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/registry.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!-- Registry declaration of the WSO2 ESB -->
-<registry xmlns="http://ws.apache.org/ns/synapse" provider="org.wso2.carbon.mediation.registry.WSO2Registry">
-    <!--all resources loaded from the URL registry would be
-    cached for this number of milliseconds -->
-    <parameter name="cachableDuration">15000</parameter>
-</registry>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml b/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml
deleted file mode 100644
index 62c31a6..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-    <sequence name="errorHandler" xmlns="http://ws.apache.org/ns/synapse">
-	<log level="full">
-        	<property name="MESSAGE" value="Executing default 'fault' sequence"/>
-        	<property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
-        	<property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
-    	</log>
-        <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
-            <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
-        </makefault>
-        <send/>
-    </sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml b/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml
deleted file mode 100644
index 1192bbd..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!-- Default fault sequence shipped with the Apache Synapse -->
-<sequence xmlns="http://ws.apache.org/ns/synapse" name="fault">
-
-    <!-- Log the message at the full log level with the ERROR_MESSAGE and the ERROR_CODE-->
-    <!-- log level="full">
-        <property name="MESSAGE" value="Executing default 'fault' sequence"/>
-        <property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
-        <property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
-    </log -->
-
-    <!-- Drops the messages by default if there is a fault -->
-    <script language="js"><![CDATA[
-        mc.setPayloadXML(
-           <{mc.getProperty("SERVICENAME")}Response xmlns="org.wso2.gateway">
-            <Timestamp>{new Date()}</Timestamp>
-            <Ack>Failure</Ack>
-            <Errors>
-             <ShortMessage>Gateway Error</ShortMessage>
-             <LongMessage>{mc.getProperty("ERROR_MESSAGE")}</LongMessage>
-             <ErrorCode>500</ErrorCode>
-             <SeverityCode>Error</SeverityCode>
-             <ErrorClassification>RequestError</ErrorClassification>
-            </Errors>
-            <ServiceName>{mc.getProperty("SERVICENAME")}</ServiceName>
-            <ResponseCode>{mc.getProperty("HTTP_SC")}</ResponseCode>
-            <ContentType>{mc.getProperty("Content-Type")}</ContentType>
-            <Version>1.5.1</Version>
-           </{mc.getProperty("SERVICENAME")}Response>
-        );
-      ]]></script>
-    <switch source="get-property('ERROR_CODE')">
-        <case regex="101504">   <!-- TIMEOUT ERROR -->
-            <property name="HTTP_SC" value="504" scope="axis2"/>
-            <sequence key="seq_timeout"/>
-        </case>
-        <case regex="303001">
-            <property name="HTTP_SC" value="503" scope="axis2"/>
-            <sequence key="seq_endpoint_down"/>
-        </case>
-        <case regex="111503">
-            <property name="HTTP_SC" value="503" scope="axis2"/>
-            <sequence key="seq_endpoint_down"/>
-        </case>
-        <default>
-            <property name="HTTP_SC" value="500" scope="axis2"/>
-        </default>
-    </switch>
-    <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/>
-    <header name="To" action="remove"/>
-    <property name="RESPONSE" value="true"/>
-    <property name="messageType" value="text/xml" scope="axis2"/>
-    <property name="ContentType" value="text/xml" scope="axis2"/>
-
-    <send/>
-
-</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml b/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml
deleted file mode 100644
index e8ead4a..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml
+++ /dev/null
@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!-- Default main sequence shipped with the WSO2 ESB -->
-<sequence xmlns="http://ws.apache.org/ns/synapse" name="main" onError="fault">
-    <description>The main sequence for the message mediation</description>
-
-    <in>
-        <property name="REQUEST_HOST_HEADER" expression="$trp:host" scope="axis2"/>
-        <property name="SERVICE_PREFIX" expression="$axis2:SERVICE_PREFIX"/>
-        <send>
-            <!--endpoint name="sdlbEndpoint">
-                <session type="http">-->
-                    <!-- Session timout is 15mins-->
-                    <!--sessionTimeout>900000</sessionTimeout>
-                </session>
-                <serviceDynamicLoadbalance failover="true"
-                                           algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin"
-                                           configuration="$system:loadbalancer.xml"/>
-            </endpoint>
-            -->
-	          <!--endpoint name="tenantAwareLBEndpoint">
-                <class name ="org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint">
-                     <parameter name="algorithm"> org.apache.synapse.endpoints.algorithms.RoundRobin</parameter>
-                     <parameter name="configuration">$system:loadbalancer.conf</parameter>
-                     <parameter name="failover">true</parameter>          
-                     <parameter name="sessionTimeout">900000</parameter>
-  	            </class>
- 	          </endpoint-->
-        </send>
-        <drop/>
-    </in>
-
-    <out>
-        <!-- Handling status codes: 301, 302 Redirection -->
-        <filter source="$trp:Location" regex=".+">
-            <property name="LB_SP_Host" expression="$ctx:SERVICE_PREFIX"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
-
-            <property name="LB_Location_Protocol" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="1"/>
-            <property name="LB_Location_Host" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
-            <property name="LB_Location_Path" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="4"/>
-
-            <!--<log level="custom">
-               <property name="ameera-ocation" expression="$trp:Location"/>
-               <property name="ameera-sprefix" expression="$ctx:SERVICE_PREFIX"/>
-           </log>-->
-
-            <filter xpath="fn:lower-case($ctx:LB_SP_Host)=fn:lower-case($ctx:LB_Location_Host)">
-                <then>
-                    <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
-                        <case regex="https://">
-                            <property name="Location"
-                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                      scope="transport"/>
-                        </case>
-                        <case regex="http://">
-                            <property name="Location"
-                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                      scope="transport"/>
-                        </case>
-                    </switch>
-                </then>
-
-                <else>
-                    <filter xpath="$ctx:LB_REQUEST_HOST=fn:lower-case($ctx:LB_Location_Host)">
-                        <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
-                            <case regex="https://">
-                                <property name="Location"
-                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                          scope="transport"/>
-                            </case>
-                            <case regex="http://">
-                                <property name="Location"
-                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                          scope="transport"/>
-                            </case>
-                        </switch>
-                    </filter>
-                </else>
-            </filter>
-        </filter>
-
-        <!-- Send the messages where they have been sent (i.e. implicit To EPR) -->
-        <property name="messageType" value="text/html" scope="axis2"/>
-        <send/>
-        <drop/>
-    </out>
-
-</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml b/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml
deleted file mode 100755
index f3da986..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!-- The default synapse configuration shipped with the WSO2 Elastic  Load Balancer
- -->
-
-<definitions xmlns="http://ws.apache.org/ns/synapse">
-</definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/synapse.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse.properties b/products/elb/2.0.4/modules/distribution/src/main/conf/synapse.properties
deleted file mode 100755
index 36e21c2..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/synapse.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-#synapse.threads.core = 20
-#synapse.threads.max = 100
-#synapse.threads.keepalive = 5
-#synapse.threads.qlen = 10
-#synapse.threads.group = synapse-thread-group
-#synapse.threads.idprefix = SynapseWorker
-
-synapse.sal.endpoints.sesssion.timeout.default=600000
-
-#In memory statistics cleaning state 
-statistics.clean.enable=false
-
-# Dependency tracking Synapse observer
-# Comment out to disable dependency management
-synapse.observers=org.wso2.carbon.mediation.dependency.mgt.DependencyTracker
-
-# User defined wsdlLocator/Schema Resolver Implementations.
-# synapse.wsdl.resolver=org.wso2.carbon.mediation.initializer.RegistryWSDLLocator
-# synapse.schema.resolver=org.wso2.carbon.mediation.initializer.RegistryXmlSchemaURIResolver
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/user-mgt.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/user-mgt.xml b/products/elb/2.0.4/modules/distribution/src/main/conf/user-mgt.xml
deleted file mode 100644
index c902307..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/user-mgt.xml
+++ /dev/null
@@ -1,238 +0,0 @@
-<!--
-  ~ Copyright WSO2, Inc. (http://wso2.com)
-  ~
-  ~ Licensed under the Apache License, Version 2.0 (the "License");
-  ~ you may not use this file except in compliance with the License.
-  ~ You may obtain a copy of the License at
-  ~
-  ~ http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  -->
-        
-<UserManager>
-    <Realm>
-        <Configuration>
-                <AdminRole>admin</AdminRole>
-                <AdminUser>
-                     <UserName>admin</UserName>
-                     <Password>admin</Password>
-                </AdminUser>
-            <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role sees the registry root -->
-            <Property name="dataSource">jdbc/WSO2CarbonDB</Property>
-            <Property name="MultiTenantRealmConfigBuilder">org.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder</Property>
-        </Configuration>
-	<!-- Following is the default user store manager. This user store manager is based on embedded-apacheds LDAP. It reads/writes users and roles into the 		     default apacheds LDAP user store. Descriptions about each of the following properties can be found in user management documentation of the 	 respective product. In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-	    <Property name="UserEntryObjectClass">wso2Person</Property>
-            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-	    <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
-        </UserStoreManager-->
-
-	<!-- Following is the configuration for internal JDBC user store. This user store manager is based on JDBC. In case if application needs to manage 		     passwords externally set property <Property name="PasswordsExternallyManaged">true</Property>. In case if user core cache domain is needed to 			identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>. Furthermore properties, IsEmailUserName and 	     			DomainCalculation are readonly properties. 
-	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->	
-        <UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager">
-	    <Property name="ReadOnly">false</Property>
-            <Property name="MaxUserNameListLength">100</Property>
-            <Property name="IsEmailUserName">false</Property>
-            <Property name="DomainCalculation">default</Property>
-            <Property name="PasswordDigest">SHA-256</Property>
-            <Property name="StoreSaltedPassword">true</Property>
-            <Property name="UserNameUniqueAcrossTenants">false</Property>
-            <Property name="PasswordJavaRegEx">^[\S]{5,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-        </UserStoreManager>
-	
-	<!-- If product is using an external LDAP as the user store in READ ONLY mode, use following user manager.
-		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
- 	-->
-        <!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager">
-            <Property name="ReadOnly">true</Property>
-	    <Property name="MaxUserNameListLength">100</Property>
-            <Property name="ConnectionURL">ldap://localhost:10389</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="UserSearchBase">ou=system</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="ReadLDAPGroups">false</Property>
-            <Property name="GroupSearchBase">ou=system</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
-        </UserStoreManager-->
-	
-	<!-- Active directory configuration is as follows.
-	    In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	    There are few special properties for "Active Directory". 
-	    They are : 
-	    1.Referral - (comment out this property if this feature is not reuired) This enables LDAP referral support.
-	    2.BackLinksEnabled - (Do not comment, set to true or false) In some cases LDAP works with BackLinksEnabled. In which role is stored
-	     at user level. Depending on this value we need to change the Search Base within code.
-	    3.isADLDSRole - (Do not comment) Set to true if connecting to an AD LDS instance else set to false.  
-	-->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager">
-            <Property name="defaultRealmName">WSO2.ORG</Property>
-            <Property name="kdcEnabled">false</Property>
-            <Property name="ConnectionURL">ldaps://10.100.1.100:636</Property> 
-            <Property name="ConnectionName">CN=admin,CN=Users,DC=WSO2,DC=Com</Property>
-            <Property name="ConnectionPassword">A1b2c3d4</Property>
-	    <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
-            <Property name="UserEntryObjectClass">user</Property>
-            <Property name="UserNameAttribute">cn</Property>
-            <Property name="isADLDSRole">false</Property>
-	    <Property name="userAccountControl">512</Property>
-            <Property name="UserNameListFilter">(objectClass=user)</Property>
-	    <Property name="UserNameSearchFilter">(&amp;(objectClass=user)(cn=?))</Property>
-            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
-	    <Property name="GroupEntryObjectClass">group</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="GroupNameListFilter">(objectcategory=group)</Property>
-	    <Property name="GroupNameSearchFilter">(&amp;(objectClass=group)(cn=?))</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-            <Property name="Referral">follow</Property>
-	    <Property name="BackLinksEnabled">true</Property>
-        </UserStoreManager-->
-	
-	<!-- If product is using an external LDAP as the user store in read/write mode, use following user manager 
-		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	-->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="ConnectionURL">ldap://localhost:10389</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">secret</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-	    <Property name="UserEntryObjectClass">inetOrgPerson</Property>
-            <Property name="UserSearchBase">ou=system</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">false</Property>
-            <Property name="GroupSearchBase">ou=system</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
-        </UserStoreManager-->
-
-	<!-- Following user manager is used by Identity Server (IS) as its default user manager. 
-	     IS will do token replacement when building the product. Therefore do not change the syntax. 
-	     If "kdcEnabled" parameter is true, IS will allow service principle management. Thus "ServicePasswordJavaRegEx", "ServiceNameJavaRegEx"
-	     properties control the service name format and service password formats.
-	     In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	-->
-	<!--ISUserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="defaultRealmName">WSO2.ORG</Property>
-            <Property name="kdcEnabled">false</Property>
-            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-            <Property name="UserEntryObjectClass">scimPerson</Property>
-            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ServicePasswordJavaRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ServiceNameJavaRegEx">^[\\S]{2,30}/[\\S]{2,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-	    <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
-	    <Property name="SCIMEnabled">true</Property>
-        </ISUserStoreManager-->
-
-        <AuthorizationManager
-            class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager">
-            <Property name="AdminRoleManagementPermissions">/permission</Property>
-	    <Property name="AuthorizationCacheEnabled">true</Property>
-        </AuthorizationManager>
-    </Realm>
-</UserManager>
-
-<!--*******Description of some of the configuration properties used in user-mgt.xml*********************************
-UserRolesCacheEnabled - This is to indicate whether to cache role list of a user. By default it is set to true.
-                        You may need to disable it if user-roles are changed by external means and need to reflect
-                        those changes in the carbon product immediately.
-
-ReplaceEscapeCharactersAtUserLogin - This is to configure whether escape characters in user name needs to be replaced at user login.
-				     Currently the identified escape characters that needs to be replaced are '\' & '\\'
-
-UserDNPattern - This property will be used when authenticating users. During authentication we do a bind. But if the user is login with
-                email address or some other property we need to first lookup LDAP and retreive DN for the user. This involves an additional step. 
-                If UserDNPattern is specified the DN will be contructed using the pattern specified in this property. Performance of this is much better than looking
-                up DN and binding user.
-
-passwordHashMethod - This says how the password should be stored. Allowed values are as follows,
-                     SHA - Uses SHA digest method
-                     MD5 - Uses MD 5 digest method
-                     PLAIN_TEXT - Plain text passwords
-                     In addition to above this supports all digest methods supported by http://docs.oracle.com/javase/6/docs/api/java/security/MessageDigest.html.
-
--->

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/integration/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/integration/pom.xml b/products/elb/2.0.4/modules/integration/pom.xml
deleted file mode 100644
index 4a16265..0000000
--- a/products/elb/2.0.4/modules/integration/pom.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
-    <parent>
-        <groupId>org.wso2.lb</groupId>
-        <artifactId>lb-parent</artifactId>
-        <version>1.0.0-SNAPSHOT</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>integration</artifactId>
-    <name>WSO2 LB - Integration Tests</name>
-    <packaging>jar</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-clean-plugin</artifactId>
-                <version>2.4.1</version>
-                <executions>
-                    <execution>
-                        <id>auto-clean</id>
-                        <phase>initialize</phase>
-                        <goals>
-                            <goal>clean</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <inherited>false</inherited>
-                <configuration>
-                    <includes>
-                        <include>**/*TestServerManager.java</include>
-                        <include>**/*TestCase.java</include>
-                    </includes>
-                    <systemProperties>
-                        <maven.test.haltafterfailure>false</maven.test.haltafterfailure>
-                        <carbon.zip>
-                            ${basedir}/../distribution/product/target/wso2lb-${project.version}.zip
-                        </carbon.zip>
-                        <sec.verifier.dir>${basedir}/target/security-verifier/</sec.verifier.dir>
-                        <samples.dir>${basedir}/../samples/product</samples.dir>
-                        <extracted.dir>wso2lb-${project.version}</extracted.dir>
-                        <emma.home>${basedir}/target/emma</emma.home>
-                    </systemProperties>
-                    <workingDirectory>${basedir}/target</workingDirectory>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy-emma-dependencies</id>
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}/emma</outputDirectory>
-                            <includeTypes>jar</includeTypes>
-                            <includeArtifactIds>emma,org.wso2.carbon.integration.framework</includeArtifactIds>
-                        </configuration>
-                    </execution>
-                    <execution>
-                    	<id>copy-secVerifier</id>
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/security-verifier</outputDirectory>
-                            <includeTypes>aar</includeTypes>
-                            <includeArtifactIds>SecVerifier</includeArtifactIds>
-                            <stripVersion>true</stripVersion>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-    <dependencies>
-        <!--<dependency>
-            <groupId>org.wso2.lb</groupId>
-            <artifactId>wso2lb</artifactId>
-            <version>${project.version}</version>
-        </dependency>-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.integration.framework</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.testng</groupId>
-            <artifactId>testng</artifactId>
-            <version>6.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>emma</groupId>
-            <artifactId>emma</artifactId>
-            <version>${emma.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>SecVerifier</artifactId>
-            <version>${carbon.version}</version>
-            <type>aar</type>
-        </dependency>
-    </dependencies>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java b/products/elb/2.0.4/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java
deleted file mode 100644
index b9954cf..0000000
--- a/products/elb/2.0.4/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-*  Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-*  WSO2 Inc. licenses this file to you under the Apache License,
-*  Version 2.0 (the "License"); you may not use this file except
-*  in compliance with the License.
-*  You may obtain a copy of the License at
-*
-*    http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-package org.wso2.lb.integration.tests;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.testng.annotations.AfterSuite;
-import org.testng.annotations.BeforeSuite;
-import org.wso2.carbon.integration.framework.TestServerManager;
-
-import java.io.IOException;
-
-/**
- * Prepares the WSO2 LB for test runs, starts the server, and stops the server after
- * test runs
- */
-public class LoadBalancerTestServerManager extends TestServerManager {
-
-    @Override
-    @BeforeSuite(timeOut = 300000)
-    public String startServer() throws IOException {
-        String carbonHome = super.startServer();
-        System.setProperty("carbon.home", carbonHome);
-        return carbonHome;
-    }
-
-    @Override
-    @AfterSuite(timeOut = 60000)
-    public void stopServer() throws Exception {
-        super.stopServer();
-    }
-
-    protected void copyArtifacts(String carbonHome) throws IOException {
-        // Nothing to do
-    }
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/integration/src/test/resources/instrumentation.txt
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/integration/src/test/resources/instrumentation.txt b/products/elb/2.0.4/modules/integration/src/test/resources/instrumentation.txt
deleted file mode 100644
index 39ec979..0000000
--- a/products/elb/2.0.4/modules/integration/src/test/resources/instrumentation.txt
+++ /dev/null
@@ -1 +0,0 @@
-org.wso2.carbon.*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/p2-profile/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/p2-profile/pom.xml b/products/elb/2.0.4/modules/p2-profile/pom.xml
deleted file mode 100755
index ebf2358..0000000
--- a/products/elb/2.0.4/modules/p2-profile/pom.xml
+++ /dev/null
@@ -1,323 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~      http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.elb</groupId>
-        <artifactId>elb-parent</artifactId>
-        <version>2.0.4</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2elb-p2-profile-gen</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 ELB - P2 Profile Generation</name>
-    <url>http://www.wso2.org</url>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>unpack-carbon-core</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>wso2carbon-core</artifactId>
-                                    <version>${carbon.kernel.version}</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>2-p2-repo-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-repo-gen</goal>
-                        </goals>
-                        <configuration>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <publishArtifacts>true</publishArtifacts>
-                            <publishArtifactRepository>true</publishArtifactRepository>
-                            <featureArtifacts>
-                                <!--featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.aws.java.sdk.feature:1.0.0
-                                </featureArtifactDef-->
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.service.mgt.server.feature:${carbon.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.transport.mgt.server.feature:${carbon.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.transport.nhttp.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.datasource.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.apache.synapse.wso2.feature:${synapse.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.apache.synapse.transport.nhttp.feature:${synapse.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.task.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.mediation.initializer.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <!--featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.localentry.server.feature:${carbon.version}
-                                </featureArtifactDef-->
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.endpoint.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-				 <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.lb.endpoint.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.sequences.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.mediators.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.relay.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.transports.passthru.feature:${passthru.transport.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.ntask.core.feature:${carbon.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.stratos.cloud.controller.feature:${stratos.component.patch.version.2.1.1}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.mediator.autoscale.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.lb.common.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.coordination.server.feature:${carbon.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.coordination.core.feature:${carbon.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.registry.core.feature:${carbon.version}
-                                </featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.security.mgt.server.feature:${carbon.version}</featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.module.mgt.server.feature:${carbon.version}</featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.throttle.server.feature:${carbon.version}</featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.caching.server.feature:${carbon.version}</featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.rm.server.feature:${carbon.version}</featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.databridge.datapublisher.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-				<!--***********************************************-->
-				<featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.event.server.feature:${carbon.version}
-                                </featureArtifactDef>
-                            </featureArtifacts>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>3-p2-profile-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-profile-gen</goal>
-                        </goals>
-                        <configuration>
-                            <profile>WSO2CarbonProfile</profile>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <destination>
-                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
-                            </destination>
-                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
-                            <features>
-                                <feature>
-                                    <id>org.apache.synapse.wso2.feature.group</id>
-                                    <version>${synapse.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.apache.synapse.transport.nhttp.feature.group</id>
-                                    <version>${synapse.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.task.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.datasource.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.mediation.initializer.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.service.mgt.server.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.transport.mgt.server.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.transport.nhttp.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.stratos.cloud.controller.feature.group</id>
-                                    <version>${stratos.component.patch.version.2.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.endpoint.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.sequences.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.mediators.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.relay.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.transports.passthru.feature.group</id>
-                                    <version>${passthru.transport.version}</version>
-                                </feature>
-                                <!--feature>
-                                    <id>org.wso2.carbon.load.balance.agent.ui.feature.group</id>
-                                    <version>${stratos.version}</version>
-                                </feature-->
-                                <feature>
-                                    <id>org.wso2.carbon.ntask.core.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.coordination.server.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.coordination.core.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.registry.core.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.mediator.autoscale.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.lb.common.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-				<feature>
-                                    <id>org.wso2.carbon.lb.endpoint.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-				<!--***********************************************-->
-				<feature>
-                                    <id>org.wso2.carbon.event.server.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-
-                            </features>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-	    <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.1</version>
-        <executions>
-            <execution>
-                <phase>package</phase>
-                <configuration>
-                    <tasks>
-                        <replace token="false" value="true"
-                                 dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/configuration/org.eclipse.equinox.simpleconfigurator">
-                            <include name="**/bundles.info"/>
-                        </replace>
-                    </tasks>
-                </configuration>
-                <goals>
-                    <goal>run</goal>
-                </goals>
-            </execution>
-        </executions>
-    </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/pom.xml b/products/elb/2.0.4/pom.xml
deleted file mode 100755
index 79209d6..0000000
--- a/products/elb/2.0.4/pom.xml
+++ /dev/null
@@ -1,214 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.carbon</groupId>
-        <artifactId>carbon-products</artifactId>
-        <version>4.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.elb</groupId>
-    <artifactId>elb-parent</artifactId>
-    <packaging>pom</packaging>
-    <version>2.0.4</version>
-    <name>WSO2 ELB - Aggregator Module</name>
-    <url>http://wso2.com/products/load-balancer</url>
-    <description>WSO2 Elastic Load Balancer (ELB)</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>modules/p2-profile</module>
-        <module>modules/distribution</module>
-        <!--<module>modules/integration</module>-->
-    </modules>
-
-    <scm>
-        <connection>scm:svn:http://wso2.org/repos/wso2/trunk/carbon/products/lb</connection>
-        <developerConnection>scm:svn:https://wso2.org/repos/wso2/trunk/carbon/products/lb</developerConnection>
-        <url>https://wso2.org/repos/wso2/trunk/carbon/products/lb</url>
-    </scm>
-
-    <repositories>
-        <repository>
-            <id>wso2-nexus</id>
-            <name>WSO2 internal Repository</name>
-            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
-            <releases>
-                <enabled>true</enabled>
-                <updatePolicy>daily</updatePolicy>
-                <checksumPolicy>ignore</checksumPolicy>
-            </releases>
-        </repository>
-        <!--moved to nexus
-
-        <repository>
-            <id>wso2-maven2-repository-snapshot</id>
-            <url>http://dist.wso2.org/snapshots/maven2</url>
-        </repository>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </repository>
-
-        -->
-    </repositories>
-
-    <pluginRepositories>
-        <pluginRepository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </pluginRepository>
-    </pluginRepositories>
-
-    <distributionManagement>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <name>WSO2 Maven2 Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
-        </repository>
-        <snapshotRepository>
-            <id>wso2-maven2-snapshot-repository</id>
-            <name>WSO2 Maven2 Snapshot Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url>
-        </snapshotRepository>
-    </distributionManagement>
-
-    <profiles>
-        <profile>
-            <id>signed-build</id>
-            <activation>
-                <property>
-                    <name>sign</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-gpg-plugin</artifactId>
-                        <version>1.0-alpha-3</version>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
-    <organization>
-        <name>WSO2 Inc</name>
-        <url>http://wso2.com</url>
-    </organization>
-
-    <issueManagement>
-        <system>JIRA</system>
-        <url>http://wso2.org/jira/browse/LB</url>
-    </issueManagement>
-
-    <mailingLists>
-        <mailingList>
-            <name>WSO2 LB Users' list</name>
-            <post>mailto:lb-user@wso2.org</post>
-            <archive>http://wso2.org/mailarchive/lb-user/</archive>
-            <subscribe>mailto:lb-user-request@wso2.org?subject=subscribe</subscribe>
-            <unsubscribe>mailto:lb-user-request@wso2.org?subject=unsubscribe</unsubscribe>
-        </mailingList>
-        <mailingList>
-            <name>WSO2 LB/Carbon Developers' List</name>
-            <post>mailto:dev@wso2.org</post>
-            <archive>http://wso2.org/mailarchive/dev/</archive>
-            <subscribe>mailto:dev-request@wso2.org?subject=subscribe</subscribe>
-            <unsubscribe>mailto:dev-request@wso2.org?subject=unsubscribe</unsubscribe>
-        </mailingList>
-    </mailingLists>
-
-    <dependencyManagement>
-        <dependencies>
-            <!-- Dependencies for dashboard ui -->
-            <dependency>
-                <groupId>org.apache.axis2.wso2</groupId>
-                <artifactId>axis2</artifactId>
-                <version>${axis2.wso2.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>log4j</groupId>
-                <artifactId>log4j</artifactId>
-                <version>${log4j.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-logging</groupId>
-                <artifactId>commons-logging</artifactId>
-                <version>${commons.logging.version}</version>
-            </dependency>
-            <!-- Dependencies for login ui -->
-            <dependency>
-                <groupId>javax.servlet</groupId>
-                <artifactId>servlet-api</artifactId>
-                <version>${servlet-api.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-                <artifactId>axiom</artifactId>
-                <version>${axiom.wso2.version}</version>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-
-     <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-        <opencsv.version>1.8</opencsv.version>
-        <poi.version>3.0-FINAL</poi.version>
-        <carbon.version>4.1.0</carbon.version>
-        <carbon.kernel.version>4.1.0</carbon.kernel.version>
-        <carbon.patch.version.4.1.1>4.1.1</carbon.patch.version.4.1.1>
-	<stratos.component.version>2.1.0</stratos.component.version>
-	<stratos.component.patch.version.2.1.1>2.1.1</stratos.component.patch.version.2.1.1>
-        <synapse.version>2.1.1-wso2v4</synapse.version>
-        <axis2.transport.version>1.1.0-wso2v6</axis2.transport.version>
-        <elb.version>2.0.4</elb.version>
-        <passthru.transport.version>1.0.2</passthru.transport.version>
-        <axis2.wso2.version>1.6.1.wso2v7</axis2.wso2.version>
-        <axiom.wso2.version>1.2.11.wso2v2</axiom.wso2.version>
-	<servlet-api.version>2.4</servlet-api.version>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-    </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/INSTALL.txt b/products/elb/2.0.5/INSTALL.txt
deleted file mode 100644
index bb020af..0000000
--- a/products/elb/2.0.5/INSTALL.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-Installing  WSO2 Elastic Load Balancer (ELB) 2.0.5
-==================================================
-
-WSO2 ELB 2.0.5 can be run as a light-weight software load balancer in 
-stand-alone mode, that can be configured to balance the load across the services nodes.
-
-Standalone Mode
-===============
-1. The directory containing this INSTALL.txt file will be the root and it will be
-   treated as Carbon home directory and let it be CARBON_HOME.
-
-2. All the shell scripts and .bat files are available in CARBON_HOME/bin folder.
-
-3. To start ELB one can use either wso2server.sh in all Unix
-   systems & wso2server.bat file on Windows operating systems.
-
-4. Either of the following commands can be used to start ELB
-      i)  ./wso2server.sh {console|start|stop|restart|version}
-     ii)  wso2server.bat {start|stop|version}
-
-        Usage: wso2server.sh [command] [options] [system-properties]
-
-            command:
-                --start		    Start ELB as a Unix daemon in the background
-                --console	    Start ELB as a Unix daemon in the foreground
-                --stop		    Stop the ELB Unix daemon
-                --restart	    Restart the ELB Unix daemon
-                --version	    What version of the ELB server are you running
-            options:
-                --debug <port> 	Start the server in remote debugging mode.
-                                port: The remote debugging port.
-
-            system-properties:
-                -DhttpPort		Overrides the HTTP port defined in the
-                                catalina-server.xml file
-                -DhttpsPort		Overrides the HTTPS port defined in the
-                                catalina-server.xml file
-                -DosgiConsole=[port]
-                                Start Carbon with Equinox OSGi console.
-                                If the optional 'port' parameter is provided, a
-                                telnet port will be opened
-                -DosgiDebugOptions=[options-file]
-                                Start Carbon with OSGi debugging enabled.
-                                If the optional 'options-file is provided, the
-                                OSGi debug options will be loaded from it.
-                -Dsetup			Clean the Registry database & other
-                                configuration, recreate DB, re-populate the
-                                configuration, and start Carbon
-
-System Requirements
-=======================
-1. Minimum memory - 1.5GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. Java SE Development Kit 1.6.0_24 or higher
-


[4/9] applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/log4j.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/log4j.properties b/products/elb/2.0.5/modules/distribution/src/main/conf/log4j.properties
deleted file mode 100644
index d13ffc0..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/log4j.properties
+++ /dev/null
@@ -1,132 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-##
-# This is the log4j configuration file used by WSO2 ESB
-# =====================================================
-#
-# IMPORTANT : Please do not remove or change the names of any of the Appenders defined here.
-# The layout pattern & log file can be changed using the WSO2 ESB Management Console, and those
-# settings will override the settings in this file.
-##
-
-##
-# WSO2 ESB is now able to create per-service trace logs at runtime. Thus while a message
-# is being processed through a Proxy service or the Synapse service (i.e. message mediation through
-# the 'main' sequence), tracing may be turned 'on' at any Proxy, Sequence or Mediator level. This
-# trace state 'flows' with the message - i.e from a trace enabled sequence to another sequence etc.
-# and applies to all mediators within a trace enabled sequence etc. unless another sequence or
-# mediator does not override and specify a different trace setting.
-##
-
-# the root category is ERROR (applies for all 3rd party JARs etc) and will be logged to the
-# LOG_APPENDER and the CONSOLE_APPENDER
-
-log4j.rootLogger=ERROR, CARBON_CONSOLE, CARBON_LOGFILE, ERROR_LOGFILE
-
-log4j.category.org.apache.synapse=INFO
-log4j.category.org.apache.synapse.transport=INFO
-log4j.category.org.apache.axis2=INFO
-log4j.category.org.apache.axis2.transport=INFO
-log4j.logger.com.atomikos=INFO,ATOMIKOS
-log4j.logger.org.quartz=WARN
-log4j.logger.org.wso2=INFO
-log4j.logger.org.wso2.carbon=INFO
-
-log4j.logger.org.apache.catalina=WARN
-log4j.logger.org.apache.synapse.endpoints.EndpointContext=ERROR
-log4j.logger.org.apache.coyote=WARN
-log4j.logger.org.apache.axis2.enterprise=FATAL
-log4j.logger.de.hunsicker.jalopy.io=FATAL
-
-# uncomment the following logs to see HTTP headers and messages
-# nhttp case
-#log4j.logger.org.apache.synapse.transport.nhttp.headers=DEBUG
-#log4j.logger.org.apache.synapse.transport.nhttp.wire=DEBUG
-# passthru case
-#log4j.logger.org.apache.synapse.transport.passthru.headers=DEBUG
-#log4j.logger.org.apache.synapse.transport.passthru.wire=DEBUG
-
-#nhttp accesslogs
-#log4j.logger.org.apache.synapse.transport.nhttp.access=INFO
-
-#passthru access logs
-log4j.logger.org.apache.synapse.transport.passthru.access=INFO
-
-# qpid related logs for the message broker
-log4j.logger.qpid=FATAL
-log4j.logger.org.apache.qpid=FATAL
-
-# The console appender is used to display general information at console
-log4j.appender.CARBON_CONSOLE=org.apache.log4j.ConsoleAppender
-log4j.appender.CARBON_CONSOLE.layout=org.apache.log4j.PatternLayout
-log4j.appender.CARBON_CONSOLE.layout.ConversionPattern=[%d{ISO8601}] %5p - %c{1} %m%n
-
-# Configure the service logger at INFO level. Writes only run-time/mediation-time audit messages
-log4j.category.SERVICE_LOGGER=INFO, SERVICE_APPENDER
-log4j.additivity.SERVICE_LOGGER=false
-log4j.appender.SERVICE_APPENDER=org.apache.log4j.RollingFileAppender
-log4j.appender.SERVICE_APPENDER.File=repository/logs/${instance.log}/wso2-elb${instance.log}.log
-log4j.appender.SERVICE_APPENDER.MaxFileSize=1000KB
-log4j.appender.SERVICE_APPENDER.MaxBackupIndex=10
-log4j.appender.SERVICE_APPENDER.layout=org.apache.log4j.PatternLayout
-log4j.appender.SERVICE_APPENDER.layout.ConversionPattern=%d{ISO8601} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
-
-# The trace logger dumps enough information @INFO level, but maybe pushed upto TRACE.
-# Writes only run-time/mediation time tracing/debug messages for messages passing through trace
-# enabled sequences, mediators and services. Enabling tracing on these has a performance impact
-log4j.category.TRACE_LOGGER=INFO, TRACE_APPENDER
-log4j.additivity.TRACE_LOGGER=false
-log4j.appender.TRACE_APPENDER=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.TRACE_APPENDER.File=repository/logs/${instance.log}/wso2-elb-trace${instance.log}.log
-log4j.appender.TRACE_APPENDER.Append=true
-log4j.appender.TRACE_APPENDER.layout=org.apache.log4j.PatternLayout
-log4j.appender.TRACE_APPENDER.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
-
-# CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
-log4j.appender.CARBON_LOGFILE=org.apache.log4j.DailyRollingFileAppender
-# Log file will be overridden by the configuration setting in the DB
-# This path should be relative to WSO2 Carbon Home
-log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log
-log4j.appender.CARBON_LOGFILE.Append=true
-log4j.appender.CARBON_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-# ConversionPattern will be overridden by the configuration setting in the DB
-log4j.appender.CARBON_LOGFILE.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
-log4j.appender.CARBON_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
-log4j.appender.CARBON_LOGFILE.threshold=DEBUG
-
-# The standard error log where all the warnings, errors and fatal errors will be logged
-log4j.appender.ERROR_LOGFILE=org.apache.log4j.FileAppender
-log4j.appender.ERROR_LOGFILE.File=repository/logs/${instance.log}/wso2-elb-errors.log
-log4j.appender.ERROR_LOGFILE.layout=org.apache.log4j.PatternLayout
-log4j.appender.ERROR_LOGFILE.layout.ConversionPattern=%d{ISO8601} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
-log4j.appender.ERROR_LOGFILE.threshold=WARN
-
-log4j.logger.org.apache.directory.shared.ldap=WARN, CARBON_CONSOLE
-log4j.logger.org.apache.directory.server.ldap.handlers=WARN, CARBON_CONSOLE
-log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=FATAL, CARBON_CONSOLE
-log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR, CARBON_CONSOLE
-log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=ERROR, CARBON_CONSOLE
-
-# Appender config to send Atomikos transaction logs to new log file tm.out.
-log4j.appender.ATOMIKOS = org.apache.log4j.RollingFileAppender
-log4j.appender.ATOMIKOS.File = repository/logs/tm.out
-log4j.appender.ATOMIKOS.Append = true
-log4j.appender.ATOMIKOS.layout = org.apache.log4j.PatternLayout
-log4j.appender.ATOMIKOS.layout.ConversionPattern=%p %t %c - %m%n
-log4j.additivity.com.atomikos=false
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/nhttp.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/nhttp.properties b/products/elb/2.0.5/modules/distribution/src/main/conf/nhttp.properties
deleted file mode 100644
index d3c1108..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/nhttp.properties
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-# This file contains the configuration parameters used by the Non-blocking HTTP transport
-
-worker_pool_size_core=400
-worker_pool_size_max=500
-#worker_thread_keepalive_sec=60
-#worker_pool_queue_length=-1
-#io_threads_per_reactor=2
-io_buffer_size=16384
-
-#http.socket.timeout=60000
-#nhttp_buffer_size=8192
-#http.tcp.nodelay=1
-#http.connection.stalecheck=0
-
-# Uncomment the following property for an AIX based deployment
-#http.nio.interest-ops-queueing=true
-
-# HTTP Sender thread pool parameters
-#snd_t_core=20
-#snd_t_max=100
-#snd_alive_sec=5
-#snd_qlen=-1
-#snd_io_threads=2
-
-# HTTP Listener thread pool parameters
-#lst_t_core=20
-#lst_t_max=100
-#lst_alive_sec=5
-#lst_qlen=-1
-#lst_io_threads=2

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/passthru-http.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/passthru-http.properties b/products/elb/2.0.5/modules/distribution/src/main/conf/passthru-http.properties
deleted file mode 100644
index f39efa3..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/passthru-http.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-## This file contains the configuration parameters used by the Pass-through HTTP transport
-
-## Pass-through HTTP transport specific tuning parameters 
-force.passthrough.builder=false
-worker_pool_size_core=400
-worker_pool_size_max=500
-#worker_thread_keepalive_sec=60
-#worker_pool_queue_length=-1
-#io_threads_per_reactor=2
-io_buffer_size=16384
-#http.max.connection.per.host.port=32767
-
-## Other parameters
-#http.user.agent.preserve=false
-#http.server.preserve=true
-#http.connection.disable.keepalive=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/rule-component.conf
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/rule-component.conf b/products/elb/2.0.5/modules/distribution/src/main/conf/rule-component.conf
deleted file mode 100644
index 1bd6c09..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/rule-component.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-<RuleServer>
-    <RuleEngineProvider class="org.wso2.carbon.rule.engine.jsr94.JSR94BackendRuntimeFactory"/>
-</RuleServer>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/registry.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/registry.xml b/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/registry.xml
deleted file mode 100644
index b19a4c8..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/registry.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!-- Registry declaration of the WSO2 ESB -->
-<registry xmlns="http://ws.apache.org/ns/synapse" provider="org.wso2.carbon.mediation.registry.WSO2Registry">
-    <!--all resources loaded from the URL registry would be
-    cached for this number of milliseconds -->
-    <parameter name="cachableDuration">15000</parameter>
-</registry>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml b/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml
deleted file mode 100644
index 62c31a6..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/errorHandler.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-    <sequence name="errorHandler" xmlns="http://ws.apache.org/ns/synapse">
-	<log level="full">
-        	<property name="MESSAGE" value="Executing default 'fault' sequence"/>
-        	<property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
-        	<property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
-    	</log>
-        <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
-            <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
-        </makefault>
-        <send/>
-    </sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml b/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml
deleted file mode 100644
index 1192bbd..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/fault.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!-- Default fault sequence shipped with the Apache Synapse -->
-<sequence xmlns="http://ws.apache.org/ns/synapse" name="fault">
-
-    <!-- Log the message at the full log level with the ERROR_MESSAGE and the ERROR_CODE-->
-    <!-- log level="full">
-        <property name="MESSAGE" value="Executing default 'fault' sequence"/>
-        <property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
-        <property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
-    </log -->
-
-    <!-- Drops the messages by default if there is a fault -->
-    <script language="js"><![CDATA[
-        mc.setPayloadXML(
-           <{mc.getProperty("SERVICENAME")}Response xmlns="org.wso2.gateway">
-            <Timestamp>{new Date()}</Timestamp>
-            <Ack>Failure</Ack>
-            <Errors>
-             <ShortMessage>Gateway Error</ShortMessage>
-             <LongMessage>{mc.getProperty("ERROR_MESSAGE")}</LongMessage>
-             <ErrorCode>500</ErrorCode>
-             <SeverityCode>Error</SeverityCode>
-             <ErrorClassification>RequestError</ErrorClassification>
-            </Errors>
-            <ServiceName>{mc.getProperty("SERVICENAME")}</ServiceName>
-            <ResponseCode>{mc.getProperty("HTTP_SC")}</ResponseCode>
-            <ContentType>{mc.getProperty("Content-Type")}</ContentType>
-            <Version>1.5.1</Version>
-           </{mc.getProperty("SERVICENAME")}Response>
-        );
-      ]]></script>
-    <switch source="get-property('ERROR_CODE')">
-        <case regex="101504">   <!-- TIMEOUT ERROR -->
-            <property name="HTTP_SC" value="504" scope="axis2"/>
-            <sequence key="seq_timeout"/>
-        </case>
-        <case regex="303001">
-            <property name="HTTP_SC" value="503" scope="axis2"/>
-            <sequence key="seq_endpoint_down"/>
-        </case>
-        <case regex="111503">
-            <property name="HTTP_SC" value="503" scope="axis2"/>
-            <sequence key="seq_endpoint_down"/>
-        </case>
-        <default>
-            <property name="HTTP_SC" value="500" scope="axis2"/>
-        </default>
-    </switch>
-    <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/>
-    <header name="To" action="remove"/>
-    <property name="RESPONSE" value="true"/>
-    <property name="messageType" value="text/xml" scope="axis2"/>
-    <property name="ContentType" value="text/xml" scope="axis2"/>
-
-    <send/>
-
-</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml b/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml
deleted file mode 100644
index e8ead4a..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/sequences/main.xml
+++ /dev/null
@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!-- Default main sequence shipped with the WSO2 ESB -->
-<sequence xmlns="http://ws.apache.org/ns/synapse" name="main" onError="fault">
-    <description>The main sequence for the message mediation</description>
-
-    <in>
-        <property name="REQUEST_HOST_HEADER" expression="$trp:host" scope="axis2"/>
-        <property name="SERVICE_PREFIX" expression="$axis2:SERVICE_PREFIX"/>
-        <send>
-            <!--endpoint name="sdlbEndpoint">
-                <session type="http">-->
-                    <!-- Session timout is 15mins-->
-                    <!--sessionTimeout>900000</sessionTimeout>
-                </session>
-                <serviceDynamicLoadbalance failover="true"
-                                           algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin"
-                                           configuration="$system:loadbalancer.xml"/>
-            </endpoint>
-            -->
-	          <!--endpoint name="tenantAwareLBEndpoint">
-                <class name ="org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint">
-                     <parameter name="algorithm"> org.apache.synapse.endpoints.algorithms.RoundRobin</parameter>
-                     <parameter name="configuration">$system:loadbalancer.conf</parameter>
-                     <parameter name="failover">true</parameter>          
-                     <parameter name="sessionTimeout">900000</parameter>
-  	            </class>
- 	          </endpoint-->
-        </send>
-        <drop/>
-    </in>
-
-    <out>
-        <!-- Handling status codes: 301, 302 Redirection -->
-        <filter source="$trp:Location" regex=".+">
-            <property name="LB_SP_Host" expression="$ctx:SERVICE_PREFIX"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
-
-            <property name="LB_Location_Protocol" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="1"/>
-            <property name="LB_Location_Host" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
-            <property name="LB_Location_Path" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="4"/>
-
-            <!--<log level="custom">
-               <property name="ameera-ocation" expression="$trp:Location"/>
-               <property name="ameera-sprefix" expression="$ctx:SERVICE_PREFIX"/>
-           </log>-->
-
-            <filter xpath="fn:lower-case($ctx:LB_SP_Host)=fn:lower-case($ctx:LB_Location_Host)">
-                <then>
-                    <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
-                        <case regex="https://">
-                            <property name="Location"
-                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                      scope="transport"/>
-                        </case>
-                        <case regex="http://">
-                            <property name="Location"
-                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                      scope="transport"/>
-                        </case>
-                    </switch>
-                </then>
-
-                <else>
-                    <filter xpath="$ctx:LB_REQUEST_HOST=fn:lower-case($ctx:LB_Location_Host)">
-                        <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
-                            <case regex="https://">
-                                <property name="Location"
-                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                          scope="transport"/>
-                            </case>
-                            <case regex="http://">
-                                <property name="Location"
-                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                          scope="transport"/>
-                            </case>
-                        </switch>
-                    </filter>
-                </else>
-            </filter>
-        </filter>
-
-        <!-- Send the messages where they have been sent (i.e. implicit To EPR) -->
-        <property name="messageType" value="text/html" scope="axis2"/>
-        <send/>
-        <drop/>
-    </out>
-
-</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml b/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml
deleted file mode 100755
index f3da986..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse-configs/default/synapse.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!-- The default synapse configuration shipped with the WSO2 Elastic  Load Balancer
- -->
-
-<definitions xmlns="http://ws.apache.org/ns/synapse">
-</definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/synapse.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse.properties b/products/elb/2.0.5/modules/distribution/src/main/conf/synapse.properties
deleted file mode 100755
index 36e21c2..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/synapse.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-#synapse.threads.core = 20
-#synapse.threads.max = 100
-#synapse.threads.keepalive = 5
-#synapse.threads.qlen = 10
-#synapse.threads.group = synapse-thread-group
-#synapse.threads.idprefix = SynapseWorker
-
-synapse.sal.endpoints.sesssion.timeout.default=600000
-
-#In memory statistics cleaning state 
-statistics.clean.enable=false
-
-# Dependency tracking Synapse observer
-# Comment out to disable dependency management
-synapse.observers=org.wso2.carbon.mediation.dependency.mgt.DependencyTracker
-
-# User defined wsdlLocator/Schema Resolver Implementations.
-# synapse.wsdl.resolver=org.wso2.carbon.mediation.initializer.RegistryWSDLLocator
-# synapse.schema.resolver=org.wso2.carbon.mediation.initializer.RegistryXmlSchemaURIResolver
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/user-mgt.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/user-mgt.xml b/products/elb/2.0.5/modules/distribution/src/main/conf/user-mgt.xml
deleted file mode 100644
index c902307..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/user-mgt.xml
+++ /dev/null
@@ -1,238 +0,0 @@
-<!--
-  ~ Copyright WSO2, Inc. (http://wso2.com)
-  ~
-  ~ Licensed under the Apache License, Version 2.0 (the "License");
-  ~ you may not use this file except in compliance with the License.
-  ~ You may obtain a copy of the License at
-  ~
-  ~ http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  -->
-        
-<UserManager>
-    <Realm>
-        <Configuration>
-                <AdminRole>admin</AdminRole>
-                <AdminUser>
-                     <UserName>admin</UserName>
-                     <Password>admin</Password>
-                </AdminUser>
-            <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role sees the registry root -->
-            <Property name="dataSource">jdbc/WSO2CarbonDB</Property>
-            <Property name="MultiTenantRealmConfigBuilder">org.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder</Property>
-        </Configuration>
-	<!-- Following is the default user store manager. This user store manager is based on embedded-apacheds LDAP. It reads/writes users and roles into the 		     default apacheds LDAP user store. Descriptions about each of the following properties can be found in user management documentation of the 	 respective product. In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-	    <Property name="UserEntryObjectClass">wso2Person</Property>
-            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-	    <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
-        </UserStoreManager-->
-
-	<!-- Following is the configuration for internal JDBC user store. This user store manager is based on JDBC. In case if application needs to manage 		     passwords externally set property <Property name="PasswordsExternallyManaged">true</Property>. In case if user core cache domain is needed to 			identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>. Furthermore properties, IsEmailUserName and 	     			DomainCalculation are readonly properties. 
-	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->	
-        <UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager">
-	    <Property name="ReadOnly">false</Property>
-            <Property name="MaxUserNameListLength">100</Property>
-            <Property name="IsEmailUserName">false</Property>
-            <Property name="DomainCalculation">default</Property>
-            <Property name="PasswordDigest">SHA-256</Property>
-            <Property name="StoreSaltedPassword">true</Property>
-            <Property name="UserNameUniqueAcrossTenants">false</Property>
-            <Property name="PasswordJavaRegEx">^[\S]{5,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-        </UserStoreManager>
-	
-	<!-- If product is using an external LDAP as the user store in READ ONLY mode, use following user manager.
-		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
- 	-->
-        <!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager">
-            <Property name="ReadOnly">true</Property>
-	    <Property name="MaxUserNameListLength">100</Property>
-            <Property name="ConnectionURL">ldap://localhost:10389</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="UserSearchBase">ou=system</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="ReadLDAPGroups">false</Property>
-            <Property name="GroupSearchBase">ou=system</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
-        </UserStoreManager-->
-	
-	<!-- Active directory configuration is as follows.
-	    In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	    There are few special properties for "Active Directory". 
-	    They are : 
-	    1.Referral - (comment out this property if this feature is not reuired) This enables LDAP referral support.
-	    2.BackLinksEnabled - (Do not comment, set to true or false) In some cases LDAP works with BackLinksEnabled. In which role is stored
-	     at user level. Depending on this value we need to change the Search Base within code.
-	    3.isADLDSRole - (Do not comment) Set to true if connecting to an AD LDS instance else set to false.  
-	-->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager">
-            <Property name="defaultRealmName">WSO2.ORG</Property>
-            <Property name="kdcEnabled">false</Property>
-            <Property name="ConnectionURL">ldaps://10.100.1.100:636</Property> 
-            <Property name="ConnectionName">CN=admin,CN=Users,DC=WSO2,DC=Com</Property>
-            <Property name="ConnectionPassword">A1b2c3d4</Property>
-	    <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
-            <Property name="UserEntryObjectClass">user</Property>
-            <Property name="UserNameAttribute">cn</Property>
-            <Property name="isADLDSRole">false</Property>
-	    <Property name="userAccountControl">512</Property>
-            <Property name="UserNameListFilter">(objectClass=user)</Property>
-	    <Property name="UserNameSearchFilter">(&amp;(objectClass=user)(cn=?))</Property>
-            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
-	    <Property name="GroupEntryObjectClass">group</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="GroupNameListFilter">(objectcategory=group)</Property>
-	    <Property name="GroupNameSearchFilter">(&amp;(objectClass=group)(cn=?))</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-            <Property name="Referral">follow</Property>
-	    <Property name="BackLinksEnabled">true</Property>
-        </UserStoreManager-->
-	
-	<!-- If product is using an external LDAP as the user store in read/write mode, use following user manager 
-		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	-->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="ConnectionURL">ldap://localhost:10389</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">secret</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-	    <Property name="UserEntryObjectClass">inetOrgPerson</Property>
-            <Property name="UserSearchBase">ou=system</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">false</Property>
-            <Property name="GroupSearchBase">ou=system</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
-        </UserStoreManager-->
-
-	<!-- Following user manager is used by Identity Server (IS) as its default user manager. 
-	     IS will do token replacement when building the product. Therefore do not change the syntax. 
-	     If "kdcEnabled" parameter is true, IS will allow service principle management. Thus "ServicePasswordJavaRegEx", "ServiceNameJavaRegEx"
-	     properties control the service name format and service password formats.
-	     In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	-->
-	<!--ISUserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="defaultRealmName">WSO2.ORG</Property>
-            <Property name="kdcEnabled">false</Property>
-            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-            <Property name="UserEntryObjectClass">scimPerson</Property>
-            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ServicePasswordJavaRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ServiceNameJavaRegEx">^[\\S]{2,30}/[\\S]{2,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-	    <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
-	    <Property name="SCIMEnabled">true</Property>
-        </ISUserStoreManager-->
-
-        <AuthorizationManager
-            class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager">
-            <Property name="AdminRoleManagementPermissions">/permission</Property>
-	    <Property name="AuthorizationCacheEnabled">true</Property>
-        </AuthorizationManager>
-    </Realm>
-</UserManager>
-
-<!--*******Description of some of the configuration properties used in user-mgt.xml*********************************
-UserRolesCacheEnabled - This is to indicate whether to cache role list of a user. By default it is set to true.
-                        You may need to disable it if user-roles are changed by external means and need to reflect
-                        those changes in the carbon product immediately.
-
-ReplaceEscapeCharactersAtUserLogin - This is to configure whether escape characters in user name needs to be replaced at user login.
-				     Currently the identified escape characters that needs to be replaced are '\' & '\\'
-
-UserDNPattern - This property will be used when authenticating users. During authentication we do a bind. But if the user is login with
-                email address or some other property we need to first lookup LDAP and retreive DN for the user. This involves an additional step. 
-                If UserDNPattern is specified the DN will be contructed using the pattern specified in this property. Performance of this is much better than looking
-                up DN and binding user.
-
-passwordHashMethod - This says how the password should be stored. Allowed values are as follows,
-                     SHA - Uses SHA digest method
-                     MD5 - Uses MD 5 digest method
-                     PLAIN_TEXT - Plain text passwords
-                     In addition to above this supports all digest methods supported by http://docs.oracle.com/javase/6/docs/api/java/security/MessageDigest.html.
-
--->

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/integration/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/integration/pom.xml b/products/elb/2.0.5/modules/integration/pom.xml
deleted file mode 100644
index 4a16265..0000000
--- a/products/elb/2.0.5/modules/integration/pom.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
-    <parent>
-        <groupId>org.wso2.lb</groupId>
-        <artifactId>lb-parent</artifactId>
-        <version>1.0.0-SNAPSHOT</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>integration</artifactId>
-    <name>WSO2 LB - Integration Tests</name>
-    <packaging>jar</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-clean-plugin</artifactId>
-                <version>2.4.1</version>
-                <executions>
-                    <execution>
-                        <id>auto-clean</id>
-                        <phase>initialize</phase>
-                        <goals>
-                            <goal>clean</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <inherited>false</inherited>
-                <configuration>
-                    <includes>
-                        <include>**/*TestServerManager.java</include>
-                        <include>**/*TestCase.java</include>
-                    </includes>
-                    <systemProperties>
-                        <maven.test.haltafterfailure>false</maven.test.haltafterfailure>
-                        <carbon.zip>
-                            ${basedir}/../distribution/product/target/wso2lb-${project.version}.zip
-                        </carbon.zip>
-                        <sec.verifier.dir>${basedir}/target/security-verifier/</sec.verifier.dir>
-                        <samples.dir>${basedir}/../samples/product</samples.dir>
-                        <extracted.dir>wso2lb-${project.version}</extracted.dir>
-                        <emma.home>${basedir}/target/emma</emma.home>
-                    </systemProperties>
-                    <workingDirectory>${basedir}/target</workingDirectory>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy-emma-dependencies</id>
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}/emma</outputDirectory>
-                            <includeTypes>jar</includeTypes>
-                            <includeArtifactIds>emma,org.wso2.carbon.integration.framework</includeArtifactIds>
-                        </configuration>
-                    </execution>
-                    <execution>
-                    	<id>copy-secVerifier</id>
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/security-verifier</outputDirectory>
-                            <includeTypes>aar</includeTypes>
-                            <includeArtifactIds>SecVerifier</includeArtifactIds>
-                            <stripVersion>true</stripVersion>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-    <dependencies>
-        <!--<dependency>
-            <groupId>org.wso2.lb</groupId>
-            <artifactId>wso2lb</artifactId>
-            <version>${project.version}</version>
-        </dependency>-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.integration.framework</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.testng</groupId>
-            <artifactId>testng</artifactId>
-            <version>6.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>emma</groupId>
-            <artifactId>emma</artifactId>
-            <version>${emma.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>SecVerifier</artifactId>
-            <version>${carbon.version}</version>
-            <type>aar</type>
-        </dependency>
-    </dependencies>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java b/products/elb/2.0.5/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java
deleted file mode 100644
index b9954cf..0000000
--- a/products/elb/2.0.5/modules/integration/src/test/java/org/wso2/lb/integration/tests/LoadBalancerTestServerManager.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-*  Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-*  WSO2 Inc. licenses this file to you under the Apache License,
-*  Version 2.0 (the "License"); you may not use this file except
-*  in compliance with the License.
-*  You may obtain a copy of the License at
-*
-*    http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-package org.wso2.lb.integration.tests;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.testng.annotations.AfterSuite;
-import org.testng.annotations.BeforeSuite;
-import org.wso2.carbon.integration.framework.TestServerManager;
-
-import java.io.IOException;
-
-/**
- * Prepares the WSO2 LB for test runs, starts the server, and stops the server after
- * test runs
- */
-public class LoadBalancerTestServerManager extends TestServerManager {
-
-    @Override
-    @BeforeSuite(timeOut = 300000)
-    public String startServer() throws IOException {
-        String carbonHome = super.startServer();
-        System.setProperty("carbon.home", carbonHome);
-        return carbonHome;
-    }
-
-    @Override
-    @AfterSuite(timeOut = 60000)
-    public void stopServer() throws Exception {
-        super.stopServer();
-    }
-
-    protected void copyArtifacts(String carbonHome) throws IOException {
-        // Nothing to do
-    }
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/integration/src/test/resources/instrumentation.txt
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/integration/src/test/resources/instrumentation.txt b/products/elb/2.0.5/modules/integration/src/test/resources/instrumentation.txt
deleted file mode 100644
index 39ec979..0000000
--- a/products/elb/2.0.5/modules/integration/src/test/resources/instrumentation.txt
+++ /dev/null
@@ -1 +0,0 @@
-org.wso2.carbon.*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/p2-profile/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/p2-profile/pom.xml b/products/elb/2.0.5/modules/p2-profile/pom.xml
deleted file mode 100755
index 1358e39..0000000
--- a/products/elb/2.0.5/modules/p2-profile/pom.xml
+++ /dev/null
@@ -1,342 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~      http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.elb</groupId>
-        <artifactId>elb-parent</artifactId>
-        <version>2.0.5</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2elb-p2-profile-gen</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 ELB - P2 Profile Generation</name>
-    <url>http://www.wso2.org</url>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>unpack-carbon-core</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>wso2carbon-core</artifactId>
-                                    <version>${carbon.kernel.version}</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                     <execution>
-                        <id>2-unpack-kernel-patch</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>WSO2-CARBON-PATCH-4.1.0</artifactId>
-                                    <version>0002</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>2-p2-repo-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-repo-gen</goal>
-                        </goals>
-                        <configuration>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <publishArtifacts>true</publishArtifacts>
-                            <publishArtifactRepository>true</publishArtifactRepository>
-                            <featureArtifacts>
-                                <!--featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.aws.java.sdk.feature:1.0.0
-                                </featureArtifactDef-->
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.service.mgt.server.feature:${carbon.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.transport.mgt.server.feature:${carbon.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.transport.nhttp.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.datasource.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.apache.synapse.wso2.feature:${synapse.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.apache.synapse.transport.nhttp.feature:${synapse.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.task.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.mediation.initializer.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <!--featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.localentry.server.feature:${carbon.version}
-                                </featureArtifactDef-->
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.endpoint.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-				 <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.lb.endpoint.server.feature:${carbon.patch.version.4.1.3}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.sequences.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.mediators.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.relay.server.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.transports.passthru.feature:${passthru.transport.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.ntask.core.feature:${carbon.version}
-                                </featureArtifactDef>
-
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.stratos.cloud.controller.feature:${stratos.component.patch.version.2.1.3}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.mediator.autoscale.feature:${carbon.patch.version.4.1.3}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.lb.common.feature:${carbon.patch.version.4.1.3}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.coordination.server.feature:${carbon.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.coordination.core.feature:${carbon.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.registry.core.feature:${carbon.version}
-                                </featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.security.mgt.server.feature:${carbon.version}</featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.module.mgt.server.feature:${carbon.version}</featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.throttle.server.feature:${carbon.version}</featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.caching.server.feature:${carbon.version}</featureArtifactDef>
-		                <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.rm.server.feature:${carbon.version}</featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.databridge.datapublisher.feature:${carbon.patch.version.4.1.1}
-                                </featureArtifactDef>
-				<!--***********************************************-->
-				<featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.event.server.feature:${carbon.version}
-                                </featureArtifactDef>
-                            </featureArtifacts>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>3-p2-profile-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-profile-gen</goal>
-                        </goals>
-                        <configuration>
-                            <profile>WSO2CarbonProfile</profile>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <destination>
-                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
-                            </destination>
-                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
-                            <features>
-                                <feature>
-                                    <id>org.apache.synapse.wso2.feature.group</id>
-                                    <version>${synapse.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.apache.synapse.transport.nhttp.feature.group</id>
-                                    <version>${synapse.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.task.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.datasource.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.mediation.initializer.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.service.mgt.server.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.transport.mgt.server.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.transport.nhttp.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.stratos.cloud.controller.feature.group</id>
-                                    <version>${stratos.component.patch.version.2.1.3}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.endpoint.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.sequences.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.mediators.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.relay.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.transports.passthru.feature.group</id>
-                                    <version>${passthru.transport.version}</version>
-                                </feature>
-                                <!--feature>
-                                    <id>org.wso2.carbon.load.balance.agent.ui.feature.group</id>
-                                    <version>${stratos.version}</version>
-                                </feature-->
-                                <feature>
-                                    <id>org.wso2.carbon.ntask.core.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.coordination.server.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.coordination.core.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.registry.core.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.mediator.autoscale.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.3}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.lb.common.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.3}</version>
-                                </feature>
-				<feature>
-                                    <id>org.wso2.carbon.lb.endpoint.server.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.3}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
-                                    <version>${carbon.patch.version.4.1.1}</version>
-                                </feature>
-				<!--***********************************************-->
-				<feature>
-                                    <id>org.wso2.carbon.event.server.feature.group</id>
-                                    <version>${carbon.version}</version>
-                                </feature>
-
-                            </features>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-	    <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.1</version>
-        <executions>
-            <execution>
-                <phase>package</phase>
-                <configuration>
-                    <tasks>
-                        <replace token="false" value="true"
-                                 dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/configuration/org.eclipse.equinox.simpleconfigurator">
-                            <include name="**/bundles.info"/>
-                        </replace>
-                    </tasks>
-                </configuration>
-                <goals>
-                    <goal>run</goal>
-                </goals>
-            </execution>
-        </executions>
-    </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/pom.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/pom.xml b/products/elb/2.0.5/pom.xml
deleted file mode 100755
index dc47f8c..0000000
--- a/products/elb/2.0.5/pom.xml
+++ /dev/null
@@ -1,216 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.carbon</groupId>
-        <artifactId>carbon-products</artifactId>
-        <version>4.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.elb</groupId>
-    <artifactId>elb-parent</artifactId>
-    <packaging>pom</packaging>
-    <version>2.0.5</version>
-    <name>WSO2 ELB - Aggregator Module</name>
-    <url>http://wso2.com/products/load-balancer</url>
-    <description>WSO2 Elastic Load Balancer (ELB)</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>modules/p2-profile</module>
-        <module>modules/distribution</module>
-        <!--<module>modules/integration</module>-->
-    </modules>
-
-    <scm>
-        <connection>scm:svn:http://wso2.org/repos/wso2/trunk/carbon/products/lb</connection>
-        <developerConnection>scm:svn:https://wso2.org/repos/wso2/trunk/carbon/products/lb</developerConnection>
-        <url>https://wso2.org/repos/wso2/trunk/carbon/products/lb</url>
-    </scm>
-
-    <repositories>
-        <repository>
-            <id>wso2-nexus</id>
-            <name>WSO2 internal Repository</name>
-            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
-            <releases>
-                <enabled>true</enabled>
-                <updatePolicy>daily</updatePolicy>
-                <checksumPolicy>ignore</checksumPolicy>
-            </releases>
-        </repository>
-        <!--moved to nexus
-
-        <repository>
-            <id>wso2-maven2-repository-snapshot</id>
-            <url>http://dist.wso2.org/snapshots/maven2</url>
-        </repository>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </repository>
-
-        -->
-    </repositories>
-
-    <pluginRepositories>
-        <pluginRepository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </pluginRepository>
-    </pluginRepositories>
-
-    <distributionManagement>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <name>WSO2 Maven2 Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
-        </repository>
-        <snapshotRepository>
-            <id>wso2-maven2-snapshot-repository</id>
-            <name>WSO2 Maven2 Snapshot Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url>
-        </snapshotRepository>
-    </distributionManagement>
-
-    <profiles>
-        <profile>
-            <id>signed-build</id>
-            <activation>
-                <property>
-                    <name>sign</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-gpg-plugin</artifactId>
-                        <version>1.0-alpha-3</version>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
-    <organization>
-        <name>WSO2 Inc</name>
-        <url>http://wso2.com</url>
-    </organization>
-
-    <issueManagement>
-        <system>JIRA</system>
-        <url>http://wso2.org/jira/browse/LB</url>
-    </issueManagement>
-
-    <mailingLists>
-        <mailingList>
-            <name>WSO2 LB Users' list</name>
-            <post>mailto:lb-user@wso2.org</post>
-            <archive>http://wso2.org/mailarchive/lb-user/</archive>
-            <subscribe>mailto:lb-user-request@wso2.org?subject=subscribe</subscribe>
-            <unsubscribe>mailto:lb-user-request@wso2.org?subject=unsubscribe</unsubscribe>
-        </mailingList>
-        <mailingList>
-            <name>WSO2 LB/Carbon Developers' List</name>
-            <post>mailto:dev@wso2.org</post>
-            <archive>http://wso2.org/mailarchive/dev/</archive>
-            <subscribe>mailto:dev-request@wso2.org?subject=subscribe</subscribe>
-            <unsubscribe>mailto:dev-request@wso2.org?subject=unsubscribe</unsubscribe>
-        </mailingList>
-    </mailingLists>
-
-    <dependencyManagement>
-        <dependencies>
-            <!-- Dependencies for dashboard ui -->
-            <dependency>
-                <groupId>org.apache.axis2.wso2</groupId>
-                <artifactId>axis2</artifactId>
-                <version>${axis2.wso2.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>log4j</groupId>
-                <artifactId>log4j</artifactId>
-                <version>${log4j.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-logging</groupId>
-                <artifactId>commons-logging</artifactId>
-                <version>${commons.logging.version}</version>
-            </dependency>
-            <!-- Dependencies for login ui -->
-            <dependency>
-                <groupId>javax.servlet</groupId>
-                <artifactId>servlet-api</artifactId>
-                <version>${servlet-api.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-                <artifactId>axiom</artifactId>
-                <version>${axiom.wso2.version}</version>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-
-     <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-        <opencsv.version>1.8</opencsv.version>
-        <poi.version>3.0-FINAL</poi.version>
-        <carbon.version>4.1.0</carbon.version>
-        <carbon.kernel.version>4.1.0</carbon.kernel.version>
-        <carbon.patch.version.4.1.1>4.1.1</carbon.patch.version.4.1.1>
-        <carbon.patch.version.4.1.3>4.1.3</carbon.patch.version.4.1.3>
-	<stratos.component.version>2.1.0</stratos.component.version>
-	<stratos.component.patch.version.2.1.1>2.1.1</stratos.component.patch.version.2.1.1>
-	<stratos.component.patch.version.2.1.3>2.1.3</stratos.component.patch.version.2.1.3>
-        <synapse.version>2.1.1-wso2v6</synapse.version>
-        <axis2.transport.version>1.1.0-wso2v6</axis2.transport.version>
-        <elb.version>2.0.5</elb.version>
-        <passthru.transport.version>1.0.2</passthru.transport.version>
-        <axis2.wso2.version>1.6.1.wso2v9</axis2.wso2.version>
-        <axiom.wso2.version>1.2.11.wso2v2</axiom.wso2.version>
-	<servlet-api.version>2.4</servlet-api.version>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-    </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/elb/INSTALL.txt b/products/elb/INSTALL.txt
new file mode 100644
index 0000000..bb020af
--- /dev/null
+++ b/products/elb/INSTALL.txt
@@ -0,0 +1,55 @@
+Installing  WSO2 Elastic Load Balancer (ELB) 2.0.5
+==================================================
+
+WSO2 ELB 2.0.5 can be run as a light-weight software load balancer in 
+stand-alone mode, that can be configured to balance the load across the services nodes.
+
+Standalone Mode
+===============
+1. The directory containing this INSTALL.txt file will be the root and it will be
+   treated as Carbon home directory and let it be CARBON_HOME.
+
+2. All the shell scripts and .bat files are available in CARBON_HOME/bin folder.
+
+3. To start ELB one can use either wso2server.sh in all Unix
+   systems & wso2server.bat file on Windows operating systems.
+
+4. Either of the following commands can be used to start ELB
+      i)  ./wso2server.sh {console|start|stop|restart|version}
+     ii)  wso2server.bat {start|stop|version}
+
+        Usage: wso2server.sh [command] [options] [system-properties]
+
+            command:
+                --start		    Start ELB as a Unix daemon in the background
+                --console	    Start ELB as a Unix daemon in the foreground
+                --stop		    Stop the ELB Unix daemon
+                --restart	    Restart the ELB Unix daemon
+                --version	    What version of the ELB server are you running
+            options:
+                --debug <port> 	Start the server in remote debugging mode.
+                                port: The remote debugging port.
+
+            system-properties:
+                -DhttpPort		Overrides the HTTP port defined in the
+                                catalina-server.xml file
+                -DhttpsPort		Overrides the HTTPS port defined in the
+                                catalina-server.xml file
+                -DosgiConsole=[port]
+                                Start Carbon with Equinox OSGi console.
+                                If the optional 'port' parameter is provided, a
+                                telnet port will be opened
+                -DosgiDebugOptions=[options-file]
+                                Start Carbon with OSGi debugging enabled.
+                                If the optional 'options-file is provided, the
+                                OSGi debug options will be loaded from it.
+                -Dsetup			Clean the Registry database & other
+                                configuration, recreate DB, re-populate the
+                                configuration, and start Carbon
+
+System Requirements
+=======================
+1. Minimum memory - 1.5GB
+2. Processor      - Pentium 800MHz or equivalent at minimum
+3. Java SE Development Kit 1.6.0_24 or higher
+


[8/9] applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/assembly/bin.xml b/products/elb/2.0.4/modules/distribution/src/main/assembly/bin.xml
deleted file mode 100755
index 27f5a05..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/assembly/bin.xml
+++ /dev/null
@@ -1,284 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <excludes>
-                <exclude>**/*.sh</exclude>
-                <exclude>**/conf/axis2/axis2.xml</exclude>
-                <exclude>**/conf/mgt-transports.xml</exclude>
-                <exclude>**/conf/synapse.xml</exclude>
-                <exclude>**/conf/cipher-text.properties</exclude>
-                <exclude>**/log4j.properties</exclude>
-                <exclude>**/native/*</exclude>
-                <exclude>**/services/sample01.aar</exclude>
-                <exclude>**/repository/services/version/**</exclude>
-                <exclude>**/version.txt</exclude>
-                <exclude>**/wso2server.bat</exclude>
-                <exclude>**/README.txt</exclude>
-                <exclude>**/LICENSE.txt</exclude>
-                <exclude>**/INSTALL.txt</exclude>
-                <exclude>**/release-notes.html</exclude>
-                <exclude>**/carbon.xml</exclude>
-                <exclude>**/wsdl2java.*</exclude>
-                <exclude>**/java2wsdl.*</exclude>
-                <exclude>**/java2wsdl.*</exclude>
-                <exclude>**/tcpmon.*</exclude>
-                <exclude>**/build.xml</exclude>
-                <exclude>**/chpasswd.*</exclude>
-                <exclude>**/carbondump.*</exclude>
-                <exclude>**/ciphertool.*</exclude>
-                <exclude>**/jgroups-s3_ping-aws.xml</exclude>
-                <exclude>**/tomcat-users.xml</exclude>
-                <exclude>**/axis2/tenant-axis2.xml</exclude>
-                <exclude>**/authenticators.xml</exclude>
-                <exclude>**/embedded-ldap.xml</exclude>
-                <exclude>**/user-mgt.xml</exclude>
-                <exclude>**/*.aar</exclude>
-                <exclude>**/webapp-mode/**</exclude>
-                <exclude>**/repository/components/plugins/*.ui*</exclude>
-                <!--exclude>**/samples/*</exclude-->
-            </excludes>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/conf/synapse-configs</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/deployment/server/synapse-configs
-            </outputDirectory>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/cartridges</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/deployment/server/cartridges</outputDirectory>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/services</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/deployment/server/services</outputDirectory>
-        </fileSet>
-        <fileSet>
-            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/etc</outputDirectory>
-            <includes>
-                <include>*.xsd</include>
-            </includes>
-        </fileSet>
-    </fileSets>
-
-    <dependencySets>
-        <!-- use the new tool to create a bundles -->
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
-            <includes>
-                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
-            </includes>
-        </dependencySet>
-        <!--dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/samples/axis2Client/client_repo/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/samples/axis2Server/repository/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet-->
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/repository/axis2/client/lib</outputDirectory>
-            <includes>
-                <include>bouncycastle:bcprov-jdk15:jar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/repository/deployment/client/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.rampart:rampart:mar</include>
-            </includes>
-        </dependencySet>
-        <!-- MB Client libs -->
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/repository/components/dropins</outputDirectory>
-            <includes>
-                <include>org.wso2.andes.wso2:andes-client:jar</include>
-                <include>org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar</include>
-                <!--include>org.wso2.carbon:org.wso2.carbon.event.client.stub:jar</include>
-                <include>org.wso2.carbon:org.wso2.carbon.event.client:jar</include-->
-            </includes>
-        </dependencySet>
-    </dependencySets>
-
-    <files>
-        <file>
-            <source>src/main/bin/wso2server.sh</source>
-            <outputDirectory>wso2elb-${pom.version}/bin</outputDirectory>
-            <destName>wso2server.sh</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/bin/wso2server.bat</source>
-            <outputDirectory>wso2elb-${pom.version}/bin</outputDirectory>
-            <destName>wso2server.bat</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>
-                ../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-broker.xml
-            </source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-        </file>
-        <file>
-            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/zoo.cfg</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-        <file>
-            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/coordination-client-config.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-        <file>
-            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/cloud-controller.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/</outputDirectory>
-        </file>
-        <file>
-            <source>src/main/conf/user-mgt.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>user-mgt.xml</destName>
-        </file>
-        <file>
-            <source>src/main/conf/embedded-ldap.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>embedded-ldap.xml</destName>
-        </file>
-        <file>
-            <source>src/main/conf/axis2.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/axis2</outputDirectory>
-            <destName>axis2.xml</destName>
-        </file>
-	      <file>
-            <source>src/main/conf/loadbalancer.conf</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>loadbalancer.conf</destName>
-        </file>
-        <file>
-            <source>src/main/conf/log4j.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>log4j.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/synapse.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>synapse.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/cipher-text.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/lib</outputDirectory>
-            <destName>cipher-text.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/nhttp.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>nhttp.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/passthru-http.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>passthru-http.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/datasources.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>datasources.properties</destName>
-            <filtered>true</filtered>
-        </file>
-                                                                
-        <file>
-            <source>../../LICENSE.txt</source>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../README.txt</source>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../INSTALL.txt</source>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../docs/xdoc/release-notes.xml</source>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <destName>release-notes.html</destName>
-            <fileMode>644</fileMode>
-        </file>
-        <!--file>
-            <source>target/wso2carbon-core-${carbon.patch.version}/bin/README.txt</source>
-            <outputDirectory>wso2elb-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file-->
-        <file>
-            <source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
-            <outputDirectory>wso2elb-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <!--file>
-            <source>target/wso2carbon-core-${carbon.patch.version}/bin/wso2server.bat
-            </source>
-            <outputDirectory>wso2elb-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-        </file-->
-        <file>
-            <source>
-                target/wso2carbon-core-${carbon.kernel.version}/repository/conf/carbon.xml
-            </source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/assembly/dist.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/assembly/dist.xml b/products/elb/2.0.4/modules/distribution/src/main/assembly/dist.xml
deleted file mode 100644
index 8e75c32..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/assembly/dist.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <!-- Copying p2 profile and osgi bundles-->
-        <fileSet>
-            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/components</outputDirectory>
-            <excludes>
-                <exclude>**/eclipse.ini</exclude>
-                <exclude>**/*.lock</exclude>
-                <exclude>**/.data</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/synapse-samples*</exclude>
-            </excludes>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/assembly/docs.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/assembly/docs.xml b/products/elb/2.0.4/modules/distribution/src/main/assembly/docs.xml
deleted file mode 100644
index 1b0fe65..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/assembly/docs.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <id>docs</id>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>target/site</directory>
-            <outputDirectory>wso2elb-${pom.version}-docs</outputDirectory>
-            <fileMode>755</fileMode>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/assembly/filter.properties b/products/elb/2.0.4/modules/distribution/src/main/assembly/filter.properties
deleted file mode 100644
index 29c716c..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/assembly/filter.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-product.name=WSO2 ELB
-product.key=ELB
-product.version=2.0.4
-
-carbon.version=4.1.1
-lb.version=2.0.4
-default.server.role=ElasticLoadBalancer
-bundle.creators=org.wso2.carbon.mediator.bridge.MediatorBundleCreator

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/assembly/src.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/assembly/src.xml b/products/elb/2.0.4/modules/distribution/src/main/assembly/src.xml
deleted file mode 100644
index 6a4e705..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/assembly/src.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <id>src</id>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <formats>
-        <format>zip</format>
-    </formats>
-
-    <fileSets>
-        <fileSet>
-            <directory>target/sources</directory>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>../..</directory>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <includes>
-                <include>modules/**/*</include>
-                <include>**/pom.xml</include>
-            </includes>
-            <excludes>
-                <exclude>**/target</exclude>
-                <exclude>**/target/**/*</exclude>
-                <exclude>**/build</exclude>
-                <exclude>**/build/**/*</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/.classpath</exclude>
-                <exclude>**/.project</exclude>
-                <exclude>**/.wtpmodules</exclude>
-                <exclude>**/*.iml</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/.settings/**/*</exclude>
-            </excludes>
-        </fileSet>
-    </fileSets>
-    <files>
-        <file>
-            <source>../../LICENSE.txt</source>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>../../README.txt</source>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>../../INSTALL.txt</source>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/bin/wso2server.bat
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/bin/wso2server.bat b/products/elb/2.0.4/modules/distribution/src/main/bin/wso2server.bat
deleted file mode 100644
index 9317b47..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/bin/wso2server.bat
+++ /dev/null
@@ -1,170 +0,0 @@
-@echo off
-
-REM ---------------------------------------------------------------------------
-REM        Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
-REM
-REM  Licensed under the Apache License, Version 2.0 (the "License");
-REM  you may not use this file except in compliance with the License.
-REM  You may obtain a copy of the License at
-REM
-REM      http://www.apache.org/licenses/LICENSE-2.0
-REM
-REM  Unless required by applicable law or agreed to in writing, software
-REM  distributed under the License is distributed on an "AS IS" BASIS,
-REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-REM  See the License for the specific language governing permissions and
-REM  limitations under the License.
-
-rem ---------------------------------------------------------------------------
-rem Main Script for WSO2 Carbon
-rem
-rem Environment Variable Prequisites
-rem
-rem   CARBON_HOME   Home of CARBON installation. If not set I will  try
-rem                   to figure it out.
-rem
-rem   JAVA_HOME       Must point at your Java Development Kit installation.
-rem
-rem   JAVA_OPTS       (Optional) Java runtime options used when the commands
-rem                   is executed.
-rem ---------------------------------------------------------------------------
-
-rem ----- if JAVA_HOME is not set we're not happy ------------------------------
-:checkJava
-
-if "%JAVA_HOME%" == "" goto noJavaHome
-if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
-goto checkServer
-
-:noJavaHome
-echo "You must set the JAVA_HOME variable before running CARBON."
-goto end
-
-rem ----- Only set CARBON_HOME if not already set ----------------------------
-:checkServer
-rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed
-if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0..
-SET curDrive=%cd:~0,1%
-SET wsasDrive=%CARBON_HOME:~0,1%
-if not "%curDrive%" == "%wsasDrive%" %wsasDrive%:
-
-rem find CARBON_HOME if it does not exist due to either an invalid value passed
-rem by the user or the %0 problem on Windows 9x
-if not exist "%CARBON_HOME%\bin\version.txt" goto noServerHome
-
-set AXIS2_HOME=%CARBON_HOME%
-goto updateClasspath
-
-:noServerHome
-echo CARBON_HOME is set incorrectly or CARBON could not be located. Please set CARBON_HOME.
-goto end
-
-rem ----- update classpath -----------------------------------------------------
-:updateClasspath
-
-setlocal EnableDelayedExpansion
-cd %CARBON_HOME%
-set CARBON_CLASSPATH=
-FOR %%C in ("%CARBON_HOME%\bin\*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\bin\%%~nC%%~xC"
-
-set CARBON_CLASSPATH="%JAVA_HOME%\lib\tools.jar";%CARBON_CLASSPATH%;
-
-FOR %%D in ("%CARBON_HOME%\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\lib\%%~nD%%~xD"
-
-rem ----- Process the input command -------------------------------------------
-
-rem Slurp the command line arguments. This loop allows for an unlimited number
-rem of arguments (up to the command line limit, anyway).
-
-
-:setupArgs
-if ""%1""=="""" goto doneStart
-
-if ""%1""==""-run""     goto commandLifecycle
-if ""%1""==""--run""    goto commandLifecycle
-if ""%1""==""run""      goto commandLifecycle
-
-if ""%1""==""-restart""  goto commandLifecycle
-if ""%1""==""--restart"" goto commandLifecycle
-if ""%1""==""restart""   goto commandLifecycle
-
-if ""%1""==""debug""    goto commandDebug
-if ""%1""==""-debug""   goto commandDebug
-if ""%1""==""--debug""  goto commandDebug
-
-if ""%1""==""version""   goto commandVersion
-if ""%1""==""-version""  goto commandVersion
-if ""%1""==""--version"" goto commandVersion
-
-shift
-goto setupArgs
-
-rem ----- commandVersion -------------------------------------------------------
-:commandVersion
-shift
-type "%CARBON_HOME%\bin\version.txt"
-type "%CARBON_HOME%\bin\wso2carbon-version.txt"
-goto end
-
-rem ----- commandDebug ---------------------------------------------------------
-:commandDebug
-shift
-set DEBUG_PORT=%1
-if "%DEBUG_PORT%"=="" goto noDebugPort
-if not "%JAVA_OPTS%"=="" echo Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option.
-set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT%
-echo Please start the remote debugging client to continue...
-goto findJdk
-
-:noDebugPort
-echo Please specify the debug port after the --debug option
-goto end
-
-
-:doneStart
-if "%OS%"=="Windows_NT" @setlocal
-if "%OS%"=="WINNT" @setlocal
-
-rem ---------- Handle the SSL Issue with proper JDK version --------------------
-rem find the version of the jdk
-:findJdk
-
-set CMD=RUN %*
-
-:checkJdk16
-"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[6|7]" >NUL
-IF ERRORLEVEL 1 goto unknownJdk
-goto jdk16
-
-:unknownJdk
-echo Starting WSO2 Carbon (in unsupported JDK)
-echo [ERROR] CARBON is supported only on JDK 1.6 and 1.7
-goto jdk16
-
-:jdk16
-goto runServer
-
-rem ----------------- Execute The Requested Command ----------------------------
-
-:runServer
-cd %CARBON_HOME%
-
-rem ---------- Add jars to classpath ----------------
-
-set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
-
-set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
-
-set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms1500m -Xmx3000m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=%CARBON_HOME%\repository\logs\heap-dump.hprof -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dloadbalancer.conf="file:///%CARBON_HOME%/repository/conf/loadbalancer.conf" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\log4j.properties" -
 Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcarbon.logs.path="%CARBON_HOME%\repository\logs" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
-
-:runJava
-echo JAVA_HOME environment variable is set to %JAVA_HOME%
-echo CARBON_HOME environment variable is set to %CARBON_HOME%
-"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.carbon.bootstrap.Bootstrap %CMD%
-if "%ERRORLEVEL%"=="121" goto runJava
-:end
-goto endlocal
-
-:endlocal
-
-:END

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/bin/wso2server.sh
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/bin/wso2server.sh b/products/elb/2.0.4/modules/distribution/src/main/bin/wso2server.sh
deleted file mode 100644
index 253a33f..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/bin/wso2server.sh
+++ /dev/null
@@ -1,299 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------------
-#  Copyright WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-
-# ----------------------------------------------------------------------------
-# Main Script for the WSO2 Carbon Server
-#
-# Environment Variable Prequisites
-#
-#   CARBON_HOME   Home of WSO2 Carbon installation. If not set I will  try
-#                   to figure it out.
-#
-#   JAVA_HOME       Must point at your Java Development Kit installation.
-#
-#   JAVA_OPTS       (Optional) Java runtime options used when the commands
-#                   is executed.
-#
-# NOTE: Borrowed generously from Apache Tomcat startup scripts.
-# -----------------------------------------------------------------------------
-
-# OS specific support.  $var _must_ be set to either true or false.
-
-cygwin=false;
-darwin=false;
-os400=false;
-mingw=false;
-case "`uname`" in
-CYGWIN*) cygwin=true;;
-MINGW*) mingw=true;;
-OS400*) os400=true;;
-Darwin*) darwin=true
-        if [ -z "$JAVA_VERSION" ] ; then
-             JAVA_VERSION="CurrentJDK"
-           else
-             echo "Using Java version: $JAVA_VERSION"
-           fi
-           if [ -z "$JAVA_HOME" ] ; then
-             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
-           fi
-           ;;
-esac
-
-# resolve links - $0 may be a softlink
-PRG="$0"
-
-while [ -h "$PRG" ]; do
-  ls=`ls -ld "$PRG"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '.*/.*' > /dev/null; then
-    PRG="$link"
-  else
-    PRG=`dirname "$PRG"`/"$link"
-  fi
-done
-
-# Get standard environment variables
-PRGDIR=`dirname "$PRG"`
-
-# Only set CARBON_HOME if not already set
-[ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd`
-
-# Set AXIS2_HOME. Needed for One Click JAR Download
-AXIS2_HOME=$CARBON_HOME
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched
-if $cygwin; then
-  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-  [ -n "$CARBON_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
-  [ -n "$AXIS2_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
-fi
-
-# For OS400
-if $os400; then
-  # Set job priority to standard for interactive (interactive - 6) by using
-  # the interactive priority - 6, the helper threads that respond to requests
-  # will be running at the same priority as interactive jobs.
-  COMMAND='chgjob job('$JOBNAME') runpty(6)'
-  system $COMMAND
-
-  # Enable multi threading
-  QIBM_MULTI_THREADED=Y
-  export QIBM_MULTI_THREADED
-fi
-
-# For Migwn, ensure paths are in UNIX format before anything is touched
-if $mingw ; then
-  [ -n "$CARBON_HOME" ] &&
-    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
-  [ -n "$JAVA_HOME" ] &&
-    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
-  [ -n "$AXIS2_HOME" ] &&
-    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
-  # TODO classpath?
-fi
-
-if [ -z "$JAVACMD" ] ; then
-  if [ -n "$JAVA_HOME"  ] ; then
-    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
-      # IBM's JDK on AIX uses strange locations for the executables
-      JAVACMD="$JAVA_HOME/jre/sh/java"
-    else
-      JAVACMD="$JAVA_HOME/bin/java"
-    fi
-  else
-    JAVACMD=java
-  fi
-fi
-
-if [ ! -x "$JAVACMD" ] ; then
-  echo "Error: JAVA_HOME is not defined correctly."
-  echo " CARBON cannot execute $JAVACMD"
-  exit 1
-fi
-
-# if JAVA_HOME is not set we're not happy
-if [ -z "$JAVA_HOME" ]; then
-  echo "You must set the JAVA_HOME variable before running CARBON."
-  exit 1
-fi
-
-# ----- Process the input command ----------------------------------------------
-for c in $*
-do
-    if [ "$c" = "--debug" ] || [ "$c" = "-debug" ] || [ "$c" = "debug" ]; then
-          CMD="--debug"
-          continue
-    elif [ "$CMD" = "--debug" ]; then
-          if [ -z "$PORT" ]; then
-                PORT=$c
-          fi
-    elif [ "$c" = "--n" ] || [ "$c" = "-n" ] || [ "$c" = "n" ]; then
-          CMD="--n"
-          continue
-    elif [ "$CMD" = "--n" ]; then
-          if [ -z "$INSTANCES" ]; then
-                INSTANCES=$c
-          fi
-    elif [ "$c" = "--stop" ] || [ "$c" = "-stop" ] || [ "$c" = "stop" ]; then
-          CMD="stop"
-    elif [ "$c" = "--start" ] || [ "$c" = "-start" ] || [ "$c" = "start" ]; then
-          CMD="start"
-    elif [ "$c" = "--console" ] || [ "$c" = "-console" ] || [ "$c" = "console" ]; then
-          CMD="console"
-    elif [ "$c" = "--version" ] || [ "$c" = "-version" ] || [ "$c" = "version" ]; then
-          CMD="version"
-    elif [ "$c" = "--restart" ] || [ "$c" = "-restart" ] || [ "$c" = "restart" ]; then
-          CMD="restart"
-    elif [ "$c" = "--dump" ] || [ "$c" = "-dump" ] || [ "$c" = "dump" ]; then
-          CMD="dump"
-    elif [ "$c" = "--test" ] || [ "$c" = "-test" ] || [ "$c" = "test" ]; then
-          CMD="test"
-    elif [ "$c" = "--status" ] || [ "$c" = "-status" ] || [ "$c" = "status" ]; then
-          CMD="status"
-    fi
-done
-
-if [ "$CMD" = "--debug" ]; then
-  if [ "$PORT" = "" ]; then
-    echo " Please specify the debug port after the --debug option"
-    exit 1
-  fi
-  if [ -n "$JAVA_OPTS" ]; then
-    echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option."
-  fi
-  CMD="RUN"
-  JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
-  echo "Please start the remote debugging client to continue..."
-elif [ "$CMD" = "--n" ]; then
-  if [ "$INSTANCES" = "" ] || [ ! -z `echo $INSTANCES | sed 's/[0-9]//g'` ]]; then
-    echo " Please specify the number of instances to start after the --n option"
-    exit 1
-  fi
-elif [ "$CMD" = "start" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  nohup $CARBON_HOME/bin/wso2server.sh &
-  exit 0
-elif [ "$CMD" = "stop" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  kill -9 `cat $CARBON_HOME/wso2carbon.pid`
-  exit 0
-elif [ "$CMD" = "restart" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  kill -term `cat $CARBON_HOME/wso2carbon.pid`
-  process_status=0
-  pid=`cat $CARBON_HOME/wso2carbon.pid`
-  while [ "$process_status" -eq "0" ]
-  do
-    sleep 1;
-    ps -p$pid 2>&1 > /dev/null
-    process_status=$?
-  done
-
-  # using nohup bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/wso2server.sh > /dev/null 2>&1 &
-  exit 0
-elif [ "$CMD" = "test" ]; then
-    JAVACMD="exec "$JAVACMD""
-elif [ "$CMD" = "version" ]; then
-  cat $CARBON_HOME/bin/version.txt
-  cat $CARBON_HOME/bin/wso2carbon-version.txt
-  exit 0
-fi
-
-jdk_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
-
-if [ "$jdk_16" = "" ]; then
-   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
-   exit 1
-fi
-
-CARBON_CLASSPATH=""
-if [ -e "$JAVA_HOME/lib/tools.jar" ]; then
-   if [ "$f" != "$JAVA_HOME/lib/tools.jar" ];then
-        CARBON_CLASSPATH="$JAVA_HOME/lib/tools.jar"
-   fi
-fi
-
-CARBON_XBOOTCLASSPATH=""
-for f in "$CARBON_HOME"/lib/xboot/*.jar
-do
-    if [ "$f" != "$CARBON_HOME/lib/xboot/*.jar" ];then
-        CARBON_XBOOTCLASSPATH="$CARBON_XBOOTCLASSPATH":$f
-    fi
-done
-
-JAVA_ENDORSED_DIRS="$CARBON_HOME/lib/endorsed":"$JAVA_HOME/jre/lib/endorsed":"$JAVA_HOME/lib/endorsed"
-
-for f in "$CARBON_HOME"/bin/*.jar
-do
-    if [ "$f" != "$CARBON_HOME/bin/*.jar" ];then
-        CARBON_CLASSPATH="$CARBON_CLASSPATH":$f
-    fi
-done
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin; then
-  JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
-  CARBON_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
-  AXIS2_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
-  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
-  JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
-  CARBON_CLASSPATH=`cygpath --path --windows "$CARBON_CLASSPATH"`
-  CARBON_XBOOTCLASSPATH=`cygpath --path --windows "$CARBON_XBOOTCLASSPATH"`
-fi
-
-# ----- Execute The Requested Command -----------------------------------------
-
-echo JAVA_HOME environment variable is set to $JAVA_HOME
-echo CARBON_HOME environment variable is set to $CARBON_HOME
-
-cd "$CARBON_HOME"
-
-exec "$JAVACMD" \
-        -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
-        -d64 \
-        -server \
-        -Xms1500m -Xmx3000m \
-        -XX:PermSize=256m -XX:MaxPermSize=512m \
-        -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit \
-        -XX:+CMSClassUnloadingEnabled \
-        -XX:+OptimizeStringConcat \
-        -XX:+HeapDumpOnOutOfMemoryError \
-        -XX:OnOutOfMemoryError="kill -9 `echo $$`;nohup ./wso2server.sh &" \
-        -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
-        -XX:ErrorFile=repository/logs/hs_err_pid.log \
-        -XX:OnError="nohup ./wso2server.sh &" \
-        $JAVA_OPTS \
-        -Dcarbon.pid=$$ \
-        -Dcom.sun.management.jmxremote \
-        -Dwso2.loadbalancer=true \
-        -classpath "$CARBON_CLASSPATH" \
-        -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-        -Djava.io.tmpdir="$CARBON_HOME/tmp" \
-        -Dwso2.server.standalone=true \
-        -Dcarbon.registry.root=/ \
-        -Dcarbon.home="$CARBON_HOME" \
-        -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf \
-        -Djava.util.logging.config.file="$CARBON_HOME/lib/log4j.properties" \
-        -Dcarbon.config.dir.path="$CARBON_HOME/repository/conf" \
-        -Dconf.location="$CARBON_HOME/repository/conf" \
-        -Dcomponents.repo="$CARBON_HOME/repository/components/plugins" \
-        -Dcom.atomikos.icatch.file="$CARBON_HOME/lib/transactions.properties" \
-        -Dcom.atomikos.icatch.hide_init_file_path=true \
-        -Dorg.terracotta.quartz.skipUpdateCheck=true \
-        org.wso2.carbon.bootstrap.Bootstrap $*
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/axis2.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/axis2.xml b/products/elb/2.0.4/modules/distribution/src/main/conf/axis2.xml
deleted file mode 100755
index 58dfb4b..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/axis2.xml
+++ /dev/null
@@ -1,525 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<axisconfig name="AxisJava2.0">
-    
-    <!-- ================================================= -->
-    <!--                  Parameters                       -->
-    <!-- ================================================= -->
-
-    <!-- This will give out the timout of the configuration contexts, in milliseconds -->
-    <parameter name="ConfigContextTimeoutInterval" locked="false">30000</parameter>
-
-    <!-- Synapse Configuration file location relative to CARBON_HOME -->
-    <parameter name="SynapseConfig.ConfigurationFile" locked="false">repository/deployment/server/synapse-configs</parameter>
-    <!-- Synapse Home parameter -->
-    <parameter name="SynapseConfig.HomeDirectory" locked="false">.</parameter>
-    <!-- Resolve root used to resolve synapse references like schemas inside a WSDL -->
-    <parameter name="SynapseConfig.ResolveRoot" locked="false">.</parameter>
-    <!-- Synapse Server name parameter -->
-    <parameter name="SynapseConfig.ServerName" locked="false">localhost</parameter>
-   
-
-    <!-- ================================================= -->
-    <!--                Message Formatters                 -->
-    <!-- ================================================= -->
-
-    <!-- Following content type to message formatter mapping can be used to implement support -->
-    <!-- for different message format serializations in Axis2. These message formats are -->
-    <!-- expected to be resolved based on the content type. -->
-    <messageFormatters>
-        <!--messageFormatter contentType="application/xml"
-                          class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>-->
-        <!--messageFormatter contentType="text/xml"
-                         class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>-->
-        <!--messageFormatter contentType="application/soap+xml"
-                         class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>-->
-        <!--messageFormatter contentType="application/x-www-form-urlencoded"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
-        <messageFormatter contentType="multipart/related"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/txt"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/html"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/soap+xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <!--messageFormatter contentType="x-application/hessian"
-                         class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
-        <!--messageFormatter contentType=""
-                         class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
-
-        <messageFormatter contentType="text/css"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <messageFormatter contentType="image/gif"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="img/gif"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/jpeg"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/png"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/ico"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/x-icon"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-	    <messageFormatter contentType="application/x-javascript"
-                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/x-shockwave-flash"
-                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/atom+xml"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/x-www-form-urlencoded"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/xhtml+xml"
-                              class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/octet-stream"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <messageFormatter contentType="multipart/form-data"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/soap+xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <!--JSON Message Formatters-->
-        <messageFormatter contentType="application/json"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/json/badgerfish"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-
-        <messageFormatter contentType=".*"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-    </messageFormatters>
-
-    <!-- ================================================= -->
-    <!--                Message Builders                   -->
-    <!-- ================================================= -->
-
-    <!-- Following content type to builder mapping can be used to implement support for -->
-    <!-- different message formats in Axis2. These message formats are expected to be -->
-    <!-- resolved based on the content type. -->
-    <messageBuilders>
-        <messageBuilder contentType="application/xml"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/txt"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <!--messageBuilder contentType="application/xml"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
-        <!--messageBuilder contentType="application/x-www-form-urlencoded"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
-        <!--messageBuilder contentType="multipart/form-data"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
-        <messageBuilder contentType="multipart/related"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/soap+xml"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/plain"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/xml"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <!--messageBuilder contentType="x-application/hessian"
-                        class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
-        <!--messageBuilder contentType=""
-                         class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
-
-        <!--JSON Message Builders-->
-        <messageBuilder contentType="application/json"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/json/badgerfish"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/javascript"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-        <messageBuilder contentType="text/html"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/css"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/javascript"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-        <messageBuilder contentType="image/gif"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="img/gif"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/jpeg"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/png"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/ico"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/x-icon"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-	    <messageBuilder contentType="application/x-javascript"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/x-shockwave-flash"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/atom+xml"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/x-www-form-urlencoded"
-                            class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/xhtml+xml"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/octet-stream"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/javascript"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-        <messageBuilder contentType="multipart/form-data"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/soap+xml"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-        <messageBuilder contentType=".*"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-    </messageBuilders>
-
-    <!-- ================================================= -->
-    <!--             Transport Ins (Listeners)             -->
-    <!-- ================================================= -->
-    <!--Default trasnport will be passthrough if you need to change please add it here -->
-   <transportReceiver name="http" class="org.apache.synapse.transport.passthru.PassThroughHttpListener">
-      <parameter name="port">8280</parameter>
-      <parameter name="non-blocking"> true</parameter>
-      <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
-   </transportReceiver>
-   <transportReceiver name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLListener">
-        <parameter name="port" locked="false">8243</parameter>
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <parameter name="keystore" locked="false">
-            <KeyStore>
-                <Location>repository/resources/security/wso2carbon.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-                <KeyPassword>wso2carbon</KeyPassword>
-            </KeyStore>
-        </parameter>
-        <parameter name="truststore" locked="false">
-            <TrustStore>
-                <Location>repository/resources/security/client-truststore.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-            </TrustStore>
-        </parameter>
-        <!--<parameter name="SSLVerifyClient">require</parameter>
-            supports optional|require or defaults to none -->
-    </transportReceiver>
-
-    <!-- uncomment for non blocking http transport based on HttpCore + NIO extensions -->
-    <!--transportReceiver name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
-        <parameter name="port" locked="false">8280</parameter>
-        <parameter name="non-blocking" locked="false">true</parameter-->
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
-    <!--/transportReceiver-->
-
-    <!-- the non blocking https transport based on HttpCore + SSL-NIO extensions -->
-    <!--transportReceiver name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLListener">
-        <parameter name="port" locked="false">8243</parameter>
-        <parameter name="non-blocking" locked="false">true</parameter-->
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
-        <!--parameter name="keystore" locked="false">
-            <KeyStore>
-                <Location>repository/resources/security/wso2carbon.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-                <KeyPassword>wso2carbon</KeyPassword>
-            </KeyStore>
-        </parameter>
-        <parameter name="truststore" locked="false">
-            <TrustStore>
-                <Location>repository/resources/security/client-truststore.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-            </TrustStore>
-        </parameter-->
-        <!--<parameter name="SSLVerifyClient">require</parameter>
-            supports optional|require or defaults to none -->
-    <!--/transportReceiver-->
-
-    <!-- ================================================= -->
-    <!--             Transport Outs (Senders)              -->
-    <!-- ================================================= -->
-    <!--Default trasnport will be passthrough if you need to change please add it here -->
-    <transportSender name="http"  class="org.apache.synapse.transport.passthru.PassThroughHttpSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="warnOnHTTP500" locked="false">*</parameter>
-        <!--parameter name="http.proxyHost" locked="false">localhost</parameter>
-        <parameter name="http.proxyPort" locked="false">3128</parameter>
-        <parameter name="http.nonProxyHosts" locked="false">localhost|moon|sun</parameter-->
-    </transportSender>
-    <transportSender name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="keystore" locked="false">
-            <KeyStore>
-                <Location>repository/resources/security/wso2carbon.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-                <KeyPassword>wso2carbon</KeyPassword>
-            </KeyStore>
-        </parameter>
-        <parameter name="truststore" locked="false">
-            <TrustStore>
-                <Location>repository/resources/security/client-truststore.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-            </TrustStore>
-        </parameter>
-        <parameter name="HostnameVerifier">AllowAll</parameter>
-            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
-     </transportSender>
-    <!-- Uncomment for non-blocking http transport based on HttpCore + NIO extensions -->
-    <!--transportSender name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-    </transportSender>
-    <transportSender name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="keystore" locked="false">
-            <KeyStore>
-                <Location>repository/resources/security/wso2carbon.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-                <KeyPassword>wso2carbon</KeyPassword>
-            </KeyStore>
-        </parameter>
-        <parameter name="truststore" locked="false">
-            <TrustStore>
-                <Location>repository/resources/security/client-truststore.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-            </TrustStore>
-        </parameter>
-        <parameter name="HostnameVerifier">AllowAll</parameter-->
-            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
-    <!--/transportSender-->
-
-    <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
-
-    <!-- ================================================= -->
-    <!--                Clustering                         -->
-    <!-- ================================================= -->
-    <!--
-     To enable clustering for this node, set the value of "enable" attribute of the "clustering"
-     element to "true". The initialization of a node in the cluster is handled by the class
-     corresponding to the "class" attribute of the "clustering" element. It is also responsible for
-     getting this node to join the cluster.
-     -->
-    <clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="true">
-
-        <!--
-           This parameter indicates whether the cluster has to be automatically initalized
-           when the AxisConfiguration is built. If set to "true" the initialization will not be
-           done at that stage, and some other party will have to explictly initialize the cluster.
-        -->
-        <parameter name="AvoidInitiation">true</parameter>
-
-        <!--
-           The membership scheme used in this setup. The only values supported at the moment are
-           "multicast" and "wka"
-
-           1. multicast - membership is automatically discovered using multicasting
-           2. wka - Well-Known Address based multicasting. Membership is discovered with the help
-                    of one or more nodes running at a Well-Known Address. New members joining a
-                    cluster will first connect to a well-known node, register with the well-known node
-                    and get the membership list from it. When new members join, one of the well-known
-                    nodes will notify the others in the group. When a member leaves the cluster or
-                    is deemed to have left the cluster, it will be detected by the Group Membership
-                    Service (GMS) using a TCP ping mechanism.
-        -->
-        <parameter name="membershipScheme">wka</parameter>
-
-        <!--
-         The clustering domain/group. Nodes in the same group will belong to the same multicast
-         domain. There will not be interference between nodes in different groups.
-        -->
-        <parameter name="domain">wso2.carbon.lb.domain</parameter>
-
-        <!--
-           When a Web service request is received, and processed, before the response is sent to the
-           client, should we update the states of all members in the cluster? If the value of
-           this parameter is set to "true", the response to the client will be sent only after
-           all the members have been updated. Obviously, this can be time consuming. In some cases,
-           such this overhead may not be acceptable, in which case the value of this parameter
-           should be set to "false"
-        -->
-        <parameter name="synchronizeAll">false</parameter>
-
-        <!--
-          The maximum number of times we need to retry to send a message to a particular node
-          before giving up and considering that node to be faulty
-        -->
-        <parameter name="maxRetries">10</parameter>
-
-        <!-- The multicast address to be used -->
-        <parameter name="mcastAddress">228.0.0.4</parameter>
-
-        <!-- The multicast port to be used -->
-        <parameter name="mcastPort">45564</parameter>
-
-        <!-- The frequency of sending membership multicast messages (in ms) -->
-        <parameter name="mcastFrequency">500</parameter>
-
-        <!-- The time interval within which if a member does not respond, the member will be
-         deemed to have left the group (in ms)
-         -->
-        <parameter name="memberDropTime">3000</parameter>
-
-        <!--
-           The IP address of the network interface to which the multicasting has to be bound to.
-           Multicasting would be done using this interface.
-        -->
-        <parameter name="mcastBindAddress">127.0.0.1</parameter>
-
-        <!-- The host name or IP address of this member -->
-        
-        <!--parameter name="localMemberHost">127.0.0.1</parameter-->
-        
-
-        <!--
-        The TCP port used by this member. This is the port through which other nodes will
-        contact this member
-         -->
-        <parameter name="localMemberPort">4000</parameter>
-
-        <!--
-        Preserve message ordering. This will be done according to sender order.
-        -->
-        <parameter name="preserveMessageOrder">false</parameter>
-
-        <!--
-        Maintain atmost-once message processing semantics
-        -->
-        <parameter name="atmostOnceMessageSemantics">false</parameter>
-         
-        <!--
-           This interface is responsible for handling state replication. The property changes in
-           the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
-
-           The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
-           suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
-           "*" indicates that all properties in a particular context should not be replicated.
-
-            The "enable" attribute indicates whether context replication has been enabled
-        -->
-        <stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
-                      enable="false">
-            <replication>
-                <defaults>
-                    <exclude name="local_*"/>
-                    <exclude name="LOCAL_*"/>
-                </defaults>
-                <context class="org.apache.axis2.context.ConfigurationContext">
-                    <exclude name="local_*"/>
-                    <exclude name="UseAsyncOperations"/>
-                    <exclude name="SequencePropertyBeanMap"/>
-                </context>
-                <context class="org.apache.axis2.context.ServiceGroupContext">
-                    <exclude name="local_*"/>
-                    <exclude name="my.sandesha.*"/>
-                </context>
-                <context class="org.apache.axis2.context.ServiceContext">
-                    <exclude name="local_*"/>
-                    <exclude name="my.sandesha.*"/>
-                </context>
-            </replication>
-        </stateManager>
-    </clustering>
-
-    <!-- ================================================= -->
-    <!--                    Phases                         -->
-    <!-- ================================================= -->
-
-    <phaseOrder type="InFlow">
-        <!--  System pre defined phases       -->
-        <phase name="Transport"/>
-        <phase name="Addressing"/>
-        <phase name="Security"/>
-        <phase name="PreDispatch"/>
-        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
-        <!--  System pre defined phases       -->
-        <phase name="RMPhase"/>
-        <phase name="OpPhase"/>
-    </phaseOrder>
-
-    <phaseOrder type="OutFlow">
-        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
-        <phase name="UEPPhase" />
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <phase name="MUPhase"/>
-        <phase name="OpPhase"/>
-        <phase name="OperationOutPhase"/>
-        <!--system predefined phase-->
-        <!--these phase will run irrespective of the service-->
-        <phase name="PolicyDetermination"/>
-        <phase name="MessageOut"/>
-        <phase name="Security"/>
-    </phaseOrder>
-
-    <phaseOrder type="InFaultFlow">
-        <phase name="Transport"/>
-        <phase name="Addressing"/>
-        <phase name="Security"/>
-        <phase name="PreDispatch"/>
-        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <phase name="OpPhase"/>
-        <phase name="MUPhase"/>
-        <phase name="OperationInFaultPhase"/>
-    </phaseOrder>
-
-    <phaseOrder type="OutFaultFlow">
-        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
-        <phase name="UEPPhase" />
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <!-- Must Understand Header processing phase -->
-        <phase name="MUPhase"/>
-        <phase name="OperationOutFaultPhase"/>
-        <phase name="PolicyDetermination"/>
-        <phase name="MessageOut"/>
-        <phase name="Security"/>
-    </phaseOrder>
-
-</axisconfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/cipher-text.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/cipher-text.properties b/products/elb/2.0.4/modules/distribution/src/main/conf/cipher-text.properties
deleted file mode 100644
index 9ad599b..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/cipher-text.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-#aliases=esb
-#
-## configuration  per each plaintext
-#esb.secret=M6U74dMVvRm4XFMczki2qZ6CsTvnUuRTjSditlACR5vTISSMI7F/mCTVJGOGdKJjij+VWVhBtmAOkElyvR9TwlUECnZ1o5DNsTK6l8je+9amc/ziTQLP3Q1tzm/Ex1pzHsG6jPGGrv3O0B9pZTfYFqRvlcNhM7Ve3WvA3ibs4Yk=
-#esb.secret.alias=wso2carbon
-#esb.secret.keystore=identity
-#

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/datasources.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/datasources.properties b/products/elb/2.0.4/modules/distribution/src/main/conf/datasources.properties
deleted file mode 100644
index 2ef0505..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/datasources.properties
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-################################################################################
-## DataSources Configuration
-################################################################################
-#synapse.datasources=lookupds,reportds
-#synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory
-#synapse.datasources.providerPort=2199
-## If following property is present , then assumes that there is an external JNDI provider and will not start a RMI registry
-##synapse.datasources.providerUrl=rmi://localhost:2199
-#
-#synapse.datasources.lookupds.registry=Memory
-#synapse.datasources.lookupds.type=BasicDataSource
-#synapse.datasources.lookupds.driverClassName=org.apache.derby.jdbc.ClientDriver
-#synapse.datasources.lookupds.url=jdbc:derby://localhost:1527/lookupdb;create=false
-## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
-#synapse.datasources.lookupds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
-#synapse.datasources.lookupds.username=esb
-## Depending on the password provider used, you may have to use an encrypted password here!
-#synapse.datasources.lookupds.password=esb
-#synapse.datasources.lookupds.dsName=lookupdb
-#synapse.datasources.lookupds.maxActive=100
-#synapse.datasources.lookupds.maxIdle=20
-#synapse.datasources.lookupds.maxWait=10000
-#
-#synapse.datasources.reportds.registry=JNDI
-#synapse.datasources.reportds.type=PerUserPoolDataSource
-#synapse.datasources.reportds.cpdsadapter.factory=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
-#synapse.datasources.reportds.cpdsadapter.className=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
-#synapse.datasources.reportds.cpdsadapter.name=cpds
-#synapse.datasources.reportds.dsName=reportdb
-#synapse.datasources.reportds.driverClassName=org.apache.derby.jdbc.ClientDriver
-#synapse.datasources.reportds.url=jdbc:derby://localhost:1527/reportdb;create=false
-## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
-#synapse.datasources.reportds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
-#synapse.datasources.reportds.username=esb
-## Depending on the password provider used, you may have to use an encrypted password here!
-#synapse.datasources.reportds.password=esb
-#synapse.datasources.reportds.maxActive=100
-#synapse.datasources.reportds.maxIdle=20
-#synapse.datasources.reportds.maxWait=10000
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/embedded-ldap.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/embedded-ldap.xml b/products/elb/2.0.4/modules/distribution/src/main/conf/embedded-ldap.xml
deleted file mode 100644
index 6e64fac..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/embedded-ldap.xml
+++ /dev/null
@@ -1,162 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- *
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-*      http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-* -->
-
-<!--
-	All carbon based products comes with a LDAP user store.
-	For this we use an embedded LDAP in carbon based products.
-	This file contains necessary configurations to control the behavior of embedded LDAP.
-	You may use this file to enable, disable LDAP server, configure connection admin password, etc ...
-	In addition to embedded-ldap server configurations this file also has Kerberos KDC (Key Distribution Center)
-	specific configurations.
--->
-
-<EmbeddedLDAPConfig>
-
-  <!--
-	LDAP server configurations
-	==========================
-	This section contains LDAP server specific configurations.
-
-	Property                Usage
-	=======                 ====
-	enable                  If true the embedded LDAP server will start when server starts up.
-				            Else embedded LDAP server will not start. Thus user has to use a different
-				            user store.
-	instanceid              An id given to the LDAP server instance.
-	connectionPassword      The password of the admin. (uid=admin,ou=system)
-	workingDirectory        Location where LDAP will store its schema files.
-	AdminEntryObjectClass   Object class which encapsulate attributes needed by claims.
-	allowAnonymousAccess    Should allow users to access LDAP server without credentials. Default false.
-	accessControlEnabled    Should access control be enabled among partitions. Default true.
-	saslHostName            Default host name to be used in SASL (Simple Authentication and Security Layer).
-				            This property comes from apacheds implementation itself.
-	saslPrincipalName       Default SASL principal name. Again this property also comes from apacheds implementation
-				            itself.
-  -->
-  <EmbeddedLDAP>
-    <Property name="enable">false</Property>
-    <Property name="port">${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-    <Property name="instanceId">default</Property>
-    <Property name="connectionPassword">admin</Property>
-    <Property name="workingDirectory">.</Property>
-    <Property name="AdminEntryObjectClass">wso2Person</Property>
-    <Property name="allowAnonymousAccess">false</Property>
-    <Property name="accessControlEnabled">true</Property>
-    <Property name="denormalizeOpAttrsEnabled">false</Property>
-    <Property name="maxPDUSize">2000000</Property>
-    <Property name="saslHostName">localhost</Property>
-    <Property name="saslPrincipalName">ldap/localhost@EXAMPLE.COM</Property>
-  </EmbeddedLDAP>
-
-  <!--
-	Default partition configurations
-	================================
-	When embedded LDAP server starts for the first time it will create a default partition.
-	Following properties configure values for the default partition.
-
-	Property                        Usage
-	=======                         =====
-	id                              Each partition is given an id. The id given to the default paritition.
-	realm                           Realm is the place where we store user principals and service principals.
-                                        The name of the realm for default partition.
-	kdcPassword                     This parameter is used when KDC (Key Distribution Center) is enabled. In apacheds
-                                        KDC also has a server principal. This defines a password for KDC server principal.
-	ldapServerPrinciplePassword     If LDAP server is also defined as a server principal, this will be the password.
-
-  -->
-  <DefaultPartition>
-    <Property name="id">root</Property>
-    <Property name="realm">wso2.org</Property>
-    <Property name="kdcPassword">secret</Property>
-    <Property name="ldapServerPrinciplePassword">randall</Property>
-  </DefaultPartition>
-
-  <!--
-	Default partition admin configurations
-	======================================
-	In a multi-tenant scenario each tenant will have a separate partition. Thus tenant admin will be the partition admin.
-	Following configurations define admin attributes for above created default partition.
-
-	Property            Usage
-	========            =====
-	uid                 UID attribute for partition admin.
-	commonName          The cn attribute for admin
-	lastName            The sn attribute for admin
-	email               The email attribute for admin
-	passwordType        The password hashing mechanism. Following hashing mechanisms are available, "SHA", "MD5".
-                        "Plaintext" is also a valid value. If KDC is enabled password type will be enforced to be
-                        plain text.
-  -->
-  <PartitionAdmin>
-    <Property name="uid">admin</Property>
-    <Property name="firstName">admin</Property>
-    <Property name="lastName">admin</Property>
-    <Property name="email">admin@wso2.com</Property>
-    <Property name="password">admin</Property>
-    <Property name="passwordType">SHA</Property>
-  </PartitionAdmin>
-
-  <!--
-	Default partition admin's group configuration
-	=============================================
-	Embedded LDAP is capable of keeping group information also.
-	If LDAP groups are enabled in user store (usr-mgt.xml) group information will be
-	recorded in a separate sub-context. Following configuration defines the group
-	properties.
-
-	Property                Usage
-	=======                 =====
-	adminRoleName		    The name of the role/group that admin should be included.
-	groupNameAttribute	    The attribute which group name will be recorded.
-	memberNameAttribute	    The attribute which memebers are recorded.
-  -->
-  <PartitionAdminGroup>
-    <Property name="adminRoleName">admin</Property>
-    <Property name="groupNameAttribute">cn</Property>
-    <Property name="memberNameAttribute">member</Property>
-  </PartitionAdminGroup>
-
-    <!--
-      KDC configurations
-      =================
-      Following configurations are applicable to KDC server. Generally, the KDC is only enabled in
-      Identity Server. You may enable KDC server if you wish to do so. But if you dont have any Kerberos specific
-      programs, it is recommended to disable KDC server.
-
-      Property                          Usage
-      =======                           =====
-      name                              Name given to default KDC server.
-      enabled                           If true a KDC server will start when starting LDAP server.
-                                          Else a KDC server will not start with a LDAP server.
-      protocol                          Default protocol to be used in KDC communication. Default is UDP.
-      maximumTicketLifeTime             The maximum life time of a ticket issued by the KDC.
-      maximumRenewableLifeTime          Life time which a ticket can be used by renewing it several times.
-      preAuthenticationTimeStampEnabled Pre-authentication is a feature in latest Kerberos protocol.
-                                          This property says whether to enable it or disable it.
-    -->
-  <KDCServer>
-    <Property name="name">defaultKDC</Property>
-    <Property name="enabled">false</Property>
-    <Property name="protocol">UDP</Property>
-    <Property name="host">localhost</Property>
-    <Property name="port">${Ports.EmbeddedLDAP.KDCServerPort}</Property>
-    <Property name="maximumTicketLifeTime">8640000</Property>
-    <Property name="maximumRenewableLifeTime">604800000</Property>
-    <Property name="preAuthenticationTimeStampEnabled">true</Property>
-  </KDCServer>
-
-</EmbeddedLDAPConfig>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.4/modules/distribution/src/main/conf/loadbalancer.conf
----------------------------------------------------------------------
diff --git a/products/elb/2.0.4/modules/distribution/src/main/conf/loadbalancer.conf b/products/elb/2.0.4/modules/distribution/src/main/conf/loadbalancer.conf
deleted file mode 100644
index 3b883f5..0000000
--- a/products/elb/2.0.4/modules/distribution/src/main/conf/loadbalancer.conf
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-# WSO2 Inc. licenses this file to you under the Apache License,
-# Version 2.0 (the "License"); you may not use this file except
-# in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# configuration details of WSO2 Elastic Load Balancer
-# for more info on how it works, refer to: http://blog.afkham.org/2011/09/wso2-load-balancer-how-it-works.html
-# for more info on how to set it up, refer to: http://nirmalfdo.blogspot.com/2012/06/fronting-wso2-application-server-50.html
-loadbalancer {
-    # minimum number of load balancer instances 
-    instances           1;
-    # whether autoscaling should be enabled or not.
-    enable_autoscaler   false;
-    # autoscaling decision making task
-    #autoscaler_task  org.wso2.carbon.mediator.autoscale.lbautoscale.task.ServiceRequestsInFlightAutoscaler;
-    # whether to use embedded autoscaler or not. By default, we use embedded autoscaler. 
-    #use_embedded_autoscaler false;
-    #please use this whenever url-mapping is used through LB.
-    #size_of_cache		100;
-    # End point reference of the Autoscaler Service. This should be present, if you disabled embedded autoscaling.
-    #autoscaler_service_epr  https://host_address:https_port/services/AutoscalerService/; 
-    # interval between two task executions in milliseconds 
-    autoscaler_task_interval 60000;
-    # after an instance booted up, task will wait maximum till this much of time and let the server started up
-    server_startup_delay 600000; #default will be 60000ms
-    # session time out
-    session_timeout 90000; 
-    # enable fail over 
-    fail_over true;
-    #mb_server_url localhost:5672;
-}
-
-# services' details which are fronted by this WSO2 Elastic Load Balancer
-services {
-    # default parameter values to be used in all services
-    defaults {
-        # minimum number of service instances required. WSO2 ELB will make sure that this much of instances
-        # are maintained in the system all the time, of course only when autoscaling is enabled.
-        min_app_instances       1;
-        # maximum number of service instances that will be load balanced by this ELB.
-        max_app_instances       5;
-        # you need to calibrate autoscaling parameters before start using. Please go through following blog post
-        # http://nirmalfdo.blogspot.com/2013/01/scale-up-early-scale-down-slowly.html
-        max_requests_per_second   5;
-        alarming_upper_rate 0.7;
-        alarming_lower_rate 0.2;
-        scale_down_factor 0.25;
-        rounds_to_average       2;
-        message_expiry_time     60000;
-    }
-
-    appserver {
-        # multiple hosts should be separated by a comma.
-        hosts                   appserver.cloud-test.wso2.com,as.cloud-test.wso2.com;
-	#when using url mapping, url_suffix will be required. hosts should be read first before url_suffix, 
-	#in order to construct the host vs url-suffix pairs, hence keep the logical order to of hosts and url_suffix as it is.                                
-	#url_suffix 		as.wso2.com,appserver.wso2.com;
-        domains   {
-            wso2.as1.domain {
-                # for more info on Tenant aware load balancing please refer to 
-                # http://sanjeewamalalgoda.blogspot.com/2012/05/tenant-aware-load-balancer.html
-                tenant_range    1-100;
-            }
-            wso2.as2.domain {
-                tenant_range    101-200;
-            }
-            wso2.as3.domain {
-                # all tenants other than 1-200 will belong to this domain.
-                tenant_range    *;
-            }
-        }
-    }
-
-    esb {
-        # multiple hosts should be separated by a comma.
-	hosts                   esb.cloud-test.wso2.com;
-	#url_suffix 		esb.wso2.com;
-        domains   {
-            wso2.esb.domain {
-                tenant_range    *;
-            }
-        }
-    }
-
-    governance {
-        hosts                   governance.cloud-test.wso2.com;
-	#url_suffix 		governance.wso2.com;
-        domains   {
-            wso2.governance1.domain {
-                tenant_range    1-100;
-            }
-            wso2.governance2.domain {
-                tenant_range    101-200;
-            }
-            wso2.governance3.domain {
-                tenant_range    *;
-            }
-        }
-    }
-
-    identity {
-        hosts                   identity.cloud-test.wso2.com;
-	#url_suffix 		identity.wso2.com;
-        domains   {
-            wso2.identity1.domain {
-                tenant_range    1-100;
-            }
-            wso2.identity2.domain {
-                tenant_range    101-200;
-            }
-            wso2.identity3.domain {
-                tenant_range    *;
-            }
-        }
-    }


[5/9] applied 0001-refactor-elb-moved-contents-from-products-elb-2.0.5-.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/assembly/bin.xml b/products/elb/2.0.5/modules/distribution/src/main/assembly/bin.xml
deleted file mode 100755
index 668dd9b..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/assembly/bin.xml
+++ /dev/null
@@ -1,292 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <excludes>
-                <exclude>**/*.sh</exclude>
-                <exclude>**/conf/axis2/axis2.xml</exclude>
-                <exclude>**/conf/mgt-transports.xml</exclude>
-                <exclude>**/conf/synapse.xml</exclude>
-                <exclude>**/conf/cipher-text.properties</exclude>
-                <exclude>**/log4j.properties</exclude>
-                <exclude>**/native/*</exclude>
-                <exclude>**/services/sample01.aar</exclude>
-                <exclude>**/repository/services/version/**</exclude>
-                <exclude>**/version.txt</exclude>
-                <exclude>**/wso2server.bat</exclude>
-                <exclude>**/README.txt</exclude>
-                <exclude>**/LICENSE.txt</exclude>
-                <exclude>**/INSTALL.txt</exclude>
-                <exclude>**/release-notes.html</exclude>
-                <exclude>**/carbon.xml</exclude>
-                <exclude>**/wsdl2java.*</exclude>
-                <exclude>**/java2wsdl.*</exclude>
-                <exclude>**/java2wsdl.*</exclude>
-                <exclude>**/tcpmon.*</exclude>
-                <exclude>**/build.xml</exclude>
-                <exclude>**/chpasswd.*</exclude>
-                <exclude>**/carbondump.*</exclude>
-                <exclude>**/ciphertool.*</exclude>
-                <exclude>**/jgroups-s3_ping-aws.xml</exclude>
-                <exclude>**/tomcat-users.xml</exclude>
-                <exclude>**/axis2/tenant-axis2.xml</exclude>
-                <exclude>**/authenticators.xml</exclude>
-                <exclude>**/embedded-ldap.xml</exclude>
-                <exclude>**/user-mgt.xml</exclude>
-                <exclude>**/*.aar</exclude>
-                <exclude>**/webapp-mode/**</exclude>
-                <exclude>**/repository/components/plugins/*.ui*</exclude>
-                <!--exclude>**/samples/*</exclude-->
-            </excludes>
-        </fileSet>
-        <!-- get axis2_1.6.1.wso2v9.jar from carbon kernel patch 0002 -->
-        <fileSet>
-            <directory>../p2-profile/target/WSO2-CARBON-PATCH-4.1.0-0002/</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/patches</outputDirectory>
-            <includes>
-                <include>**/patch0002/axis2_1.6.1.wso2v9.jar</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/conf/synapse-configs</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/deployment/server/synapse-configs
-            </outputDirectory>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/cartridges</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/deployment/server/cartridges</outputDirectory>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/services</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/deployment/server/services</outputDirectory>
-        </fileSet>
-        <fileSet>
-            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/etc</outputDirectory>
-            <includes>
-                <include>*.xsd</include>
-            </includes>
-        </fileSet>
-    </fileSets>
-
-    <dependencySets>
-        <!-- use the new tool to create a bundles -->
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
-            <includes>
-                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
-            </includes>
-        </dependencySet>
-        <!--dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/samples/axis2Client/client_repo/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/samples/axis2Server/repository/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet-->
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/repository/axis2/client/lib</outputDirectory>
-            <includes>
-                <include>bouncycastle:bcprov-jdk15:jar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/repository/deployment/client/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.rampart:rampart:mar</include>
-            </includes>
-        </dependencySet>
-        <!-- MB Client libs -->
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/repository/components/dropins</outputDirectory>
-            <includes>
-                <include>org.wso2.andes.wso2:andes-client:jar</include>
-                <include>org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar</include>
-                <!--include>org.wso2.carbon:org.wso2.carbon.event.client.stub:jar</include>
-                <include>org.wso2.carbon:org.wso2.carbon.event.client:jar</include-->
-            </includes>
-        </dependencySet>
-    </dependencySets>
-
-    <files>
-        <file>
-            <source>src/main/bin/wso2server.sh</source>
-            <outputDirectory>wso2elb-${pom.version}/bin</outputDirectory>
-            <destName>wso2server.sh</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/bin/wso2server.bat</source>
-            <outputDirectory>wso2elb-${pom.version}/bin</outputDirectory>
-            <destName>wso2server.bat</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>
-                ../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-broker.xml
-            </source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-        </file>
-        <file>
-            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/zoo.cfg</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-        <file>
-            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/coordination-client-config.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-        <file>
-            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/cloud-controller.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/</outputDirectory>
-        </file>
-        <file>
-            <source>src/main/conf/user-mgt.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>user-mgt.xml</destName>
-        </file>
-        <file>
-            <source>src/main/conf/embedded-ldap.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>embedded-ldap.xml</destName>
-        </file>
-        <file>
-            <source>src/main/conf/axis2.xml</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/axis2</outputDirectory>
-            <destName>axis2.xml</destName>
-        </file>
-	      <file>
-            <source>src/main/conf/loadbalancer.conf</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>loadbalancer.conf</destName>
-        </file>
-        <file>
-            <source>src/main/conf/log4j.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>log4j.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/synapse.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>synapse.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/cipher-text.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/lib</outputDirectory>
-            <destName>cipher-text.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/nhttp.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>nhttp.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/passthru-http.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>passthru-http.properties</destName>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/conf/datasources.properties</source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf</outputDirectory>
-            <destName>datasources.properties</destName>
-            <filtered>true</filtered>
-        </file>
-                                                                
-        <file>
-            <source>../../LICENSE.txt</source>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../README.txt</source>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../INSTALL.txt</source>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../docs/xdoc/release-notes.xml</source>
-            <outputDirectory>wso2elb-${pom.version}</outputDirectory>
-            <destName>release-notes.html</destName>
-            <fileMode>644</fileMode>
-        </file>
-        <!--file>
-            <source>target/wso2carbon-core-${carbon.patch.version}/bin/README.txt</source>
-            <outputDirectory>wso2elb-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file-->
-        <file>
-            <source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
-            <outputDirectory>wso2elb-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <!--file>
-            <source>target/wso2carbon-core-${carbon.patch.version}/bin/wso2server.bat
-            </source>
-            <outputDirectory>wso2elb-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-        </file-->
-        <file>
-            <source>
-                target/wso2carbon-core-${carbon.kernel.version}/repository/conf/carbon.xml
-            </source>
-            <outputDirectory>wso2elb-${pom.version}/repository/conf/</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/assembly/dist.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/assembly/dist.xml b/products/elb/2.0.5/modules/distribution/src/main/assembly/dist.xml
deleted file mode 100644
index 8e75c32..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/assembly/dist.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <!-- Copying p2 profile and osgi bundles-->
-        <fileSet>
-            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
-            <outputDirectory>wso2elb-${pom.version}/repository/components</outputDirectory>
-            <excludes>
-                <exclude>**/eclipse.ini</exclude>
-                <exclude>**/*.lock</exclude>
-                <exclude>**/.data</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/synapse-samples*</exclude>
-            </excludes>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/assembly/docs.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/assembly/docs.xml b/products/elb/2.0.5/modules/distribution/src/main/assembly/docs.xml
deleted file mode 100644
index 1b0fe65..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/assembly/docs.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <id>docs</id>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>target/site</directory>
-            <outputDirectory>wso2elb-${pom.version}-docs</outputDirectory>
-            <fileMode>755</fileMode>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/assembly/filter.properties b/products/elb/2.0.5/modules/distribution/src/main/assembly/filter.properties
deleted file mode 100644
index e91e50c..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/assembly/filter.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-product.name=WSO2 ELB
-product.key=ELB
-product.version=2.0.5
-
-carbon.version=4.1.3
-lb.version=2.0.5
-default.server.role=ElasticLoadBalancer
-bundle.creators=org.wso2.carbon.mediator.bridge.MediatorBundleCreator

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/assembly/src.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/assembly/src.xml b/products/elb/2.0.5/modules/distribution/src/main/assembly/src.xml
deleted file mode 100644
index 6a4e705..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/assembly/src.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <id>src</id>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <formats>
-        <format>zip</format>
-    </formats>
-
-    <fileSets>
-        <fileSet>
-            <directory>target/sources</directory>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>../..</directory>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <includes>
-                <include>modules/**/*</include>
-                <include>**/pom.xml</include>
-            </includes>
-            <excludes>
-                <exclude>**/target</exclude>
-                <exclude>**/target/**/*</exclude>
-                <exclude>**/build</exclude>
-                <exclude>**/build/**/*</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/.classpath</exclude>
-                <exclude>**/.project</exclude>
-                <exclude>**/.wtpmodules</exclude>
-                <exclude>**/*.iml</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/.settings/**/*</exclude>
-            </excludes>
-        </fileSet>
-    </fileSets>
-    <files>
-        <file>
-            <source>../../LICENSE.txt</source>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>../../README.txt</source>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>../../INSTALL.txt</source>
-            <outputDirectory>wso2elb-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/bin/wso2server.bat
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/bin/wso2server.bat b/products/elb/2.0.5/modules/distribution/src/main/bin/wso2server.bat
deleted file mode 100644
index 9317b47..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/bin/wso2server.bat
+++ /dev/null
@@ -1,170 +0,0 @@
-@echo off
-
-REM ---------------------------------------------------------------------------
-REM        Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
-REM
-REM  Licensed under the Apache License, Version 2.0 (the "License");
-REM  you may not use this file except in compliance with the License.
-REM  You may obtain a copy of the License at
-REM
-REM      http://www.apache.org/licenses/LICENSE-2.0
-REM
-REM  Unless required by applicable law or agreed to in writing, software
-REM  distributed under the License is distributed on an "AS IS" BASIS,
-REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-REM  See the License for the specific language governing permissions and
-REM  limitations under the License.
-
-rem ---------------------------------------------------------------------------
-rem Main Script for WSO2 Carbon
-rem
-rem Environment Variable Prequisites
-rem
-rem   CARBON_HOME   Home of CARBON installation. If not set I will  try
-rem                   to figure it out.
-rem
-rem   JAVA_HOME       Must point at your Java Development Kit installation.
-rem
-rem   JAVA_OPTS       (Optional) Java runtime options used when the commands
-rem                   is executed.
-rem ---------------------------------------------------------------------------
-
-rem ----- if JAVA_HOME is not set we're not happy ------------------------------
-:checkJava
-
-if "%JAVA_HOME%" == "" goto noJavaHome
-if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
-goto checkServer
-
-:noJavaHome
-echo "You must set the JAVA_HOME variable before running CARBON."
-goto end
-
-rem ----- Only set CARBON_HOME if not already set ----------------------------
-:checkServer
-rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed
-if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0..
-SET curDrive=%cd:~0,1%
-SET wsasDrive=%CARBON_HOME:~0,1%
-if not "%curDrive%" == "%wsasDrive%" %wsasDrive%:
-
-rem find CARBON_HOME if it does not exist due to either an invalid value passed
-rem by the user or the %0 problem on Windows 9x
-if not exist "%CARBON_HOME%\bin\version.txt" goto noServerHome
-
-set AXIS2_HOME=%CARBON_HOME%
-goto updateClasspath
-
-:noServerHome
-echo CARBON_HOME is set incorrectly or CARBON could not be located. Please set CARBON_HOME.
-goto end
-
-rem ----- update classpath -----------------------------------------------------
-:updateClasspath
-
-setlocal EnableDelayedExpansion
-cd %CARBON_HOME%
-set CARBON_CLASSPATH=
-FOR %%C in ("%CARBON_HOME%\bin\*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\bin\%%~nC%%~xC"
-
-set CARBON_CLASSPATH="%JAVA_HOME%\lib\tools.jar";%CARBON_CLASSPATH%;
-
-FOR %%D in ("%CARBON_HOME%\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\lib\%%~nD%%~xD"
-
-rem ----- Process the input command -------------------------------------------
-
-rem Slurp the command line arguments. This loop allows for an unlimited number
-rem of arguments (up to the command line limit, anyway).
-
-
-:setupArgs
-if ""%1""=="""" goto doneStart
-
-if ""%1""==""-run""     goto commandLifecycle
-if ""%1""==""--run""    goto commandLifecycle
-if ""%1""==""run""      goto commandLifecycle
-
-if ""%1""==""-restart""  goto commandLifecycle
-if ""%1""==""--restart"" goto commandLifecycle
-if ""%1""==""restart""   goto commandLifecycle
-
-if ""%1""==""debug""    goto commandDebug
-if ""%1""==""-debug""   goto commandDebug
-if ""%1""==""--debug""  goto commandDebug
-
-if ""%1""==""version""   goto commandVersion
-if ""%1""==""-version""  goto commandVersion
-if ""%1""==""--version"" goto commandVersion
-
-shift
-goto setupArgs
-
-rem ----- commandVersion -------------------------------------------------------
-:commandVersion
-shift
-type "%CARBON_HOME%\bin\version.txt"
-type "%CARBON_HOME%\bin\wso2carbon-version.txt"
-goto end
-
-rem ----- commandDebug ---------------------------------------------------------
-:commandDebug
-shift
-set DEBUG_PORT=%1
-if "%DEBUG_PORT%"=="" goto noDebugPort
-if not "%JAVA_OPTS%"=="" echo Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option.
-set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT%
-echo Please start the remote debugging client to continue...
-goto findJdk
-
-:noDebugPort
-echo Please specify the debug port after the --debug option
-goto end
-
-
-:doneStart
-if "%OS%"=="Windows_NT" @setlocal
-if "%OS%"=="WINNT" @setlocal
-
-rem ---------- Handle the SSL Issue with proper JDK version --------------------
-rem find the version of the jdk
-:findJdk
-
-set CMD=RUN %*
-
-:checkJdk16
-"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[6|7]" >NUL
-IF ERRORLEVEL 1 goto unknownJdk
-goto jdk16
-
-:unknownJdk
-echo Starting WSO2 Carbon (in unsupported JDK)
-echo [ERROR] CARBON is supported only on JDK 1.6 and 1.7
-goto jdk16
-
-:jdk16
-goto runServer
-
-rem ----------------- Execute The Requested Command ----------------------------
-
-:runServer
-cd %CARBON_HOME%
-
-rem ---------- Add jars to classpath ----------------
-
-set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
-
-set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
-
-set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms1500m -Xmx3000m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=%CARBON_HOME%\repository\logs\heap-dump.hprof -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dloadbalancer.conf="file:///%CARBON_HOME%/repository/conf/loadbalancer.conf" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\log4j.properties" -
 Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcarbon.logs.path="%CARBON_HOME%\repository\logs" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
-
-:runJava
-echo JAVA_HOME environment variable is set to %JAVA_HOME%
-echo CARBON_HOME environment variable is set to %CARBON_HOME%
-"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.carbon.bootstrap.Bootstrap %CMD%
-if "%ERRORLEVEL%"=="121" goto runJava
-:end
-goto endlocal
-
-:endlocal
-
-:END

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/bin/wso2server.sh
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/bin/wso2server.sh b/products/elb/2.0.5/modules/distribution/src/main/bin/wso2server.sh
deleted file mode 100644
index 253a33f..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/bin/wso2server.sh
+++ /dev/null
@@ -1,299 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------------
-#  Copyright WSO2, Inc. http://www.wso2.org
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-
-# ----------------------------------------------------------------------------
-# Main Script for the WSO2 Carbon Server
-#
-# Environment Variable Prequisites
-#
-#   CARBON_HOME   Home of WSO2 Carbon installation. If not set I will  try
-#                   to figure it out.
-#
-#   JAVA_HOME       Must point at your Java Development Kit installation.
-#
-#   JAVA_OPTS       (Optional) Java runtime options used when the commands
-#                   is executed.
-#
-# NOTE: Borrowed generously from Apache Tomcat startup scripts.
-# -----------------------------------------------------------------------------
-
-# OS specific support.  $var _must_ be set to either true or false.
-
-cygwin=false;
-darwin=false;
-os400=false;
-mingw=false;
-case "`uname`" in
-CYGWIN*) cygwin=true;;
-MINGW*) mingw=true;;
-OS400*) os400=true;;
-Darwin*) darwin=true
-        if [ -z "$JAVA_VERSION" ] ; then
-             JAVA_VERSION="CurrentJDK"
-           else
-             echo "Using Java version: $JAVA_VERSION"
-           fi
-           if [ -z "$JAVA_HOME" ] ; then
-             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
-           fi
-           ;;
-esac
-
-# resolve links - $0 may be a softlink
-PRG="$0"
-
-while [ -h "$PRG" ]; do
-  ls=`ls -ld "$PRG"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '.*/.*' > /dev/null; then
-    PRG="$link"
-  else
-    PRG=`dirname "$PRG"`/"$link"
-  fi
-done
-
-# Get standard environment variables
-PRGDIR=`dirname "$PRG"`
-
-# Only set CARBON_HOME if not already set
-[ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd`
-
-# Set AXIS2_HOME. Needed for One Click JAR Download
-AXIS2_HOME=$CARBON_HOME
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched
-if $cygwin; then
-  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-  [ -n "$CARBON_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
-  [ -n "$AXIS2_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
-fi
-
-# For OS400
-if $os400; then
-  # Set job priority to standard for interactive (interactive - 6) by using
-  # the interactive priority - 6, the helper threads that respond to requests
-  # will be running at the same priority as interactive jobs.
-  COMMAND='chgjob job('$JOBNAME') runpty(6)'
-  system $COMMAND
-
-  # Enable multi threading
-  QIBM_MULTI_THREADED=Y
-  export QIBM_MULTI_THREADED
-fi
-
-# For Migwn, ensure paths are in UNIX format before anything is touched
-if $mingw ; then
-  [ -n "$CARBON_HOME" ] &&
-    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
-  [ -n "$JAVA_HOME" ] &&
-    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
-  [ -n "$AXIS2_HOME" ] &&
-    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
-  # TODO classpath?
-fi
-
-if [ -z "$JAVACMD" ] ; then
-  if [ -n "$JAVA_HOME"  ] ; then
-    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
-      # IBM's JDK on AIX uses strange locations for the executables
-      JAVACMD="$JAVA_HOME/jre/sh/java"
-    else
-      JAVACMD="$JAVA_HOME/bin/java"
-    fi
-  else
-    JAVACMD=java
-  fi
-fi
-
-if [ ! -x "$JAVACMD" ] ; then
-  echo "Error: JAVA_HOME is not defined correctly."
-  echo " CARBON cannot execute $JAVACMD"
-  exit 1
-fi
-
-# if JAVA_HOME is not set we're not happy
-if [ -z "$JAVA_HOME" ]; then
-  echo "You must set the JAVA_HOME variable before running CARBON."
-  exit 1
-fi
-
-# ----- Process the input command ----------------------------------------------
-for c in $*
-do
-    if [ "$c" = "--debug" ] || [ "$c" = "-debug" ] || [ "$c" = "debug" ]; then
-          CMD="--debug"
-          continue
-    elif [ "$CMD" = "--debug" ]; then
-          if [ -z "$PORT" ]; then
-                PORT=$c
-          fi
-    elif [ "$c" = "--n" ] || [ "$c" = "-n" ] || [ "$c" = "n" ]; then
-          CMD="--n"
-          continue
-    elif [ "$CMD" = "--n" ]; then
-          if [ -z "$INSTANCES" ]; then
-                INSTANCES=$c
-          fi
-    elif [ "$c" = "--stop" ] || [ "$c" = "-stop" ] || [ "$c" = "stop" ]; then
-          CMD="stop"
-    elif [ "$c" = "--start" ] || [ "$c" = "-start" ] || [ "$c" = "start" ]; then
-          CMD="start"
-    elif [ "$c" = "--console" ] || [ "$c" = "-console" ] || [ "$c" = "console" ]; then
-          CMD="console"
-    elif [ "$c" = "--version" ] || [ "$c" = "-version" ] || [ "$c" = "version" ]; then
-          CMD="version"
-    elif [ "$c" = "--restart" ] || [ "$c" = "-restart" ] || [ "$c" = "restart" ]; then
-          CMD="restart"
-    elif [ "$c" = "--dump" ] || [ "$c" = "-dump" ] || [ "$c" = "dump" ]; then
-          CMD="dump"
-    elif [ "$c" = "--test" ] || [ "$c" = "-test" ] || [ "$c" = "test" ]; then
-          CMD="test"
-    elif [ "$c" = "--status" ] || [ "$c" = "-status" ] || [ "$c" = "status" ]; then
-          CMD="status"
-    fi
-done
-
-if [ "$CMD" = "--debug" ]; then
-  if [ "$PORT" = "" ]; then
-    echo " Please specify the debug port after the --debug option"
-    exit 1
-  fi
-  if [ -n "$JAVA_OPTS" ]; then
-    echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option."
-  fi
-  CMD="RUN"
-  JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
-  echo "Please start the remote debugging client to continue..."
-elif [ "$CMD" = "--n" ]; then
-  if [ "$INSTANCES" = "" ] || [ ! -z `echo $INSTANCES | sed 's/[0-9]//g'` ]]; then
-    echo " Please specify the number of instances to start after the --n option"
-    exit 1
-  fi
-elif [ "$CMD" = "start" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  nohup $CARBON_HOME/bin/wso2server.sh &
-  exit 0
-elif [ "$CMD" = "stop" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  kill -9 `cat $CARBON_HOME/wso2carbon.pid`
-  exit 0
-elif [ "$CMD" = "restart" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  kill -term `cat $CARBON_HOME/wso2carbon.pid`
-  process_status=0
-  pid=`cat $CARBON_HOME/wso2carbon.pid`
-  while [ "$process_status" -eq "0" ]
-  do
-    sleep 1;
-    ps -p$pid 2>&1 > /dev/null
-    process_status=$?
-  done
-
-  # using nohup bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/wso2server.sh > /dev/null 2>&1 &
-  exit 0
-elif [ "$CMD" = "test" ]; then
-    JAVACMD="exec "$JAVACMD""
-elif [ "$CMD" = "version" ]; then
-  cat $CARBON_HOME/bin/version.txt
-  cat $CARBON_HOME/bin/wso2carbon-version.txt
-  exit 0
-fi
-
-jdk_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
-
-if [ "$jdk_16" = "" ]; then
-   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
-   exit 1
-fi
-
-CARBON_CLASSPATH=""
-if [ -e "$JAVA_HOME/lib/tools.jar" ]; then
-   if [ "$f" != "$JAVA_HOME/lib/tools.jar" ];then
-        CARBON_CLASSPATH="$JAVA_HOME/lib/tools.jar"
-   fi
-fi
-
-CARBON_XBOOTCLASSPATH=""
-for f in "$CARBON_HOME"/lib/xboot/*.jar
-do
-    if [ "$f" != "$CARBON_HOME/lib/xboot/*.jar" ];then
-        CARBON_XBOOTCLASSPATH="$CARBON_XBOOTCLASSPATH":$f
-    fi
-done
-
-JAVA_ENDORSED_DIRS="$CARBON_HOME/lib/endorsed":"$JAVA_HOME/jre/lib/endorsed":"$JAVA_HOME/lib/endorsed"
-
-for f in "$CARBON_HOME"/bin/*.jar
-do
-    if [ "$f" != "$CARBON_HOME/bin/*.jar" ];then
-        CARBON_CLASSPATH="$CARBON_CLASSPATH":$f
-    fi
-done
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin; then
-  JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
-  CARBON_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
-  AXIS2_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
-  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
-  JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
-  CARBON_CLASSPATH=`cygpath --path --windows "$CARBON_CLASSPATH"`
-  CARBON_XBOOTCLASSPATH=`cygpath --path --windows "$CARBON_XBOOTCLASSPATH"`
-fi
-
-# ----- Execute The Requested Command -----------------------------------------
-
-echo JAVA_HOME environment variable is set to $JAVA_HOME
-echo CARBON_HOME environment variable is set to $CARBON_HOME
-
-cd "$CARBON_HOME"
-
-exec "$JAVACMD" \
-        -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
-        -d64 \
-        -server \
-        -Xms1500m -Xmx3000m \
-        -XX:PermSize=256m -XX:MaxPermSize=512m \
-        -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit \
-        -XX:+CMSClassUnloadingEnabled \
-        -XX:+OptimizeStringConcat \
-        -XX:+HeapDumpOnOutOfMemoryError \
-        -XX:OnOutOfMemoryError="kill -9 `echo $$`;nohup ./wso2server.sh &" \
-        -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
-        -XX:ErrorFile=repository/logs/hs_err_pid.log \
-        -XX:OnError="nohup ./wso2server.sh &" \
-        $JAVA_OPTS \
-        -Dcarbon.pid=$$ \
-        -Dcom.sun.management.jmxremote \
-        -Dwso2.loadbalancer=true \
-        -classpath "$CARBON_CLASSPATH" \
-        -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-        -Djava.io.tmpdir="$CARBON_HOME/tmp" \
-        -Dwso2.server.standalone=true \
-        -Dcarbon.registry.root=/ \
-        -Dcarbon.home="$CARBON_HOME" \
-        -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf \
-        -Djava.util.logging.config.file="$CARBON_HOME/lib/log4j.properties" \
-        -Dcarbon.config.dir.path="$CARBON_HOME/repository/conf" \
-        -Dconf.location="$CARBON_HOME/repository/conf" \
-        -Dcomponents.repo="$CARBON_HOME/repository/components/plugins" \
-        -Dcom.atomikos.icatch.file="$CARBON_HOME/lib/transactions.properties" \
-        -Dcom.atomikos.icatch.hide_init_file_path=true \
-        -Dorg.terracotta.quartz.skipUpdateCheck=true \
-        org.wso2.carbon.bootstrap.Bootstrap $*
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/axis2.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/axis2.xml b/products/elb/2.0.5/modules/distribution/src/main/conf/axis2.xml
deleted file mode 100755
index 58dfb4b..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/axis2.xml
+++ /dev/null
@@ -1,525 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<axisconfig name="AxisJava2.0">
-    
-    <!-- ================================================= -->
-    <!--                  Parameters                       -->
-    <!-- ================================================= -->
-
-    <!-- This will give out the timout of the configuration contexts, in milliseconds -->
-    <parameter name="ConfigContextTimeoutInterval" locked="false">30000</parameter>
-
-    <!-- Synapse Configuration file location relative to CARBON_HOME -->
-    <parameter name="SynapseConfig.ConfigurationFile" locked="false">repository/deployment/server/synapse-configs</parameter>
-    <!-- Synapse Home parameter -->
-    <parameter name="SynapseConfig.HomeDirectory" locked="false">.</parameter>
-    <!-- Resolve root used to resolve synapse references like schemas inside a WSDL -->
-    <parameter name="SynapseConfig.ResolveRoot" locked="false">.</parameter>
-    <!-- Synapse Server name parameter -->
-    <parameter name="SynapseConfig.ServerName" locked="false">localhost</parameter>
-   
-
-    <!-- ================================================= -->
-    <!--                Message Formatters                 -->
-    <!-- ================================================= -->
-
-    <!-- Following content type to message formatter mapping can be used to implement support -->
-    <!-- for different message format serializations in Axis2. These message formats are -->
-    <!-- expected to be resolved based on the content type. -->
-    <messageFormatters>
-        <!--messageFormatter contentType="application/xml"
-                          class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>-->
-        <!--messageFormatter contentType="text/xml"
-                         class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>-->
-        <!--messageFormatter contentType="application/soap+xml"
-                         class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>-->
-        <!--messageFormatter contentType="application/x-www-form-urlencoded"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
-        <messageFormatter contentType="multipart/related"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/txt"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/html"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/soap+xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <!--messageFormatter contentType="x-application/hessian"
-                         class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
-        <!--messageFormatter contentType=""
-                         class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
-
-        <messageFormatter contentType="text/css"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <messageFormatter contentType="image/gif"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="img/gif"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/jpeg"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/png"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/ico"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/x-icon"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-	    <messageFormatter contentType="application/x-javascript"
-                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/x-shockwave-flash"
-                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/atom+xml"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/x-www-form-urlencoded"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/xhtml+xml"
-                              class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/octet-stream"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <messageFormatter contentType="multipart/form-data"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/soap+xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <!--JSON Message Formatters-->
-        <messageFormatter contentType="application/json"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/json/badgerfish"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-
-        <messageFormatter contentType=".*"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-    </messageFormatters>
-
-    <!-- ================================================= -->
-    <!--                Message Builders                   -->
-    <!-- ================================================= -->
-
-    <!-- Following content type to builder mapping can be used to implement support for -->
-    <!-- different message formats in Axis2. These message formats are expected to be -->
-    <!-- resolved based on the content type. -->
-    <messageBuilders>
-        <messageBuilder contentType="application/xml"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/txt"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <!--messageBuilder contentType="application/xml"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
-        <!--messageBuilder contentType="application/x-www-form-urlencoded"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
-        <!--messageBuilder contentType="multipart/form-data"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
-        <messageBuilder contentType="multipart/related"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/soap+xml"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/plain"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/xml"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <!--messageBuilder contentType="x-application/hessian"
-                        class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
-        <!--messageBuilder contentType=""
-                         class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
-
-        <!--JSON Message Builders-->
-        <messageBuilder contentType="application/json"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/json/badgerfish"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/javascript"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-        <messageBuilder contentType="text/html"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/css"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/javascript"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-        <messageBuilder contentType="image/gif"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="img/gif"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/jpeg"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/png"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/ico"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/x-icon"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-	    <messageBuilder contentType="application/x-javascript"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/x-shockwave-flash"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/atom+xml"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/x-www-form-urlencoded"
-                            class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/xhtml+xml"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/octet-stream"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/javascript"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-        <messageBuilder contentType="multipart/form-data"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/soap+xml"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-        <messageBuilder contentType=".*"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-    </messageBuilders>
-
-    <!-- ================================================= -->
-    <!--             Transport Ins (Listeners)             -->
-    <!-- ================================================= -->
-    <!--Default trasnport will be passthrough if you need to change please add it here -->
-   <transportReceiver name="http" class="org.apache.synapse.transport.passthru.PassThroughHttpListener">
-      <parameter name="port">8280</parameter>
-      <parameter name="non-blocking"> true</parameter>
-      <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
-   </transportReceiver>
-   <transportReceiver name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLListener">
-        <parameter name="port" locked="false">8243</parameter>
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <parameter name="keystore" locked="false">
-            <KeyStore>
-                <Location>repository/resources/security/wso2carbon.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-                <KeyPassword>wso2carbon</KeyPassword>
-            </KeyStore>
-        </parameter>
-        <parameter name="truststore" locked="false">
-            <TrustStore>
-                <Location>repository/resources/security/client-truststore.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-            </TrustStore>
-        </parameter>
-        <!--<parameter name="SSLVerifyClient">require</parameter>
-            supports optional|require or defaults to none -->
-    </transportReceiver>
-
-    <!-- uncomment for non blocking http transport based on HttpCore + NIO extensions -->
-    <!--transportReceiver name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
-        <parameter name="port" locked="false">8280</parameter>
-        <parameter name="non-blocking" locked="false">true</parameter-->
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
-    <!--/transportReceiver-->
-
-    <!-- the non blocking https transport based on HttpCore + SSL-NIO extensions -->
-    <!--transportReceiver name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLListener">
-        <parameter name="port" locked="false">8243</parameter>
-        <parameter name="non-blocking" locked="false">true</parameter-->
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
-        <!--parameter name="keystore" locked="false">
-            <KeyStore>
-                <Location>repository/resources/security/wso2carbon.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-                <KeyPassword>wso2carbon</KeyPassword>
-            </KeyStore>
-        </parameter>
-        <parameter name="truststore" locked="false">
-            <TrustStore>
-                <Location>repository/resources/security/client-truststore.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-            </TrustStore>
-        </parameter-->
-        <!--<parameter name="SSLVerifyClient">require</parameter>
-            supports optional|require or defaults to none -->
-    <!--/transportReceiver-->
-
-    <!-- ================================================= -->
-    <!--             Transport Outs (Senders)              -->
-    <!-- ================================================= -->
-    <!--Default trasnport will be passthrough if you need to change please add it here -->
-    <transportSender name="http"  class="org.apache.synapse.transport.passthru.PassThroughHttpSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="warnOnHTTP500" locked="false">*</parameter>
-        <!--parameter name="http.proxyHost" locked="false">localhost</parameter>
-        <parameter name="http.proxyPort" locked="false">3128</parameter>
-        <parameter name="http.nonProxyHosts" locked="false">localhost|moon|sun</parameter-->
-    </transportSender>
-    <transportSender name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="keystore" locked="false">
-            <KeyStore>
-                <Location>repository/resources/security/wso2carbon.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-                <KeyPassword>wso2carbon</KeyPassword>
-            </KeyStore>
-        </parameter>
-        <parameter name="truststore" locked="false">
-            <TrustStore>
-                <Location>repository/resources/security/client-truststore.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-            </TrustStore>
-        </parameter>
-        <parameter name="HostnameVerifier">AllowAll</parameter>
-            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
-     </transportSender>
-    <!-- Uncomment for non-blocking http transport based on HttpCore + NIO extensions -->
-    <!--transportSender name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-    </transportSender>
-    <transportSender name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="keystore" locked="false">
-            <KeyStore>
-                <Location>repository/resources/security/wso2carbon.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-                <KeyPassword>wso2carbon</KeyPassword>
-            </KeyStore>
-        </parameter>
-        <parameter name="truststore" locked="false">
-            <TrustStore>
-                <Location>repository/resources/security/client-truststore.jks</Location>
-                <Type>JKS</Type>
-                <Password>wso2carbon</Password>
-            </TrustStore>
-        </parameter>
-        <parameter name="HostnameVerifier">AllowAll</parameter-->
-            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
-    <!--/transportSender-->
-
-    <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
-
-    <!-- ================================================= -->
-    <!--                Clustering                         -->
-    <!-- ================================================= -->
-    <!--
-     To enable clustering for this node, set the value of "enable" attribute of the "clustering"
-     element to "true". The initialization of a node in the cluster is handled by the class
-     corresponding to the "class" attribute of the "clustering" element. It is also responsible for
-     getting this node to join the cluster.
-     -->
-    <clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="true">
-
-        <!--
-           This parameter indicates whether the cluster has to be automatically initalized
-           when the AxisConfiguration is built. If set to "true" the initialization will not be
-           done at that stage, and some other party will have to explictly initialize the cluster.
-        -->
-        <parameter name="AvoidInitiation">true</parameter>
-
-        <!--
-           The membership scheme used in this setup. The only values supported at the moment are
-           "multicast" and "wka"
-
-           1. multicast - membership is automatically discovered using multicasting
-           2. wka - Well-Known Address based multicasting. Membership is discovered with the help
-                    of one or more nodes running at a Well-Known Address. New members joining a
-                    cluster will first connect to a well-known node, register with the well-known node
-                    and get the membership list from it. When new members join, one of the well-known
-                    nodes will notify the others in the group. When a member leaves the cluster or
-                    is deemed to have left the cluster, it will be detected by the Group Membership
-                    Service (GMS) using a TCP ping mechanism.
-        -->
-        <parameter name="membershipScheme">wka</parameter>
-
-        <!--
-         The clustering domain/group. Nodes in the same group will belong to the same multicast
-         domain. There will not be interference between nodes in different groups.
-        -->
-        <parameter name="domain">wso2.carbon.lb.domain</parameter>
-
-        <!--
-           When a Web service request is received, and processed, before the response is sent to the
-           client, should we update the states of all members in the cluster? If the value of
-           this parameter is set to "true", the response to the client will be sent only after
-           all the members have been updated. Obviously, this can be time consuming. In some cases,
-           such this overhead may not be acceptable, in which case the value of this parameter
-           should be set to "false"
-        -->
-        <parameter name="synchronizeAll">false</parameter>
-
-        <!--
-          The maximum number of times we need to retry to send a message to a particular node
-          before giving up and considering that node to be faulty
-        -->
-        <parameter name="maxRetries">10</parameter>
-
-        <!-- The multicast address to be used -->
-        <parameter name="mcastAddress">228.0.0.4</parameter>
-
-        <!-- The multicast port to be used -->
-        <parameter name="mcastPort">45564</parameter>
-
-        <!-- The frequency of sending membership multicast messages (in ms) -->
-        <parameter name="mcastFrequency">500</parameter>
-
-        <!-- The time interval within which if a member does not respond, the member will be
-         deemed to have left the group (in ms)
-         -->
-        <parameter name="memberDropTime">3000</parameter>
-
-        <!--
-           The IP address of the network interface to which the multicasting has to be bound to.
-           Multicasting would be done using this interface.
-        -->
-        <parameter name="mcastBindAddress">127.0.0.1</parameter>
-
-        <!-- The host name or IP address of this member -->
-        
-        <!--parameter name="localMemberHost">127.0.0.1</parameter-->
-        
-
-        <!--
-        The TCP port used by this member. This is the port through which other nodes will
-        contact this member
-         -->
-        <parameter name="localMemberPort">4000</parameter>
-
-        <!--
-        Preserve message ordering. This will be done according to sender order.
-        -->
-        <parameter name="preserveMessageOrder">false</parameter>
-
-        <!--
-        Maintain atmost-once message processing semantics
-        -->
-        <parameter name="atmostOnceMessageSemantics">false</parameter>
-         
-        <!--
-           This interface is responsible for handling state replication. The property changes in
-           the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
-
-           The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
-           suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
-           "*" indicates that all properties in a particular context should not be replicated.
-
-            The "enable" attribute indicates whether context replication has been enabled
-        -->
-        <stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
-                      enable="false">
-            <replication>
-                <defaults>
-                    <exclude name="local_*"/>
-                    <exclude name="LOCAL_*"/>
-                </defaults>
-                <context class="org.apache.axis2.context.ConfigurationContext">
-                    <exclude name="local_*"/>
-                    <exclude name="UseAsyncOperations"/>
-                    <exclude name="SequencePropertyBeanMap"/>
-                </context>
-                <context class="org.apache.axis2.context.ServiceGroupContext">
-                    <exclude name="local_*"/>
-                    <exclude name="my.sandesha.*"/>
-                </context>
-                <context class="org.apache.axis2.context.ServiceContext">
-                    <exclude name="local_*"/>
-                    <exclude name="my.sandesha.*"/>
-                </context>
-            </replication>
-        </stateManager>
-    </clustering>
-
-    <!-- ================================================= -->
-    <!--                    Phases                         -->
-    <!-- ================================================= -->
-
-    <phaseOrder type="InFlow">
-        <!--  System pre defined phases       -->
-        <phase name="Transport"/>
-        <phase name="Addressing"/>
-        <phase name="Security"/>
-        <phase name="PreDispatch"/>
-        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
-        <!--  System pre defined phases       -->
-        <phase name="RMPhase"/>
-        <phase name="OpPhase"/>
-    </phaseOrder>
-
-    <phaseOrder type="OutFlow">
-        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
-        <phase name="UEPPhase" />
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <phase name="MUPhase"/>
-        <phase name="OpPhase"/>
-        <phase name="OperationOutPhase"/>
-        <!--system predefined phase-->
-        <!--these phase will run irrespective of the service-->
-        <phase name="PolicyDetermination"/>
-        <phase name="MessageOut"/>
-        <phase name="Security"/>
-    </phaseOrder>
-
-    <phaseOrder type="InFaultFlow">
-        <phase name="Transport"/>
-        <phase name="Addressing"/>
-        <phase name="Security"/>
-        <phase name="PreDispatch"/>
-        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <phase name="OpPhase"/>
-        <phase name="MUPhase"/>
-        <phase name="OperationInFaultPhase"/>
-    </phaseOrder>
-
-    <phaseOrder type="OutFaultFlow">
-        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
-        <phase name="UEPPhase" />
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <!-- Must Understand Header processing phase -->
-        <phase name="MUPhase"/>
-        <phase name="OperationOutFaultPhase"/>
-        <phase name="PolicyDetermination"/>
-        <phase name="MessageOut"/>
-        <phase name="Security"/>
-    </phaseOrder>
-
-</axisconfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/cipher-text.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/cipher-text.properties b/products/elb/2.0.5/modules/distribution/src/main/conf/cipher-text.properties
deleted file mode 100644
index 9ad599b..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/cipher-text.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-#aliases=esb
-#
-## configuration  per each plaintext
-#esb.secret=M6U74dMVvRm4XFMczki2qZ6CsTvnUuRTjSditlACR5vTISSMI7F/mCTVJGOGdKJjij+VWVhBtmAOkElyvR9TwlUECnZ1o5DNsTK6l8je+9amc/ziTQLP3Q1tzm/Ex1pzHsG6jPGGrv3O0B9pZTfYFqRvlcNhM7Ve3WvA3ibs4Yk=
-#esb.secret.alias=wso2carbon
-#esb.secret.keystore=identity
-#

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/datasources.properties
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/datasources.properties b/products/elb/2.0.5/modules/distribution/src/main/conf/datasources.properties
deleted file mode 100644
index 2ef0505..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/datasources.properties
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-#  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-
-################################################################################
-## DataSources Configuration
-################################################################################
-#synapse.datasources=lookupds,reportds
-#synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory
-#synapse.datasources.providerPort=2199
-## If following property is present , then assumes that there is an external JNDI provider and will not start a RMI registry
-##synapse.datasources.providerUrl=rmi://localhost:2199
-#
-#synapse.datasources.lookupds.registry=Memory
-#synapse.datasources.lookupds.type=BasicDataSource
-#synapse.datasources.lookupds.driverClassName=org.apache.derby.jdbc.ClientDriver
-#synapse.datasources.lookupds.url=jdbc:derby://localhost:1527/lookupdb;create=false
-## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
-#synapse.datasources.lookupds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
-#synapse.datasources.lookupds.username=esb
-## Depending on the password provider used, you may have to use an encrypted password here!
-#synapse.datasources.lookupds.password=esb
-#synapse.datasources.lookupds.dsName=lookupdb
-#synapse.datasources.lookupds.maxActive=100
-#synapse.datasources.lookupds.maxIdle=20
-#synapse.datasources.lookupds.maxWait=10000
-#
-#synapse.datasources.reportds.registry=JNDI
-#synapse.datasources.reportds.type=PerUserPoolDataSource
-#synapse.datasources.reportds.cpdsadapter.factory=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
-#synapse.datasources.reportds.cpdsadapter.className=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
-#synapse.datasources.reportds.cpdsadapter.name=cpds
-#synapse.datasources.reportds.dsName=reportdb
-#synapse.datasources.reportds.driverClassName=org.apache.derby.jdbc.ClientDriver
-#synapse.datasources.reportds.url=jdbc:derby://localhost:1527/reportdb;create=false
-## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
-#synapse.datasources.reportds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
-#synapse.datasources.reportds.username=esb
-## Depending on the password provider used, you may have to use an encrypted password here!
-#synapse.datasources.reportds.password=esb
-#synapse.datasources.reportds.maxActive=100
-#synapse.datasources.reportds.maxIdle=20
-#synapse.datasources.reportds.maxWait=10000
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/embedded-ldap.xml
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/embedded-ldap.xml b/products/elb/2.0.5/modules/distribution/src/main/conf/embedded-ldap.xml
deleted file mode 100644
index 6e64fac..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/embedded-ldap.xml
+++ /dev/null
@@ -1,162 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- *
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-*      http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-* -->
-
-<!--
-	All carbon based products comes with a LDAP user store.
-	For this we use an embedded LDAP in carbon based products.
-	This file contains necessary configurations to control the behavior of embedded LDAP.
-	You may use this file to enable, disable LDAP server, configure connection admin password, etc ...
-	In addition to embedded-ldap server configurations this file also has Kerberos KDC (Key Distribution Center)
-	specific configurations.
--->
-
-<EmbeddedLDAPConfig>
-
-  <!--
-	LDAP server configurations
-	==========================
-	This section contains LDAP server specific configurations.
-
-	Property                Usage
-	=======                 ====
-	enable                  If true the embedded LDAP server will start when server starts up.
-				            Else embedded LDAP server will not start. Thus user has to use a different
-				            user store.
-	instanceid              An id given to the LDAP server instance.
-	connectionPassword      The password of the admin. (uid=admin,ou=system)
-	workingDirectory        Location where LDAP will store its schema files.
-	AdminEntryObjectClass   Object class which encapsulate attributes needed by claims.
-	allowAnonymousAccess    Should allow users to access LDAP server without credentials. Default false.
-	accessControlEnabled    Should access control be enabled among partitions. Default true.
-	saslHostName            Default host name to be used in SASL (Simple Authentication and Security Layer).
-				            This property comes from apacheds implementation itself.
-	saslPrincipalName       Default SASL principal name. Again this property also comes from apacheds implementation
-				            itself.
-  -->
-  <EmbeddedLDAP>
-    <Property name="enable">false</Property>
-    <Property name="port">${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-    <Property name="instanceId">default</Property>
-    <Property name="connectionPassword">admin</Property>
-    <Property name="workingDirectory">.</Property>
-    <Property name="AdminEntryObjectClass">wso2Person</Property>
-    <Property name="allowAnonymousAccess">false</Property>
-    <Property name="accessControlEnabled">true</Property>
-    <Property name="denormalizeOpAttrsEnabled">false</Property>
-    <Property name="maxPDUSize">2000000</Property>
-    <Property name="saslHostName">localhost</Property>
-    <Property name="saslPrincipalName">ldap/localhost@EXAMPLE.COM</Property>
-  </EmbeddedLDAP>
-
-  <!--
-	Default partition configurations
-	================================
-	When embedded LDAP server starts for the first time it will create a default partition.
-	Following properties configure values for the default partition.
-
-	Property                        Usage
-	=======                         =====
-	id                              Each partition is given an id. The id given to the default paritition.
-	realm                           Realm is the place where we store user principals and service principals.
-                                        The name of the realm for default partition.
-	kdcPassword                     This parameter is used when KDC (Key Distribution Center) is enabled. In apacheds
-                                        KDC also has a server principal. This defines a password for KDC server principal.
-	ldapServerPrinciplePassword     If LDAP server is also defined as a server principal, this will be the password.
-
-  -->
-  <DefaultPartition>
-    <Property name="id">root</Property>
-    <Property name="realm">wso2.org</Property>
-    <Property name="kdcPassword">secret</Property>
-    <Property name="ldapServerPrinciplePassword">randall</Property>
-  </DefaultPartition>
-
-  <!--
-	Default partition admin configurations
-	======================================
-	In a multi-tenant scenario each tenant will have a separate partition. Thus tenant admin will be the partition admin.
-	Following configurations define admin attributes for above created default partition.
-
-	Property            Usage
-	========            =====
-	uid                 UID attribute for partition admin.
-	commonName          The cn attribute for admin
-	lastName            The sn attribute for admin
-	email               The email attribute for admin
-	passwordType        The password hashing mechanism. Following hashing mechanisms are available, "SHA", "MD5".
-                        "Plaintext" is also a valid value. If KDC is enabled password type will be enforced to be
-                        plain text.
-  -->
-  <PartitionAdmin>
-    <Property name="uid">admin</Property>
-    <Property name="firstName">admin</Property>
-    <Property name="lastName">admin</Property>
-    <Property name="email">admin@wso2.com</Property>
-    <Property name="password">admin</Property>
-    <Property name="passwordType">SHA</Property>
-  </PartitionAdmin>
-
-  <!--
-	Default partition admin's group configuration
-	=============================================
-	Embedded LDAP is capable of keeping group information also.
-	If LDAP groups are enabled in user store (usr-mgt.xml) group information will be
-	recorded in a separate sub-context. Following configuration defines the group
-	properties.
-
-	Property                Usage
-	=======                 =====
-	adminRoleName		    The name of the role/group that admin should be included.
-	groupNameAttribute	    The attribute which group name will be recorded.
-	memberNameAttribute	    The attribute which memebers are recorded.
-  -->
-  <PartitionAdminGroup>
-    <Property name="adminRoleName">admin</Property>
-    <Property name="groupNameAttribute">cn</Property>
-    <Property name="memberNameAttribute">member</Property>
-  </PartitionAdminGroup>
-
-    <!--
-      KDC configurations
-      =================
-      Following configurations are applicable to KDC server. Generally, the KDC is only enabled in
-      Identity Server. You may enable KDC server if you wish to do so. But if you dont have any Kerberos specific
-      programs, it is recommended to disable KDC server.
-
-      Property                          Usage
-      =======                           =====
-      name                              Name given to default KDC server.
-      enabled                           If true a KDC server will start when starting LDAP server.
-                                          Else a KDC server will not start with a LDAP server.
-      protocol                          Default protocol to be used in KDC communication. Default is UDP.
-      maximumTicketLifeTime             The maximum life time of a ticket issued by the KDC.
-      maximumRenewableLifeTime          Life time which a ticket can be used by renewing it several times.
-      preAuthenticationTimeStampEnabled Pre-authentication is a feature in latest Kerberos protocol.
-                                          This property says whether to enable it or disable it.
-    -->
-  <KDCServer>
-    <Property name="name">defaultKDC</Property>
-    <Property name="enabled">false</Property>
-    <Property name="protocol">UDP</Property>
-    <Property name="host">localhost</Property>
-    <Property name="port">${Ports.EmbeddedLDAP.KDCServerPort}</Property>
-    <Property name="maximumTicketLifeTime">8640000</Property>
-    <Property name="maximumRenewableLifeTime">604800000</Property>
-    <Property name="preAuthenticationTimeStampEnabled">true</Property>
-  </KDCServer>
-
-</EmbeddedLDAPConfig>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fae25315/products/elb/2.0.5/modules/distribution/src/main/conf/loadbalancer.conf
----------------------------------------------------------------------
diff --git a/products/elb/2.0.5/modules/distribution/src/main/conf/loadbalancer.conf b/products/elb/2.0.5/modules/distribution/src/main/conf/loadbalancer.conf
deleted file mode 100644
index 3b883f5..0000000
--- a/products/elb/2.0.5/modules/distribution/src/main/conf/loadbalancer.conf
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-#
-# WSO2 Inc. licenses this file to you under the Apache License,
-# Version 2.0 (the "License"); you may not use this file except
-# in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# configuration details of WSO2 Elastic Load Balancer
-# for more info on how it works, refer to: http://blog.afkham.org/2011/09/wso2-load-balancer-how-it-works.html
-# for more info on how to set it up, refer to: http://nirmalfdo.blogspot.com/2012/06/fronting-wso2-application-server-50.html
-loadbalancer {
-    # minimum number of load balancer instances 
-    instances           1;
-    # whether autoscaling should be enabled or not.
-    enable_autoscaler   false;
-    # autoscaling decision making task
-    #autoscaler_task  org.wso2.carbon.mediator.autoscale.lbautoscale.task.ServiceRequestsInFlightAutoscaler;
-    # whether to use embedded autoscaler or not. By default, we use embedded autoscaler. 
-    #use_embedded_autoscaler false;
-    #please use this whenever url-mapping is used through LB.
-    #size_of_cache		100;
-    # End point reference of the Autoscaler Service. This should be present, if you disabled embedded autoscaling.
-    #autoscaler_service_epr  https://host_address:https_port/services/AutoscalerService/; 
-    # interval between two task executions in milliseconds 
-    autoscaler_task_interval 60000;
-    # after an instance booted up, task will wait maximum till this much of time and let the server started up
-    server_startup_delay 600000; #default will be 60000ms
-    # session time out
-    session_timeout 90000; 
-    # enable fail over 
-    fail_over true;
-    #mb_server_url localhost:5672;
-}
-
-# services' details which are fronted by this WSO2 Elastic Load Balancer
-services {
-    # default parameter values to be used in all services
-    defaults {
-        # minimum number of service instances required. WSO2 ELB will make sure that this much of instances
-        # are maintained in the system all the time, of course only when autoscaling is enabled.
-        min_app_instances       1;
-        # maximum number of service instances that will be load balanced by this ELB.
-        max_app_instances       5;
-        # you need to calibrate autoscaling parameters before start using. Please go through following blog post
-        # http://nirmalfdo.blogspot.com/2013/01/scale-up-early-scale-down-slowly.html
-        max_requests_per_second   5;
-        alarming_upper_rate 0.7;
-        alarming_lower_rate 0.2;
-        scale_down_factor 0.25;
-        rounds_to_average       2;
-        message_expiry_time     60000;
-    }
-
-    appserver {
-        # multiple hosts should be separated by a comma.
-        hosts                   appserver.cloud-test.wso2.com,as.cloud-test.wso2.com;
-	#when using url mapping, url_suffix will be required. hosts should be read first before url_suffix, 
-	#in order to construct the host vs url-suffix pairs, hence keep the logical order to of hosts and url_suffix as it is.                                
-	#url_suffix 		as.wso2.com,appserver.wso2.com;
-        domains   {
-            wso2.as1.domain {
-                # for more info on Tenant aware load balancing please refer to 
-                # http://sanjeewamalalgoda.blogspot.com/2012/05/tenant-aware-load-balancer.html
-                tenant_range    1-100;
-            }
-            wso2.as2.domain {
-                tenant_range    101-200;
-            }
-            wso2.as3.domain {
-                # all tenants other than 1-200 will belong to this domain.
-                tenant_range    *;
-            }
-        }
-    }
-
-    esb {
-        # multiple hosts should be separated by a comma.
-	hosts                   esb.cloud-test.wso2.com;
-	#url_suffix 		esb.wso2.com;
-        domains   {
-            wso2.esb.domain {
-                tenant_range    *;
-            }
-        }
-    }
-
-    governance {
-        hosts                   governance.cloud-test.wso2.com;
-	#url_suffix 		governance.wso2.com;
-        domains   {
-            wso2.governance1.domain {
-                tenant_range    1-100;
-            }
-            wso2.governance2.domain {
-                tenant_range    101-200;
-            }
-            wso2.governance3.domain {
-                tenant_range    *;
-            }
-        }
-    }
-
-    identity {
-        hosts                   identity.cloud-test.wso2.com;
-	#url_suffix 		identity.wso2.com;
-        domains   {
-            wso2.identity1.domain {
-                tenant_range    1-100;
-            }
-            wso2.identity2.domain {
-                tenant_range    101-200;
-            }
-            wso2.identity3.domain {
-                tenant_range    *;
-            }
-        }
-    }