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

[13/24] Removed src/site from cloud controller and stratos controller products

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/resources/xslt/datatypes.dtd
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/resources/xslt/datatypes.dtd b/products/cloud_controller/modules/distribution/src/site/xdoc/resources/xslt/datatypes.dtd
deleted file mode 100644
index 2b3723b..0000000
--- a/products/cloud_controller/modules/distribution/src/site/xdoc/resources/xslt/datatypes.dtd
+++ /dev/null
@@ -1,219 +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.
-  -->
-
-<!--
-        DTD for XML Schemas: Part 2: Datatypes
-        $Id: datatypes.dtd,v 1.23 2001/03/16 17:36:30 ht Exp $
-        Note this DTD is NOT normative, or even definitive. - - the
-        prose copy in the datatypes REC is the definitive version
-        (which shouldn't differ from this one except for this comment
-        and entity expansions, but just in case)
-  -->
-<!--
-        This DTD cannot be used on its own, it is intended
-        only for incorporation in XMLSchema.dtd, q.v.
-  -->
-<!-- Define all the element names, with optional prefix -->
-<!ENTITY % simpleType "%p;simpleType">
-<!ENTITY % restriction "%p;restriction">
-<!ENTITY % list "%p;list">
-<!ENTITY % union "%p;union">
-<!ENTITY % maxExclusive "%p;maxExclusive">
-<!ENTITY % minExclusive "%p;minExclusive">
-<!ENTITY % maxInclusive "%p;maxInclusive">
-<!ENTITY % minInclusive "%p;minInclusive">
-<!ENTITY % totalDigits "%p;totalDigits">
-<!ENTITY % fractionDigits "%p;fractionDigits">
-<!ENTITY % length "%p;length">
-<!ENTITY % minLength "%p;minLength">
-<!ENTITY % maxLength "%p;maxLength">
-<!ENTITY % enumeration "%p;enumeration">
-<!ENTITY % whiteSpace "%p;whiteSpace">
-<!ENTITY % pattern "%p;pattern">
-<!--
-        Customisation entities for the ATTLIST of each element
-        type. Define one of these if your schema takes advantage
-        of the anyAttribute='##other' in the schema for schemas
-  -->
-<!ENTITY % simpleTypeAttrs "">
-<!ENTITY % restrictionAttrs "">
-<!ENTITY % listAttrs "">
-<!ENTITY % unionAttrs "">
-<!ENTITY % maxExclusiveAttrs "">
-<!ENTITY % minExclusiveAttrs "">
-<!ENTITY % maxInclusiveAttrs "">
-<!ENTITY % minInclusiveAttrs "">
-<!ENTITY % totalDigitsAttrs "">
-<!ENTITY % fractionDigitsAttrs "">
-<!ENTITY % lengthAttrs "">
-<!ENTITY % minLengthAttrs "">
-<!ENTITY % maxLengthAttrs "">
-<!ENTITY % enumerationAttrs "">
-<!ENTITY % whiteSpaceAttrs "">
-<!ENTITY % patternAttrs "">
-<!-- Define some entities for informative use as attribute
-        types -->
-<!ENTITY % URIref "CDATA">
-<!ENTITY % XPathExpr "CDATA">
-<!ENTITY % QName "NMTOKEN">
-<!ENTITY % QNames "NMTOKENS">
-<!ENTITY % NCName "NMTOKEN">
-<!ENTITY % nonNegativeInteger "NMTOKEN">
-<!ENTITY % boolean "(true|false)">
-<!ENTITY % simpleDerivationSet "CDATA">
-<!--
-        #all or space-separated list drawn from derivationChoice
-  -->
-<!--
-        Note that the use of 'facet' below is less restrictive
-        than is really intended:  There should in fact be no
-        more than one of each of minInclusive, minExclusive,
-        maxInclusive, maxExclusive, totalDigits, fractionDigits,
-        length, maxLength, minLength within datatype,
-        and the min- and max- variants of Inclusive and Exclusive
-        are mutually exclusive. On the other hand,  pattern and
-        enumeration may repeat.
-  -->
-<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
-<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
-<!ENTITY % bounds "%minBound; | %maxBound;">
-<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
-<!ENTITY % ordered "%bounds; | %numeric;">
-<!ENTITY % unordered "%pattern; | %enumeration; | %whiteSpace; | %length; |
-   %maxLength; | %minLength;">
-<!ENTITY % facet "%ordered; | %unordered;">
-<!ENTITY % facetAttr "value CDATA #REQUIRED
-        id ID #IMPLIED">
-<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
-<!ENTITY % facetModel "(%annotation;)?">
-<!ELEMENT %simpleType; ((%annotation;)?, (%restriction; | %list; | %union;))>
-<!ATTLIST %simpleType;
-	name %NCName; #IMPLIED
-	final %simpleDerivationSet; #IMPLIED
-	id ID #IMPLIED
-	%simpleTypeAttrs; 
->
-<!-- name is required at top level -->
-<!ELEMENT %restriction; ((%annotation;)?, (%restriction1; | ((%simpleType;)?, (%facet;)*)), (%attrDecls;))>
-<!ATTLIST %restriction;
-	base %QName; #IMPLIED
-	id ID #IMPLIED
-	%restrictionAttrs; 
->
-<!--
-        base and simpleType child are mutually exclusive,
-        one is required.
-
-        restriction is shared between simpleType and
-        simpleContent and complexContent (in XMLSchema.xsd).
-        restriction1 is for the latter cases, when this
-        is restricting a complex type, as is attrDecls.
-  -->
-<!ELEMENT %list; ((%annotation;)?, (%simpleType;)?)>
-<!ATTLIST %list;
-	itemType %QName; #IMPLIED
-	id ID #IMPLIED
-	%listAttrs; 
->
-<!--
-        itemType and simpleType child are mutually exclusive,
-        one is required
-  -->
-<!ELEMENT %union; ((%annotation;)?, (%simpleType;)*)>
-<!ATTLIST %union;
-	id ID #IMPLIED
-	memberTypes %QNames; #IMPLIED
-	%unionAttrs; 
->
-<!--
-        At least one item in memberTypes or one simpleType
-        child is required
-  -->
-<!ELEMENT %maxExclusive; %facetModel;>
-<!ATTLIST %maxExclusive;
-	%facetAttr; 
-	%fixedAttr; 
-	%maxExclusiveAttrs; 
->
-<!ELEMENT %minExclusive; %facetModel;>
-<!ATTLIST %minExclusive;
-	%facetAttr; 
-	%fixedAttr; 
-	%minExclusiveAttrs; 
->
-<!ELEMENT %maxInclusive; %facetModel;>
-<!ATTLIST %maxInclusive;
-	%facetAttr; 
-	%fixedAttr; 
-	%maxInclusiveAttrs; 
->
-<!ELEMENT %minInclusive; %facetModel;>
-<!ATTLIST %minInclusive;
-	%facetAttr; 
-	%fixedAttr; 
-	%minInclusiveAttrs; 
->
-<!ELEMENT %totalDigits; %facetModel;>
-<!ATTLIST %totalDigits;
-	%facetAttr; 
-	%fixedAttr; 
-	%totalDigitsAttrs; 
->
-<!ELEMENT %fractionDigits; %facetModel;>
-<!ATTLIST %fractionDigits;
-	%facetAttr; 
-	%fixedAttr; 
-	%fractionDigitsAttrs; 
->
-<!ELEMENT %length; %facetModel;>
-<!ATTLIST %length;
-	%facetAttr; 
-	%fixedAttr; 
-	%lengthAttrs; 
->
-<!ELEMENT %minLength; %facetModel;>
-<!ATTLIST %minLength;
-	%facetAttr; 
-	%fixedAttr; 
-	%minLengthAttrs; 
->
-<!ELEMENT %maxLength; %facetModel;>
-<!ATTLIST %maxLength;
-	%facetAttr; 
-	%fixedAttr; 
-	%maxLengthAttrs; 
->
-<!-- This one can be repeated -->
-<!ELEMENT %enumeration; %facetModel;>
-<!ATTLIST %enumeration;
-	%facetAttr; 
-	%enumerationAttrs; 
->
-<!ELEMENT %whiteSpace; %facetModel;>
-<!ATTLIST %whiteSpace;
-	%facetAttr; 
-	%fixedAttr; 
-	%whiteSpaceAttrs; 
->
-<!-- This one can be repeated -->
-<!ELEMENT %pattern; %facetModel;>
-<!ATTLIST %pattern;
-	%facetAttr; 
-	%patternAttrs; 
->

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/rm/docs/images/rm.jpg
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/rm/docs/images/rm.jpg b/products/cloud_controller/modules/distribution/src/site/xdoc/rm/docs/images/rm.jpg
deleted file mode 100644
index d0b4a5f..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/rm/docs/images/rm.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/rm/docs/userguide.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/rm/docs/userguide.xml b/products/cloud_controller/modules/distribution/src/site/xdoc/rm/docs/userguide.xml
deleted file mode 100644
index 01a7613..0000000
--- a/products/cloud_controller/modules/distribution/src/site/xdoc/rm/docs/userguide.xml
+++ /dev/null
@@ -1,160 +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.
-  -->
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html><head>
-  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"></meta>
-  <title>Reliable messaging - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-  </head>
-
-<body>
-<h1>Reliable Messaging</h1>
-
-<p>The goal of Reliable Messaging in Web services is to allow applications to
-send and receive messages in an efficient, and reliable manner
-amidst application, platform, or network failure. The WS-Reliable Messaging
-specification (WS-RM), defines a protocol and a set of mechanisms that ensure
-that messages are delivered reliably between two endpoints.</p>
-
-<p>The WSO2 Web Services Application Server (WSAS) provides a Reliable
-Messaging tool that is used to enable WS-RM to services at global level and service level. If
-you activate reliable messaging for a particular service, your configurations
-will be applied to that particular service. WS-Reliable Messaging handles and
-solves both simple and complex scenarios arising in message transmission.</p>
-
-<p></p>
-
-<h2>Enabling Reliable Messaging</h2>
-<p><strong>Service Level</strong></p>
-<ol>
-  <li>In the navigator, under Manage/Services, click <strong>List</strong>.
-    The <em><strong>Deployed Services</strong></em> page appears. </li>
-  <li>Click the service for which you want to activate reliable messaging.
-    The <em><strong>Service Dashboard</strong></em> page appears. </li>
-  <li>Click <strong>Reliable Messaging</strong> in the Quality of Service
-    Configuration panel. The <em><strong>Enable Reliable
-    Messaging</strong></em> page appears.</li>
-  <li>In the <strong>Enable Reliable Messaging</strong> list, click
-    <strong>Yes</strong>.
-    The current reliable messaging configuration appears.</li>
-  <li>Modify the configuration if required.</li>
-  <li>Click <strong>Finish</strong>.
-    Reliable messaging will be activated for that particular service.</li>
-</ol>
-
-<p><a href="#Sequence">Field Descriptions</a></p>
-
-<p><img alt="" src="./images/rm.jpg" height="462" width="713"/></p>
-
-<p>Figure 1: Enabling Reliable Messaging</p>
-
-<p><strong>Global Level</strong></p>
-
-<p>In the navigator, under Manage/Modules, click click <strong>List</strong>.
-    This will show you all the deployed modules. Then click <strong>Configure</strong> link
-    in front of sandesha2 module. Then you can configure reliable meassaging in the same
-    way as explained above.</p>
-
-<h2><a name="Sequence" id="Sequence">RM Sequence Configuration
-Parameters</a></h2>
-
-<p>WS-RM defines a one way sequence. The sender (source) is called the RMS
-(reliable messaging source) and the receiver (destination) is called the RMD
-(reliable messaging destination). Therefore for in-out operations, the RM
-uses two sequences. For request messages, the server acts as the RMD and for
-response messages, the server act as the RMS.</p>
-
-<table style="width: 100%;" border="1">
-  <tbody>
-    <tr>
-      <td><strong>Inactivity Timeout Interval </strong></td>
-      <td>The maximum inactive time for any RM session. After the sequence
-        timeout, the RM session is terminated.</td>
-    </tr>
-    <tr>
-      <td>I<strong>nactivity Timeout Measure</strong></td>
-      <td>The unit in which the inactivity timeout interval is specified.</td>
-    </tr>
-    <tr>
-      <td><strong>Sequence Removal Timeout Interval</strong></td>
-      <td>If the sequence is inactive during this time period, the sequence
-        is removed from the storage.</td>
-    </tr>
-    <tr>
-      <td><strong>Sequence Removal Timeout Measure </strong></td>
-      <td>The unit in which the sequence removal timeout interval is
-        specified.</td>
-    </tr>
-    <tr>
-      <td><strong>Acknowledgment Interval</strong></td>
-      <td>The time interval that the RMD uses to send the acknowledgments</td>
-    </tr>
-    <tr>
-      <td><strong>Retransmission Interval</strong></td>
-      <td>The time interval after which the RMS retransmits the message if it
-        does not get an acknowledgment </td>
-    </tr>
-    <tr>
-      <td><strong>ExponentialBackoff</strong></td>
-      <td>Whether RMS exponentially increases the retransmission time or
-      not</td>
-    </tr>
-    <tr>
-      <td><strong>Maximum Retransmission Count</strong></td>
-      <td>The maximum number of retransmits the RMS sends</td>
-    </tr>
-  </tbody>
-</table>
-
-<p></p>
-
-<h2>Permanent Storage Parameters</h2>
-
-<table style="width: 100%;" border="1">
-  <caption></caption>
-  <tbody>
-    <tr>
-      <td><strong>Storage Manager</strong></td>
-      <td>The type of storage manager to use.</td>
-    </tr>
-    <tr>
-      <td><strong>Connection String</strong></td>
-      <td>The JDBC connection string to the database.</td>
-    </tr>
-    <tr>
-      <td><strong>Driver Name</strong></td>
-      <td>The driver name to use for this connection.</td>
-    </tr>
-    <tr>
-      <td><strong>User Name</strong></td>
-      <td>The database user name.</td>
-    </tr>
-    <tr>
-      <td><strong>Password</strong></td>
-      <td>The database user password.</td>
-    </tr>
-  </tbody>
-</table>
-
-<p>
-</p>
-
-<p></p>
-</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/docs/rolepermissions.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/docs/rolepermissions.xml b/products/cloud_controller/modules/distribution/src/site/xdoc/role/docs/rolepermissions.xml
deleted file mode 100644
index 0fec059..0000000
--- a/products/cloud_controller/modules/distribution/src/site/xdoc/role/docs/rolepermissions.xml
+++ /dev/null
@@ -1,156 +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.
-  -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-        "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"></meta>
-    <title>Role Permissions - User Guide</title>
-    <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body style="font-family: Times New Roman,Times,serif; font-size: 12pt;">
-
-<h1>Role Permissions</h1>
-
-<p><strong>Note :</strong> This document may refer to Carbon components which are not used in your currently running
-    Carbon instance. So please consider permissions only on Carbon components that you currently have.</p>
-
-<ol>
-    <li>Login to admin console</li>
-
-    <p>A Role must have this permission to log into the admin console. Without logging into the console,
-        you can only have following facilities. If your Carbon instance doesn't contain any of the
-        following functionalities, you won't have permissions to perform anything when you are not logged in.
-    </p>
-    <ul>
-        <li>View a list of services.</li>
-        <li>Access WSDL11 and WSDL12 of those services.</li>
-        <li>Use following tools.<br/>
-            - WSDL2Java, Java2WSDL, WSDL Converter, Try It, Service Validator, Module Validator</li>
-    </ul>
-    <br/>
-
-    <li>Manage system configuration</li>
-
-    <p>A Role must have this permission to use following functionalities.</p>
-
-    <ul>
-        <li>Throttling</li>
-        <li>Caching</li>
-        <li>Reliable Messaging</li>
-        <li>Operation Management</li>
-        <li>Governance</li>
-        <li>Scheduled Tasks</li>
-        <li>Module Management</li>
-        <li>Transport Management</li>
-        <li>JavaScript Services</li>
-        <li>Eventing</li>
-        <li>Logging</li>
-        <li>XKMS configuring</li>
-        <li>Data Service</li>
-        <li>Bam</li>
-        <li>Configure Synapse</li>
-        <li>Identity</li>
-        <li>Registry
-            <ul>
-                <li>Access to Resource Browser</li>
-                <li>Manage properties</li>
-                <li>Manage Activities</li>
-                <li>Manage Association</li>
-                <li>Resource Search</li>
-                <li>Registry Info</li>
-                <li>Registry Profiles</li>
-            </ul>
-        </li>
-        <li>Governance
-            <ul>
-                <li>WSDL import</li>
-                <li>Gadget Source</li>
-                <li>Life cycles</li>
-                <li>Service Addition</li>
-            </ul>
-        </li>
-    </ul>
-    <br/>
-
-    <li>Manage security</li>
-
-    <p>A Role must have this permission to use following functionalities.</p>
-
-    <ul>
-        <li>Security</li>
-        <li>Manage Profiles</li>
-        <li>STS</li>
-        <li>Claim Management</li>
-    </ul>
-    <br/>
-
-    <li>Upload services</li>
-
-    <p>A Role must have this permission to upload following types of services.</p>
-
-    <ul>
-        <li>JAR Services</li>
-        <li>AAR Services</li>
-        <li>POJO Services</li>
-        <li>JAXWS Services</li>
-        <li>EJB Services</li>
-        <li>Axis1 Services</li>
-        <li>BPEL Processes</li>
-    </ul>
-    <br/>
-
-    <li>Manage services</li>
-
-    <p>A Role must have this permission to use following functionalities.</p>
-
-    <ul>
-        <li>All kinds of Axis services (JAR, AAR, POJO, JAXWS, EJB, Axis1)</li>
-        <li>Proxy Services</li>
-        <li>Modules</li>
-        <li>Cluster Management</li>
-    </ul>
-    <br/>
-
-    <li>Manage mediation</li>
-
-    <p>A Role must have this permission to use all kinds of mediation functionalities.</p>
-
-    <ul>
-        <li>Sequences</li>
-        <li>Mediation</li>
-        <li>Local Entry</li>
-    </ul>
-    <br/>
-
-    <li>Monitor system</li>
-
-    <p>A Role must have this permission to use monitoring capabilities.</p>
-
-    <ul>
-        <li>System Statistics</li>
-        <li>Logging</li>
-        <li>Mediation Statistics</li>
-        <li>Mediation Tracer</li>
-    </ul>
-    <br/>
-</ol>
-</body>
-</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/docs/userguide.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/docs/userguide.xml b/products/cloud_controller/modules/distribution/src/site/xdoc/role/docs/userguide.xml
deleted file mode 100644
index a29b43f..0000000
--- a/products/cloud_controller/modules/distribution/src/site/xdoc/role/docs/userguide.xml
+++ /dev/null
@@ -1,113 +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.
-  -->
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html>
-<head>
-    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
-  <title>Role Management - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body style="font-family: Times New Roman,Times,serif; font-size: 12pt;">
-<h1>User Management</h1>
-
-<p>The User Management component of the WSO2 Carbon facilitates the management
-and control of user accounts and user roles at different levels. The key
-functionalities of this component include:</p>
-<ul>
-  <li>Add, modify or remove user accounts</li>
-  <li>Add, modify or remove user roles</li>
-</ul>
-
-<h2>Managing User Roles</h2>
-
-<p>Use the <em><strong>Roles</strong></em> page to add new user roles, modify
-existing roles, or delete existing roles.</p>
-
-<p><img alt="" src="../images/role-main.png" height="207" width="577"/></p>
-
-<p>Figure 1: Roles Management</p>
-
-
-<ol>
-  <li>In the navigator, under <strong>Configure</strong>, click <strong>Users and Roles
-    </strong>. The <em><strong>User Management</strong></em>
-    page appears.</li>
-  <li>Click on <strong>Roles</strong> in the <strong> System User Store</strong>
-    panel. The <em><strong>Roles</strong></em> page appears.</li>
-</ol>
-<ul>
-  <ul>
-    <li>To add a user role,</li>
-  </ul>
-</ul>
-<ol>
-  <ol>
-    <li>Click <strong>Add New Role</strong> on the
-      <em><strong>Roles</strong></em> page.</li>
-    <li>Enter the role name.</li>
-    <li>Click <strong>Next.</strong></li>
-
-    <p><img alt="" src="../images/add-role1.png" height="200" width="500"/></p>
-
-    <p>Figure 2: Add user role</p>
-    <li>In step 2, select the permissions you want to assign to the role. Please refer to the
-    <a href="rolepermissions.html">Role Permissions</a> guide for details on permissions.</li>
-  </ol>
-</ol>
-
-<p><img alt="" src="../images/add-role2.png" height="418" width="471"/></p>
-
-<p>Figure 3: Add permission to user role</p>
-<ul>
-  <li>You can modify role permissions, and re-assign the users belonging to
-    particular role, by clicking <strong>Edit Permissions</strong>, and
-    <strong>Edit Users</strong> respectively on the
-    <em><strong>Roles</strong></em> page.. 
-    
-  </li>
-    <li>In step 3, optionally, you can select the users who
-      belong to that role. (Some external user stores like LDAP, do not allow to create empty roles. In that case this step is mandatory.)
-    </li>
-    <li>Click <strong>Finish</strong>.
-      The role you created will appear in the <em><strong>Roles</strong></em>
-      panel.
-    </li>
-    <p><img alt="" src="../images/add-role3.png" height="300" width="600"/></p>
-
-    <p>Figure 4: Add users to role</p>
-  <li>To delete a role, click <strong>Delete</strong> on the
-    <em><strong>Roles</strong></em> page. Please note that you cannot delete
-    the admin role from the system.</li>
-</ul>
-
-<p><b>Note:</b></p>
-<ul>
-    <li>If you connect to an external user store (like LDAP) in read only mode, you can read existing roles from it
-    but you can not edit/delete the roles.</li>
-    <li>
-       In this case, you can still create new roles which will be managed internally and which are editable.
-    </li>
-    <li>If you connect to the external user store in read/write mode, you can edit the roles in external user store as well.</li>
-</ul>
-
-<p></p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/Thumbs.db
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/Thumbs.db b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/Thumbs.db
deleted file mode 100644
index 4324fd5..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/Thumbs.db and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role1.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role1.png b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role1.png
deleted file mode 100644
index f7e90ff..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role1.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role2.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role2.png b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role2.png
deleted file mode 100644
index 1cde4d7..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role2.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role3.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role3.png b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role3.png
deleted file mode 100644
index 476502f..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add-role3.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add.gif
deleted file mode 100644
index 4bfdd79..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/add.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check0.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check0.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check0.gif
deleted file mode 100644
index 193028b..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check0.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check1.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check1.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check1.gif
deleted file mode 100644
index 1813175..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check1.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check2.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check2.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check2.gif
deleted file mode 100644
index 7d9ceba..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/check2.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/contractall.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/contractall.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/contractall.gif
deleted file mode 100644
index b267f7f..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/contractall.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/delete.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/delete.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/delete.gif
deleted file mode 100644
index 471f55c..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/delete.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/edit.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/edit.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/edit.gif
deleted file mode 100644
index 90bd4dc..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/edit.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/expandall.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/expandall.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/expandall.gif
deleted file mode 100644
index 333180d..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/expandall.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/external-roles.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/external-roles.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/external-roles.gif
deleted file mode 100644
index 1f1f75b..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/external-roles.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/external-users.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/external-users.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/external-users.gif
deleted file mode 100644
index 2786b04..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/external-users.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/permission-edit.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/permission-edit.png b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/permission-edit.png
deleted file mode 100644
index 78161cc..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/permission-edit.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/role-main.png
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/role-main.png b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/role-main.png
deleted file mode 100644
index 1be4bd0..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/role-main.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/test.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/test.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/test.gif
deleted file mode 100644
index e5f63d0..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/test.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/user-roles.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/user-roles.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/user-roles.gif
deleted file mode 100644
index 8d76864..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/user-roles.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/user-store.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/user-store.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/user-store.gif
deleted file mode 100644
index ccf18a3..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/user-store.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/users.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/users.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/users.gif
deleted file mode 100644
index 702ae1c..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/users.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/view.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/view.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/view.gif
deleted file mode 100644
index 9a1c6e2..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/role/images/view.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/role/js/treeview.css
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/role/js/treeview.css b/products/cloud_controller/modules/distribution/src/site/xdoc/role/js/treeview.css
deleted file mode 100644
index b0ee63d..0000000
--- a/products/cloud_controller/modules/distribution/src/site/xdoc/role/js/treeview.css
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
-Copyright (c) 2009, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.7.0
-*/
-.ygtvitem{}.ygtvitem table{margin-bottom:0;border:none;}.ygtvrow td{border:none;padding:0;}.ygtvrow td a{text-decoration:none;}.ygtvtn{width:18px;height:22px;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -5600px no-repeat;}.ygtvtm{width:18px;height:22px;cursor:pointer;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -4000px no-repeat;}.ygtvtmh,.ygtvtmhh{width:18px;height:22px;cursor:pointer;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -4800px no-repeat;}.ygtvtp{width:18px;height:22px;cursor:pointer;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -6400px no-repeat;}.ygtvtph,.ygtvtphh{width:18px;height:22px;cursor:pointer;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -7200px no-repeat;}.ygtvln{width:18px;height:22px;ba
 ckground:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -1600px no-repeat;}.ygtvlm{width:18px;height:22px;cursor:pointer;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 0px no-repeat;}.ygtvlmh,.ygtvlmhh{width:18px;height:22px;cursor:pointer;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -800px no-repeat;}.ygtvlp{width:18px;height:22px;cursor:pointer;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -2400px no-repeat;}.ygtvlph,.ygtvlphh{width:18px;height:22px;cursor:pointer;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -3200px no-repeat;}.ygtvloading{width:18px;height:22px;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-loading.gif) 0 0 no-repeat;}.ygtvdepthcell{width:18px;height:22px;backgroun
 d:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -8000px no-repeat;}.ygtvblankdepthcell{width:18px;height:22px;}.ygtvchildren{}* html .ygtvchildren{height:2%;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;cursor:pointer;}.ygtvcontent{cursor:default;}.ygtvspacer{height:22px;width:12px;}.ygtvfocus{background-color:#c0e0e0;border:none;}.ygtvfocus .ygtvlabel,.ygtvfocus .ygtvlabel:link,.ygtvfocus .ygtvlabel:visited,.ygtvfocus .ygtvlabel:hover{background-color:#c0e0e0;}.ygtvfocus a,.ygtvrow td a{outline-style:none;}.ygtvok{width:18px;height:22px;background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -8800px no-repeat;}.ygtvok:hover{background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -8844px no-repeat;}.ygtvcancel{width:18px;height:22px;background:url(http://yui.yahooapis.com/2.
 7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -8822px no-repeat;}.ygtvcancel:hover{background:url(http://yui.yahooapis.com/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif) 0 -8866px no-repeat;}.ygtv-label-editor{background-color:#f2f2f2;border:1px solid silver;position:absolute;display:none;overflow:hidden;margin:auto;z-index:9000;}.ygtv-edit-TextNode{width:190px;}.ygtv-edit-TextNode .ygtvcancel,.ygtv-edit-TextNode .ygtvok{border:none;}.ygtv-edit-TextNode .ygtv-button-container{float:right;}.ygtv-edit-TextNode .ygtv-input input{width:140px;}.ygtv-edit-DateNode .ygtvcancel{border:none;}.ygtv-edit-DateNode .ygtvok{display:none;}.ygtv-edit-DateNode .ygtv-button-container{text-align:right;margin:auto;}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/docs/server-roles.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/docs/server-roles.xml b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/docs/server-roles.xml
deleted file mode 100644
index 43afccc..0000000
--- a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/docs/server-roles.xml
+++ /dev/null
@@ -1,65 +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.
-  -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-        "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"></meta>
-    <title>Server Roles Management - User Guide</title>
-    <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body style="font-family: Times New Roman,Times,serif; font-size: 12pt;">
-
-<h1>Server Roles</h1>
-
-    <p>A server-role is a parameter that is mentioned in carbon.xml for wso2carbon based products.
-       Each product has a different default ServerRoles property in its carbon.xml. Default server
-       role values for WSO2Carbon based products are as follows.</p>
-
-    <ul>
-        <li>WSO2 AppServer - "ApplicationServer"</li>
-        <li>WSO2 BAM - "BusinessActivityMonitor"</li>
-        <li>WSO2 BPS - "BusinessProcessServer"</li>
-        <li>WSO2 BRS - "BusinessRulesServer"</li>
-        <li>WSO2 DSS - "DataServicesServer"</li>
-		<li>WSO2 ESB - "EnterpriseServiceBus"</li>
-        <li>WSO2 GS - "GadgetServer"</li>
-        <li>WSO2 GReg - "GovernanceRegistry"</li>
-        <li>WSO2 IS - "IdentityServer"</li>
-        <li>WSO2 MS - "MashupServer"</li>
-   </ul>
-  <p>This property value is used for deployment of C-App archives. Generally a C-App consists of a
-     set of resources that is to be deployed in different products. So if an user deploys a C-App
-     in a carbon product all of the resources cannot be deployed in that particular product instance.
-     To sort out which can be deployed and which is can't server-role property is used. When a C-App
-     is being deployed it reads the ServerRoles property in carbon.xml and deploys only the
-     resources which matches the server-role values in there. Here is a example list of C-App
-     resources that map to default server roles.</p>
-  
-  	<ul>
-		<li>ApplicationServer - foo.aar, jax-wx.jar</li>
-		<li>EnterpriseServiceBus - proxy.xml</li>
-		<li>BusinessProcessServer - my_bpel.zip</li>
-		<li>GadgetServer - gadget.xml</li>
-  	</ul>
-
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/docs/userguide.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/docs/userguide.xml b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/docs/userguide.xml
deleted file mode 100644
index 5388784..0000000
--- a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/docs/userguide.xml
+++ /dev/null
@@ -1,93 +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.
-  -->
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html>
-<head>
-    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
-  <title>Server Roles Management - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body style="font-family: Times New Roman,Times,serif; font-size: 12pt;">
-<h1>Server Roles Manager</h1>
-
-<h2>Introduction</h2>
-
-<p><strong>Server Roles Manager</strong> is a component to manage server roles property for
-   WSO2Carbon based products. Read more about <a href="server-roles.html">
-   <strong>Server Roles</strong></a>.</p>
-
-<p>As carbon supports adding different product features into one product instance original concept
-   of the server role property   being added into carbon.xml is hard to manage as users may have to
-   manually modify the carbon.xml to include the server-roles related to the product feature they
-   have added to a carbon product instance. As WSO2 Stratos and WSO2 Mars are introduced above
-   action is not possible for a tenant since the tenant user is remote to the server instance.</p>
-
-<p>To overcome those issues server role manager is introduced. Server role manager will store the
-   both carbon.xml default product roles and user/tenant specified server roles in Configuration
-   registry. So when a C-App is deploying in carbon the C-App deployer will check for afro-mentioned
-   server roles from the registry instead of carbon.xml.</p>
-
-<h2>How It Works</h2>
-
-<p>You can access the server roles manager UI clicking '<strong>Configure -> Server Roles</strong>'
-   or directly from <strong>https://&lt;host&gt;:&lt;port&gt;/carbon/roles-mgt/server-roles-mgt.jsp
-    </strong>.
-
-Server Roles Manager Displays all the server roles included in the current product instance in the
-landing page.
-
-<p><img alt="" src="../images/landingpage.jpg"/></p>
-<p>Figure 1: Server Roles Manager Landing page.</p>
-
-In server roles manager, server roles properties will be of two types, <strong>Default</strong> and
-<strong>Custom</strong>. Default type will be all the server roles picked from that particular
-product instance's carbon.xml and all other server roles added by the user will have type custom.
-</p>
-
-<h2>Functionality</h2>
-
-<p>Server Roles Manager has two basic functionalities,</p>
-	<ol>
-		<li>Add Server Role</li>
-		<p>You can add any textual name as a server role without special characters except
-           underscore.</p>
-		
-		<p><img alt="" src="../images/add_server_role.jpg"/></p>
-		<p>Figure 2: Add Server Role.</p>
-		
-		<p>Click the link '<strong>Add New Server Role</strong>' and a drop down menu will appear to
-           give the new role name. Just enter the preferred server role name than click
-            <strong>Add</strong>, and it will add the server role name.</p>
-		
-		<li>Remove Server Role</li>
-		<p>Simply click the <strong>garbage/delete icon</strong>
-           (<img alt="" src="../images/delete.gif"/>) at the right side of the any existing server
-           role. It will prompt a <strong>confirmation dialog</strong> and once confirmed it will
-           delete the server role.</p>
-		
-		<p><img alt="" src="../images/delete_server_role.jpg"/></p>
-		<p>Figure 2: Remove Server Role.</p>
-	
-	<p><strong>Note: </strong>Here users can even delete a default server role. Once it is deleted
-        when next time loading server role manager will not pick it up from the carbon.xml.</p>
-	</ol>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/add.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/add.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/add.gif
deleted file mode 100644
index 4bfdd79..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/add.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/add_server_role.jpg
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/add_server_role.jpg b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/add_server_role.jpg
deleted file mode 100644
index 2528d2c..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/add_server_role.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/delete.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/delete.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/delete.gif
deleted file mode 100644
index 471f55c..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/delete.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/delete_server_role.jpg
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/delete_server_role.jpg b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/delete_server_role.jpg
deleted file mode 100644
index 3edceb5..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/delete_server_role.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/icon-expanded.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/icon-expanded.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/icon-expanded.gif
deleted file mode 100644
index e9b6739..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/icon-expanded.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/icon-minimized.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/icon-minimized.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/icon-minimized.gif
deleted file mode 100644
index cd9a7a5..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/icon-minimized.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/landingpage.jpg
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/landingpage.jpg b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/landingpage.jpg
deleted file mode 100644
index db1411f..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/landingpage.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/server-role.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/server-role.gif b/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/server-role.gif
deleted file mode 100644
index 019d7b8..0000000
Binary files a/products/cloud_controller/modules/distribution/src/site/xdoc/roles-mgt/images/server-role.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/samples/jms_queue_sample.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/samples/jms_queue_sample.xml b/products/cloud_controller/modules/distribution/src/site/xdoc/samples/jms_queue_sample.xml
deleted file mode 100644
index d9fcb84..0000000
--- a/products/cloud_controller/modules/distribution/src/site/xdoc/samples/jms_queue_sample.xml
+++ /dev/null
@@ -1,267 +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.
-  -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
-        <title>WSO2 MB Samples - JMS Queue Sample</title>
-        <link href="../css/mb-docs.css" rel="stylesheet"/>
-        <link href="../styles/dist-docs.css" rel="stylesheet" type="text/css"
-              media="all"/>
-    </head>
-
-    <body>
-        <p>[<a href="../docs_index.html">Documentation Index</a>] </p>
-            <h1>WSO2 MB - Samples :JMS Queue Sample</h1>
-
-            <p>This guide demonstrates how persistent queues can be created and used in Message
-                Broker using JMS API.
-            </p>
-
-            <h2>Contents</h2>
-
-            <div class="toc">
-                <ul>
-                    <li>
-                        <a href="#jms_queue_sample">JMS Queue Sample</a>
-                    </li>
-                </ul>
-            </div>
-
-            <h2 id="jms_queue_sample">JMS Queue Sample</h2>
-
-            <p>Following JMS client is used to send messages to a known created queue in WSO2 Message Broker. Queue Receiver
-               can receive messages and message is printed in console.
-            </p>
-
-            <p>
-                First log into WSO2 Message Broker Management console and create a queue named 'testQueue'. Click on the
-                'Add' menu item under the 'Queues' menu to create a queue. To create a queue , the only thing needed to
-                be provided is the name of the queue.
-            </p>
-
-            <p>
-                note: To run this code sample, you need to have dependencies located at
-                $CARBON_HOME/client-lib in class path. You need to run QueueReceiver class prior to QueueSender class
-                when testing this sample.
-            </p>
-            <p>
-                Using following QueueSender JMS client messages can be sent to 'testQueue'.
-            </p>
-            <pre xml:space="preserve">
-                package com.org.wso2.mb.jms.sample;
-                /**
-                 * 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.
-                 */
-
-                import javax.jms.JMSException;
-                import javax.jms.Queue;
-                import javax.jms.QueueConnection;
-                import javax.jms.QueueConnectionFactory;
-                import javax.jms.QueueSession;
-                import javax.jms.TextMessage;
-                import javax.naming.Context;
-                import javax.naming.InitialContext;
-                import javax.naming.NamingException;
-                import java.util.Properties;
-
-                public class QueueSender {
-                    public static final String QPID_ICF = "org.wso2.andes.jndi.PropertiesFileInitialContextFactory";
-                    private static final String CF_NAME_PREFIX = "connectionfactory.";
-                    private static final String QUEUE_NAME_PREFIX = "queue.";
-                    private static final String CF_NAME = "qpidConnectionfactory";
-                    String userName = "admin";
-                    String password = "admin";
-
-                    private static String CARBON_CLIENT_ID = "carbon";
-                    private static String CARBON_VIRTUAL_HOST_NAME = "carbon";
-                    private static String CARBON_DEFAULT_HOSTNAME = "localhost";
-                    private static String CARBON_DEFAULT_PORT = "5672";
-                    String queueName = "testQueue";
-
-
-                    public static void main(String[] args) throws NamingException, JMSException {
-                        QueueSender queueSender = new QueueSender();
-                        queueSender.sendMessages();
-                    }
-
-                    public void sendMessages() throws NamingException, JMSException {
-                        Properties properties = new Properties();
-                        properties.put(Context.INITIAL_CONTEXT_FACTORY, QPID_ICF);
-                        properties.put(CF_NAME_PREFIX + CF_NAME, getTCPConnectionURL(userName, password));
-                        properties.put(QUEUE_NAME_PREFIX + queueName, queueName);
-
-                        System.out.println("getTCPConnectionURL(userName,password) = " + getTCPConnectionURL(userName, password));
-
-                        InitialContext ctx = new InitialContext(properties);
-                        // Lookup connection factory
-                        QueueConnectionFactory connFactory = (QueueConnectionFactory) ctx.lookup(CF_NAME);
-                        QueueConnection queueConnection = connFactory.createQueueConnection();
-                        queueConnection.start();
-                        QueueSession queueSession =
-                                queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-
-                        // Send message
-                        Queue queue = (Queue)ctx.lookup(queueName);
-
-                        // create the message to send
-                        TextMessage textMessage = queueSession.createTextMessage("Test Message Content");
-
-                        javax.jms.QueueSender queueSender = queueSession.createSender(queue);
-                        queueSender.send(textMessage);
-
-                        queueSender.close();
-                        queueSession.close();
-                        queueConnection.close();
-
-                    }
-
-                    public String getTCPConnectionURL(String username, String password) {
-                        // amqp://{username}:{password}@carbon/carbon?brokerlist='tcp://{hostname}:{port}'
-                        return new StringBuffer()
-                                .append("amqp://").append(username).append(":").append(password)
-                                .append("@").append(CARBON_CLIENT_ID)
-                                .append("/").append(CARBON_VIRTUAL_HOST_NAME)
-                                .append("?brokerlist='tcp://").append(CARBON_DEFAULT_HOSTNAME).append(":").append(CARBON_DEFAULT_PORT).append("'")
-                                .toString();
-                    }
-
-
-                }
-
-            </pre>
-             <p>
-                 You can view created queue and its increased message count using Message Broker management console.
-             </p>
-            <p>
-                Now to receive the messages from the 'testQueue' following QueueReceiver class can be used. Message received gets printed on the
-                console.
-            </p>
-            <pre xml:space="preserve">
-                package com.org.wso2.mb.jms.sample;
-                /**
-                 * 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.
-                 */
-
-                import javax.jms.*;
-                import javax.naming.Context;
-                import javax.naming.InitialContext;
-                import javax.naming.NamingException;
-                import java.util.Properties;
-
-                public class QueueReceiver {
-
-                    public static final String QPID_ICF = "org.wso2.andes.jndi.PropertiesFileInitialContextFactory";
-                    private static final String CF_NAME_PREFIX = "connectionfactory.";
-                    private static final String CF_NAME = "qpidConnectionfactory";
-                    String userName = "admin";
-                    String password = "admin";
-
-                    private static String CARBON_CLIENT_ID = "carbon";
-                    private static String CARBON_VIRTUAL_HOST_NAME = "carbon";
-                    private static String CARBON_DEFAULT_HOSTNAME = "localhost";
-                    private static String CARBON_DEFAULT_PORT = "5672";
-                    String queueName = "testQueue";
-
-
-                    public static void main(String[] args) throws NamingException, JMSException {
-                        QueueReceiver queueReceiver = new QueueReceiver();
-                        queueReceiver.receiveMessages();
-                    }
-
-                    public void receiveMessages() throws NamingException, JMSException {
-                        Properties properties = new Properties();
-                        properties.put(Context.INITIAL_CONTEXT_FACTORY, QPID_ICF);
-                        properties.put(CF_NAME_PREFIX + CF_NAME, getTCPConnectionURL(userName, password));
-                        properties.put("queue."+ queueName,queueName);
-
-                        System.out.println("getTCPConnectionURL(userName,password) = " + getTCPConnectionURL(userName, password));
-
-                        InitialContext ctx = new InitialContext(properties);
-                        // Lookup connection factory
-                        QueueConnectionFactory connFactory = (QueueConnectionFactory) ctx.lookup(CF_NAME);
-                        QueueConnection queueConnection = connFactory.createQueueConnection();
-                        queueConnection.start();
-                        QueueSession queueSession =
-                                queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-
-                        //Receive message
-                        Queue queue =  (Queue) ctx.lookup(queueName);
-                        MessageConsumer queueReceiver = queueSession.createConsumer(queue);
-                        TextMessage message = (TextMessage) queueReceiver.receive();
-                        System.out.println("Got message ==>" + message.getText());
-
-                        queueReceiver.close();
-                        queueSession.close();
-                        queueConnection.stop();
-                        queueConnection.close();
-
-                    }
-
-                    public String getTCPConnectionURL(String username, String password) {
-                        // amqp://{username}:{password}@carbon/carbon?brokerlist='tcp://{hostname}:{port}'
-                        return new StringBuffer()
-                                .append("amqp://").append(username).append(":").append(password)
-                                .append("@").append(CARBON_CLIENT_ID)
-                                .append("/").append(CARBON_VIRTUAL_HOST_NAME)
-                                .append("?brokerlist='tcp://").append(CARBON_DEFAULT_HOSTNAME).append(":").append(CARBON_DEFAULT_PORT).append("'")
-                                .toString();
-                    }
-
-
-                }
-
-            </pre>
-        <p>
-            Now you should be able to see message count gets decreased for 'testQueue' using Management Console.
-        </p>
-    </body>
-</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f09a628/products/cloud_controller/modules/distribution/src/site/xdoc/samples/jms_topic_sample.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/src/site/xdoc/samples/jms_topic_sample.xml b/products/cloud_controller/modules/distribution/src/site/xdoc/samples/jms_topic_sample.xml
deleted file mode 100644
index ae6a138..0000000
--- a/products/cloud_controller/modules/distribution/src/site/xdoc/samples/jms_topic_sample.xml
+++ /dev/null
@@ -1,259 +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.
-  -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
-        <title>WSO2 MB Samples - JMS Topic Sample</title>
-        <link href="../css/mb-docs.css" rel="stylesheet"/>
-        <link href="../styles/dist-docs.css" rel="stylesheet" type="text/css"
-              media="all"/>
-    </head>
-
-    <body>
-        <p>[<a href="../docs_index.html">Documentation Index</a>]  </p>
-            <h1>WSO2 MB - Samples :JMS Topic Sample</h1>
-
-            <p>This guide demonstrates how topics can be created and used in Message
-                Broker using JMS API.
-            </p>
-
-            <h2>Contents</h2>
-
-            <div class="toc">
-                <ul>
-                    <li>
-                        <a href="#jms_queue_sample">JMS Topic Sample</a>
-                    </li>
-                </ul>
-            </div>
-
-            <h2 id="jms_queue_sample">JMS Topic Sample</h2>
-
-            <p>Following code is used to create a topic, subscribe to it and publish messages. To
-                run this code sample, you need to have dependencies located at
-                $CARBON_HOME/client-lib in class path.
-                To try out following code fragment, Run the Topic Subscriber first and then run
-                Topic Publisher code. You should see, published message in Topic subscriber console.
-
-                You can see created topics in management console as well.
-            </p>
-
-            <p>Topic Publisher: This code is used to publish messages to a given topic.</p>
-
-            <pre xml:space="preserve">
-                package com.org.wso2.mb.jms.sample;
-                /**
-                 * 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.
-                 */
-
-                import javax.jms.JMSException;
-                import javax.jms.QueueSession;
-                import javax.jms.TextMessage;
-                import javax.jms.Topic;
-                import javax.jms.TopicConnection;
-                import javax.jms.TopicConnectionFactory;
-                import javax.jms.TopicSession;
-                import javax.naming.Context;
-                import javax.naming.InitialContext;
-                import javax.naming.NamingException;
-                import java.util.Properties;
-
-
-                public class TopicPublisher {
-                    public static final String QPID_ICF = "org.wso2.andes.jndi.PropertiesFileInitialContextFactory";
-                    private static final String CF_NAME_PREFIX = "connectionfactory.";
-                    private static final String CF_NAME = "qpidConnectionfactory";
-                    String userName = "admin";
-                    String password = "admin";
-
-                    private static String CARBON_CLIENT_ID = "carbon";
-                    private static String CARBON_VIRTUAL_HOST_NAME = "carbon";
-                    private static String CARBON_DEFAULT_HOSTNAME = "localhost";
-                    private static String CARBON_DEFAULT_PORT = "5672";
-                    String topicName = "MYTopic";
-
-
-                    public static void main(String[] args) throws NamingException, JMSException {
-                        TopicPublisher topicPublisher = new TopicPublisher();
-                        topicPublisher.publishMessage();
-                    }
-
-                    public void publishMessage() throws NamingException, JMSException {
-                        Properties properties = new Properties();
-                        properties.put(Context.INITIAL_CONTEXT_FACTORY, QPID_ICF);
-                        properties.put(CF_NAME_PREFIX + CF_NAME, getTCPConnectionURL(userName, password));
-
-                        System.out.println("getTCPConnectionURL(userName,password) = " + getTCPConnectionURL(userName, password));
-
-                        InitialContext ctx = new InitialContext(properties);
-                        // Lookup connection factory
-                        TopicConnectionFactory connFactory = (TopicConnectionFactory) ctx.lookup(CF_NAME);
-                        TopicConnection topicConnection = connFactory.createTopicConnection();
-                        topicConnection.start();
-                        TopicSession topicSession =
-                                topicConnection.createTopicSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-
-                        // Send message
-                        Topic topic = topicSession.createTopic(topicName);
-
-                        // create the message to send
-                        TextMessage textMessage = topicSession.createTextMessage("Test Message");
-
-                        javax.jms.TopicPublisher topicPublisher = topicSession.createPublisher(topic);
-                        topicPublisher.publish(textMessage);
-
-                        topicSession.close();
-                        topicConnection.close();
-                    }
-
-                    public String getTCPConnectionURL(String username, String password) {
-                        // amqp://{username}:{password}@carbon/carbon?brokerlist='tcp://{hostname}:{port}'
-                        return new StringBuffer()
-                                .append("amqp://").append(username).append(":").append(password)
-                                .append("@").append(CARBON_CLIENT_ID)
-                                .append("/").append(CARBON_VIRTUAL_HOST_NAME)
-                                .append("?brokerlist='tcp://").append(CARBON_DEFAULT_HOSTNAME).append(":").append(CARBON_DEFAULT_PORT).append("'")
-                                .toString();
-                    }
-
-                }
-
-
-            </pre>
-
-            <p>Topic Subscriber: This code is used to Subscribe for topics.
-                topicSubscriber.receive() will wait till a message is received and exit the main
-                thread.
-            </p>
-            <pre xml:space="preserve">
-                package com.org.wso2.mb.jms.sample;
-                /**
-                 * 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.
-                 */
-
-                import javax.jms.JMSException;
-                import javax.jms.Message;
-                import javax.jms.QueueSession;
-                import javax.jms.TextMessage;
-                import javax.jms.Topic;
-                import javax.jms.TopicConnection;
-                import javax.jms.TopicConnectionFactory;
-                import javax.jms.TopicSession;
-                import javax.naming.Context;
-                import javax.naming.InitialContext;
-                import javax.naming.NamingException;
-                import java.util.Properties;
-
-
-                public class TopicSubscriber {
-                    public static final String QPID_ICF = "org.wso2.andes.jndi.PropertiesFileInitialContextFactory";
-                    private static final String CF_NAME_PREFIX = "connectionfactory.";
-                    private static final String CF_NAME = "qpidConnectionfactory";
-                    String userName = "admin";
-                    String password = "admin";
-
-                    private static String CARBON_CLIENT_ID = "carbon";
-                    private static String CARBON_VIRTUAL_HOST_NAME = "carbon";
-                    private static String CARBON_DEFAULT_HOSTNAME = "localhost";
-                    private static String CARBON_DEFAULT_PORT = "5672";
-                    String topicName = "MYTopic";
-
-
-                    public static void main(String[] args) throws NamingException, JMSException {
-                        TopicSubscriber topicSubscriber = new TopicSubscriber();
-                        topicSubscriber.subscribe();
-                    }
-
-                    public void subscribe() throws NamingException, JMSException {
-                        Properties properties = new Properties();
-                        properties.put(Context.INITIAL_CONTEXT_FACTORY, QPID_ICF);
-                        properties.put(CF_NAME_PREFIX + CF_NAME, getTCPConnectionURL(userName, password));
-
-                        System.out.println("getTCPConnectionURL(userName,password) = " + getTCPConnectionURL(userName, password));
-
-                        InitialContext ctx = new InitialContext(properties);
-                        // Lookup connection factory
-                        TopicConnectionFactory connFactory = (TopicConnectionFactory) ctx.lookup(CF_NAME);
-                        TopicConnection topicConnection = connFactory.createTopicConnection();
-                        topicConnection.start();
-                        TopicSession topicSession =
-                                topicConnection.createTopicSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-
-                        // Send message
-                        Topic topic = topicSession.createTopic(topicName);
-                        javax.jms.TopicSubscriber topicSubscriber = topicSession.createSubscriber(topic);
-                        Message message = topicSubscriber.receive();
-                        if (message instanceof TextMessage) {
-                            TextMessage textMessage = (TextMessage) message;
-                            System.out.println("textMessage.getText() = " + textMessage.getText());
-                        }
-                        topicSession.close();
-                        topicConnection.close();
-                    }
-
-                    public String getTCPConnectionURL(String username, String password) {
-                        // amqp://{username}:{password}@carbon/carbon?brokerlist='tcp://{hostname}:{port}'
-                        return new StringBuffer()
-                                .append("amqp://").append(username).append(":").append(password)
-                                .append("@").append(CARBON_CLIENT_ID)
-                                .append("/").append(CARBON_VIRTUAL_HOST_NAME)
-                                .append("?brokerlist='tcp://").append(CARBON_DEFAULT_HOSTNAME).append(":").append(CARBON_DEFAULT_PORT).append("'")
-                                .toString();
-                    }
-
-                }
-
-
-            </pre>
-        <p>Also note that a MessageListener can be set to topicSubscriber to receive messages asynchronously.</p>
-    </body>
-</html>
\ No newline at end of file