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

[05/44] applied 0001-Moved-cloud-controller-1.0.1-to-products-and-removed.patch

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples/jms_topic_sample.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples/jms_topic_sample.xml b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples/jms_topic_sample.xml
deleted file mode 100644
index d58dba4..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples/jms_topic_sample.xml
+++ /dev/null
@@ -1,252 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-~ Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-~
-~ WSO2 Inc. licenses this file to you under the Apache License,
-~ Version 2.0 (the "License"); you may not use this file except
-~ in compliance with the License.
-~ You may obtain a copy of the License at
-~
-~ http://www.apache.org/licenses/LICENSE-2.0
-~
-~ Unless required by applicable law or agreed to in writing,
-~ software distributed under the License is distributed on an
-~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~ KIND, either express or implied. See the License for the
-~ specific language governing permissions and limitations
-~ under the License.
--->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 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;
-                /**
-                 * Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-                 *
-                 * Licensed under the Apache License, Version 2.0 (the "License");
-                 * you may not use this file except in compliance with the License.
-                 * You may obtain a copy of the License at
-                 *
-                 * http://www.apache.org/licenses/LICENSE-2.0
-                 *
-                 * Unless required by applicable law or agreed to in writing, software
-                 * distributed under the License is distributed on an "AS IS" BASIS,
-                 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-                 * See the License for the specific language governing permissions and
-                 * limitations under the License.
-                 */
-
-                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;
-                /**
-                 * Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-                 *
-                 * Licensed under the Apache License, Version 2.0 (the "License");
-                 * you may not use this file except in compliance with the License.
-                 * You may obtain a copy of the License at
-                 *
-                 * http://www.apache.org/licenses/LICENSE-2.0
-                 *
-                 * Unless required by applicable law or agreed to in writing, software
-                 * distributed under the License is distributed on an "AS IS" BASIS,
-                 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-                 * See the License for the specific language governing permissions and
-                 * limitations under the License.
-                 */
-
-                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

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples/jms_transport_sample.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples/jms_transport_sample.xml b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples/jms_transport_sample.xml
deleted file mode 100644
index c0fab31..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples/jms_transport_sample.xml
+++ /dev/null
@@ -1,371 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-~ Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-~
-~ WSO2 Inc. licenses this file to you under the Apache License,
-~ Version 2.0 (the "License"); you may not use this file except
-~ in compliance with the License.
-~ You may obtain a copy of the License at
-~
-~ http://www.apache.org/licenses/LICENSE-2.0
-~
-~ Unless required by applicable law or agreed to in writing,
-~ software distributed under the License is distributed on an
-~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~ KIND, either express or implied. See the License for the
-~ specific language governing permissions and limitations
-~ under the License.
--->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 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 Transport 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 Transport Sample</h1>
-        <p>Apache AXIS2 support a JMS transport layer in addition to the existing HTTP transport. This allows Web
-            service clients and servers to communicate via JMS queues and topics instead of HTTP connections.
-            Both one-way and synchronous two-way requests are supported.</p>
-        <p>The benefits of using JMS as an alternative to HTTP include the following:</p>
-        <ul>
-            <li>
-                Request and response messages are sent by way of reliable messaging.
-            </li>
-            <li>One-way requests allow client and server to be more loosely-coupled (the server does not have to be
-                active when the client sends the one-way request).
-            </li>
-            <li>One-way requests can be sent to multiple servers simultaneously through the use of a topic.
-            </li>
-        </ul>
-        <p>If a web service is to be accessible on the JMS transport, then the corresponding WSDL document should include
-            a JMS binding and a SOAP address which specifies a JMS endpoint URL string. A JMS binding is simply
-            a <b>wsdl:binding </b> element which contains a <b
-            >wsdlsoap:binding</b> element whose transport attribute ends in soap/jms,
-            rather than the normal soap/http value. In addition to the JMS binding, a <b>wsdl:port</b> element which references
-            the JMS binding should be included in the <b>wsdl:service</b> element within the WSDL document. This <b>wsdl:port</b> element
-            should contain a <b>wsdlsoap:address</b> element whose location attribute specifies a JMS endpoint URL string.
-        </p>
-        <p>
-            You also need to decide on the names and types of JMS objects that your application will use. For example,
-            you must decide whether your web service will receive its requests from a queue or a topic. You also must
-            decide whether to use a secure destination (queue or topic). Finally, you will need to decide on the names
-            for your destination, connection factory, and listener port.   The following list provides an example of the
-            names that might be used for the sample MessageReceiveService web service:
-        </p>
-        <table>
-            <tr>
-                <td>Queue</td>  <td>MessageReceiveService, JNDI name: MessageReceiveService</td>
-            </tr>
-            <tr>
-                <td>QueueConnectionFactory</td> <td></td>
-            </tr>
-        </table>
-        <h2>Creating A Simple Service</h2>
-        <p>Following java class with its two operations are hosted in Axis2 server as a web service</p>
-        <pre xml:space="preserve">
-            /*
-            *  Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-            *
-            *  WSO2 Inc. licenses this file to you under the Apache License,
-            *  Version 2.0 (the "License"); you may not use this file except
-            *  in compliance with the License.
-            *  You may obtain a copy of the License at
-            *
-            *    http://www.apache.org/licenses/LICENSE-2.0
-            *
-            * Unless required by applicable law or agreed to in writing,
-            * software distributed under the License is distributed on an
-            * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-            * KIND, either express or implied.  See the License for the
-            * specific language governing permissions and limitations
-            * under the License.
-            */
-
-            public class MessageReceiveService {
-                public void receive(String message) {
-                    System.out.println("Got the message ==> " + message);
-                }
-                public String echo(String message) {
-                    System.out.println("Got the message ==> " + message);
-                    return message;
-                }
-            }
-        </pre>
-        <p>As WSDL of the service following will be used. Note how JMS bindings are defined. receive operation is an
-            "in only" operation having only input message. But echo is "in-out" operation which is having an output
-            message as well as an input message.
-        </p>
-
-        <pre xml:space="preserve">
-            &lt;wsdl:definitions xmlns:wsdl=&quot;http://schemas.xmlsoap.org/wsdl/&quot; xmlns:ns1=&quot;http://org.apache.axis2/xsd&quot; xmlns:ns=&quot;http://transport.sample.org&quot; xmlns:wsaw=&quot;http://www.w3.org/2006/05/addressing/wsdl&quot; xmlns:http=&quot;http://schemas.xmlsoap.org/wsdl/http/&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:mime=&quot;http://schemas.xmlsoap.org/wsdl/mime/&quot; xmlns:soap=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot; xmlns:soap12=&quot;http://schemas.xmlsoap.org/wsdl/soap12/&quot; targetNamespace=&quot;http://transport.sample.org&quot;&gt;
-                &lt;wsdl:types&gt;
-                    &lt;xs:schema attributeFormDefault=&quot;qualified&quot; elementFormDefault=&quot;unqualified&quot; targetNamespace=&quot;http://transport.sample.org&quot;&gt;
-                        &lt;xs:element name=&quot;receive&quot;&gt;
-                            &lt;xs:complexType&gt;
-                                &lt;xs:sequence&gt;
-                                    &lt;xs:element minOccurs=&quot;0&quot; name=&quot;message&quot; nillable=&quot;true&quot; type=&quot;xs:string&quot;/&gt;
-                                &lt;/xs:sequence&gt;
-                            &lt;/xs:complexType&gt;
-                        &lt;/xs:element&gt;
-                        &lt;xs:element name=&quot;echo&quot;&gt;
-                            &lt;xs:complexType&gt;
-                                &lt;xs:sequence&gt;
-                                    &lt;xs:element minOccurs=&quot;0&quot; name=&quot;message&quot; nillable=&quot;true&quot; type=&quot;xs:string&quot;/&gt;
-                                &lt;/xs:sequence&gt;
-                            &lt;/xs:complexType&gt;
-                        &lt;/xs:element&gt;
-                        &lt;xs:element name=&quot;echoResponse&quot;&gt;
-                            &lt;xs:complexType&gt;
-                                &lt;xs:sequence&gt;
-                                    &lt;xs:element minOccurs=&quot;0&quot; name=&quot;return&quot; nillable=&quot;true&quot; type=&quot;xs:string&quot;/&gt;
-                                &lt;/xs:sequence&gt;
-                            &lt;/xs:complexType&gt;
-                        &lt;/xs:element&gt;
-                    &lt;/xs:schema&gt;
-                &lt;/wsdl:types&gt;
-                &lt;wsdl:message name=&quot;echoRequest&quot;&gt;
-                    &lt;wsdl:part name=&quot;parameters&quot; element=&quot;ns:echo&quot;/&gt;
-                &lt;/wsdl:message&gt;
-                &lt;wsdl:message name=&quot;echoResponse&quot;&gt;
-                    &lt;wsdl:part name=&quot;parameters&quot; element=&quot;ns:echoResponse&quot;/&gt;
-                &lt;/wsdl:message&gt;
-                &lt;wsdl:message name=&quot;receiveRequest&quot;&gt;
-                    &lt;wsdl:part name=&quot;parameters&quot; element=&quot;ns:receive&quot;/&gt;
-                &lt;/wsdl:message&gt;
-                &lt;wsdl:portType name=&quot;MessageReceiveServicePortType&quot;&gt;
-                    &lt;wsdl:operation name=&quot;echo&quot;&gt;
-                        &lt;wsdl:input message=&quot;ns:echoRequest&quot; wsaw:Action=&quot;urn:echo&quot;/&gt;
-                        &lt;wsdl:output message=&quot;ns:echoResponse&quot; wsaw:Action=&quot;urn:echoResponse&quot;/&gt;
-                    &lt;/wsdl:operation&gt;
-                    &lt;wsdl:operation name=&quot;receive&quot;&gt;
-                        &lt;wsdl:input message=&quot;ns:receiveRequest&quot; wsaw:Action=&quot;urn:receive&quot;/&gt;
-                    &lt;/wsdl:operation&gt;
-                &lt;/wsdl:portType&gt;
-                &lt;wsdl:binding name=&quot;MessageReceiveServiceSoap11Binding&quot; type=&quot;ns:MessageReceiveServicePortType&quot;&gt;
-                    &lt;soap:binding transport=&quot;http://schemas.xmlsoap.org/soap/http&quot; style=&quot;document&quot;/&gt;
-                    &lt;wsdl:operation name=&quot;echo&quot;&gt;
-                        &lt;soap:operation soapAction=&quot;urn:echo&quot; style=&quot;document&quot;/&gt;
-                        &lt;wsdl:input&gt;
-                            &lt;soap:body use=&quot;literal&quot;/&gt;
-                        &lt;/wsdl:input&gt;
-                        &lt;wsdl:output&gt;
-                            &lt;soap:body use=&quot;literal&quot;/&gt;
-                        &lt;/wsdl:output&gt;
-                    &lt;/wsdl:operation&gt;
-                    &lt;wsdl:operation name=&quot;receive&quot;&gt;
-                        &lt;soap:operation soapAction=&quot;urn:receive&quot; style=&quot;document&quot;/&gt;
-                        &lt;wsdl:input&gt;
-                            &lt;soap:body use=&quot;literal&quot;/&gt;
-                        &lt;/wsdl:input&gt;
-                    &lt;/wsdl:operation&gt;
-                &lt;/wsdl:binding&gt;
-                &lt;wsdl:binding name=&quot;MessageReceiveServiceSoap12Binding&quot; type=&quot;ns:MessageReceiveServicePortType&quot;&gt;
-                    &lt;soap12:binding transport=&quot;http://schemas.xmlsoap.org/soap/http&quot; style=&quot;document&quot;/&gt;
-                    &lt;wsdl:operation name=&quot;echo&quot;&gt;
-                        &lt;soap12:operation soapAction=&quot;urn:echo&quot; style=&quot;document&quot;/&gt;
-                        &lt;wsdl:input&gt;
-                            &lt;soap12:body use=&quot;literal&quot;/&gt;
-                        &lt;/wsdl:input&gt;
-                        &lt;wsdl:output&gt;
-                            &lt;soap12:body use=&quot;literal&quot;/&gt;
-                        &lt;/wsdl:output&gt;
-                    &lt;/wsdl:operation&gt;
-                    &lt;wsdl:operation name=&quot;receive&quot;&gt;
-                        &lt;soap12:operation soapAction=&quot;urn:receive&quot; style=&quot;document&quot;/&gt;
-                        &lt;wsdl:input&gt;
-                            &lt;soap12:body use=&quot;literal&quot;/&gt;
-                        &lt;/wsdl:input&gt;
-                    &lt;/wsdl:operation&gt;
-                &lt;/wsdl:binding&gt;
-                &lt;wsdl:service name=&quot;MessageReceiveService&quot;&gt;
-                    &lt;wsdl:port name=&quot;MessageReceiveServiceJmsSoap11Endpoint&quot; binding=&quot;ns:MessageReceiveServiceSoap11Binding&quot;&gt;
-                        &lt;soap:address location=&quot;jms:/MessageReceiveService?transport.jms.DestinationType=queue&amp;amp;transport.jms.ContentTypeProperty=Content-Type&amp;amp;java.naming.provider.url=conf/jndi.properties&amp;amp;java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory&amp;amp;transport.jms.ConnectionFactoryType=queue&amp;amp;transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&quot;/&gt;
-                    &lt;/wsdl:port&gt;
-                    &lt;wsdl:port name=&quot;MessageReceiveServiceJmsSoap12Endpoint&quot; binding=&quot;ns:MessageReceiveServiceSoap12Binding&quot;&gt;
-                        &lt;soap12:address location=&quot;jms:/MessageReceiveService?transport.jms.DestinationType=queue&amp;amp;transport.jms.ContentTypeProperty=Content-Type&amp;amp;java.naming.provider.url=conf/jndi.properties&amp;amp;java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory&amp;amp;transport.jms.ConnectionFactoryType=queue&amp;amp;transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&quot;/&gt;
-                    &lt;/wsdl:port&gt;
-                &lt;/wsdl:service&gt;
-            &lt;/wsdl:definitions&gt;
-        </pre>
-
-         <h2>Axi2 Configurations</h2>
-        <p>axi2.xml file, which configures the axis2 server on which above service is hosted, should be enabled with JMS
-            transport.</p>
-        <pre xml:space="preserve">
-            &lt;transportReceiver name=&quot;jms&quot; class=&quot;org.apache.axis2.transport.jms.JMSListener&quot;&gt;
-                &lt;parameter name=&quot;default&quot; locked=&quot;false&quot;&gt;
-                &lt;parameter name=&quot;java.naming.factory.initial&quot; locked=&quot;false&quot;&gt;org.wso2.andes.jndi.PropertiesFileInitialContextFactory&lt;/parameter&gt;
-                &lt;parameter name=&quot;java.naming.provider.url&quot; locked=&quot;false&quot;&gt;conf/jndi.properties&lt;/parameter&gt;
-                &lt;parameter name=&quot;transport.jms.ConnectionFactoryJNDIName&quot; locked=&quot;false&quot;&gt;QueueConnectionFactory&lt;/parameter&gt;
-                &lt;parameter name=&quot;transport.jms.ConnectionFactoryType&quot; locked=&quot;false&quot;&gt;queue&lt;/parameter&gt;
-                &lt;/parameter&gt;
-            &lt;/transportReceiver&gt;
-        </pre>
-        <br></br>
-        <pre xml:space="preserve">
-            <transportSender name="jms" class="org.apache.axis2.transport.jms.JMSSender"/>
-        </pre>
-
-        <h2>Message Broker Bindings</h2>
-        <p>conf/jndi.properties file is having all JMS bindings (Queue/QueueConnectionFactory) mentioned above.</p>
-
-        <pre xml:space="preserve">
-
-            connectionfactory.QueueConnectionFactory=amqp://admin:admin@clientid/carbon?brokerlist='tcp://localhost:5672'
-            queue.MessageReceiveService=MessageReceiveService
-        </pre>
-        <p>Note that WSO2 Message Broker should be running at localhost port 5672 as per this sample.</p>
-        <h2>Start Axis2 Server</h2>
-        <p>Axis2 server is started with above configurations, hosting the above MessageReceiveService service.</p>
-        <pre xml:space="preserve">
-
-            private AxisServer axisServer;
-            public void start(){
-            try {
-                ConfigurationContext configurationContext =
-                ConfigurationContextFactory.createConfigurationContextFromFileSystem(null,"conf/axis2.xml");
-                this.axisServer = new AxisServer();
-                this.axisServer.setConfigurationContext(configurationContext);
-                this.axisServer.deployService(MessageReceiveService.class.getName());
-                try {
-                Thread.sleep(2000);
-                } catch (InterruptedException e) {
-                }
-                } catch (AxisFault axisFault) {
-                axisFault.printStackTrace();
-            } catch (Exception e) {
-                e.printStackTrace();
-            }
-            }
-        </pre>
-
-        <h2>Send A Message To MessageReceiveService Service</h2>
-        <p>Now using axis2_client.xml as the config file a ConfigurationContext can be created and a message can be sent
-            to the service. Note that fist "in-only" message is sent and then "in-out" message is sent. Client stub is
-            generated from the above WSDL using WSDL-To-Java tool (when complied using build.xml at &amp; MB_HOME &amp;
-            /Samples/jmstransport using ant this will be done).
-        </p>
-        <p>Using WSO2 MB management console you can see how  MessageReceiveService queue is created. See Message Broker
-            Queues - User Guide for more information.</p>
-        <pre xml:space="preserve">
-
-            public void sendMessage(){
-            try {
-
-            ConfigurationContext configurationContext =
-            ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, "conf/axis2_client.xml");
-            MessageReceiveServiceStub stub = new MessageReceiveServiceStub(configurationContext,"http://localhost:8080/axis2/services/MessageReceiveService.MessageReceiveServiceHttpSoap11Endpoint/");
-            //first send the in only message
-            stub.receive("Test message to receive ");
-            // inout message
-            String response = stub.echo("Test message to echo");
-            System.out.println("Response ==> " + response);
-
-            try {
-            Thread.sleep(10000);
-            } catch (InterruptedException e) {
-            e.printStackTrace();
-            }
-            } catch (AxisFault axisFault) {
-            axisFault.printStackTrace();
-            } catch (java.rmi.RemoteException e) {
-            e.printStackTrace();
-            }
-            }
-        </pre>
-        <p>
-            The complete sample code demonstrating the scenario will be as follows.
-        </p>
-        <pre xml:space="preserve">
-            /*
-*  Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-*  WSO2 Inc. licenses this file to you under the Apache License,
-*  Version 2.0 (the "License"); you may not use this file except
-*  in compliance with the License.
-*  You may obtain a copy of the License at
-*
-*    http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-
-import org.apache.axis2.AxisFault;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.axis2.context.ConfigurationContextFactory;
-import org.apache.axis2.engine.AxisServer;
-import org.sample.transport.stub.MessageReceiveServiceStub;
-
-public class JMSTransportClient {
-        private AxisServer axisServer;
-        public void start(){
-            try {
-                ConfigurationContext configurationContext =
-                        ConfigurationContextFactory.createConfigurationContextFromFileSystem(null,"conf/axis2.xml");
-                this.axisServer = new AxisServer();
-                this.axisServer.setConfigurationContext(configurationContext);
-                this.axisServer.deployService(MessageReceiveService.class.getName());
-                try {
-                    Thread.sleep(2000);
-                } catch (InterruptedException e) {
-                }
-            } catch (AxisFault axisFault) {
-                axisFault.printStackTrace();
-            } catch (Exception e) {
-                e.printStackTrace();
-            }
-        }
-        public void stop(){
-            try {
-                this.axisServer.stop();
-            } catch (AxisFault axisFault) {
-                axisFault.printStackTrace();
-            }
-        }
-        public void sendMessage(){
-            try {
-
-                ConfigurationContext configurationContext =
-                        ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, "conf/axis2_client.xml");
-                MessageReceiveServiceStub stub = new                    MessageReceiveServiceStub(configurationContext,"http://localhost:8080/axis2/services/MessageReceiveService.MessageReceiveServiceHttpSoap11Endpoint/");
-                //first send the in only message
-                stub.receive("Test message to receive ");
-                // inout message
-                String response = stub.echo("Test message to echo");
-                System.out.println("Response ==> " + response);
-
-                try {
-                    Thread.sleep(10000);
-                } catch (InterruptedException e) {
-                    e.printStackTrace();
-                }
-            } catch (AxisFault axisFault) {
-                axisFault.printStackTrace();
-            } catch (java.rmi.RemoteException e) {
-                e.printStackTrace();
-            }
-        }
-        public static void main(String[] args) {
-
-            JMSTransportClient jmsTransportClient = new JMSTransportClient();
-            jmsTransportClient.start();
-            jmsTransportClient.sendMessage();
-            jmsTransportClient.stop();
-        }
-
-    }
-        </pre>
-    </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples_index.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples_index.xml b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples_index.xml
deleted file mode 100644
index 4a40608..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/samples_index.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!DOCTYPE html
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
-        <title>
-            WSO2 MB - Samples Guide Index
-        </title>
-        <link href="css/mb-docs.css" rel="stylesheet"/>
-        <link href="styles/dist-docs.css" rel="stylesheet" type="text/css"
-              media="all"/>
-    </head>
-
-    <body>
-        [
-        <a href="docs_index.html">Documentation Index</a>
-        ]
-        <h1>Running the WSO2 Message Broker Server (MB) Samples</h1>
-
-        <h2>
-            <a name="TOC">Table of Contents</a>
-        </h2>
-
-        <div class="section-content">
-            <ul>
-                <li>
-                    <a href="samples_index.html#Overview">Overview</a>
-                </li>
-                <li>
-                    <a href="samples/jms_queue_sample.html">JMS Queue Sample</a>
-                </li>
-                <li>
-                    <a href="samples/jms_topic_sample.html">JMS Topic Sample</a>
-                </li>
-                <li>
-                    <a href="samples/jms_transport_sample.html">JMS Transport Sample</a>
-                </li>
-                <li>
-                    <a href="samples/web_service_client_sample.html">Web Service Eventing Sample</a>
-                </li>
-            </ul>
-        </div>
-        <h2 id="Overview">Overview</h2>
-        <p>
-            This set of samples demonstrates the features in Message Broker product to use in
-            various situations. We will use JMS APIs with Message Broker to
-            publish,subscribe messages.
-        </p>
-        <p>
-            The source code used in the samples can be found in $CARBON_HOME/samples.
-        </p>
-
-        <p>
-            Please refers the
-            <a href="user_guide.html">User Guide</a>
-            to get familiar with Message Broker product.
-        </p>
-    </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/custom_search.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/custom_search.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/custom_search.png
deleted file mode 100644
index 4dcfc1b..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/custom_search.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/date.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/date.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/date.png
deleted file mode 100644
index bf70c91..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/date.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/load_filter.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/load_filter.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/load_filter.png
deleted file mode 100644
index b430ae4..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/load_filter.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/main.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/main.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/main.png
deleted file mode 100644
index 537cc9a..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/docs/images/main.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/arrow-down.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/arrow-down.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/arrow-down.png
deleted file mode 100644
index b60cc35..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/arrow-down.png and /dev/null differ

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

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

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/r01.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/r01.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/r01.gif
deleted file mode 100644
index 9c7b922..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/r01.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/r04.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/r04.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/r04.gif
deleted file mode 100644
index 02d1276..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/r04.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-content.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-content.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-content.png
deleted file mode 100644
index ae951e8..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-content.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-resources.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-resources.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-resources.gif
deleted file mode 100644
index b637519..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-resources.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-top.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-top.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-top.png
deleted file mode 100644
index c288eaf..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search-top.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search.gif
deleted file mode 100644
index 86f81ed..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/search/images/search.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/activate_security_key_stores.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/activate_security_key_stores.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/activate_security_key_stores.png
deleted file mode 100644
index f85b4b2..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/activate_security_key_stores.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/activate_security_user_groups.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/activate_security_user_groups.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/activate_security_user_groups.png
deleted file mode 100644
index 5148022..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/activate_security_user_groups.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/default_scenarios.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/default_scenarios.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/default_scenarios.png
deleted file mode 100644
index b549445..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/default_scenarios.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/no_security.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/no_security.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/no_security.png
deleted file mode 100644
index bb0eb5f..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/docs/images/no_security.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario12.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario12.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario12.png
deleted file mode 100644
index 552b045..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario12.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario13.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario13.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario13.png
deleted file mode 100644
index eea4042..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario13.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario14.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario14.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario14.png
deleted file mode 100644
index 3cb7ea6..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario14.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario15.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario15.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario15.png
deleted file mode 100644
index f96dd3c..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario15.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario16.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario16.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario16.png
deleted file mode 100644
index 6095861..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario16.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario2.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario2.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario2.png
deleted file mode 100644
index 751aa5d..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario2.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario3.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario3.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario3.png
deleted file mode 100644
index 2c156a2..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario3.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario4.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario4.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario4.png
deleted file mode 100644
index 952e6a6..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario4.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario5.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario5.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario5.png
deleted file mode 100644
index 6e2b1b1..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario5.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario6.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario6.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario6.png
deleted file mode 100644
index 6dc2b62..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario6.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario7.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario7.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario7.png
deleted file mode 100644
index df3876b..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario7.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario9.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario9.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario9.png
deleted file mode 100644
index c58d683..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/scenario9.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/view.png
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/view.png b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/view.png
deleted file mode 100644
index 2fbe195..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/securityconfig/images/view.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/docs/images/server-admin.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/docs/images/server-admin.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/docs/images/server-admin.gif
deleted file mode 100644
index 4dea3d3..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/docs/images/server-admin.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/docs/userguide.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/docs/userguide.xml b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/docs/userguide.xml
deleted file mode 100644
index d89d17f..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/docs/userguide.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<!--
- ~ Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<html>
-<head>
-    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
-  <title>Server Admin - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body>
-<h1>Server Administration</h1>
-
-<p>You can use the Shutdown/Restart feature to shutdown and restart the
-server. The machine can be shutdown gracefully or�forcefully.</p>
-<ol>
-  <li>In the navigator, under Manage, click
-    <strong>Shutdown/Restart</strong>.�The
-    <em><strong>Shutdown/Restart</strong></em> page appears.</li>
-  <li>Click on the shutdown or restart option as applicable. The available
-    options are:
-
-    <ul>
-      <li>Graceful shutdown</li>
-      <li>Forced shutdown</li>
-      <li>Graceful Restart</li>
-      <li>Immediate Restart</li>
-    </ul>
-  </li>
-</ol>
-
-<p>Each option is described on the <span
-style="font-weight: bold; font-style: italic;">Shutdown/Restart</span> page.</p>
-
-<p><img alt="Server Admin" src="images/server-admin.gif"/></p>
-
-<p style="text-align: center;">Figure 1: Shutdown/Restart the Server</p>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/images/graceful-shutdown.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/images/graceful-shutdown.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/images/graceful-shutdown.gif
deleted file mode 100644
index 0372501..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/images/graceful-shutdown.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/images/restart.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/images/restart.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/images/restart.gif
deleted file mode 100644
index d60c29e..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/server-admin/images/restart.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/Engaging module.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/Engaging module.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/Engaging module.JPG
deleted file mode 100644
index 0ebc55a..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/Engaging module.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/QoS.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/QoS.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/QoS.JPG
deleted file mode 100644
index b5f06d2..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/QoS.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/Servicegroup Dashboard.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/Servicegroup Dashboard.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/Servicegroup Dashboard.JPG
deleted file mode 100644
index e9d6d1c..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/Servicegroup Dashboard.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/deployedservices.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/deployedservices.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/deployedservices.JPG
deleted file mode 100644
index 732bdd5..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/deployedservices.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/response time graph.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/response time graph.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/response time graph.JPG
deleted file mode 100644
index 48ba4b5..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/response time graph.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service details.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service details.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service details.JPG
deleted file mode 100644
index 85c8cd1..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service details.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service group parameters.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service group parameters.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service group parameters.JPG
deleted file mode 100644
index d732ca1..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service group parameters.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service parameters.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service parameters.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service parameters.JPG
deleted file mode 100644
index c1a92b8..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service parameters.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service.JPG
deleted file mode 100644
index e3ab6a6..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/service.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/statistics.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/statistics.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/statistics.JPG
deleted file mode 100644
index abcf9a6..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/statistics.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/try the service.JPG
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/try the service.JPG b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/try the service.JPG
deleted file mode 100644
index ba22533..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/images/try the service.JPG and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/userguide.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/userguide.xml b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/userguide.xml
deleted file mode 100644
index ec85cb5..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/docs/userguide.xml
+++ /dev/null
@@ -1,417 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<html>
-<head>
-  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"></meta>
-  <title>Service List - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body>
-<h1>Deployed Services</h1>
-<a href="#Services">Services</a>
-<a href="#L2875">Service Groups</a>
-<a href="#Policies">Policies</a>
-<a href="#Parameters">Parameters</a>
-<a href="#WSDL">WSDL files</a>
-<a href="#It">Try It</a>
-
-The <em><strong>Service List</strong></em> page allows you to 
-manage different kinds of services and service groups. If your service is
-successful, it will appear on this page. If not, it will be indicated by
-the Faulty Service Groups link (which appears in red.)
-
-<p><img alt="" src="images/deployedservices.JPG" height="339"
-width="954"/></p>
-<p>Figure 1: Deployed Services</p>
-
-<h2><a name="Services" id="Services">Services</a></h2>
-
-<p>The WSO2 Carbon provides many tools to manage the services that have been
-deployed successfully with WSO2Server. When you deploy a single service in a
-service archive, the archive file name will always be used as the service
-file name, unless you have a name attributed to the service file. If the name
-of the service archive file is Test.aar, then the name of the service will be
-Test.</p>
-
-<p></p>
-
-The Service Details page provides detailed information about a particular service.
-
-<p><img alt="" src="images/service.JPG" height="552" width="959"/></p>
-
-<p>Figure 2: Service Dashboard</p>
-
-<h3>Service Details</h3>
-
-<p>The Service Details panel provides the details of the service.</p>
-<ol>
-  <li>Service Name</li>
-  <li>Service Description</li>
-  <li>Service Group Name</li>
-  <li>Deployment Scope</li>
-  <li>Service Type</li>
-</ol>
-
-<p><img alt="" src="images/service%20details.JPG" height="191" width="413"/></p>
-
-<p>Figure 3: Service Details</p>
-
-<h3>Service Statistics</h3>
-
-<p>The Statistics panel provides statistics of the service. </p>
-<ol>
-  <li>Request Count</li>
-  <li>Response Count</li>
-  <li>Fault Count</li>
-  <li>Max,Min,Average Response Times</li>
-</ol>
-
-<p><img alt="" src="images/statistics.JPG" height="215" width="525"/></p>
-<p>Figure 4: Service Statistics</p>
-
-<h3>Response Time</h3>
-
-<p>The WSO2 Carbon provides a graphical view of the system response time. </p>
-
-<p><img alt="" src="images/response%20time%20graph.JPG" height="339" width="524"/></p>
-
-<p>Figure 5: Response Time vs Time</p>
-
-<h3>Endpoints</h3>
-
-<p>The WSO2 server is set to two endpoints by default.</p>
-<ol>
-  <li>https://10.100.1.147:9443/services/HelloService/ </li>
-  <li>http://10.100.1.147:9763/services/HelloService/ </li>
-</ol>
-
-<p></p>
-
-<h3>Quality of Service Configuration</h3>
-
-<p>The WSO2 Carbon provides a number of tools to manage the service quality.
-You can activate the tools individually as required.The tools incorporated
-into Carbon are: </p>
-<ol>
-  <li><a
-    href="../../securityconfig/docs/userguide.html">Security</a>
-  </li>
-  <li><a href="../../rm/docs/userguide.html">Reliable
-    Messaging</a><a></a></li>
-  <li><a
-    href="../../caching/docs/userguide.html">Response
-    Caching</a><a></a></li>
-  <li><a
-    href="../../throttling/docs/userguide.html">Access
-    Throttling</a>
-  </li>
-  <li><a
-    href="../../policyeditor/docs/userguide.html">Policies</a><a></a></li>
-  <li><a
-    href="../../transport-mgt/docs/userguide.html">Transports</a><a></a></li>
-  <li><a
-    href="../../modulemgt/docs/userguide.html">Modules</a><a></a></li>
-  <li><a
-    href="../../operation/docs/userguide.html">Operations</a><a></a></li>
-  <li>Parameters
-  </li>
-  <li>MTOM
-    SOAP Message Transmission Optimization Mechanism (MTOM) is a widely used
-    mechanism for sending attachments with SOAP. By default, MTOM is set to
-    optional. You can set it to True or False. </li>
-</ol>
-
-<p><img alt="" src="images/QoS.JPG" height="221" width="411"/></p>
-
-<p>Figure 6: Quality of Service Configuration</p>
-
-<p><strong>Note</strong>: Help files for each tool are available from their
-respective pages.</p>
-
-<h3>Client Operation</h3>
-
-<p>WSO2 Carbon provides two client operations. They are, Try this service and
-Generate the Client.</p>
-
-<h4>Try this service</h4>
-
-<p><img alt="" src="images/client%20operations.JPG" height="118" width="522"/></p>
-
-<p>Figure 7: Client Operations</p>
-
-<p></p>
-
-<p>You can check whether your service provides the desired output using the TryIt option.
-    When you click <strong>Try this service</strong>, you will be directed to
-the page where the operations available for your service will be displayed.
-When you give the parameters for the operation, a button corresponding to
-your service appears. You can find further details <a
-href="../../tryit/docs/userguide.html">here</a>. </p>
-
-<p><img alt="" src="images/try%20the%20service.JPG" height="242" width="570"/></p>
-
-<p>Figure 8: Check the Service</p>
-
-<h4>Generate the client for your service</h4>
-
-<p>You can easily generate the client for your service using the WSO2 Carbon.
-The WSDL2 code options are available on the <em><strong>WSDL2</strong></em>
-page. </p>
-
-<p>You will see the links to the WSDL 1.1 and the WSDL 2.0 files in the
-browser.</p>
-
-<h2><a name="Policies" id="Policies">Policies</a></h2>
-
-<p>WS-Policy Attachment specification defines a set of policy subjects that
-can be used when we want to attach or apply security policies. For example,
-we can attach security policies either at service-level, operation-level or
-even at message-level.</p>
-
-<p>WSO2 Carbon has the power of Axis2 to apply WS-Policy for your services at
-different levels such as service, service operation, service operation
-message, binding, binding operation, binding operation message, etc..</p>
-
-<h3>Defining Policies at Bindings</h3>
-
-<p>The WSO2 Carbon has the ability to apply policies at the binding hierarchy.
-You can apply policies at three different policy subjects in the binding
-hierarchy. They are;</p>
-<ol>
-  <li>Binding level</li>
-  <li>Binding operation level</li>
-  <li>Binding message level</li>
-</ol>
-
-<p>If you want to add a policy to SOAP 1.1 and SOAP 1.2 bindings at Binding
-level, you can define it in the services.xml by adding the following
-code. </p>
-
-<p><strong>&lt;wsp:PolicyAttachment
-xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"&gt;</strong></p>
-
-<p><strong>&lt;wsp:AppliesTo&gt;</strong></p>
-
-<p><strong>&lt;policy-subject identifier="binding:soap11" /&gt;</strong></p>
-
-<p><strong>&lt;policy-subject identifier="binding:soap12" /&gt;</strong></p>
-
-<p><strong>&lt;/wsp:AppliesTo&gt;</strong></p>
-
-<p><strong>&lt;wsp:Policy wsu:Id="binding_level_policy"
-xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"&gt;</strong></p>
-
-<p><strong>&lt;/wsp:Policy&gt;</strong></p>
-
-<p><strong>&lt;/wsp:PolicyAttachment&gt;</strong></p>
-
-<p>For the Binding Operation level, the &lt;wsp:AppliesTo&gt; element is used
-to define the scope of the policy.</p>
-
-<p>The XML snippet is as follws.</p>
-
-<p><strong>&lt;wsp:PolicyAttachment
-xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"&gt;</strong></p>
-
-<p><strong>&lt;wsp:AppliesTo&gt;</strong></p>
-
-<p><strong>&lt;policy-subject identifier="binding:soap11/operation:Echo"
-/&gt;</strong></p>
-
-<p><strong>&lt;policy-subject identifier="binding:soap12/operation:Echo"
-/&gt;</strong></p>
-
-<p><strong>&lt;/wsp:AppliesTo&gt;</strong></p>
-
-<p><strong>&lt;wsp:Policy wsu:Id="binding_level_policy"</strong></p>
-
-<p><strong>xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"&gt;</strong></p>
-
-<p><strong>&lt;/wsp:Policy&gt;</strong></p>
-
-<p><strong>&lt;/wsp:PolicyAttachment&gt;</strong></p>
-
-<p>For the Binding Message level for the out message, the configuration
-is similar. The identifier attribute of the &lt;policy-subject/&gt; element
-in &lt;wsp:AppliesTo&gt; changes to "binding:soap11/operation:echo/out". </p>
-
-<p>The XML snippet is as follws.</p>
-
-<p><strong>&lt;wsp:PolicyAttachment
-xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"&gt;&lt;wsp:AppliesTo&gt;</strong></p>
-
-<p></p>
-
-<p><strong>&lt;policy-subject
-identifier="binding:soap11/operation:secureEcho/in" /&gt;</strong></p>
-
-<p><strong>&lt;policy-subject
-identifier="binding:soap12/operation:secureEcho/in" /&gt;</strong></p>
-
-<p><strong>&lt;/wsp:AppliesTo&gt;</strong></p>
-
-<p><strong>&lt;wsp:Policy wsu:Id="binding_level_policy"</strong></p>
-
-<p><strong>xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"&gt;</strong></p>
-
-<p><strong>&lt;/wsp:Policy&gt;</strong></p>
-
-<p><strong>&lt;/wsp:PolicyAttachment&gt;</strong></p>
-
-<p><strong>Note</strong>: Further details can be found at,</p>
-<ul>
-  <li><a href="https://wso2.org/library/3786">https://wso2.org/library/3786</a></li>
-  <li><a href="https://wso2.org/library/23">https://wso2.org/library/23</a></li>
-  <li><a href="https://wso2.org/library/3132">https://wso2.org/library/3132</a></li>
-  <li><a href="http://msdn.microsoft.com/en-us/library/ms996497.aspx">http://msdn.microsoft.com/en-us/library/ms996497.aspx</a></li>
-</ul>
-
-
-<h2><a name="L2875" id="L2875">Service Groups</a></h2>
-
-<p>A service group is a convenient way of deploying multiple services in one
-service archive file. There is a logical relationship between the services at
-runtime. The only difference in the services.xml for a service group and a
-single service is its root element. For a service group, the root element is
-serviceGroup, and we have multiple service elements inside the serviceGroup
-element. </p>
-
-<p>For example:</p>
-
-<p><strong>&lt;serviceGroup&gt;</strong></p>
-
-<p><strong>&lt;service name=Test1&gt;</strong></p>
-
-<p><strong>-----------------------------</strong></p>
-
-<p><strong>&lt;service&gt;</strong></p>
-
-<p><strong>&lt;service name=Test2&gt;</strong></p>
-
-<p><strong>-------------------------------</strong></p>
-
-<p><strong>&lt;/service&gt;</strong></p>
-
-<p><strong>&lt;/serviceGroup&gt;</strong></p>
-
-<p></p>
-
-<p>The WSO2 Carbon provides the following functions to manage the service
-groups.</p>
-<ol>
-  <li>Managing the parameters of the service group</li>
-  <li>Managing the module engagements</li>
-  <li>Creating the archive file </li>
-</ol>
-
-<p><img alt="" src="images/Servicegroup%20Dashboard.JPG" height="319" width="951"/></p>
-
-<p>Figure 9: Service group dashboard</p>
-
-<h3>Manage Service Group Parameters</h3>
-
-<p>We can define parameters inside the services.xml as an immediate child
-element of the service element. These parameters can be accessed using the
-message context (at the runtime) or AxisService or AxisOperation. A parameter
-has one mandatory attribute and one optional attribute. The mandatory
-attribute is the name of the parameter while the optional attribute is the
-locked attribute. The idea of a locked attribute is to express whether we
-allow the parameter value to be overridden by a child node in the hierarchy.
-</p>
-
-<p>For example, if we add a parameter in the axis2.xml file setting the
-locked attribute to True, then if a service tries to add another parameter
-with the same name, it will give an exception .</p>
-
-<p>The WSO2 Carbon provides an easy method to generate the Service Group
-parameters.</p>
-
-<p><img alt="" src="images/service%20group%20parameters.JPG" height="239" width="390"/></p>
-
-<p>Figure 10: Adding service group parameters</p>
-
-<p></p>
-
-<h3>Manage Module Engagements</h3>
-
-<p>There may be some instances where we cannot run our service without
-engaging the WS-Security module into the service. Engaging a module is just a
-matter of adding a module tag into the services.xml. If the module is
-available then the engaging will take place, else it will be a faulty
-service.</p>
-
-<p>The WSO2 Carbon provides the following modules which you can engage into
-your service.</p>
-<ol>
-  <li>WSO2xfer-2.2</li>
-  <li>Rampart-1.00</li>
-  <li>Rahas-1.00</li>
-  <li>Savan-1.00</li>
-  <li>Sandesha2-1.00</li>
-  <li>WSO2mex-2.2</li>
-  <li>Addressing-1.41</li>
-</ol>
-
-<p><img alt="" src="images/Engaging%20module.JPG" height="186" width="728"/></p>
-
-<p>Figure 11: Engaging a module</p>
-
-<p>You can see further details <a
-href="../../modulemgt/docs/userguide.html">here.</a></p>
-
-<h3>Create Service Archive </h3>
-
-<p>When you click <strong>Create Service Archive</strong> on the
-<em><strong>Service Group Dashboard </strong></em>page for your service, it
-will create the service archive file. You will be prompted to save the file
-somewhere else in your machine.</p>
-
-<p></p>
-
-
-
-<p>You can find further details <a
-href="../../statistics/docs/userguide.html">here</a>.</p>
-
-<p></p>
-
-
-<h2><a name="Parameters" id="Parameters">Parameters</a></h2>
-
-<p>The <em><strong>Service Parameters</strong></em> page is used to add
-service parameters to your service.xml. Click <strong>Add New</strong> and
-enter the parameter name. In the TODO section of the parameter that was
-added, enter the value for your parameter.Click <strong>Update</strong> to
-add your newly created parameter into your service.xml file.</p>
-
-<p><img alt="" src="images/service%20parameters.JPG" height="279" width="1013"/></p>
-
-<p>Figure 12: Service Parameters</p>
-
-<h2><a name="WSDL" id="WSDL">WSDL Files</a></h2>
-
-<p>You will be able to get the WSDL 1.1 and WSDL 2.0 files from the
-<strong>Deployed Services</strong> panel. When you click the particular WSDL
-link, the WSDL file of your service in the browser.</p>
-
-<p></p>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/images/Engaging module.jpg
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/images/Engaging module.jpg b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/images/Engaging module.jpg
deleted file mode 100644
index 7b491a6..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/images/Engaging module.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/images/Servicegroup Dashboard.jpg
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/images/Servicegroup Dashboard.jpg b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/images/Servicegroup Dashboard.jpg
deleted file mode 100644
index b1d5bd0..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/site/xdoc/service-mgt/images/Servicegroup Dashboard.jpg and /dev/null differ