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

[1/5] Removed stratos agent related components, features and its product

Updated Branches:
  refs/heads/master 218edc141 -> 3959b1ad7


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/products/stratos-agent/modules/distribution/src/main/notice/NOTICE
----------------------------------------------------------------------
diff --git a/products/stratos-agent/modules/distribution/src/main/notice/NOTICE b/products/stratos-agent/modules/distribution/src/main/notice/NOTICE
deleted file mode 100644
index 55f19bb..0000000
--- a/products/stratos-agent/modules/distribution/src/main/notice/NOTICE
+++ /dev/null
@@ -1,392 +0,0 @@
-Apache Software
-Copyright 2013 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-================================================================================
-Abdera Notice:
-
-Portions of Abdera were orginally developed by
-International Business Machines Corporation and are
-licensed to the Apache Software Foundation under the
-"Software Grant and Corporate Contribution License Agreement",
-informally known as the "Abdera CLA".
-
-This software's test suite contains data files derived from the
-Universal Feed Parser, Copyright (c) 2002-2005, Mark Pilgrim.
-
-This software's extensions module contains a JSON writer for Atom XML
-that utilizes a JSON parser, Copyright (c) 2002, json.org. The code was 
-licensed using Apache License by the author Douglas Crockford and made 
-available at http://json.org/java/apache.zip We have included portions 
-of the code in the extensions module.
-
-================================================================================
-Annogon Notice:
-
-This software consists of voluntary contributions made by many
-individuals on behalf of the Apache Software Foundation and was
-originally based on software copyright (c) 2000-2004 BEA Systems 
-Inc., <http://www.bea.com/>. For more information on the Apache 
-Software Foundation, please see <http://www.apache.org/>.
-
-===============================================================================
-Apache Ant Notice:
-
-The <sync> task is based on code Copyright (c) 2002, Landmark
-Graphics Corp that has been kindly donated to the Apache Software
-Foundation.
-
-================================================================================
-Apache Axiom Notice:
-
-Portions Copyright 2006 International Business Machines Corp.
-
-================================================================================
-Apache Axis2 Notice:
-
-Portions Copyright 2006 International Business Machines Corp.
-Portions Copyright 2005-2007 WSO2, Inc.
-
-This product also includes schemas and specification developed by:
-- the W3C consortium (http://www.w3c.org)
-
-This product also includes WS-* schemas developed by International
-Business Machines Corporation, Microsoft Corporation, BEA Systems,
-TIBCO Software, SAP AG, Sonic Software, and VeriSign
-
-This product also includes a WSDL developed by salesforce.com
-- Copyright 1999-2006 salesforce.com, inc.
-
-Portions of the included xmlbeans library were originally based on the following:
-- software copyright (c) 2000-2003, BEA Systems, <http://www.bea.com/>.
-
-================================================================================
-Apache Commons-Codec Notice:
-
-src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
-contains test data from http://aspell.net/test/orig/batch0.tab.
-Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org)
-
-================================================================================
-Apache Commons-Lang Notice:
-
-This product includes software from the Spring Framework,
-under the Apache License 2.0 (see: StringUtils.containsWhitespace())
-
-================================================================================
-Apache Commons-Pool Notice:
-
-The LinkedBlockingDeque implementation is based on an implementation written by
-Doug Lea with assistance from members of JCP JSR-166 Expert Group and released
-to the public domain, as explained at
-http://creativecommons.org/licenses/publicdomain
-
-================================================================================
-Apache Commons-httpclient Notice:
-
-This project contains annotations derived from JCIP-ANNOTATIONS
-Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net
-
-================================================================================
-Apache Geranimo Notice:
-
-Portions of the Web Console were orginally developed by International
-Business Machines Corporation and are licensed to the Apache Software
-Foundation under the "Software Grant and Corporate Contribution
-License Agreement", informally known as the "IBM Console CLA".
-
-Portions of the ASN1 codec implementation in
-framework/modules/geronimo-crypto/ were developed by the Bouncy Castle
-project (http://www.bouncycastle.org/).
-
-Copyright (c) 2000-2005
-The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
-
-ORB Portions of this software were developed at IONA Technologies.
-
-Object Management Group (OMG) classes used by the orb.
-The original classes are available from www.org.omg.
-
-The RMI over IIOP implementation were developed at Trifork Technologies.
-
-Copyright 2004-2009 Tranql project committers
-This product includes software developed at
-Tranql (http://tranql.codehaus.org/).
-
-This product includes software developed by the Protocol Buffers
-project (http://code.google.com/apis/protocolbuffers).
-
-This product includes also software developed by :
-  - the W3C consortium (http://www.w3c.org) ,
-  - the SAX project (http://www.saxproject.org)
-
-The <sync> task is based on code Copyright (c) 2002, Landmark
-Graphics Corp that has been kindly donated to the Apache Software
-Foundation.
-
-Portions of this software were originally based on the following:
-  - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-  - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-  - voluntary contributions made by Paul Eng on behalf of the
-    Apache Software Foundation that were originally developed at iClick, Inc.,
-    software copyright (c) 1999.
-
-
-Portions Copyright 2006 International Business Machines Corp.
-Portions Copyright 2005-2007 WSO2, Inc.
-
-This product also includes schemas and specification developed by:
-- the W3C consortium (http://www.w3c.org)
-
-This product also includes WS-* schemas developed by International
-Business Machines Corporation, Microsoft Corporation, BEA Systems,
-TIBCO Software, SAP AG, Sonic Software, and VeriSign
-
-This product also includes a WSDL developed by salesforce.com
-- Copyright 1999-2006 salesforce.com, inc.
-
-Portions of the included xmlbeans library were originally based on the following:
-- software copyright (c) 2000-2003, BEA Systems, <http://www.bea.com/>.
-
-This product also includes schemas and specification developed by:
-      - the W3C consortium (http://www.w3c.org)
-      (http://www.w3.org/XML/1998/namespace)
-
-This product also includes WS-* schemas developed by International
-   Business Machines Corporation, Microsoft Corporation, BEA Systems,
-   TIBCO Software, SAP AG, Sonic Software, and VeriSign
-   (http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd)
-   (http://schemas.xmlsoap.org/ws/2004/08/addressing/)
-   (http://schemas.xmlsoap.org/wsdl/http)
-   (http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm.xsd)
-   (http://www.w3.org/2005/08/addressing/ws-addr.xsd)
-
-Portions of Derby were originally developed by
-International Business Machines Corporation and are
-licensed to the Apache Software Foundation under the
-"Software Grant and Corporate Contribution License Agreement",
-informally known as the "Derby CLA".
-The following copyright notice(s) were affixed to portions of the code
-with which this file is now or was at one time distributed
-and are placed here unaltered.
-
-(C) Copyright 1997,2004 International Business Machines Corporation.  All rights reserved.
-
-(C) Copyright IBM Corp. 2003.
-
-The portion of the functionTests under 'nist' was originally
-developed by the National Institute of Standards and Technology (NIST),
-an agency of the United States Department of Commerce, and adapted by
-International Business Machines Corporation in accordance with the NIST
-Software Acknowledgment and Redistribution document at
-http://www.itl.nist.gov/div897/ctg/sql_form.htm
-
-* OpenJPA includes software written by Miroslav Nachev.
-
-* OpenJPA uses test code written by Charles Tillman.
-
-XMLSec was originally based on software copyright (c) 2001, Institute for
-Data Communications Systems, <http://www.nue.et-inf.uni-siegen.de/>.
-
-The development of XMLSec was partly funded by the European
-Commission in the <WebSig> project in the ISIS Programme.
-
-This product also includes software developed by :
-
-  - IBM Corporation (http://www.ibm.com),
-      WSDL4J was the initial code contribution for the Apache Woden
-      project and some of the WSDL4J design and code has been reused.
-  - The W3C Consortium (http://www.w3c.org),
-      Common W3C XML Schema and DTD files are packaged with Apache Woden.
-
-Portions Copyright 2006 International Business Machines Corp.
-
-Portions of this software were originally based on the following:
-  - software copyright (c) 2000-2003, BEA Systems, <http://www.bea.com/>.
-
-Aside from contributions to the Apache XMLBeans project, this
-software also includes:
-
- - one or more source files from the Apache Xerces-J and Apache Axis
-   products, Copyright (c) 1999-2003 Apache Software Foundation
-
- - W3C XML Schema documents Copyright 2001-2003 (c) World Wide Web
-   Consortium (Massachusetts Institute of Technology, European Research
-   Consortium for Informatics and Mathematics, Keio University)
-
- - resolver.jar from Apache Xml Commons project,
-   Copyright (c) 2001-2003 Apache Software Foundation
-
- - Piccolo XML Parser for Java from http://piccolo.sourceforge.net/,
-   Copyright 2002 Yuval Oren under the terms of the Apache Software License 2.0
-
- - JSR-173 Streaming API for XML from http://sourceforge.net/projects/xmlpullparser/,
-   Copyright 2005 BEA under the terms of the Apache Software License 2.0
-
-This product includes software developed by the Simple XML Compiler (SXC)
-project (http://sxc.codehaus.org/project-info.html)
-
-This product includes software developed for the JAXB Reference
-Implementation project. (https://jaxb.dev.java.net/).  Apache Geronimo elects
-to include this software in this distribution under the CDDL license.
-
-This product includes software developed for SOAP with Attachments
-API for Java (SAAJ). The software is available from the GlassFish project
-(https://saaj.dev.java.net/).  Apache Geronimo elects to include this
-software in this distribution under the CDDL license.
-
-This product includes software developed for Java API for XML Web Services
-project (JAX-WS) (https://jax-ws.dev.java.net/).  Apache Geronimo elects
-to include this software in this distribution under the CDDL license.
-
-This product includes software developed for the Java Server Pages Tag
-Library project (https://jstl.dev.java.net/).   Apache Geronimo elects
-to include this software in this distribution under the CDDL license.
-
-This product includes schema files developed for the Glassfish Java EE
-reference implementation (http://java.sun.com/xml/ns/j2ee/).
-Apache Geronimo elects to include this software in this distribution
-under the CDDL license.  You can obtain a copy of the License at:
-    https://glassfish.dev.java.net/public/CDDL+GPL.html
-The source code is available at:
-    https://glassfish.dev.java.net/source/browse/glassfish/
-
-The following schemas are included:
-
-----------------------------------
-  application-client_1_4.xsd
-  application_1_4.xsd
-  connector_1_5.xsd
-  datatypes.dtd
-  ejb-jar_2_1.xsd
-  j2ee_1_4.xsd
-  j2ee_jaxrpc_mapping_1_1.xsd
-  j2ee_web_services_1_1.xsd
-  j2ee_web_services_client_1_1.xsd
-  jsp_2_0.xsd
-  web-app_2_4.xsd
-  web-jsptaglibrary_2_0.xsd
-  application-client_5.xsd
-  application_5.xsd
-  ejb-jar_3_0.xsd
-  handler-chain.xsd
-  javaee_5.xsd
-  javaee_web_services_1_2.xsd
-  javaee_web_services_client_1_2.xsd
-  jsp_2_1.xsd
-  persistence_1_0.xsd
-  web-app_2_5.xsd
-  web-facelettaglibrary_2_0.xsd
-  web-facesconfig_2_0.xsd
-  web-partialresponse_2_0.xsd
-  web-jsptaglibrary_2_1.xsd
-  application_6.xsd
-  application-client_6.xsd
-  connector_1_6.xsd
-  ejb-jar_3_1.xsd
-  javaee_6.xsd
-  javaee_web_services_1_3.xsd
-  javaee_web_services_client_1_3.xsd
-  jsp_2_2.xsd
-  persistence_2_0.xsd
-  web-app_3_0.xsd
-  web-common_3_0.xsd
-  web-fragment_3_0.xsd
---------------------------------
-
-This product includes software developed at
-the OSGi Alliance (http://www.osgi.org/).
-
- This product includes software developed at
- OPS4J (http://www.ops4j.org/).
--------------------------------------------------------------------------------
-
-The product contains the software developed in javassist.org (http://www.javassist.org) 
-which is released under both the Mozilla Public License 
-(http://www.mozilla.org/MPL/MPL-1.1.html) and the GNU Lesser General Public 
-License (http://www.gnu.org/licenses/lgpl-2.1.html).  
-
-The Apache Geronimo project elects to distribute this software under the terms of 
-the Mozilla Public License. 
-
--------------------------------------------------------------------------------
-
-The product contains the software developed in json.org which released under the following license.
-
-http://www.json.org/license.html
-
-Copyright (c) 2002 JSON.org
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-The Software shall be used for Good, not Evil.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
-
-================================================================================
-Apache Httpcore Notice:
-
-This project contains annotations derived from JCIP-ANNOTATIONS
-Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net
-
-================================================================================
-Quartz Scheduler Notice:
-Copyright 2001-2009 Terracotta, Inc.
-
-================================================================================
-Apache Tiles Notice:
-
-   The binary distribution contains software developed by:
-
-   SpringSource: http://www.springsource.com/
-   Visigoth Software Society (Freemarker): http://freemarker.org/
-   OpenSymphony (OGNL): http://www.opensymphony.com/ognl/
-   Codehaus (MVEL): http://mvel.codehaus.org/
-   JBoss (Javassist): http://jboss.org/javassist/
-   Sam Pullara (Mustache Java): https://github.com/spullara/mustache.java/
-
-================================================================================
-Apache Woden Notice:
-
-   This product also includes software developed by :
-   
-     - IBM Corporation (http://www.ibm.com),
-         WSDL4J was the initial code contribution for the Apache Woden
-         project and some of the WSDL4J design and code has been reused.
-     - The W3C Consortium (http://www.w3c.org),
-         Common W3C XML Schema and DTD files are packaged with Apache Woden.
-
-================================================================================
-Apache WebServices - WSS4J Notice:
-
-
-This product includes software Copyright University of Southampton IT
-Innovation Centre, 2006 (http://www.it-innovation.soton.ac.uk).
-
-================================================================================
-Apache XmlBeans Notice:
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 2000-2003, BEA Systems, <http://www.bea.com/>.
-
-   Aside from contributions to the Apache XMLBeans project, this
-   software also includes:
-
-    - one or more source files from the Apache Xerces-J and Apache Axis
-      products, Copyright (c) 1999-2003 Apache Software Foundation
-
-    - W3C XML Schema documents Copyright 2001-2003 (c) World Wide Web
-      Consortium (Massachusetts Institute of Technology, European Research
-      Consortium for Informatics and Mathematics, Keio University)
-
-    - jaxen, Copyright 2003 (c) The Werken Company.
-
-    - resolver.jar from Apache Xml Commons project,
-      Copyright (c) 2001-2003 Apache Software Foundation
-
-================================================================================
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/products/stratos-agent/modules/p2-profile/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos-agent/modules/p2-profile/pom.xml b/products/stratos-agent/modules/p2-profile/pom.xml
deleted file mode 100755
index 54b72f1..0000000
--- a/products/stratos-agent/modules/p2-profile/pom.xml
+++ /dev/null
@@ -1,176 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF 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.apache.stratos</groupId>
-        <artifactId>stratos-agent-parent</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2agent-p2-profile-gen</artifactId>
-    <packaging>pom</packaging>
-    <name>Apache Stratos - Agent - P2 Profile Generation</name>
-    <url>http://www.wso2.org</url>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <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.apache.stratos:org.apache.stratos.cartridge.messages.feature:${project.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.apache.stratos:org.apache.stratos.cartridge.agent.server.feature:${project.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.apache.stratos:org.apache.stratos.lb.common.feature:${project.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.apache.synapse.wso2.feature:2.1.1-wso2v4
-                                </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.stratos.cartridge.messages.feature.group</id>
-                                    <version>${project.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.apache.stratos.cartridge.agent.server.feature.group</id>
-                                    <version>${project.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.apache.stratos.lb.common.feature.group</id>
-                                    <version>${project.version}</version>
-                                </feature>
-                                <feature>
-                                    <id>org.apache.synapse.wso2.feature.group</id>
-                                    <version>2.1.1-wso2v4</version>
-                                </feature>
-                            </features>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <configuration>
-                            <tasks>
-                                <replace token="false" value="true"
-                                         dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
-                                    <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/3959b1ad/products/stratos-agent/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos-agent/pom.xml b/products/stratos-agent/pom.xml
deleted file mode 100755
index 97b4b50..0000000
--- a/products/stratos-agent/pom.xml
+++ /dev/null
@@ -1,147 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF 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.apache.stratos</groupId>
-        <artifactId>stratos-products-parent</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.apache.stratos</groupId>
-    <artifactId>stratos-agent-parent</artifactId>
-    <packaging>pom</packaging>
-    <version>4.0.0-SNAPSHOT</version>
-    <name>Apache Stratos - Agent - Aggregator Module</name>
-    <url>http://apache.org</url>
-    <description>Apache Stratos Agent (S2agent)</description>
-
-    <modules>
-        <module>modules/p2-profile</module>
-        <module>modules/distribution</module>
-        <!--<module>modules/integration</module>-->
-    </modules>
-
-    <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>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
-    <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.17</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.stratos</carbon.kernel.version>
-        <carbon.p2.plugin.version>1.5.2</carbon.p2.plugin.version>
-	<stratos2.platform.patch.version>2.1.1</stratos2.platform.patch.version>
-        <synapse.version>2.1.1-wso2v4</synapse.version>
-        <axis2.transport.version>1.1.0-wso2v6</axis2.transport.version>
-        <elb.version>2.0.3</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.17</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-    </properties>
-</project>


[5/5] git commit: Removed stratos agent related components, features and its product

Posted by im...@apache.org.
Removed stratos agent related components, features and its product


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

Branch: refs/heads/master
Commit: 3959b1ad7bb032daa7a84dab9d39f2fa5ad6735b
Parents: 218edc1
Author: Imesh Gunaratne <im...@apache.org>
Authored: Mon Nov 4 12:10:03 2013 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Mon Nov 4 12:10:03 2013 +0530

----------------------------------------------------------------------
 .../org.apache.stratos.cartridge.agent/pom.xml  | 121 ---
 .../cartridge/agent/ClusteringClient.java       | 270 -------
 .../cartridge/agent/ELBMembershipListener.java  |  83 --
 .../InstanceStateNotificationClientThread.java  |  63 --
 .../agent/RegistrantMembershipListener.java     |  71 --
 .../exception/CartridgeAgentException.java      |  41 -
 .../agent/internal/CartridgeAgentConstants.java |  28 -
 .../CartridgeAgentServiceComponent.java         | 128 ---
 .../cartridge/agent/internal/DataHolder.java    |  45 --
 .../cartridge/agent/registrant/PortMapping.java |  90 ---
 .../cartridge/agent/registrant/Registrant.java  | 199 -----
 .../agent/registrant/RegistrantDatabase.java    | 143 ----
 .../registrant/RegistrantHealthChecker.java     | 115 ---
 .../agent/registrant/RegistrantUtil.java        | 177 -----
 .../agent/service/CartridgeAgentService.java    |  67 --
 .../src/main/resources/META-INF/services.xml    |  37 -
 .../pom.xml                                     |  76 --
 .../cartridge/messages/ClusterDomain.java       | 117 ---
 .../messages/ClusterDomainManager.java          |  35 -
 .../messages/CreateClusterDomainMessage.java    | 129 ---
 .../CreateRemoveClusterDomainMessage.java       |  77 --
 .../pom.xml                                     |  79 --
 .../pom.xml                                     | 159 ----
 .../src/main/resources/build.properties         |  23 -
 .../src/main/resources/conf/agent.properties    |  40 -
 .../src/main/resources/p2.inf                   |  20 -
 .../pom.xml                                     |  84 --
 features/cartridge-agent/pom.xml                |  43 -
 features/pom.xml                                |  28 +-
 products/stratos-agent/INSTALL.txt              |  52 --
 products/stratos-agent/LICENSE.txt              | 250 ------
 products/stratos-agent/README.txt               | 114 ---
 .../stratos-agent/modules/distribution/pom.xml  | 535 -------------
 .../distribution/src/conf/log4j.properties      | 168 ----
 .../distribution/src/main/assembly/bin.xml      | 194 -----
 .../src/main/assembly/filter.properties         |  27 -
 .../distribution/src/main/bin/stratos.bat       | 169 ----
 .../distribution/src/main/bin/stratos.sh        | 298 -------
 .../distribution/src/main/license/LICENSE       | 793 -------------------
 .../modules/distribution/src/main/notice/NOTICE | 392 ---------
 .../stratos-agent/modules/p2-profile/pom.xml    | 176 ----
 products/stratos-agent/pom.xml                  | 147 ----
 42 files changed, 10 insertions(+), 5893 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/pom.xml b/components/org.apache.stratos.cartridge.agent/pom.xml
deleted file mode 100644
index 5a8c9ce..0000000
--- a/components/org.apache.stratos.cartridge.agent/pom.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-     ~  Licensed to the Apache Software Foundation (ASF) under one
-     ~  or more contributor license agreements.  See the NOTICE file
-     ~  distributed with this work for additional information
-     ~  regarding copyright ownership.  The ASF 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.apache.stratos</groupId>
-		<artifactId>stratos-components-parent</artifactId>
-		<version>4.0.0-SNAPSHOT</version>
-	</parent>
-
-	<modelVersion>4.0.0</modelVersion>
-	<artifactId>org.apache.stratos.cartridge.agent</artifactId>
-        <packaging>bundle</packaging>
-	<name>Apache Stratos - Cartridge Agent</name>
-
-	<dependencies>
-		<dependency>
-		<groupId>org.apache.stratos</groupId>
-		<artifactId>org.apache.stratos.cartridge.messages</artifactId>
-                <version>${project.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.axis2.wso2</groupId>
-			<artifactId>axis2</artifactId>
-			<version>${axis2.wso2.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.ws.commons.axiom.wso2</groupId>
-			<artifactId>axiom</artifactId>
-		        <version>${orbit.version.axiom}</version>
-		</dependency>
-		<dependency>
-			<groupId>commons-logging</groupId>
-			<artifactId>commons-logging</artifactId>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.stratos</groupId>
-			<artifactId>org.apache.stratos.adc.instanceinfo.mgt.stub</artifactId>
-			<version>${project.version}</version>
-		</dependency>
-        <dependency>
-            <groupId>org.eclipse.osgi</groupId>
-            <artifactId>org.eclipse.osgi</artifactId>
-            <version>3.5.0.v20090311-1300</version>
-        </dependency>
-        <dependency>
-            <groupId>org.eclipse.osgi</groupId>
-            <artifactId>org.eclipse.osgi.services</artifactId>
-            <version>3.3.0.v20110513</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.utils</artifactId>
-            <version>4.1.0</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <version>1.4.0</version>
-                <extensions>true</extensions>
-
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Private-Package>
-                            org.apache.stratos.cartridge.agent.internal.*,
-                            !org.apache.stratos.cartridge.agent.service.*
-                        </Private-Package>
-                        <Export-Package>
-                            org.apache.stratos.cartridge.agent.service.*,
-                            org.apache.stratos.cartridge.agent.client.*,
-                            org.apache.stratos.cartridge.agent.registrant.*,
-                            org.apache.stratos.cartridge.agent.exception.*,
-                            org.apache.stratos.cartridge.agent.*
-                        </Export-Package>
-                        <Import-Package>
-                            org.apache.axis2.*; version="${axis2.wso2.version}",
-                            org.apache.axiom.*;
-                            version="${axiom.wso2.version}",
-                            org.apache.neethi.*;
-                            version="${neethi.wso2.version}",
-                            javax.xml.stream.*; version="1.0.1",
-                            javax.wsdl.*; version="1.6.2",
-                            org.osgi.framework.*,
-                            *;resolution:=optional
-                        </Import-Package>
-                        <DynamicImport-Package>*</DynamicImport-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/ClusteringClient.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/ClusteringClient.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/ClusteringClient.java
deleted file mode 100644
index b81b542..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/ClusteringClient.java
+++ /dev/null
@@ -1,270 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent;
-
-import org.apache.axiom.om.impl.builder.StAXOMBuilder;
-import org.apache.axis2.AxisFault;
-import org.apache.axis2.clustering.*;
-import org.apache.axis2.clustering.tribes.TribesClusteringAgent;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.axis2.description.Parameter;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cartridge.agent.exception.CartridgeAgentException;
-import org.apache.stratos.cartridge.agent.registrant.PortMapping;
-import org.apache.stratos.cartridge.agent.registrant.Registrant;
-import org.apache.stratos.cartridge.agent.registrant.RegistrantDatabase;
-import org.apache.stratos.cartridge.agent.registrant.RegistrantUtil;
-import org.apache.stratos.cartridge.messages.CreateClusterDomainMessage;
-import org.apache.stratos.cartridge.messages.CreateRemoveClusterDomainMessage;
-
-import javax.xml.stream.XMLStreamException;
-import java.io.ByteArrayInputStream;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Properties;
-import java.util.Random;
-
-/**
- * This class is used for all Axis2 clustering related activities such as joining the load balancer
- * & joining registrants to clustering groups.
- */
-public class ClusteringClient {
-    private static final Log log = LogFactory.getLog(ClusteringClient.class);
-    public static final Random RANDOM = new Random();
-    private Properties conf;
-    private RegistrantDatabase registrantDatabase;
-    private ClusteringAgent loadBalancerAgent;
-
-    public ClusteringClient(RegistrantDatabase registrantDatabase) {
-        this.registrantDatabase = registrantDatabase;
-    }
-
-    public void init(Properties conf,
-                     ConfigurationContext configurationContext,
-                     MembershipListener membershipListener) throws CartridgeAgentException {
-        try {
-            this.conf = conf;
-            joinLoadBalancer(configurationContext, membershipListener);
-        } catch (Exception e) {
-            String msg = "Cannot initialize ClusteringClient";
-            log.error(msg, e);
-            throw new CartridgeAgentException(msg, e);
-        }
-    }
-
-    private void joinLoadBalancer(ConfigurationContext configurationContext,
-                                  MembershipListener membershipListener)
-            throws CartridgeAgentException {
-
-        try {
-            loadBalancerAgent = createClusteringAgent(configurationContext,
-                                                      conf.getProperty("loadBalancerDomain"));
-            List<MembershipListener> membershipListeners = new ArrayList<MembershipListener>();
-            membershipListeners.add(membershipListener);
-            ((TribesClusteringAgent) loadBalancerAgent).setMembershipListeners(membershipListeners);
-            loadBalancerAgent.init();
-        } catch (Exception e) {
-            String msg = "Cannot join LB group";
-            log.error(msg, e);
-            throw new CartridgeAgentException(msg, e);
-        }
-    }
-
-    /**
-     * Join a cluster group of the Elastic Load Balancer
-     *
-     * @param registrant           Registrant
-     * @param configurationContext ConfigurationContext
-     * @throws CartridgeAgentException If an error occurs while joining a cluster group
-     */
-    public void joinGroup(Registrant registrant,
-                          ConfigurationContext configurationContext) throws CartridgeAgentException {
-        if (registrantDatabase.containsActive(registrant)) {
-            throw new CartridgeAgentException("Active registrant with key " +
-                                              registrant.getKey() + " already exists");
-        }
-        registrantDatabase.add(registrant);
-
-        if (!RegistrantUtil.isHealthy(registrant)) {
-            String msg = "Couldn't add registrant " + registrant + " due to a health check failure";
-            log.error(msg);
-            return;
-            //throw new CartridgeAgentException(msg);
-        }
-        try {
-            List<ClusteringCommand> clusteringCommands =
-                    loadBalancerAgent.sendMessage(new CreateClusterDomainMessage(registrant.getService(),
-                                                                                 registrant.retrieveClusterDomain(),
-                                                                                 registrant.getHostName(),
-                                                                                 registrant.getTenantRange(),
-                                                                                 registrant.getMinInstanceCount(),
-                                                                                 registrant.getMaxInstanceCount(),
-                                                                                 registrant.getMaxRequestsPerSecond(),
-                                                                                 registrant.getRoundsToAverage(),
-                                                                                 registrant.getAlarmingUpperRate(),
-                                                                                 registrant.getAlarmingLowerRate(),
-                                                                                 registrant.getScaleDownFactor()),
-                                                  true);
-            if (clusteringCommands != null && !clusteringCommands.isEmpty()) {
-                for (ClusteringCommand clusteringCommand : clusteringCommands) {
-                    clusteringCommand.execute(configurationContext);
-                }
-            } else {
-                return;
-            }
-
-        } catch (ClusteringFault e) {
-            handleException("Cannot send CreateClusterDomainMessage to ELB", e);
-        }
-        ClusteringAgent agent;
-        try {
-            agent = createClusteringAgent(configurationContext,
-                                          registrant.retrieveClusterDomain());
-            
-        } catch (ClusteringFault e) {
-            handleException("Cannot create ClusteringAgent for registrant", e);
-            return;
-        }
-
-        //Add port.mapping.<port> entries to member
-        /*
-       <parameter name="properties">
-           <property name="port.mapping.8281" value="9768"/>
-           <property name="port.mapping.8244" value="9448"/>
-       </parameter>
-        */
-        Parameter propsParam = new Parameter();
-        propsParam.setName("properties");
-
-        StringBuilder propertiesPayload = new StringBuilder("<parameter name=\"properties\">");
-        int httpPort = -1;
-        int httpsPort = -1;
-        for (PortMapping portMapping : registrant.getPortMappings()) {
-            propertiesPayload.append("<property name=\"portMapping.mapping.").append(portMapping.getProxyPort()).
-                    append("\" value=\"").append(portMapping.getPrimaryPort()).append("\" />");
-            if (portMapping.getType().equals(PortMapping.PORT_TYPE_HTTP)) {
-                httpPort = portMapping.getPrimaryPort();
-            } else if (portMapping.getType().equals(PortMapping.PORT_TYPE_HTTPS)) {
-                httpsPort = portMapping.getPrimaryPort();
-            }
-        }
-
-        String remoteHost = registrant.getRemoteHost();
-        propertiesPayload.append("<property name=\"httpPort\" value=\"").append(httpPort).append("\" />");
-        propertiesPayload.append("<property name=\"httpsPort\" value=\"").append(httpsPort).append("\" />");
-        propertiesPayload.append("<property name=\"remoteHost\" value=\"").append(remoteHost).append("\" />");
-        propertiesPayload.append("<property name=\"subDomain\" value=\"__$default\" />");
-        propertiesPayload.append("</parameter>");
-
-        try {
-            StAXOMBuilder builder = new StAXOMBuilder(new ByteArrayInputStream(propertiesPayload.toString().getBytes()));
-            propsParam.setParameterElement(builder.getDocumentElement());
-            agent.addParameter(propsParam);
-        } catch (XMLStreamException e) {
-            handleException("Cannot create properties ClusteringAgent parameter", e);
-        } catch (AxisFault ignored) { // will not occur
-        }
-
-        int newMemberPort = Integer.parseInt(conf.getProperty("clustering.localMemberPort")) +
-                            RANDOM.nextInt(5000) + 27;
-        addParameter(agent, "localMemberPort", newMemberPort + "");
-        try {
-            synchronized (registrant) {
-                if(!registrant.running()) {
-                    registrant.start(agent);
-                }
-            }
-        } catch (ClusteringFault e) {
-            handleException("Cannot start registrant", e);
-        }
-        
-        // Update instance state in stratos database, with active
-        new Thread(new InstanceStateNotificationClientThread(registrant, "ACTIVE")).start();
-    }
-    
-    
-    public void removeClusterDomain(String domain,
-                                    String subDomain,
-                                    String hostName,
-                                    ConfigurationContext configurationContext) throws CartridgeAgentException {
-    	try {
-            List<ClusteringCommand> clusteringCommands =
-                    loadBalancerAgent.sendMessage(new CreateRemoveClusterDomainMessage(domain, subDomain, hostName),
-                                                  true);
-            if (clusteringCommands != null && !clusteringCommands.isEmpty()) {
-                for (ClusteringCommand clusteringCommand : clusteringCommands) {
-                    clusteringCommand.execute(configurationContext);
-                }
-            } else {
-                return;
-            }
-        } catch (ClusteringFault e) {
-            handleException("Cannot send CreateClusterDomainMessage to ELB", e);
-        }
-    }
-
-    private void handleException(String msg, Exception e) throws CartridgeAgentException {
-        log.error(msg, e);
-        throw new CartridgeAgentException(msg, e);
-    }
-
-    private ClusteringAgent createClusteringAgent(ConfigurationContext configurationContext,
-                                                  String clusterDomain) throws ClusteringFault {
-        TribesClusteringAgent agent = new TribesClusteringAgent();
-        addParameter(agent, "AvoidInitiation", "true");
-        for (String key : conf.stringPropertyNames()) {
-            if (key.startsWith("clustering.")) {
-                addParameter(agent,
-                             key.substring(key.indexOf(".") + 1),
-                             conf.getProperty(key));
-            }
-        }
-
-        List<Member> members = new ArrayList<Member>();
-        for (int i = 1; i < Integer.MAX_VALUE; i++) {
-            String host = conf.getProperty("members." + i + ".host");
-            String port = conf.getProperty("members." + i + ".port");
-            if (host == null || port == null) {
-                break;
-            }
-            members.add(new Member(host, Integer.parseInt(port)));
-        }
-        agent.setMembers(members);
-
-        addParameter(agent, "domain", clusterDomain);
-        agent.setConfigurationContext(configurationContext);
-
-        List<MembershipListener> membershipListeners = new ArrayList<MembershipListener>();
-        membershipListeners.add(new RegistrantMembershipListener(this, configurationContext));
-        agent.setMembershipListeners(membershipListeners);
-        return agent;
-    }
-
-    private static void addParameter(ClusteringAgent agent,
-                                     String paramName, String paramValue) {
-        Parameter parameter = new Parameter(paramName, paramValue);
-        try {
-            agent.removeParameter(parameter);
-            agent.addParameter(parameter);
-        } catch (AxisFault ignored) {
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/ELBMembershipListener.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/ELBMembershipListener.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/ELBMembershipListener.java
deleted file mode 100644
index ca2cd96..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/ELBMembershipListener.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent;
-
-import org.apache.axis2.clustering.Member;
-import org.apache.axis2.clustering.MembershipListener;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cartridge.agent.exception.CartridgeAgentException;
-import org.apache.stratos.cartridge.agent.registrant.RegistrantDatabase;
-import org.apache.stratos.cartridge.agent.registrant.RegistrantHealthChecker;
-import org.apache.stratos.cartridge.agent.registrant.RegistrantUtil;
-
-/**
- * This membership listener will get notified when the Elastic Load Balancer (ELB) joins or
- * leaves the cluster
- *
- * When the ELB leaves the cluster, we have to disconnect all Registrants, and when the ELB rejoins,
- * we have to reconnect all the Registrants to the ELB
- */
-public class ELBMembershipListener implements MembershipListener {
-    private static final Log log = LogFactory.getLog(ELBMembershipListener.class);
-
-    private ClusteringClient clusteringClient;
-    private ConfigurationContext configurationContext;
-    private RegistrantDatabase registrantDatabase;
-    private RegistrantHealthChecker healthChecker;
-
-    public ELBMembershipListener(ClusteringClient clusteringClient,
-                                 ConfigurationContext configurationContext,
-                                 RegistrantDatabase registrantDatabase,
-                                 RegistrantHealthChecker healthChecker) {
-        this.clusteringClient = clusteringClient;
-        this.configurationContext = configurationContext;
-        this.registrantDatabase = registrantDatabase;
-        this.healthChecker = healthChecker;
-    }
-
-    public void memberAdded(Member member, boolean b) {
-        log.info("ELB Member [" + member + "] joined cluster");
-        Runnable runnable = new Runnable() {
-            public void run() {
-                try {
-                    try {
-                        Thread.sleep(5000);
-                    } catch (InterruptedException ignored) {
-                    }
-                    RegistrantUtil.reloadRegistrants(clusteringClient,
-                                                     configurationContext,
-                                                     registrantDatabase);
-                    healthChecker.setELBRunning(true);
-                } catch (CartridgeAgentException e) {
-                    log.error("Could not reload registrants", e);
-                }
-            }
-        };
-        new Thread(runnable).start();
-    }
-
-    public void memberDisappeared(Member member, boolean b) {
-        log.info("ELB Member [" + member + "] left cluster");
-        healthChecker.setELBRunning(false);
-        registrantDatabase.stopAll();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/InstanceStateNotificationClientThread.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/InstanceStateNotificationClientThread.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/InstanceStateNotificationClientThread.java
deleted file mode 100644
index 9668656..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/InstanceStateNotificationClientThread.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent;
-
-import org.apache.axis2.AxisFault;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cartridge.agent.registrant.Registrant;
-import org.apache.stratos.adc.instanceinfo.mgt.stub.InstanceInformationManagementServiceStub;
-
-import java.rmi.RemoteException;
-
-public class InstanceStateNotificationClientThread implements Runnable {
-
-	private Registrant registrant;
-	private String state;
-
-	private static final Log log = LogFactory
-			.getLog(InstanceStateNotificationClientThread.class);
-
-	public InstanceStateNotificationClientThread(Registrant registrant,
-			String state) {
-		this.registrant = registrant;
-		this.state = state;
-	}
-
-	public void run() {
-		try {
-			log.info("Instance State is updated to " + state + " "
-					+ registrant.getRemoteHost());
-			String serviceURL = "https://" + System.getProperty("adc.host")
-					+ ":" + System.getProperty("adc.port")
-					+ "/services/InstanceInformationManagementService";
-			InstanceInformationManagementServiceStub stub = new InstanceInformationManagementServiceStub(
-					serviceURL);
-			stub.updateInstanceState(registrant.getRemoteHost(), 123,
-					registrant.retrieveClusterDomain(), "__$default",
-					registrant.getService(), state);
-		} catch (AxisFault e) {
-            log.warn("Error notifying state " + state + " of registrant " + registrant + " to ADC", e);
-		} catch (RemoteException e) {
-            log.warn("Error notifying state " + state + " of registrant " + registrant + " to ADC", e);
-		}
-
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/RegistrantMembershipListener.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/RegistrantMembershipListener.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/RegistrantMembershipListener.java
deleted file mode 100644
index 05ff859..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/RegistrantMembershipListener.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent;
-
-import org.apache.axis2.clustering.Member;
-import org.apache.axis2.clustering.MembershipListener;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cartridge.agent.registrant.Registrant;
-
-/**
- * @author wso2
- *
- */
-public class RegistrantMembershipListener implements MembershipListener{
-	
-	private ClusteringClient clusteringClient;
-	private ConfigurationContext configurationContext;
-
-	private static final Log log = LogFactory.getLog(RegistrantMembershipListener.class);
-	
-	public RegistrantMembershipListener(ClusteringClient clusteringClient,
-	                                    ConfigurationContext configurationContext) {
-		this.clusteringClient = clusteringClient;
-		this.configurationContext = configurationContext;
-    }
-
-	public void memberAdded(Member arg0, boolean arg1) {
-	    log.info(" ********* Member is added to the group ... " + arg0);
-    }
-
-	public void memberDisappeared(Member member, boolean arg1) {
-		 log.info(" **********  Member is removed from group ... " + member);
-		 Registrant registrant = new Registrant();
-		 
-		 //HostName : cartridgeName + "." + cartridgeInfo.getHostName()
-		 // sajithphpautoscale.php.slive.com.php.domain
-		 //Domain : HostName.php.domain
-		 // TODO
-    		/* String hostName = getHostNameFromDomain(member.getDomain());
-    		 log.info("Host name is returned as: " + hostName);
-    		 try {
-    	        clusteringClient.removeClusterDomain(member.getDomain(), "__$default", hostName, configurationContext);
-            } catch (CartridgeAgentException e) {
-    	        e.printStackTrace();
-            }*/
-    }
-
-	private String getHostNameFromDomain(String domain) {
-	    return domain.substring(0, domain.length()-11);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/exception/CartridgeAgentException.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/exception/CartridgeAgentException.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/exception/CartridgeAgentException.java
deleted file mode 100644
index 40e38e4..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/exception/CartridgeAgentException.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.exception;
-
-/**
- * CartridgeAgentException
- */
-public class CartridgeAgentException extends Exception {
-    public CartridgeAgentException() {
-        super();
-    }
-
-    public CartridgeAgentException(String s) {
-        super(s);
-    }
-
-    public CartridgeAgentException(String s, Throwable throwable) {
-        super(s, throwable);
-    }
-
-    public CartridgeAgentException(Throwable throwable) {
-        super(throwable);
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/CartridgeAgentConstants.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/CartridgeAgentConstants.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/CartridgeAgentConstants.java
deleted file mode 100644
index 2bd4a99..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/CartridgeAgentConstants.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.internal;
-
-/**
- * Constants used in the Cartridge Agent
- */
-public final class CartridgeAgentConstants {
-    public static final String CLUSTERING_CLIENT = "clustering.client";
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/CartridgeAgentServiceComponent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/CartridgeAgentServiceComponent.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/CartridgeAgentServiceComponent.java
deleted file mode 100644
index b6f1f84..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/CartridgeAgentServiceComponent.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.internal;
-
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cartridge.agent.ClusteringClient;
-import org.apache.stratos.cartridge.agent.ELBMembershipListener;
-import org.apache.stratos.cartridge.agent.registrant.RegistrantDatabase;
-import org.apache.stratos.cartridge.agent.registrant.RegistrantHealthChecker;
-import org.osgi.service.component.ComponentContext;
-import org.wso2.carbon.utils.CarbonUtils;
-import org.wso2.carbon.utils.ConfigurationContextService;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.util.Properties;
-
-/**
- * @scr.component name="org.wso2.carbon.cartridge.agent" immediate="true"
- *
- * @scr.reference name="config.context.service"
- *                interface="org.wso2.carbon.utils.ConfigurationContextService"
- *                cardinality="1..1" policy="dynamic"
- *                bind="setConfigurationContextService"
- *                unbind="unsetConfigurationContextService"
- */
-public class CartridgeAgentServiceComponent {
-    private static final Log log = LogFactory.getLog(CartridgeAgentServiceComponent.class);
-
-    protected void activate(ComponentContext ctx) {
-        RegistrantHealthChecker healthChecker;
-        ConfigurationContext configurationContext = DataHolder.getServerConfigContext();
-
-        FileInputStream confFileIPStream = null;
-        try {
-            long start = System.currentTimeMillis();
-            log.info("Starting WSO2 Cartridge Agent...");
-            Properties conf = new Properties();
-            confFileIPStream = new FileInputStream(CarbonUtils.getCarbonConfigDirPath() +
-                    File.separator + "agent.properties");
-            conf.load(confFileIPStream);            
-            for (String name : conf.stringPropertyNames()) {
-    			String value = conf.getProperty(name);
-    			System.setProperty(name, value);
-    		}
-            
-            RegistrantDatabase registrantDatabase = new RegistrantDatabase();
-//            AxisServer axisServer = new AxisServer();
-//            ConfigurationContext configurationContext = axisServer.getConfigurationContext();
-            ClusteringClient clusteringClient = new ClusteringClient(registrantDatabase);
-            configurationContext.setProperty(CartridgeAgentConstants.CLUSTERING_CLIENT, clusteringClient);
-
-            String healthCheckInterval = conf.getProperty("registrant.heathCheckInterval");
-            String threadPoolSize = conf.getProperty("registrant.healthCheckThreadPoolSize");
-            int healthCheckIntervalInt =
-                    (healthCheckInterval == null) ? 2000 : Integer.parseInt(healthCheckInterval);
-            int threadPoolSizeInt =
-                    (threadPoolSize == null) ? 10 : Integer.parseInt(healthCheckInterval);
-            log.info("Registrant health check interval: " + healthCheckIntervalInt + "s");
-            healthChecker = new RegistrantHealthChecker(registrantDatabase,
-                    clusteringClient,
-                    configurationContext,
-                    healthCheckIntervalInt,
-                    threadPoolSizeInt
-            );
-            clusteringClient.init(conf,
-                    configurationContext,
-                    new ELBMembershipListener(clusteringClient,
-                            configurationContext,
-                            registrantDatabase,
-                            healthChecker));
-            healthChecker.startAll();
-            DataHolder.setHealthChecker(healthChecker);
-
-            Runtime.getRuntime().addShutdownHook(new Thread(){
-
-                @Override
-                public void run() {
-                    log.info("Shutting down WSO2 Cartridge Agent...");
-                }
-            });
-            log.info("Started Cartridge Agent in " + (System.currentTimeMillis() - start) + "ms");
-        } catch (Exception e) {
-            log.fatal("Could not start Cartridge Agent", e);
-            //System.exit(1);
-        } finally {
-            if (confFileIPStream != null) {
-                try {
-                    confFileIPStream.close();
-                } catch (IOException e) {
-                    log.error("Cannot close agent.properties file", e);
-                }
-            }
-        }
-
-    }
-
-    protected void deactivate(ComponentContext ctx) {
-    }
-
-    protected void setConfigurationContextService(ConfigurationContextService contextService) {
-        DataHolder.setServerConfigContext(contextService.getServerConfigContext());
-    }
-
-    protected void unsetConfigurationContextService(ConfigurationContextService contextService) {
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/DataHolder.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/DataHolder.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/DataHolder.java
deleted file mode 100644
index 955c931..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/internal/DataHolder.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.internal;
-
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.stratos.cartridge.agent.registrant.RegistrantHealthChecker;
-
-public class DataHolder {
-    private static ConfigurationContext serverConfigContext;
-    private static RegistrantHealthChecker healthChecker;
-
-    public static void setServerConfigContext(ConfigurationContext serverConfigContext) {
-        DataHolder.serverConfigContext = serverConfigContext;
-    }
-
-    public static void setHealthChecker(RegistrantHealthChecker healthChecker) {
-        DataHolder.healthChecker = healthChecker;
-    }
-
-    public static ConfigurationContext getServerConfigContext() {
-        return serverConfigContext;
-    }
-
-    public static RegistrantHealthChecker getHealthChecker() {
-        return healthChecker;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/PortMapping.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/PortMapping.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/PortMapping.java
deleted file mode 100644
index 3d1bc8b..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/PortMapping.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.registrant;
-
-import java.io.Serializable;
-
-/**
- * This class provides the mapping between the actual port &amp; proxy port of a {@link org.apache.stratos.cartridge.agent.registrant.Registrant}
- *
- * e.g. if the Registrant is serving HTTP requests on port 9763, and the requests to that port have
- * to be proxied via port 80 on the ELB, the <code>primaryPort</code> has to be specified as 9763
- * &amp; <code>proxyPort</code> has to be specified as 80.
- *
- * @see org.apache.stratos.cartridge.agent.registrant.Registrant
- */
-@SuppressWarnings("unused")
-public class PortMapping implements Serializable {
-
-    private static final long serialVersionUID = 8020727939469156788L;
-    public static final String PORT_TYPE_HTTP = "http";
-    public static final String PORT_TYPE_HTTPS = "https";
-
-    private int primaryPort;
-    private int proxyPort;
-    private String type;
-
-    public PortMapping() {
-    }
-
-    public int getPrimaryPort() {
-        return primaryPort;
-    }
-
-    public int getProxyPort() {
-        return proxyPort;
-    }
-
-    public void setPrimaryPort(int primaryPort) {
-        this.primaryPort = primaryPort;
-    }
-
-    public void setProxyPort(int proxyPort) {
-        this.proxyPort = proxyPort;
-    }
-
-    public String getType() {
-        return type;
-    }
-
-    public void setType(String type) {
-        if (type.equalsIgnoreCase(PORT_TYPE_HTTP) && type.equalsIgnoreCase(PORT_TYPE_HTTPS)) {
-            throw new RuntimeException("Invalid port type " + type);
-        }
-        this.type = type;
-    }
-
-    public boolean equals (Object o) {
-        if (this == o) return true;
-        if (o == null || getClass() != o.getClass()) return false;
-
-        PortMapping that = (PortMapping) o;
-        return (type.equalsIgnoreCase(that.type) &&
-               (primaryPort == that.primaryPort) &&
-               (proxyPort == that.proxyPort));
-    }
-
-    @Override
-    public int hashCode() {
-        return type.hashCode() +
-                Integer.toString(primaryPort).hashCode() +
-                Integer.toString(proxyPort).hashCode();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/Registrant.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/Registrant.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/Registrant.java
deleted file mode 100644
index a6ed860..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/Registrant.java
+++ /dev/null
@@ -1,199 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.registrant;
-
-import org.apache.axis2.clustering.ClusteringAgent;
-import org.apache.axis2.clustering.ClusteringFault;
-
-import java.io.Serializable;
-import java.util.Arrays;
-
-/**
- * This class represents a process which registers itself with this Cartridge Agent
- */
-@SuppressWarnings("unused")
-public class Registrant implements Serializable {
-
-    private static final long serialVersionUID = 1026289225178520964L;
-
-    private String key;
-    //private int tenantId;
-    private String tenantRange;
-    private String service;
-    private String hostName;
-    private PortMapping[] portMappings;
-    private String remoteHost;
-    private transient ClusteringAgent clusteringAgent;
-    private int minInstanceCount;
-    private int maxInstanceCount;
-    private int maxRequestsPerSecond;
-	private int roundsToAverage;
-	private double alarmingUpperRate;
-	private double alarmingLowerRate;
-	private double scaleDownFactor;
-   
-
-	public String getService() {
-        return service;
-    }
-
-    public String getTenantRange() {
-    	return tenantRange;
-    }
-
-	public void setTenantRange(String tenantRange) {
-    	this.tenantRange = tenantRange;
-    }
-
-	public void setService(String service) {
-        this.service = service;
-    }
-
-    public String getHostName() {
-        return hostName;
-    }
-
-    public void setHostName(String hostName) {
-        this.hostName = hostName;
-    }
-
-    public PortMapping[] getPortMappings() {
-        return Arrays.copyOf(portMappings, portMappings.length);
-    }
-
-    public void setPortMappings(PortMapping[] portMappings) {
-        this.portMappings = Arrays.copyOf(portMappings, portMappings.length);
-    }
-
-    public String getKey() {
-        return key;
-    }
-
-    public void setKey(String key) {
-        this.key = key;
-    }    
-    
-    public int getMinInstanceCount() {
-		return minInstanceCount;
-	}
-
-	public void setMinInstanceCount(int minInstanceCount) {
-		this.minInstanceCount = minInstanceCount;
-	}
-
-	public int getMaxInstanceCount() {
-		return maxInstanceCount;
-	}
-
-	public void setMaxInstanceCount(int maxInstanceCount) {
-		this.maxInstanceCount = maxInstanceCount;
-	}
-
-	public String retrieveClusterDomain() {
-		// alias.hostname.php.domain
-		return hostName+"."+service+".domain";
-    }
-
-    public void start(ClusteringAgent clusteringAgent) throws ClusteringFault {
-        this.clusteringAgent = clusteringAgent;
-        clusteringAgent.init();
-    }
-
-    public void stop() {
-        if (clusteringAgent != null) {
-            clusteringAgent.stop();
-        }
-        clusteringAgent = null;
-    }
-
-    public boolean running() {
-        return clusteringAgent != null;
-    }
-
-    public String getRemoteHost() {
-        return remoteHost;
-    }
-
-    public void setRemoteHost(String remoteHost) {
-        this.remoteHost = remoteHost;
-    }    
-    
-    public int getMaxRequestsPerSecond() {
-    	return maxRequestsPerSecond;
-    }
-
-	public void setMaxRequestsPerSecond(int maxRequestsPerSecond) {
-    	this.maxRequestsPerSecond = maxRequestsPerSecond;
-    }
-
-	public int getRoundsToAverage() {
-    	return roundsToAverage;
-    }
-
-	public void setRoundsToAverage(int roundsToAverage) {
-    	this.roundsToAverage = roundsToAverage;
-    }
-
-	public double getAlarmingUpperRate() {
-    	return alarmingUpperRate;
-    }
-
-	public void setAlarmingUpperRate(double alarmingUpperRate) {
-    	this.alarmingUpperRate = alarmingUpperRate;
-    }
-
-	public double getAlarmingLowerRate() {
-    	return alarmingLowerRate;
-    }
-
-	public void setAlarmingLowerRate(double alarmingLowerRate) {
-    	this.alarmingLowerRate = alarmingLowerRate;
-    }
-
-	public double getScaleDownFactor() {
-    	return scaleDownFactor;
-    }
-
-	public void setScaleDownFactor(double scaleDownFactor) {
-    	this.scaleDownFactor = scaleDownFactor;
-    }
-
-	@Override
-    public String toString() {
-        return "Registrant{" +
-               "key='" + key + '\'' +
-               ", remoteHost='" + remoteHost + '\'' +
-               '}';
-    }
-
-    @Override
-    public boolean equals(Object o) {
-        if (this == o) return true;
-        if (o == null || getClass() != o.getClass()) return false;
-
-        Registrant that = (Registrant) o;
-        return key.equals(that.key);
-    }
-
-    @Override
-    public int hashCode() {
-        return key.hashCode();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantDatabase.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantDatabase.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantDatabase.java
deleted file mode 100644
index dc511dc..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantDatabase.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.registrant;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cartridge.agent.InstanceStateNotificationClientThread;
-import org.apache.stratos.cartridge.agent.exception.CartridgeAgentException;
-
-import java.io.*;
-import java.util.Collections;
-import java.util.List;
-import java.util.concurrent.CopyOnWriteArrayList;
-
-/**
- * This class represents a database for {@link Registrant}s. Registrants added to this database will be
- * persisted, so that when the Cartridge Agent is restarted, the Registrants can be restored.
- *
- * @see Registrant
- */
-public class RegistrantDatabase {
-    private static final Log log = LogFactory.getLog(RegistrantDatabase.class);
-
-    private List<Registrant> registrants = new CopyOnWriteArrayList<Registrant>();
-
-    public void add(Registrant registrant) throws CartridgeAgentException {
-        if (registrants.contains(registrant) && registrant.running()) {
-            throw new CartridgeAgentException("Active registrant with key " +
-                                              registrant.getKey() + " already exists");
-        }
-        synchronized (registrant) {
-            if (!isAlreadyAdded(registrant)) {
-                persist(registrant);
-                registrants.add(registrant);
-                log.info("Added registrant " + registrant);
-
-            } else {
-                log.info("Registrant " + registrant + "has been already added");
-            }
-        }
-    }
-
-    private void persist(Registrant registrant) throws CartridgeAgentException {
-        try {
-            ObjectOutput out = null;
-            try {
-                // Serialize to a file
-                if (!new File("registrants").exists() && !new File("registrants").mkdirs()) {
-                    throw new IOException("Cannot create registrants directory");
-                }
-                out = new ObjectOutputStream(new FileOutputStream("registrants" + File.separator +
-                                                                  registrant.getKey() + ".ser"));
-                out.writeObject(registrant);
-                out.close();
-            } finally {
-                if (out != null) {
-                    out.close();
-                }
-            }
-        } catch (IOException e) {
-            log.error("Could not serialize registrant " + registrant, e);
-        }
-    }
-
-    public void stopAll() {
-        for (Registrant registrant : registrants) {
-        	new Thread(new InstanceStateNotificationClientThread(registrant, "INACTIVE")).start();
-            registrant.stop();
-        }
-    }
-
-    public boolean containsActive(Registrant registrant) {
-        return registrants.contains(registrant) &&
-               registrants.get(registrants.indexOf(registrant)).running();
-    }
-
-    public List<Registrant> getRegistrants() {
-        return Collections.unmodifiableList(registrants);
-    }
-
-    public boolean isAlreadyAdded(Registrant registrant) {
-
-        boolean alreadyAdded = false;
-        for (Registrant registrantFromDb : registrants) {
-            if(registrantFromDb.getRemoteHost().equals(registrant.getRemoteHost())) {
-
-                PortMapping[] portMappingofRegistrantOfDB = registrantFromDb.getPortMappings();
-                PortMapping[] portMappingofRegistrant = registrant.getPortMappings();
-
-                if(portMappingofRegistrant.length != portMappingofRegistrantOfDB.length) {
-                    continue;
-
-                } else {
-                    alreadyAdded = checkPortMappings(registrant, registrantFromDb);
-                }
-
-            } else {
-                continue;
-            }
-        }
-        return alreadyAdded;
-    }
-
-    private boolean checkPortMappings (Registrant newRegistrant, Registrant existingRegistrant) {
-
-        PortMapping[] portMappingsOfNewRegistrant = newRegistrant.getPortMappings();
-        PortMapping[] portMappingsOfExistingRegistrant = existingRegistrant.getPortMappings();
-
-        for (PortMapping portMappingOfNewRegistrant : portMappingsOfNewRegistrant) {
-            boolean matchFound = false;
-            for (PortMapping portMappingOfExistingRegistrant : portMappingsOfExistingRegistrant) {
-                if(portMappingOfExistingRegistrant.equals(portMappingOfNewRegistrant)) {
-                    matchFound = true;
-                    break;
-                }
-            }
-            if(!matchFound) {
-                return false;
-            }
-        }
-        if(log.isDebugEnabled()) {
-            log.debug("***********************************Found matching registrant for " + newRegistrant + " in the Registrant database");
-        }
-        return true;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantHealthChecker.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantHealthChecker.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantHealthChecker.java
deleted file mode 100644
index 2f8a227..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantHealthChecker.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.registrant;
-
-import java.util.List;
-import java.util.concurrent.Executors;
-import java.util.concurrent.ScheduledExecutorService;
-import java.util.concurrent.TimeUnit;
-
-import org.apache.axis2.clustering.management.GroupManagementAgent;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cartridge.agent.ClusteringClient;
-import org.apache.stratos.cartridge.agent.InstanceStateNotificationClientThread;
-
-/**
- * This health checker periodically checks the health of the {@link Registrant}s
- *
- * If a registrant is found to be unhealthy, then it is stopped. This task will also try to
- * connect to reactivate a registrant which was previously found to be unhealthy.
- *
- * If the Elastic Load Balancer (ELB) is not running, this health checker will not continue with
- * registrant health checks since it is futile to try to connect the registrants to the
- * unavailable ELB.
- */
-public class RegistrantHealthChecker {
-    private static final Log log = LogFactory.getLog(RegistrantHealthChecker.class);
-
-    private RegistrantDatabase database;
-    private ClusteringClient clusteringClient;
-    private ConfigurationContext configurationContext;
-    private ScheduledExecutorService scheduler;
-    private volatile boolean isELBRunning;
-    private int healthCheckInterval;
-
-    public RegistrantHealthChecker(RegistrantDatabase database,
-                                   ClusteringClient clusteringClient,
-                                   ConfigurationContext configurationContext,
-                                   int healthCheckInterval,
-                                   int threadPoolSize) {
-        this.database = database;
-        this.clusteringClient = clusteringClient;
-        this.configurationContext = configurationContext;
-        this.healthCheckInterval = healthCheckInterval;
-        scheduler = Executors.newScheduledThreadPool(threadPoolSize);
-    }
-
-    public void startAll() {
-        List<Registrant> registrants = database.getRegistrants();
-        for (Registrant registrant : registrants) {
-            scheduler.scheduleWithFixedDelay(new HealthCheckerTask(registrant), 45,
-                                 healthCheckInterval, TimeUnit.SECONDS);
-            if (log.isDebugEnabled()) {
-                log.debug("Started a health checker for " + registrant + " ...");
-            }
-        }
-    }
-
-    public void start(Registrant registrant){
-        scheduler.scheduleWithFixedDelay(new HealthCheckerTask(registrant), 45,
-                             healthCheckInterval, TimeUnit.SECONDS);
-        if (log.isDebugEnabled()) {
-            log.debug("Added a health checker for " + registrant + " ...");
-        }
-    }
-
-    public void setELBRunning(boolean ELBRunning) {
-        isELBRunning = ELBRunning;
-    }
-
-    private final class HealthCheckerTask implements Runnable {
-        Registrant registrant;
-        public HealthCheckerTask(Registrant registrant){
-            this.registrant = registrant;
-        }
-        public void run() {
-            if(!isELBRunning){
-                return;
-            }
-            try {
-                boolean healthyRegistrant = RegistrantUtil.isHealthy(registrant);
-                if (!healthyRegistrant && registrant.running()) {
-                    registrant.stop();
-                    new Thread(new InstanceStateNotificationClientThread(registrant, "INACTIVE")).start();
-                    log.warn("Stopped registrant " + registrant + " since it is unhealthy." );
-                } else if (healthyRegistrant && !registrant.running()) {
-                    registrant.stop();
-                    new Thread(new InstanceStateNotificationClientThread(registrant, "INACTIVE")).start();
-                    clusteringClient.joinGroup(registrant, configurationContext);
-                    log.info("Restarted registrant " + registrant + " after it became active");
-                }
-            } catch (Exception e) {
-                log.error("Error occurred while running registrant health check", e);
-            }
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantUtil.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantUtil.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantUtil.java
deleted file mode 100644
index 60208b4..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/registrant/RegistrantUtil.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.registrant;
-
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cartridge.agent.ClusteringClient;
-import org.apache.stratos.cartridge.agent.exception.CartridgeAgentException;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.net.*;
-
-/**
- * Utility method collection for handling {@link Registrant}s
- *
- * @see Registrant
- */
-public class RegistrantUtil {
-    private static final Log log = LogFactory.getLog(RegistrantUtil.class);
-    private static boolean registrantsReloaded = false;
-    /**
-     * Before adding a member, we will try to verify whether we can connect to it
-     *
-     * @param registrant The member whose connectvity needs to be verified
-     * @return true, if the member can be contacted; false, otherwise.
-     */
-    public static boolean isHealthy(Registrant registrant) {
-        if (log.isDebugEnabled()) {
-            log.debug("Trying to connect to registrant " + registrant + "...");
-        }
-        if(log.isDebugEnabled()) {
-            log.debug("***********************************************isHealthy() method for registrant " + registrant);
-        }
-        String registrantRemoteHost = registrant.getRemoteHost();
-        log.debug("remote host : " + registrantRemoteHost);
-        if(registrantRemoteHost == null){
-            registrantRemoteHost = "localhost";
-        }
-        InetAddress addr;
-        try {
-            addr = InetAddress.getByName(registrantRemoteHost);
-            if(log.isDebugEnabled()) {
-                log.debug("***********************************************Host resolved for registrant " + registrant);
-            }
-        } catch (UnknownHostException e) {
-            log.error("Registrant " + registrant + " is unhealthy");
-            return false;
-        }
-        PortMapping[] portMappings = registrant.getPortMappings();
-
-        int maxRetries = Integer.parseInt(System.getProperty("clustering.maxRetries"));
-
-        for (int retries = maxRetries; retries > 0; retries--) {
-            try {
-                for (PortMapping portMapping : portMappings) {
-                    int port = portMapping.getPrimaryPort();
-                    if(log.isDebugEnabled()) {
-                        log.debug("***********************************************primary port" + port + " registrant " + registrant);
-                    }
-                    if (port != -1 && port != 0) {
-                        if(log.isDebugEnabled()) {
-                            log.debug("***********************************************connecting to " + registrant +
-                                    " re-try: " + retries);
-                        }
-                        SocketAddress httpSockaddr = new InetSocketAddress(addr, port);
-                        new Socket().connect(httpSockaddr, 10000);
-                        if(log.isDebugEnabled()) {
-                            log.debug("***********************************************connected successfully to port: " + port);
-                        }
-                    }
-                }
-                return true;
-            } catch (IOException e) {
-				if (log.isDebugEnabled()) {
-					log.debug("Error occurred.. " + e.getMessage());
-				}
-                String msg = e.getMessage();
-                if (!msg.contains("Connection refused") && !msg.contains("connect timed out")) {
-                    String msg2 = "Cannot connect to registrant " + registrant;
-                    log.error(msg2, e);
-                }
-                try {
-                    Thread.sleep(1000);
-                } catch (InterruptedException ignored) {
-                }
-            }
-        }
-        return false;
-    }
-
-    /**
-     * Reload all the registrants persisted in the file system
-     * @param clusteringClient ClusteringClient
-     * @param configurationContext   ConfigurationContext
-     * @param registrantDatabase  RegistrantDatabase
-     * @throws CartridgeAgentException If reloading registrants fails
-     */
-    public static void reloadRegistrants(ClusteringClient clusteringClient,
-                                         ConfigurationContext configurationContext,
-                                         RegistrantDatabase registrantDatabase) throws CartridgeAgentException {
-
-        if(registrantsReloaded) {
-            log.info("Registrants already re-loaded, therefore not re-loading again");
-            return;
-        }
-
-        File registrants = new File("registrants");
-        if (!registrants.exists()) {
-            log.info("Registrant information doesn't exist in the file system");
-            return;
-        }
-        File[] files = registrants.listFiles();
-        if (files == null) {
-            log.error("Directory 'Registrants' is invalid");
-            return;
-
-        } else if (files.length == 0) {
-            log.info("No registrant information found in the Registrants directory");
-            return;
-        }
-
-        for (File file : files) {
-            try {
-                Registrant registrant =
-                        deserializeRegistrant("registrants" + File.separator + file.getName());
-                if (!registrantDatabase.containsActive(registrant)) {
-                    clusteringClient.joinGroup(registrant, configurationContext);
-                }
-            } catch (IOException e) {
-                log.error("Cannot deserialize registrant file " + file.getName(), e);
-            }
-        }
-        registrantsReloaded = true;
-    }
-
-    private static Registrant deserializeRegistrant(String fileName) throws IOException {
-        Registrant registrant = null;
-        ObjectInputStream in = null;
-
-        try {
-            // Deserialize from a file
-            File file = new File(fileName);
-            in = new ObjectInputStream(new FileInputStream(file));
-            // Deserialize the object
-            registrant = (Registrant) in.readObject();
-        } catch (ClassNotFoundException ignored) {
-        } finally {
-            if (in != null) {
-                in.close();
-            }
-        }
-        return registrant;
-    }
-    
-    
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/service/CartridgeAgentService.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/service/CartridgeAgentService.java b/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/service/CartridgeAgentService.java
deleted file mode 100644
index be8009f..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/service/CartridgeAgentService.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.agent.service;
-
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.axis2.context.MessageContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cartridge.agent.ClusteringClient;
-import org.apache.stratos.cartridge.agent.exception.CartridgeAgentException;
-import org.apache.stratos.cartridge.agent.internal.CartridgeAgentConstants;
-import org.apache.stratos.cartridge.agent.internal.DataHolder;
-import org.apache.stratos.cartridge.agent.registrant.Registrant;
-
-/**
- * Web service used for allowing {@link Registrant}s to register themselves with the Cartridge Agent
- *
- * @see Registrant
- */
-@SuppressWarnings("unused")
-public class CartridgeAgentService {
-    private static final Log log = LogFactory.getLog(CartridgeAgentService.class);
-
-    public boolean register(Registrant registrant) throws CartridgeAgentException {
-
-        MessageContext messageContext = MessageContext.getCurrentMessageContext();
-        ConfigurationContext configurationContext = messageContext.getConfigurationContext();
-        ClusteringClient clusteringClient =
-                (ClusteringClient) configurationContext.getProperty(CartridgeAgentConstants.CLUSTERING_CLIENT);
-        if (registrant.getRemoteHost() == null || registrant.getRemoteHost().isEmpty()) {
-            String remoteAddr = (String) messageContext.getProperty("REMOTE_ADDR");
-            registrant.setRemoteHost(remoteAddr);
-        }
-        log.info("Trying to add new registrant " + registrant + "...");
-        clusteringClient.joinGroup(registrant, configurationContext);
-        DataHolder.getHealthChecker().start(registrant);
-        return true;
-
-    }
-
-    public boolean unregister(String domain, String subDomain, String hostName) throws CartridgeAgentException {
-
-        MessageContext messageContext = MessageContext.getCurrentMessageContext();
-        ConfigurationContext configurationContext = messageContext.getConfigurationContext();
-        ClusteringClient clusteringClient =
-                (ClusteringClient) configurationContext.getProperty(CartridgeAgentConstants.CLUSTERING_CLIENT);
-        clusteringClient.removeClusterDomain(domain, subDomain, hostName, configurationContext);
-        return true;
-
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.agent/src/main/resources/META-INF/services.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.agent/src/main/resources/META-INF/services.xml b/components/org.apache.stratos.cartridge.agent/src/main/resources/META-INF/services.xml
deleted file mode 100644
index 6ecbd2c..0000000
--- a/components/org.apache.stratos.cartridge.agent/src/main/resources/META-INF/services.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<!-- 
-     ~  Licensed to the Apache Software Foundation (ASF) under one
-     ~  or more contributor license agreements.  See the NOTICE file
-     ~  distributed with this work for additional information
-     ~  regarding copyright ownership.  The ASF 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.
-     ~
- -->
-<serviceGroup>
-    <service name="CartridgeAgentService" scope="transportsession">
-        <transports>
-            <transport>https</transport>
-        </transports>
-        <description>
-            Admin service for ADC activities
-        </description>
-        <parameter name="ServiceClass">org.apache.stratos.cartridge.agent.service.CartridgeAgentService
-        </parameter>
-        <parameter name="enableMTOM">true</parameter>
-        <parameter name="adminService" locked="true">false</parameter>
-        <parameter name="hiddenService" locked="true">false</parameter>
-        <parameter name="AuthorizationAction" locked="true">
-            /permission/admin/manage/modify/webapp    </parameter>
-        <parameter name="DoAuthentication" locked="true">true</parameter>
-    </service>
-</serviceGroup>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.messages/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.messages/pom.xml b/components/org.apache.stratos.cartridge.messages/pom.xml
deleted file mode 100644
index 150e831..0000000
--- a/components/org.apache.stratos.cartridge.messages/pom.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-     ~  Licensed to the Apache Software Foundation (ASF) under one
-     ~  or more contributor license agreements.  See the NOTICE file
-     ~  distributed with this work for additional information
-     ~  regarding copyright ownership.  The ASF 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.apache.stratos</groupId>
-        <artifactId>stratos-components-parent</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.stratos.cartridge.messages</artifactId>
-    <packaging>bundle</packaging>
-    <name>Apache Stratos - Cartridge Agent - Messages</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-            <version>${axis2.wso2.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <version>1.4.0</version>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Export-Package>
-                            org.apache.stratos.cartridge.messages.*
-                        </Export-Package>
-                        <Import-Package>
-                            !org.apache.commons.logging,
-                            org.apache.commons.logging; version=0.0.0,
-                            *; resolution:=optional
-                        </Import-Package>
-                        <DynamicImport-Package>*</DynamicImport-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>


[2/5] Removed stratos agent related components, features and its product

Posted by im...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/products/stratos-agent/modules/distribution/src/main/license/LICENSE
----------------------------------------------------------------------
diff --git a/products/stratos-agent/modules/distribution/src/main/license/LICENSE b/products/stratos-agent/modules/distribution/src/main/license/LICENSE
deleted file mode 100644
index 1b7a827..0000000
--- a/products/stratos-agent/modules/distribution/src/main/license/LICENSE
+++ /dev/null
@@ -1,793 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   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.
-
-===================================================================================
-The Apache Stratos distribution includes a number of run time dependencies with 
-separate copyright notices and license terms. Your use of the Apache Stratos code
-is subject to the terms and conditions of the following licenses.
-===================================================================================
-
-===============================================================================
-The following components come under Apache Software License 2.0
-===============================================================================
-
-abdera_1.0.0.wso2v3.jar, ajaxtags_1.3.0.beta-rc7-wso2v1.jar, annogen_0.1.0.wso2v1.jar, ant_1.7.0.wso2v1.jar, authenticator_0.7.0.wso2v1.jar, axiom_1.2.11.wso2v4.jar,	axis2_1.6.1.wso2v9.jar, axis2-json_1.6.1.wso2v9.jar, axis2-transport-jms_1.1.0.wso2v7.jar, com.google.gson_2.1.0.jar							
-commons-codec_1.4.0.wso2v1.jar, commons-collections_3.2.0.wso2v1.jar, commons-dbcp_1.4.0.wso2v1.jar, commons-fileupload_1.2.2.wso2v1.jar, commons-httpclient_3.1.0.wso2v2.jar, commons-io_2.0.0.wso2v2.jar, commons-lang_2.6.0.wso2v1.jar, commons-pool_1.5.6.wso2v1.jar, compass_2.0.1.wso2v2.jar, 
-ehcache_1.5.0.wso2v3.jar, geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar,httpcore_4.2.3.wso2v1.jar, jdbc-pool_7.0.34.wso2v1.jar, jettison_1.1.0.wso2v1.jar, jsr107cache_1.1.0.wso2v3.jar, neethi_2.0.4.wso2v4.jar, opencsv_1.8.0.wso2v1.jar, opensaml2_2.4.1.wso2v1.jar, org.apache.felix.gogo.command_0.8.0.v201108120515.jar, org.apache.felix.gogo.runtime_0.8.0.v201108120515.jar, org.apache.felix.gogo.shell_0.8.0.v201110170705.jar, org.apache.jasper.glassfish_2.2.2.v201205150955.jar, org.apache.stratos.adc.instanceinfo.mgt.stub_3.0.0.SNAPSHOT.jar, org.apache.stratos.cartridge.agent_3.0.0.SNAPSHOT.jar, org.apache.stratos.cartridge.messages_3.0.0.SNAPSHOT.jar, org.apache.stratos.lb.common_3.0.0.SNAPSHOT.jar, org.wso2.carbon.addressing_4.1.0.jar, org.wso2.carbon.apache.jasper.fragment_4.1.0.jar, org.wso2.carbon.application.deployer_4.1.0.jar, org.wso2.carbon.authenticator.proxy_4.1.0.jar, org.wso2.carbon.authenticator.stub_4.1.0.jar, org.wso2.carbon.base_4.1.0.jar, org.wso2.carbon.caching.core_4.1.0.
 stratos.jar, org.wso2.carbon.cluster.mgt.core_4.1.0.jar, org.wso2.carbon.core_4.1.0.jar, org.wso2.carbon.core.bootup.validator_4.1.0.jar, org.wso2.carbon.core.common_4.1.0.jar, org.wso2.carbon.core.commons.stub_4.1.0.jar, org.wso2.carbon.core.services_4.1.0.jar, org.wso2.carbon.feature.mgt.core_4.1.0.jar, org.wso2.carbon.feature.mgt.services_4.1.0.jar, org.wso2.carbon.feature.mgt.stub_4.1.0.jar, org.wso2.carbon.feature.mgt.ui_4.1.0.jar, org.wso2.carbon.framework.exporter_4.1.0.jar, org.wso2.carbon.i18n_4.1.0.jar, org.wso2.carbon.jasper.patch_4.1.0.jar, org.wso2.carbon.logging_4.1.0.jar, org.wso2.carbon.ndatasource.common_4.1.0.jar, org.wso2.carbon.ndatasource.core_4.1.0.jar, org.wso2.carbon.ndatasource.rdbms_4.1.0.jar, org.wso2.carbon.osgi.security_4.1.0.jar, org.wso2.carbon.queuing_4.1.0.jar, org.wso2.carbon.registry.api_4.1.0.jar, org.wso2.carbon.registry.core_4.1.0.jar, org.wso2.carbon.registry.server_4.1.0.jar, org.wso2.carbon.roles.mgt_4.1.0.jar, org.wso2.carbon.roles.mgt.stub_
 4.1.0.jar, org.wso2.carbon.roles.mgt.ui_4.1.0.jar, org.wso2.carbon.securevault_4.1.0.jar, org.wso2.carbon.server.admin_4.1.0.jar, org.wso2.carbon.server.admin.common_4.1.0.jar, org.wso2.carbon.server.admin.stub_4.1.0.jar, org.wso2.carbon.server.admin.ui_4.1.0.jar, org.wso2.carbon.tomcat_4.1.0.jar, org.wso2.carbon.tomcat.ext_4.1.0.jar, org.wso2.carbon.tomcat.fragment.dummy_4.1.0.jar, org.wso2.carbon.tomcat.patch_4.1.0.jar, org.wso2.carbon.ui_4.1.0.jar, org.wso2.carbon.ui.menu.general_4.1.0.jar, org.wso2.carbon.user.api_4.1.0.jar, org.wso2.carbon.user.core_4.1.0.jar, org.wso2.carbon.user.mgt_4.1.0.jar, org.wso2.carbon.user.mgt.common_4.1.0.jar, org.wso2.carbon.user.mgt.stub_4.1.0.jar, org.wso2.carbon.user.mgt.ui_4.1.0.jar, org.wso2.carbon.utils_4.1.0.jar, org.wso2.securevault_1.0.0.wso2v2.jar, poi_3.5.0.wso2v1.jar, poi-ooxml_3.5.0.wso2v1.jar, poi-scratchpad_3.5.0.wso2v1.jar, quartz_2.1.1.wso2v1.jar, rampart-core_1.6.1.wso2v8.jar, rampart-policy_1.6.1.wso2v8.jar, rampart-trust_1.6.1.ws
 o2v8.jar, synapse-commons_2.1.1.wso2v4.jar, synapse-core_2.1.1.wso2v4.jar, synapse-extensions_2.1.1.wso2v4.jar, synapse-tasks_2.1.1.wso2v4.jar, tiles-jsp_2.0.5.wso2v1.jar, tomcat_7.0.34.wso2v1.jar, tomcat-ha_7.0.34.wso2v1.jar, tribes_7.0.28.wso2v1.jar, woden_1.0.0.M8-wso2v1.jar, wso2-uri-templates_1.6.2.jar, wss4j_1.5.11.wso2v5.jar, xmlbeans_2.3.0.wso2v1.jar, XmlSchema_1.4.7.wso2v2.jar, infinispan-core_6.0.0.Alpha2_wso2v1.jar, editarea,
-ajax, breadcrumbs.js, ajaxtags, customControls.js, excanvas				
-
-=============================================================================== 
-The following components are Licensed under BSD license
-=============================================================================== 
-
-For antlr_3.2.0.wso2v1.jar, yui, dhtmlHistory.js, yui_2.7.0b, TaskNode, overlibmws
-
-For Containing Project URL(s): http://www.antlr.org/
-
-Copyright (c) 2010 Terence Parr
-All rights reserved.
-
-[The BSD License]
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice, this
-   list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
-   this list of conditions and the following disclaimer in the documentation
-   and/or other materials provided with the distribution.
- * Neither the name of JiBX nor the names of its contributors may be used
-   to endorse or promote products derived from this software without specific
-   prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-=============================================================================== 
-The following components are licensed under CDDL
-=============================================================================== 
-
-For javax.el_2.2.0.v201108011116.jar, javax.servlet_3.0.0.v201112011016.jar, javax.servlet.jsp_2.2.0.v201112011158.jar, jaxb_2.2.5.wso2v1.jar, jstl_1.2.1.wso2v1.jar, el-impl_2.2.0.wso2v1.jar
-
-For Containing Project URL(s): http://jstl.java.net/ 	
-
-COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 1.0 (CDDL-1.0)			
-
-1. Definitions.
-1.1. “Contributor” means each individual or entity that creates or contributes to the creation of Modifications.
-
-1.2. “Contributor Version” means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
-
-1.3. “Covered Software” means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
-
-1.4. “Executable” means the Covered Software in any form other than Source Code.
-
-1.5. “Initial Developer” means the individual or entity that first makes Original Software available under this License.
-
-1.6. “Larger Work” means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
-
-1.7. “License” means this document.
-
-1.8. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
-
-1.9. “Modifications” means the Source Code and Executable form of any of the following:
-
-A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
-
-B. Any new file that contains any part of the Original Software or previous Modification; or
-
-C. Any new file that is contributed or otherwise made available under the terms of this License.
-
-1.10. “Original Software” means the Source Code and Executable form of computer software code that is originally released under this License.
-
-1.11. “Patent Claims” means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
-
-1.12. “Source Code” means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
-
-1.13. “You” (or “Your”) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, “You” includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
-
-2. License Grants.
-2.1. The Initial Developer Grant.
-
-Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
-
-(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
-
-(c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
-
-(d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
-
-2.2. Contributor Grant.
-
-Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
-
-(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
-
-(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
-
-(d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
-
-3. Distribution Obligations.
-3.1. Availability of Source Code.
-
-Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
-
-3.2. Modifications.
-
-The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
-
-3.3. Required Notices.
-
-You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
-
-3.4. Application of Additional Terms.
-
-You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
-
-3.5. Distribution of Executable Versions.
-
-You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipients rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
-
-3.6. Larger Works.
-
-You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
-
-4. Versions of the License.
-4.1. New Versions.
-
-Oracle is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
-
-4.2. Effect of New Versions.
-
-You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
-
-4.3. Modified Versions.
-
-When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
-
-5. DISCLAIMER OF WARRANTY.
-COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN “AS IS” BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-6. TERMINATION.
-6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-
-6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as “Participant”) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written 
 agreement with Participant.
-
-6.3. If You assert a patent infringement claim against Participant alleging that the Participant Software directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license.
-
-6.4. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
-
-7. LIMITATION OF LIABILITY.
-UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-8. U.S. GOVERNMENT END USERS.
-The Covered Software is a “commercial item,” as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of “commercial computer software” (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and “commercial computer software documentation” as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
-
-9. MISCELLANEOUS.
-This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdictions conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be
  construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
-
-10. RESPONSIBILITY FOR CLAIMS.
-As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
-
-NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
-
-The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
-
-~
-
-=============================================================================== 
-The following components are licensed under EPL
-=============================================================================== 
-
-For h2-database-engine_1.2.140.wso2v3.jar,
-org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar,
-org.eclipse.core.expressions_3.4.401.v20120627-124442.jar,
-org.eclipse.core.jobs_3.5.300.v20120622-204750.jar,
-org.eclipse.core.runtime_3.8.0.v20120521-2346.jar,
-org.eclipse.ecf_3.1.300.v20110531-2218.jar,
-org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar,
-org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar,
-org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar,
-org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar,
-org.eclipse.equinox.app_1.3.100.v20120522-1841.jar,
-org.eclipse.equinox.common_3.6.100.v20120522-1841.jar,
-org.eclipse.equinox.concurrent_1.0.300.v20120522-2049.jar,
-org.eclipse.equinox.console_1.0.0.v20120522-1841.jar,
-org.eclipse.equinox.ds_1.4.0.v20120522-1841.jar,
-org.eclipse.equinox.frameworkadmin_2.0.100.v20120606-175127.jar,
-org.eclipse.equinox.frameworkadmin.equinox_1.0.400.v20120428-0117.jar,
-org.eclipse.equinox.http.helper_1.1.0.wso2v1.jar,
-org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar,
-org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049.jar,
-org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar,
-org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813,
-org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar,
-org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar,
-org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar,
-org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar,
-org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar,
-org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar,
-org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar,
-org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar,
-org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar,
-org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar,
-org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar,
-org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar,
-org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar,
-org.eclipse.equinox.p2.publisher.eclipse_1.0.0.v20110511,
-org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar,
-org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar,
-org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar ,
-org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar,
-org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar,
-org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar,
-org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar,
-org.eclipse.equinox.preferences_3.5.0.v20120522-1841.jar,
-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar,
-org.eclipse.equinox.security_1.1.100.v20120522-1841.jar,
-org.eclipse.equinox.simpleconfigurator_1.0.301.v20120828-033635.jar,
-org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657.jar,
-org.eclipse.equinox.util_1.0.400.v20120522-2049.jar,
-org.eclipse.osgi_3.8.1.v20120830-144521.jar,
-org.eclipse.osgi.services_3.3.0.v20110513.jar,
-org.eclipse.osgi.services_3.3.100.v20120522-1822.jar,
-org.sat4j.core_2.3.0.v20110329.jar,
-org.sat4j.pb_2.3.0.v20110329.jar
-
-
-For Containing Project URL(s): http://www.eclipse.org/, http://www.sat4j.org/, http://www.h2database.com/html/main.html,
-http://jericho.htmlparser.net/docs/index.html
-
-Eclipse Public License - v 1.0
-
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
-
-1. DEFINITIONS
-
-"Contribution" means:
-
-a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
-b) in the case of each subsequent Contributor:
-i) changes to the Program, and
-ii) additions to the Program;
-where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
-"Contributor" means any person or entity that distributes the Program.
-
-"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
-
-"Program" means the Contributions distributed in accordance with this Agreement.
-
-"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
-
-2. GRANT OF RIGHTS
-
-a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
-b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
-c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
-d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
-3. REQUIREMENTS
-
-A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
-
-a) it complies with the terms and conditions of this Agreement; and
-b) its license agreement:
-i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
-ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
-iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
-iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
-When the Program is made available in source code form:
-
-a) it must be made available under this Agreement; and
-b) a copy of this Agreement must be included with each copy of the Program.
-Contributors may not remove or alter any copyright notices contained within the Program.
-
-Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
-
-4. COMMERCIAL DISTRIBUTION
-
-Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Los
 ses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
-
-For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
-
-5. NO WARRANTY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
-
-6. DISCLAIMER OF LIABILITY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. GENERAL
-
-If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
-
-If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
-
-All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
-
-Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) 
 above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
-
-This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
-
-
-=============================================================================== 
-The following components are licensed under MIT license
-=============================================================================== 
-
-For slf4j.api_1.6.4.jar, slf4j.log4j12_1.6.4.jar, highlighter, Prototype-1.5.0, prototype-1.6, jquery.ui.widget.min.js, Jquery-ui-min, jquery-ui-1.6.custom.min, jquery-1.2.6.min, jquery.cookie, jquery.cookie.js, jquery.flot.js, jquery.form.js, jquery.js, jquery.ui.core.min.js, jquery.cookie.js, jquery.flot.js, jquery.form.js, jquery.js, jquery.ui.core.min.js, jquery.ui.tabs.min.js, jquery.ui.widget.min.js, jquery.validate.js, jquery-1.5.2.min.js, jquery-ui-1.8.11.custom.min.js, dhtmlHistory.js, Scriptaculous-1.7.0
-
-For Containing Project URL(s): http://prettyprint.me/prettyprint.me/index.html
-
-The MIT License (MIT)
-
-Copyright (c) 2004-2013 QOS.ch
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-=============================================================================== 
-The following components are licensed under JSMON license
-=============================================================================== 
-
-For javasysmon_0.3.3.wso2v1.jar
-
-For Containing Project URL(s): https://github.com/jezhumble/javasysmon
-
-Copyright 2009 ThoughtWorks, Inc. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are
-permitted provided that the following conditions are met:
-
-   1. Redistributions of source code must retain the above copyright notice, this list of
-      conditions and the following disclaimer.
-
-   2. Redistributions in binary form must reproduce the above copyright notice, this list
-      of conditions and the following disclaimer in the documentation and/or other materials
-      provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THOUGHTWORKS, INC. ``AS IS'' AND ANY EXPRESS OR IMPLIED
-WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THOUGHTWORKS, INC. OR
-CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-The views and conclusions contained in the software and documentation are those of the
-authors and should not be interpreted as representing official policies, either expressed
-or implied, of ThoughtWorks, Inc.
-
-=============================================================================== 
-The following components are licensed under MPL10 license
-=============================================================================== 
-
-For saxon_8.9.0.wso2v1.jar	
-
-For Containing Project URL(s): http://saxon.sourceforge.net/
-
-MOZILLA PUBLIC LICENSE
-Version 1.0
-
-1. Definitions.
-
-1.1. ``Contributor'' means each entity that creates or contributes to the creation of Modifications.
-1.2. ``Contributor Version'' means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor.
-
-1.3. ``Covered Code'' means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof.
-
-1.4. ``Electronic Distribution Mechanism'' means a mechanism generally accepted in the software development community for the electronic transfer of data.
-
-1.5. ``Executable'' means Covered Code in any form other than Source Code.
-
-1.6. ``Initial Developer'' means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A.
-
-1.7. ``Larger Work'' means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.
-
-1.8. ``License'' means this document.
-
-1.9. ``Modifications'' means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is:
-
-A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications.
-
-B. Any new file that contains any part of the Original Code or previous Modifications.
-
-1.10. ``Original Code'' means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License.
-
-1.11. ``Source Code'' means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or a list of source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge.
-
-1.12. ``You'' means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, ``You'' includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, ``control'' means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity.
-
-2. Source Code License.
-2.1. The Initial Developer Grant. 
-The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims:
-(a) to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, or as part of a Larger Work; and
-
-(b) under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell (``Utilize'') the Original Code (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Code (or portions thereof) and not to any greater extent that may be necessary to Utilize further Modifications or combinations.
-
-2.2. Contributor Grant. 
-Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims:
-
-(a) to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code or as part of a Larger Work; and
-
-(b) under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent that may be necessary to Utilize further Modifications or combinations.
-
-3. Distribution Obligations.
-3.1. Application of License. 
-The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5.
-3.2. Availability of Source Code. 
-Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party.
-
-3.3. Description of Modifications. 
-You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code.
-
-3.4. Intellectual Property Matters
-
-(a) Third Party Claims. 
-If You have knowledge that a party claims an intellectual property right in particular functionality or code (or its utilization under this License), you must include a text file with the source code distribution titled ``LEGAL'' which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after You make Your Modification available as described in Section 3.2, You shall promptly modify the LEGAL file in all copies You make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained.
-
-(b) Contributor APIs. 
-If Your Modification is an application programming interface and You own or control patents which are reasonably necessary to implement that API, you must also include this information in the LEGAL file.
-
-3.5. Required Notices. 
-You must duplicate the notice in Exhibit A in each file of the Source Code, and this License in any documentation for the Source Code, where You describe recipients' rights relating to Covered Code. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular Source Code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer a
 nd every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
-
-3.6. Distribution of Executable Versions. 
-You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license 
 You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
-
-3.7. Larger Works. 
-You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code.
-
-4. Inability to Comply Due to Statute or Regulation.
-If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it.
-
-5. Application of this License.
-This License applies to code to which the Initial Developer has attached the notice in Exhibit A, and to related Covered Code.
-6. Versions of the License.
-6.1. New Versions. 
-Netscape Communications Corporation (``Netscape'') may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number.
-6.2. Effect of New Versions. 
-Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License.
-
-6.3. Derivative Works. 
-If you create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), you must (a) rename Your license so that the phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or any confusingly similar phrase do not appear anywhere in your license and (b) otherwise make it clear that your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.)
-
-7. DISCLAIMER OF WARRANTY.
-COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-8. TERMINATION.
-This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-9. LIMITATION OF LIABILITY.
-UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-10. U.S. GOVERNMENT END USERS.
-The Covered Code is a ``commercial item,'' as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer software'' and ``commercial computer software documentation,'' as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein.
-11. MISCELLANEOUS.
-This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in Santa Clara County, California, under the auspices of JAMS/EndDispute; and (c) any litigation relating to this Agreement shall be 
 subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License.
-12. RESPONSIBILITY FOR CLAIMS.
-Except in cases where another Contributor has failed to comply with Section 3.4, You are responsible for damages arising, directly or indirectly, out of Your utilization of rights under this License, based on the number of copies of Covered Code you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis.
-EXHIBIT A.
-``The contents of this file are subject to the Mozilla Public License Version 1.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.mozilla.org/MPL/
-Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
-
-The Original Code is ______________________________________.
-
-The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved.
-
-Contributor(s): ______________________________________.''
-
-=============================================================================== 
-The following components are licensed under CPL1
-=============================================================================== 
-
-for wsdl4j_1.6.2.wso2v4.jar
-
-1. DEFINITIONS
-
-"Contribution" means:
-
-    a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
-
-    b) in the case of each subsequent Contributor:
-
-    i) changes to the Program, and
-
-    ii) additions to the Program;
-
-    where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
-
-"Contributor" means any person or entity that distributes the Program.
-
-"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
-
-"Program" means the Contributions distributed in accordance with this Agreement.
-
-"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
-
-2. GRANT OF RIGHTS
-
-    a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
-
-    b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
-
-    c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
-
-    d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
-
-3. REQUIREMENTS
-
-A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
-
-    a) it complies with the terms and conditions of this Agreement; and
-
-    b) its license agreement:
-
-    i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
-
-    ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
-
-    iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
-
-    iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
-
-When the Program is made available in source code form:
-
-    a) it must be made available under this Agreement; and
-
-    b) a copy of this Agreement must be included with each copy of the Program.
-
-Contributors may not remove or alter any copyright notices contained within the Program.
-
-Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
-
-4. COMMERCIAL DISTRIBUTION
-
-Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Los
 ses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
-
-For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
-
-5. NO WARRANTY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
-
-6. DISCLAIMER OF LIABILITY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. GENERAL
-
-If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
-
-If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
-
-All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
-
-Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or
  licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
-


[3/5] Removed stratos agent related components, features and its product

Posted by im...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/products/stratos-agent/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos-agent/modules/distribution/pom.xml b/products/stratos-agent/modules/distribution/pom.xml
deleted file mode 100755
index b66e1cb..0000000
--- a/products/stratos-agent/modules/distribution/pom.xml
+++ /dev/null
@@ -1,535 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF 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.apache.stratos</groupId>
-        <artifactId>stratos-agent-parent</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>apache-stratos-agent</artifactId>
-    <packaging>pom</packaging>
-    <name>Apache Stratos - Agent - Distribution</name>
-    <url>http://apache.org</url>
-    <description>WSO2 Stratos Agent Distribution</description>
-
-    <dependencies>
-
-        <!-- Carbon core distribution -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>wso2carbon-core</artifactId>
-            <version>${carbon.version}</version>
-            <type>zip</type>
-        </dependency>
-
-        <!-- Synapse dependencies -->
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-commons</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-nhttp-transport</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-pipe-transport</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-core</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-tasks</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-extensions</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-
-        <!-- Carbon mediation initializer -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.initializer</artifactId>
-            <version>${carbon.version}</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>${carbon.version}</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>${carbon.version}</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-wso2v9</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.1.0.wso2v2</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>
-                <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>
-                <executions>
-                    <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"/>
-                            </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>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>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/products/stratos-agent/modules/distribution/src/conf/log4j.properties
----------------------------------------------------------------------
diff --git a/products/stratos-agent/modules/distribution/src/conf/log4j.properties b/products/stratos-agent/modules/distribution/src/conf/log4j.properties
deleted file mode 100644
index 258b9ba..0000000
--- a/products/stratos-agent/modules/distribution/src/conf/log4j.properties
+++ /dev/null
@@ -1,168 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF 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.
-#
-
-#
-# This is the log4j configuration file used by WSO2 Carbon
-#
-# 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 Carbon Management Console, and those
-# settings will override the settings in this file.
-#
-
-log4j.rootLogger=INFO, CARBON_CONSOLE, CARBON_LOGFILE, CARBON_MEMORY, CARBON_SYS_LOG
-
-log4j.logger.AUDIT_LOG=INFO, AUDIT_LOGFILE
-log4j.logger.org.apache.axis2.wsdl.codegen.writer.PrettyPrinter=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.axis2.clustering=INFO, CARBON_CONSOLE, CARBON_LOGFILE
-log4j.logger.org.apache=INFO, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.catalina=WARN
-log4j.logger.org.apache.tomcat=WARN
-log4j.logger.org.wso2.carbon.apacheds=WARN
-log4j.logger.org.apache.directory.server.ldap=WARN
-log4j.logger.org.apache.directory.server.core.event=WARN
-log4j.logger.com.atomikos=INFO,ATOMIKOS
-log4j.logger.org.quartz=WARN
-log4j.logger.org.apache.jackrabbit.webdav=WARN
-log4j.logger.org.apache.juddi=ERROR
-log4j.logger.org.apache.commons.digester.Digester=WARN
-log4j.logger.org.apache.jasper.compiler.TldLocationsCache=WARN
-log4j.logger.org.apache.qpid=WARN
-log4j.logger.org.apache.qpid.server.Main=INFO
-log4j.logger.qpid.message=WARN
-log4j.logger.qpid.message.broker.listening=INFO
-log4j.logger.org.apache.tiles=WARN
-log4j.logger.org.apache.commons.httpclient=ERROR
-log4j.logger.org.apache.coyote=WARN
-log4j.logger.org.apache.solr=ERROR
-log4j.logger.org.infinispan=WARN
-log4j.logger.org.jgroups=ERROR
-log4j.logger.me.prettyprint.cassandra.hector.TimingLogger=ERROR
-log4j.logger.org.wso2=INFO
-log4j.logger.org.apache.axis2.enterprise=FATAL, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.opensaml.xml=WARN, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.shared.ldap=WARN, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.server.ldap.handlers=WARN, CARBON_LOGFILE, CARBON_MEMORY 
-#Following are to remove false error messages from startup (IS)
-log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=FATAL, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.server.core.DefaultDirectoryService=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.server.core=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-#Hive Related Log configurations
-log4j.logger.DataNucleus=ERROR
-log4j.logger.Datastore=ERROR
-log4j.logger.Datastore.Schema=ERROR
-log4j.logger.JPOX.Datastore=ERROR
-log4j.logger.JPOX.Plugin=ERROR
-log4j.logger.JPOX.MetaData=ERROR
-log4j.logger.JPOX.Query=ERROR
-log4j.logger.JPOX.General=ERROR
-log4j.logger.JPOX.Enhancer=ERROR
-log4j.logger.org.apache.hadoop.hive=WARN
-log4j.logger.hive=WARN
-log4j.logger.ExecMapper=WARN
-log4j.logger.ExecReducer=WARN
-log4j.logger.net.sf.ehcache.config.ConfigurationFactory=ERROR
-log4j.logger.org.apache.axis2.clustering.tribes.Axis2GroupChannel=FATAL
-
-log4j.logger.trace.messages=TRACE,CARBON_TRACE_LOGFILE
-
-log4j.additivity.org.apache.axis2.clustering=false
-log4j.additivity.com.atomikos=false
-
-# CARBON_CONSOLE is set to be a ConsoleAppender using a PatternLayout.
-log4j.appender.CARBON_CONSOLE=org.apache.log4j.ConsoleAppender
-log4j.appender.CARBON_CONSOLE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-# ConversionPattern will be overridden by the configuration setting in the DB
-log4j.appender.CARBON_CONSOLE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m%n
-log4j.appender.CARBON_CONSOLE.layout.TenantPattern=%U%@%D[%T]
-log4j.appender.CARBON_CONSOLE.threshold=DEBUG
-
-# CARBON_MEMORY is set to be a MemoryAppender using a PatternLayout.
-log4j.appender.CARBON_MEMORY=org.wso2.carbon.logging.appenders.MemoryAppender
-log4j.appender.CARBON_MEMORY.layout=org.apache.log4j.PatternLayout
-log4j.appender.CARBON_MEMORY.bufferSize=200
-# ConversionPattern will be overridden by the configuration setting in the DB
-#log4j.appender.CARBON_MEMORY.layout.ConversionPattern=[%d] %5p - %x %m {%c}%n
-log4j.appender.CARBON_MEMORY.layout.ConversionPattern=[%d] %5p {%c} - %x %m%n
-log4j.appender.CARBON_MEMORY.threshold=DEBUG
-
-
-# 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
-
-log4j.appender.CARBON_SYS_LOG = org.apache.log4j.net.SyslogAppender
-log4j.appender.CARBON_SYS_LOG.layout=org.apache.log4j.PatternLayout
-log4j.appender.CARBON_SYS_LOG.layout.ConversionPattern=[%d] %5p {%c} - %x %m {%c}%n
-log4j.appender.CARBON_SYS_LOG.SyslogHost=localhost
-log4j.appender.CARBON_SYS_LOG.Facility=USER
-log4j.appender.CARBON_SYS_LOG.threshold=DEBUG
-
-# LOGEVENT is set to be a LogEventAppender using a PatternLayout to send logs to LOGEVENT 
-log4j.appender.LOGEVENT=org.wso2.carbon.logging.appender.LogEventAppender
-log4j.appender.LOGEVENT.url=tcp://10.100.3.103:7611
-log4j.appender.LOGEVENT.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-log4j.appender.LOGEVENT.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
-log4j.appender.LOGEVENT.userName=admin
-log4j.appender.LOGEVENT.password=admin
-
-# Appender config to CARBON_TRACE_LOGFILE
-log4j.appender.CARBON_TRACE_LOGFILE=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.CARBON_TRACE_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon-trace-messages${instance.log}.log
-log4j.appender.CARBON_TRACE_LOGFILE.Append=true
-log4j.appender.CARBON_TRACE_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-log4j.appender.CARBON_TRACE_LOGFILE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m {%c}%n
-log4j.appender.CARBON_TRACE_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
-log4j.appender.CARBON_TRACE_LOGFILE.threshold=TRACE
-log4j.additivity.trace.messages=false
-
-# Appender config to AUDIT_LOGFILE
-log4j.appender.AUDIT_LOGFILE=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.AUDIT_LOGFILE.File=${carbon.home}/repository/logs/audit.log
-log4j.appender.AUDIT_LOGFILE.Append=true
-log4j.appender.AUDIT_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-log4j.appender.AUDIT_LOGFILE.layout.ConversionPattern=[%d] %P%5p - %x %m %n
-log4j.appender.AUDIT_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
-log4j.appender.AUDIT_LOGFILE.threshold=INFO
-log4j.additivity.AUDIT_LOG=false
-
-# 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
-
-# This file is used to override the default logger settings, and is used to remove unwanted logs from Shindig appearing on the console.
-
-# Specification of Handler used by Console Logger
-handlers=java.util.logging.ConsoleHandler
-
-# Replacing default INFO level with SEVERE
-java.util.logging.ConsoleHandler.level=SEVERE

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/products/stratos-agent/modules/distribution/src/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/stratos-agent/modules/distribution/src/main/assembly/bin.xml b/products/stratos-agent/modules/distribution/src/main/assembly/bin.xml
deleted file mode 100755
index 2be5c92..0000000
--- a/products/stratos-agent/modules/distribution/src/main/assembly/bin.xml
+++ /dev/null
@@ -1,194 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF 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>apache-stratos-agent-${pom.version}</outputDirectory>
-            <excludes>
-                <exclude>**/*.sh</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>**/repository/components/plugins/*.ui*</exclude>
-		<exclude>**/log4j.properties</exclude>
-		<!--exclude>**/samples/*</exclude-->
-		<exclude>**/repository/components/**</exclude>
-            </excludes>
-        </fileSet>
-        <!-- Copying p2 profile and osgi bundles-->
-        <fileSet>
-            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
-            <outputDirectory>apache-stratos-agent-${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>
-	<!-- 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>
-    </fileSets>
-
-    <dependencySets>
-        <!-- use the new tool to create a bundles -->
-        <dependencySet>
-            <outputDirectory>apache-stratos-agent-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
-            <includes>
-                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
-            </includes>
-        </dependencySet>
-        <!--dependencySet>
-            <outputDirectory>apache-stratos-agent-${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>apache-stratos-agent-${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>apache-stratos-agent-${pom.version}/repository/axis2/client/lib</outputDirectory>
-            <includes>
-                <include>bouncycastle:bcprov-jdk15:jar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>apache-stratos-agent-${pom.version}/repository/deployment/client/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.rampart:rampart:mar</include>
-            </includes>
-        </dependencySet>
-        <!-- MB Client libs -->
-        <dependencySet>
-            <outputDirectory>apache-stratos-agent-${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/stratos.sh</source>
-            <outputDirectory>apache-stratos-agent-${pom.version}/bin</outputDirectory>
-            <destName>stratos.sh</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/bin/stratos.bat</source>
-            <outputDirectory>apache-stratos-agent-${pom.version}/bin</outputDirectory>
-            <destName>stratos.bat</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/conf/log4j.properties</source>
-            <outputDirectory>apache-stratos-agent-${pom.version}/repository/conf</outputDirectory>
-            <destName>log4j.properties</destName>
-            <filtered>true</filtered>
-        </file>
-	<file>
-            <source>src/main/license/LICENSE</source>
-            <outputDirectory>apache-stratos-agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-	<file>
-            <source>src/main/notice/NOTICE</source>
-            <outputDirectory>apache-stratos-agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../README.txt</source>
-            <outputDirectory>apache-stratos-agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../INSTALL.txt</source>
-            <outputDirectory>apache-stratos-agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-	        <file>
-            <source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
-            <outputDirectory>apache-stratos-agent-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>
-                target/wso2carbon-core-${carbon.kernel.version}/repository/conf/carbon.xml
-            </source>
-            <outputDirectory>apache-stratos-agent-${pom.version}/repository/conf/</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-	<file>
-            <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/agent.properties</source>
-            <outputDirectory>apache-stratos-agent-${pom.version}/repository/conf</outputDirectory>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/products/stratos-agent/modules/distribution/src/main/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/stratos-agent/modules/distribution/src/main/assembly/filter.properties b/products/stratos-agent/modules/distribution/src/main/assembly/filter.properties
deleted file mode 100644
index 58b3d93..0000000
--- a/products/stratos-agent/modules/distribution/src/main/assembly/filter.properties
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF 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.
-#
-
-product.name=Apache Stratos Agent
-product.key=Agent
-product.version=4.0.0-SNAPSHOT
-
-carbon.version=4.1.1
-lb.version=1.0.0
-default.server.role=ElasticLoadBalancer
-bundle.creators=org.wso2.carbon.mediator.bridge.MediatorBundleCreator

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/products/stratos-agent/modules/distribution/src/main/bin/stratos.bat
----------------------------------------------------------------------
diff --git a/products/stratos-agent/modules/distribution/src/main/bin/stratos.bat b/products/stratos-agent/modules/distribution/src/main/bin/stratos.bat
deleted file mode 100644
index 989483f..0000000
--- a/products/stratos-agent/modules/distribution/src/main/bin/stratos.bat
+++ /dev/null
@@ -1,169 +0,0 @@
-@echo off
-
-rem ---------------------------------------------------------------------------
-rem  Licensed to the Apache Software Foundation (ASF) under one
-rem  or more contributor license agreements.  See the NOTICE file
-rem  distributed with this work for additional information
-rem  regarding copyright ownership.  The ASF licenses this file
-rem  to you under the Apache License, Version 2.0 (the
-rem  "License"); you may not use this file except in compliance
-rem  with the License.  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,
-rem  software distributed under the License is distributed on an
-rem  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-rem  KIND, either express or implied.  See the License for the
-rem  specific language governing permissions and limitations
-rem  under the License.
-rem ---------------------------------------------------------------------------
-rem  Main Script for Apache Stratos
-rem
-rem  Environment Variable Prerequisites
-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/3959b1ad/products/stratos-agent/modules/distribution/src/main/bin/stratos.sh
----------------------------------------------------------------------
diff --git a/products/stratos-agent/modules/distribution/src/main/bin/stratos.sh b/products/stratos-agent/modules/distribution/src/main/bin/stratos.sh
deleted file mode 100644
index 4c6260c..0000000
--- a/products/stratos-agent/modules/distribution/src/main/bin/stratos.sh
+++ /dev/null
@@ -1,298 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------------
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF 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.
-# ----------------------------------------------------------------------------
-#  Main Script for the Apache Stratos
-#
-#  Environment Variable Prerequisites
-#
-#   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/stratos.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/stratos.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 ./stratos.sh &" \
-        -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
-        -XX:ErrorFile=repository/logs/hs_err_pid.log \
-        -XX:OnError="nohup ./stratos.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 $*
-
-


[4/5] Removed stratos agent related components, features and its product

Posted by im...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/ClusterDomain.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/ClusterDomain.java b/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/ClusterDomain.java
deleted file mode 100644
index d70d131..0000000
--- a/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/ClusterDomain.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.messages;
-
-public class ClusterDomain {
-
-	private String domain;
-	private String subDomain;
-	private String hostName;
-	//private int tenantId;
-	private String tenantRange;
-	private int minInstances;
-	private int maxInstances;
-	private String serviceName;
-	private int maxRequestsPerSecond;
-	private int roundsToAverage;
-	private double alarmingUpperRate;
-	private double alarmingLowerRate;
-	private double scaleDownFactor;
-	
-	public String getDomain() {
-		return domain;
-	}
-	public void setDomain(String domain) {
-		this.domain = domain;
-	}
-	public String getSubDomain() {
-		return subDomain;
-	}
-	public void setSubDomain(String subDomain) {
-		this.subDomain = subDomain;
-	}
-	public String getHostName() {
-		return hostName;
-	}
-	public void setHostName(String hostName) {
-		this.hostName = hostName;
-	}
-	/*public int getTenantId() {
-		return tenantId;
-	}
-	public void setTenantId(int tenantId) {
-		this.tenantId = tenantId;
-	}*/
-	public int getMinInstances() {
-		return minInstances;
-	}
-	public void setMinInstances(int minInstances) {
-		this.minInstances = minInstances;
-	}
-	public int getMaxInstances() {
-		return maxInstances;
-	}
-	public void setMaxInstances(int maxInstances) {
-		this.maxInstances = maxInstances;
-	}
-	public String getServiceName() {
-		return serviceName;
-	}
-	public void setServiceName(String serviceName) {
-		this.serviceName = serviceName;
-	}
-	public String getTenantRange() {
-    	return tenantRange;
-    }
-	public void setTenantRange(String tenantRange) {
-    	this.tenantRange = tenantRange;
-    }
-	public int getMaxRequestsPerSecond() {
-    	return maxRequestsPerSecond;
-    }
-	public void setMaxRequestsPerSecond(int maxRequestsPerSecond) {
-    	this.maxRequestsPerSecond = maxRequestsPerSecond;
-    }
-	public int getRoundsToAverage() {
-    	return roundsToAverage;
-    }
-	public void setRoundsToAverage(int roundsToAverage) {
-    	this.roundsToAverage = roundsToAverage;
-    }
-	public double getAlarmingUpperRate() {
-    	return alarmingUpperRate;
-    }
-	public void setAlarmingUpperRate(double alarmingUpperRate) {
-    	this.alarmingUpperRate = alarmingUpperRate;
-    }
-	public double getAlarmingLowerRate() {
-    	return alarmingLowerRate;
-    }
-	public void setAlarmingLowerRate(double alarmingLowerRate) {
-    	this.alarmingLowerRate = alarmingLowerRate;
-    }
-	public double getScaleDownFactor() {
-    	return scaleDownFactor;
-    }
-	public void setScaleDownFactor(double scaleDownFactor) {
-    	this.scaleDownFactor = scaleDownFactor;
-    }
-	
-	
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/ClusterDomainManager.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/ClusterDomainManager.java b/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/ClusterDomainManager.java
deleted file mode 100644
index cdea820..0000000
--- a/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/ClusterDomainManager.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.messages;
-
-/**
- * TODO: class description
- */
-public interface ClusterDomainManager {
-
-    void addClusterDomain(ClusterDomain clusterDomain);
-    
-    /**
-     * This will remove the corresponding ServiceConfiguration.
-     * @param domain
-     * @param subDomain
-     * @param hostName
-     */
-    void removeClusterDomain(String domain, String subDomain, String hostName);
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/CreateClusterDomainMessage.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/CreateClusterDomainMessage.java b/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/CreateClusterDomainMessage.java
deleted file mode 100644
index 7c54a8d..0000000
--- a/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/CreateClusterDomainMessage.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.messages;
-
-import org.apache.axis2.clustering.ClusteringCommand;
-import org.apache.axis2.clustering.ClusteringFault;
-import org.apache.axis2.clustering.ClusteringMessage;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-/**
- * TODO: class description
- */
-public class CreateClusterDomainMessage extends ClusteringMessage {
-    private static final Log log = LogFactory.getLog(CreateClusterDomainMessage.class);
-    public static final String CLUSTER_DOMAIN_MANAGER = "cluster.domain.manager";
-    private String service;
-    private String clusterDomain;
-    private String hostName;
-    //private int tenantId;
-    private String tenantRange;
-    private int minInstances;
-    private int maxInstances;
-	private int maxRequestsPerSecond;
-	private int roundsToAverage;
-	private double alarmingUpperRate;
-	private double alarmingLowerRate;
-	private double scaleDownFactor;
-    
-
-    public CreateClusterDomainMessage(String service, String clusterDomain,
-                                      String hostName, String tenantRange,
-                                      int minInstances, int maxInstances,
-                                      int maxRequestsPerSecond, int roundsToAverage,
-                                      double alarmingUpperRate, double alarmingLowerRate,
-                                      double scaleDownFactor) {
-        this.service = service;
-        this.clusterDomain = clusterDomain;
-        this.hostName = hostName;
-        this.tenantRange = tenantRange;
-        this.minInstances = minInstances;
-        this.maxInstances = maxInstances;
-        this.maxRequestsPerSecond = maxRequestsPerSecond;
-        this.roundsToAverage = roundsToAverage;
-        this.alarmingUpperRate = alarmingUpperRate;
-        this.alarmingLowerRate = alarmingLowerRate;
-        this.scaleDownFactor = scaleDownFactor;
-    }
-
-    @Override
-    public ClusteringCommand getResponse() {
-        return new ClusteringCommand() {
-            @Override
-            public void execute(ConfigurationContext configurationContext) throws ClusteringFault {
-                log.info("Received response to CreateClusterDomainMessage");
-            }
-        };
-    }
-
-    @Override
-    public void execute(final ConfigurationContext configurationContext) throws ClusteringFault {
-        log.info("Received ***" + this);
-        Runnable runnable = new Runnable() {
-            public void run() {
-                try {
-                    Thread.sleep(2000);
-                } catch (InterruptedException ignored) {
-                }
-                ClusterDomainManager clusterDomainManager =
-                        (ClusterDomainManager) configurationContext.getProperty(CLUSTER_DOMAIN_MANAGER);
-                if (clusterDomainManager != null) {
-                    clusterDomainManager.addClusterDomain(createClusterDomain());
-                } else {
-                    log.warn(CLUSTER_DOMAIN_MANAGER + " has not been defined in ConfigurationContext");
-                }
-            }
-
-			private ClusterDomain createClusterDomain() {
-				
-				ClusterDomain clusterDomainObj = new ClusterDomain();
-				clusterDomainObj.setDomain(clusterDomain);
-				clusterDomainObj.setHostName(hostName);
-				clusterDomainObj.setMaxInstances(maxInstances);
-				clusterDomainObj.setMinInstances(minInstances);
-				clusterDomainObj.setSubDomain(null); // TODO subdomain
-				clusterDomainObj.setTenantRange(tenantRange);
-				clusterDomainObj.setServiceName(service);
-				clusterDomainObj.setMaxRequestsPerSecond(maxRequestsPerSecond);
-				clusterDomainObj.setRoundsToAverage(roundsToAverage);
-				clusterDomainObj.setAlarmingUpperRate(alarmingUpperRate);
-				clusterDomainObj.setAlarmingLowerRate(alarmingLowerRate);
-				clusterDomainObj.setScaleDownFactor(scaleDownFactor);
-				
-				if(log.isDebugEnabled())
-					log.debug("Cluster Domain is created with minInstances:" + minInstances + ", maxInstances: " + maxInstances);
-				
-				return clusterDomainObj;
-			}
-        };
-        new Thread(runnable).start();
-    }
-
-    @Override
-    public String toString() {
-        return "CreateClusterDomainMessage{" +
-               "service='" + service + '\'' +
-               ", clusterDomain='" + clusterDomain + '\'' +
-               ", hostName='" + hostName + '\'' +
-               ", tenantId=" + tenantRange +
-               '}';
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/CreateRemoveClusterDomainMessage.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/CreateRemoveClusterDomainMessage.java b/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/CreateRemoveClusterDomainMessage.java
deleted file mode 100644
index b154424..0000000
--- a/components/org.apache.stratos.cartridge.messages/src/main/java/org/apache/stratos/cartridge/messages/CreateRemoveClusterDomainMessage.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF 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.apache.stratos.cartridge.messages;
-
-import org.apache.axis2.clustering.ClusteringCommand;
-import org.apache.axis2.clustering.ClusteringFault;
-import org.apache.axis2.clustering.ClusteringMessage;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-public class CreateRemoveClusterDomainMessage extends ClusteringMessage{
-	
-	private static final Log log = LogFactory.getLog(CreateClusterDomainMessage.class);
-	public static final String CLUSTER_DOMAIN_MANAGER = "cluster.domain.manager";
-	private String domain;
-	private String subDomain;
-	private String hostName;
-	
-	
-	
-	public CreateRemoveClusterDomainMessage(String domain, String subDomain, String hostName) {
-	    this.domain = domain;
-	    this.subDomain = subDomain;
-	    this.hostName = hostName;
-    }
-
-	@Override
-    public ClusteringCommand getResponse() {
-		return new ClusteringCommand() {
-            @Override
-            public void execute(ConfigurationContext configurationContext) throws ClusteringFault {
-                log.info("Received response to CreateRemoveClusterDomainMessage");
-            }
-        };
-    }
-
-	@Override
-    public void execute(final ConfigurationContext configurationContext) throws ClusteringFault {
-	    
-		log.info("Received ***" + this);
-        Runnable runnable = new Runnable() {
-            public void run() {
-                try {
-                    Thread.sleep(2000);
-                } catch (InterruptedException ignored) {
-                }
-                ClusterDomainManager clusterDomainManager =
-                        (ClusterDomainManager) configurationContext.getProperty(CLUSTER_DOMAIN_MANAGER);
-                log.info(" ***** Received clusterDomain Manager ** " + clusterDomainManager);
-                if (clusterDomainManager != null) {
-                    clusterDomainManager.removeClusterDomain(domain, subDomain, hostName);
-                } else {
-                    log.warn(CLUSTER_DOMAIN_MANAGER + " has not been defined in ConfigurationContext");
-                }
-            }
-        };
-        new Thread(runnable).start();
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/features/cartridge-agent/org.apache.stratos.cartridge.agent.feature/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.apache.stratos.cartridge.agent.feature/pom.xml b/features/cartridge-agent/org.apache.stratos.cartridge.agent.feature/pom.xml
deleted file mode 100644
index c15cd1a..0000000
--- a/features/cartridge-agent/org.apache.stratos.cartridge.agent.feature/pom.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-       Licensed to the Apache Software Foundation (ASF) under one
-       or more contributor license agreements.  See the NOTICE file
-       distributed with this work for additional information
-       regarding copyright ownership.  The ASF 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.apache.stratos</groupId>
-        <artifactId>cartridge-agent</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.cartridge.agent.feature</artifactId>
-    <packaging>pom</packaging>
-    <name>Apache Stratos - Cartridge Agent - Composite Feature</name>
-    <url>http://apache.org</url>
-    <description>This feature contains the bundles required for cartridge agent feature</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.stratos</groupId>
-            <artifactId>org.apache.stratos.cartridge.messages.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-        <dependency>
-            <groupId>org.apache.stratos</groupId>
-            <artifactId>org.apache.stratos.cartridge.agent.server.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.apache.stratos.cartridge.agent</id>
-                            <propertiesFile>../../../../etc/feature.properties</propertiesFile>
-                            <includedFeatures>
-                                <includedFeatureDef>org.apache.stratos:org.apache.stratos.cartridge.agent.server.feature:${project.version}</includedFeatureDef>
-				<includedFeatureDef>org.apache.stratos:org.apache.stratos.cartridge.messages.feature:${project.version}</includedFeatureDef>
-                            </includedFeatures>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/pom.xml b/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/pom.xml
deleted file mode 100644
index 5be419d..0000000
--- a/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/pom.xml
+++ /dev/null
@@ -1,159 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-       Licensed to the Apache Software Foundation (ASF) under one
-       or more contributor license agreements.  See the NOTICE file
-       distributed with this work for additional information
-       regarding copyright ownership.  The ASF 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.apache.stratos</groupId>
-        <artifactId>cartridge-agent</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.stratos.cartridge.agent.server.feature</artifactId>
-    <packaging>pom</packaging>
-    <name>Apache Stratos - Cartridge Agent Feature</name>
-    <url>http://apache.org</url>
-    <description>This feature contains the bundles required for agent functionality</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.stratos</groupId>
-            <artifactId>org.apache.stratos.cartridge.agent</artifactId>
-            <version>${project.version}</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.axis2.wso2</groupId>
-		<artifactId>axis2</artifactId>
-		<version>${axis2.wso2.version}</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.ws.commons.axiom.wso2</groupId>
-		<artifactId>axiom</artifactId>
-		<version>${axiom.wso2.version}</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.stratos</groupId>
-		<artifactId>org.apache.stratos.adc.instanceinfo.mgt.stub</artifactId>
-		<version>${project.version}</version>
-	</dependency>
-        <dependency>
-            <groupId>org.eclipse.osgi</groupId>
-            <artifactId>org.eclipse.osgi</artifactId>
-            <version>3.5.0.v20090311-1300</version>
-        </dependency>
-        <dependency>
-            <groupId>org.eclipse.osgi</groupId>
-            <artifactId>org.eclipse.osgi.services</artifactId>
-            <version>3.3.0.v20110513</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.utils</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-	<dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-policy</artifactId>
-	    <version>1.6.1.wso2v8</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-core</artifactId>
-	    <version>1.6.1.wso2v8</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-trust</artifactId>
-	        <version>1.6.1.wso2v8</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-	    <plugin>
-                <artifactId>maven-resources-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>prefilter-resources</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>copy-resources</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>src/main/resources</outputDirectory>
-                            <resources>
-                                <resource>
-                                    <directory>resources</directory>
-                                    <includes>
-                                        <include>conf/agent.properties</include>
-                                        <include>p2.inf</include>
-                                        <include>build.properties</include>
-                                    </includes>
-                                </resource>
-                            </resources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.apache.stratos.cartridge.agent.server</id>
-                            <propertiesFile>../../etc/feature.properties</propertiesFile>
-                             <adviceFile>
-                                <properties>
-                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
-                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
-                                </properties>
-                            </adviceFile>
-                            <bundles>
-                                <bundleDef>org.apache.stratos:org.apache.stratos.cartridge.agent:${project.version}</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.utils:${wso2carbon.version}</bundleDef>
-				<bundleDef>org.eclipse.osgi:org.eclipse.osgi.services</bundleDef>
-				<bundleDef>org.apache.stratos:org.apache.stratos.adc.instanceinfo.mgt.stub:${project.version}</bundleDef>
-				<bundleDef>org.apache.axis2.wso2:axis2:${axis2.wso2.version}</bundleDef>
-				<bundleDef>org.apache.rampart.wso2:rampart-policy</bundleDef>
-                                <bundleDef>org.apache.rampart.wso2:rampart-core</bundleDef>
-                                <bundleDef>org.apache.rampart.wso2:rampart-trust</bundleDef>
-                            </bundles>
-			    <!--includedFeatures>
-                                <includedFeatureDef>org.apache.stratos:org.apache.stratos.cartridge.messages.feature</includedFeatureDef>
-                            </includedFeatures-->
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/build.properties
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/build.properties b/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/build.properties
deleted file mode 100644
index 7602c01..0000000
--- a/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/build.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF 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.
-#
-#
-
-custom = true
-root.stratos=conf

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/conf/agent.properties
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/conf/agent.properties b/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/conf/agent.properties
deleted file mode 100644
index b0aa154..0000000
--- a/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/conf/agent.properties
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF 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.
-#
-#
-
-loadBalancerDomain=lb.domain
-
-# Registrant health check interval in seconds
-registrant.heathCheckInterval=10
-registrant.healthCheckThreadPoolSize=2000
-
-# Clustering parameters of Cartridge agent member
-clustering.membershipScheme=wka
-clustering.maxRetries=10
-clustering.localMemberHost=localhost
-clustering.localMemberPort=4025
-
-# ELB members
-members.1.host=localhost
-members.1.port=4000
-
-# Instance State Notification Service 
-adc.host=ADC_HOSTNAME
-adc.port=ADC_PORT

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/p2.inf
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/p2.inf b/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/p2.inf
deleted file mode 100644
index 6780e25..0000000
--- a/features/cartridge-agent/org.apache.stratos.cartridge.agent.server.feature/src/main/resources/p2.inf
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF 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.
-
-instructions.configure = \
-org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/features/org.apache.stratos.cartridge.agent.server_${feature.version}/conf/agent.properties,target:${installFolder}/../conf/agent.properties,overwrite:true);\
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/features/cartridge-agent/org.apache.stratos.cartridge.messages.feature/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.apache.stratos.cartridge.messages.feature/pom.xml b/features/cartridge-agent/org.apache.stratos.cartridge.messages.feature/pom.xml
deleted file mode 100644
index adb759a..0000000
--- a/features/cartridge-agent/org.apache.stratos.cartridge.messages.feature/pom.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-       Licensed to the Apache Software Foundation (ASF) under one
-       or more contributor license agreements.  See the NOTICE file
-       distributed with this work for additional information
-       regarding copyright ownership.  The ASF 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.apache.stratos</groupId>
-        <artifactId>cartridge-agent</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.stratos.cartridge.messages.feature</artifactId>
-    <packaging>pom</packaging>
-    <name>Apache Stratos - Cartridge Messages Feature</name>
-    <url>http://apache.org</url>
-    <description>This feature contains the bundles required for agent messages</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.stratos</groupId>
-            <artifactId>org.apache.stratos.cartridge.messages</artifactId>
-	    <version>${project.version}</version>
-        </dependency>
-	<dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-	    <version>${axis2.wso2.version}</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.apache.stratos.cartridge.messages</id>
-                            <propertiesFile>../../etc/feature.properties</propertiesFile>
-                             <adviceFile>
-                                <properties>
-                                    <propertyDef>org.apache.stratos.p2.category.type:server</propertyDef>
-                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
-                                </properties>
-                            </adviceFile>
-                            <bundles>
-                                <bundleDef>org.apache.stratos:org.apache.stratos.cartridge.messages:${project.version}</bundleDef>
-				<bundleDef>org.apache.axis2.wso2:axis2:${axis2.wso2.version}</bundleDef>
-                            </bundles>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/features/cartridge-agent/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/pom.xml b/features/cartridge-agent/pom.xml
deleted file mode 100644
index d4c2fe6..0000000
--- a/features/cartridge-agent/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF 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.apache.stratos</groupId>
-        <artifactId>stratos-features-parent</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>cartridge-agent</artifactId>
-    <packaging>pom</packaging>
-    <name>Apache Stratos - Cartridge Agent Feature Aggregator Module</name>
-    <url>http://apache.org</url>
-
-    <modules>
-        <module>org.apache.stratos.cartridge.agent.server.feature</module>
-	<module>org.apache.stratos.cartridge.agent.feature</module>
-    </modules>
-
-</project>
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/features/pom.xml
----------------------------------------------------------------------
diff --git a/features/pom.xml b/features/pom.xml
index 6f70980..962559f 100644
--- a/features/pom.xml
+++ b/features/pom.xml
@@ -29,32 +29,24 @@
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
-    <groupId>org.apache.stratos</groupId>
     <artifactId>stratos-features-parent</artifactId>
     <packaging>pom</packaging>
     <name>Apache Stratos - Features Aggregator Module</name>
     <url>http://apache.org</url>
 
     <modules>
-	<!-- Load Balancer -->
+        <!-- Load Balancer -->
         <module>load-balancer</module>
-	
-	<!-- Auto Scaler -->
-	<module>autoscaler</module>
-
-	<!-- ADC -->
-	<module>adc</module>
-
-	<!-- Coud Controller -->
-	<module>cloud-controller</module>
-
+        <!-- Auto-Scaler -->
+        <module>autoscaler</module>
+        <!-- Artifact Distribution Coordinator -->
+        <module>adc</module>
+        <!-- Coud Controller -->
+        <module>cloud-controller</module>
         <!-- Manager -->
-	<module>manager</module>
-
-       <!-- Messaging -->
-       <module>messaging</module>
-
-
+        <module>manager</module>
+        <!-- Messaging -->
+        <module>messaging</module>
     </modules>
 
     <build>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3959b1ad/products/stratos-agent/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/stratos-agent/INSTALL.txt b/products/stratos-agent/INSTALL.txt
deleted file mode 100644
index 9d41b13..0000000
--- a/products/stratos-agent/INSTALL.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-Installing Apache Stratos Stratos Agent 1.0.1
-==================================================
-
-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 Stratos Agent one can use either stratos.sh in all Unix
-   systems & stratos.bat file on Windows operating systems.
-
-4. Either of the following commands can be used to start Stratos Agent
-      i)  ./stratos.sh {console|start|stop|restart|version}
-     ii)  stratos.bat {start|stop|version}
-
-        Usage: stratos.sh [command] [options] [system-properties]
-
-            command:
-                --start		    Start Stratos Agent as a Unix daemon in the background
-                --console	    Start Stratos Agent as a Unix daemon in the foreground
-                --stop		    Stop the Stratos Agent Unix daemon
-                --restart	    Restart the Stratos Agent Unix daemon
-                --version	    What version of the Stratos Agent 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/3959b1ad/products/stratos-agent/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/stratos-agent/LICENSE.txt b/products/stratos-agent/LICENSE.txt
deleted file mode 100644
index e9542e3..0000000
--- a/products/stratos-agent/LICENSE.txt
+++ /dev/null
@@ -1,250 +0,0 @@
-
-This product is licensed by Apache 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.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   
-authenticator_0.7.0.wso2v1.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.wso2v8.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       
-com.google.gson_2.1.0.jar                                                       bundle         apache2   
-commons-beanutils-1.7.0.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-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
-commons-httpclient_3.1.0.wso2v2.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   
-ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
-el-impl_2.2.0.wso2v1.jar                                                        bundle         cddl1     
-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   
-h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
-h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
-httpcore_4.2.3.wso2v1.jar                                                       bundle         apache2   
-infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
-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     
-jdbc-pool_7.0.34.wso2v1.jar                                                     bundle         apache2   
-jericho-html-2.4.jar                                                            jarinbundle    epl1      
-jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
-jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
-jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
-jstl_1.2.1.wso2v1.jar                                                           bundle         cddl1     
-marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
-neethi_2.0.4.wso2v4.jar                                                         bundle         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   
-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.0.v20110513.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.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
-org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
-org.wso2.carbon.adc.instanceinfo.mgt.stub_4.1.1.jar                             bundle         apache2   
-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.bridge-4.1.0.jar                                                bundle         apache2   
-org.wso2.carbon.caching.core_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.cartridge.agent_2.1.3.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.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.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.http.bridge-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.logging-4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.logging_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.mediator.bridge-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.osgi.security_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.queuing_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.registry.api_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.registry.core_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.registry.server_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.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.servletbridge-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.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-wso2v9.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   
-saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
-slf4j.api_1.6.4.jar                                                             bundle         mit       
-slf4j.log4j12_1.6.4.jar                                                         bundle         mit       
-synapse-commons_2.1.1.wso2v4.jar                                                bundle         apache2   
-synapse-core_2.1.1.wso2v4.jar                                                   bundle         apache2   
-synapse-extensions_2.1.1.wso2v4.jar                                             bundle         apache2   
-synapse-tasks_2.1.1.wso2v4.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   
-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   
-xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
-xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
-xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
-xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
-xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
-XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
-xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
-
-
-
-The license types used by the above libraries and their information is given below:
-
-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
-epl1           Eclipse Public License
-               http://www.eclipse.org/legal/epl-v10.html
-jsmon          ThoughtWorks Javasysmon License
-               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
-lgpl2          Lesser GPL v2.1
-               http://www.opensource.org/licenses/lgpl-2.1.php
-apache2        Apache License Version 2.0
-               http://www.apache.org/licenses/LICENSE-2.0.html
-mpl10          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/
-mit            MIT License
-               http://www.opensource.org/licenses/mit-license.php
-bsd            Berkeley License
-               http://www.opensource.org/licenses/bsd-license.php
-cddl1          Common Development and Distribution License
-               http://www.opensource.org/licenses/cddl1.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/3959b1ad/products/stratos-agent/README.txt
----------------------------------------------------------------------
diff --git a/products/stratos-agent/README.txt b/products/stratos-agent/README.txt
deleted file mode 100755
index 2b1e978..0000000
--- a/products/stratos-agent/README.txt
+++ /dev/null
@@ -1,114 +0,0 @@
-================================================================================
-                        Apache Stratos Agent 1.0.1
-================================================================================
-
-Welcome to the Apache Stratos Agent 1.0.1 release
-
-Apache Stratos Agent provides services to Non-Carbon Cartridges and it helps
-to communicate the status of Cartridge Instances with Apache Stratos Controller.
-
-System Requirements
-==================================
-
-1. Minimum memory - 1GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. Java SE Development Kit 1.6.0_24 or higher
-
-
-Apache Stratos Agent 1.0.1 distribution directory structure
-=========================================================
-
-    CARBON_HOME
-	|- bin <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 Stratos Agent
-	  in standalone mode
-
-    - repository
-	  The repository where services and modules deployed in Apache Stratos Agent
-	  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
-	  Apache Stratos Agent is distributed.
-
-    - README.txt
-	  This document.
-
-    - INSTALL.txt
-      This document will contain information on installing Apache Stratos Agent
-
-
-Support
-==================================
-
-Any problem with this release can be reported to Apache Stratos mailing list
-or in the JIRA issue tracker. If you are sending an email to the mailing
-list make sure to add the [Apache Stratos] prefix to the subject.
-
-Mailing list subscription:
-    dev-subscribe@stratos.incubator.apache.org
-
-
-Issue Tracker
-==================================
-
-Jira:
-    https://issues.apache.org/jira/browse/stratos
-
-
-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/
-
-
-Thank you for using Apache Stratos!
-The Stratos Team.