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:46 UTC
[14/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/docs/xdoc/samples_index.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/docs/xdoc/samples_index.xml b/products/stratos2/cloud_controller/1.0.1/docs/xdoc/samples_index.xml
deleted file mode 100644
index 4a40608..0000000
--- a/products/stratos2/cloud_controller/1.0.1/docs/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/docs/xdoc/setting_java_home.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/docs/xdoc/setting_java_home.xml b/products/stratos2/cloud_controller/1.0.1/docs/xdoc/setting_java_home.xml
deleted file mode 100644
index e3c073a..0000000
--- a/products/stratos2/cloud_controller/1.0.1/docs/xdoc/setting_java_home.xml
+++ /dev/null
@@ -1,53 +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" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
- <title>How to setup JAVA_HOME environment variable in Windows</title>
- <link href="css/mb-docs.css" rel="stylesheet"/>
- <link href="styles/dist-docs.css" rel="stylesheet" type="text/css" media="all"/>
- </head>
- <body>
- <h2>How to setup JAVA_HOME environment variable in Windows</h2>
-
- <p>Please follow the instructions to set up JAVA_HOME environment variable in your computer.
- First find out the installation folder of Java development kit (JDK) in your machine.
- Let's
- assume it is installed in the folder "C:/j2sdk1.4.2"
- </p>
-
- <ol>
- <li>Right click on the My Computer icon on your desktop and select properties</li>
- <li>Click the Advanced Tab</li>
- <li>Click the Environment Variables button</li>
- <li>Under System Variable, click New</li>
- <li>Enter the variable name as JAVA_HOME</li>
- <li>Enter the variable value as the install path for the Development Kit</li>
- <li>Click OK</li>
- <li>Click Apply Changes</li>
-
- </ol>
-
- <img src="images/set-java-home.jpg" width="802" height="590" alt=""/>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/docs/xdoc/source-repository.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/docs/xdoc/source-repository.xml b/products/stratos2/cloud_controller/1.0.1/docs/xdoc/source-repository.xml
deleted file mode 100644
index 4e9b5af..0000000
--- a/products/stratos2/cloud_controller/1.0.1/docs/xdoc/source-repository.xml
+++ /dev/null
@@ -1,136 +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" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
- <title>
- WSO2 MB - Source Repository
- </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>WSO2 Message Broker Server (MB) Source Repository</h1>
- WSO2 MB is developed on top of the revolutionary WSO2 Carbon platform. You might need the
- source of the Carbon platform as well apart from the MB source code. Please note that both
- MB and the Carbon platform is open source and the code is available under the Apache
- Software License v2.0.
-
- <h2>Overview</h2>
- <p>This project uses <a href="http://subversion.tigris.org/">Subversion</a>
- to manage its source code. Instructions on Subversion use can be found at
- <a href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a>.</p>
-
- <h2>Source code of the MB 1.0.0 release</h2>
- <p>The following is a link to the online source tag of the WSO2 MB 1.0.0 release.</p>
- <div class="source">
- <pre><a href="http://svn.wso2.org/repos/wso2/tags/MB/java/3.0.0/">http://svn.wso2.org/repos/wso2/tags/mb/java/1.0.0/</a></pre>
- </div>
- <p>The complete source including the carbon platform can be checked out anonymously from
- SVN with this command:</p>
- <div class="source">
- <pre>$ svn checkout http://svn.wso2.org/repos/wso2/tags/mb/java/1.0.0 wso2mb</pre>
- </div>
-
- <p>This code base contains the MB product source code inside the directory "product" and
- it also contains the source for the platform under the directory "carbon-pltform". Further
- there will be a "build.sh" script to build the MB with the platform.</p>
-
- <p>This script accepts any of the maven related system properties, but the property to skip
- the tests has been shortened to "-ts", for example to build the MB with the platform on
- skipping tests the command is;</p>
-
- <div class="source">
- <pre>$ ./build.sh -ts</pre>
- </div>
-
- <p>To build off-line with this build script you can pass in the "-o" option. If you just
- need to build either the product or a specific part of the platform (for example Axis2)
- you just need to traverse to that directory and use maven to build any of the projects.</p>
-
- <h2>Source code of the WSO2 MB trunk</h2>
- <p>Everyone can access the Subversion repository via HTTPS, but Committers must checkout
- the Subversion repository via HTTPS.
- </p>
- <div class="source">
- <pre>$ svn checkout https://svn.wso2.org/repos/wso2/trunk/carbon/products/mb wso2mb</pre>
- </div>
-
- <p>The Carbon framework related source code can be checked out from the
- following commands.</p>
-
- <div class="source">
- <pre>$ svn checkout https://svn.wso2.org/repos/wso2/trunk/carbon/core carbon</pre>
- </div>
-
- <div class="source">
- <pre>$ svn checkout https://svn.wso2.org/repos/wso2/trunk/carbon/components carbon-components</pre>
- </div>
-
- <p>The Carbon project is the root project of the OSGi platform on which all the Java
- product stack is built on top of, and the carbon-components contains all the components
- not just MB specific components. So you obviously need to build just the set of
- components required by the MB, which can be achieved through;
- </p>
-
- <div class="source">
- <pre>$ mvn clean install -Dproduct=MB</pre>
- </div>
-
- <p>To commit changes to the repository, execute the following command (svn will prompt
- you for your password)
- </p>
- <div class="source">
- <pre>$ svn commit --username your-username -m "A message"</pre>
- </div>
-
- <h2>Access from behind a firewall</h2>
- <p>For those users who are stuck behind a corporate firewall which is blocking http access
- to the Subversion repository, you can try to access it via the developer connection:
- </p>
- <div class="source">
- <pre>$ svn checkout https://svn.wso2.org/repos/wso2/trunk/carbon/products/mb wso2mb</pre>
- </div>
- <h2>Access through a proxy</h2>
- <p>The Subversion client can go through a proxy, if you configure it to do so.
- First, edit your "servers" configuration file to indicate which proxy to use. The
- files location depends on your operating system. On Linux or Unix it is
- located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion".
- (Try "echo %APPDATA%", note this is a hidden directory.)
- </p>
- <p>There are comments in the file explaining what to do. If you don't have that file, get
- the latest Subversion client and run any command; this will cause the configuration
- directory and template files to be created.
- </p>
- <p>Example : Edit the 'servers' file and add something like :</p>
- <div class="source">
- <pre>[global]
-http-proxy-host = your.proxy.name
-http-proxy-port = 3128
- </pre>
- </div>
- </body>
-</html>
-
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/docs/xdoc/user_guide.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/docs/xdoc/user_guide.xml b/products/stratos2/cloud_controller/1.0.1/docs/xdoc/user_guide.xml
deleted file mode 100644
index ae3e733..0000000
--- a/products/stratos2/cloud_controller/1.0.1/docs/xdoc/user_guide.xml
+++ /dev/null
@@ -1,416 +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 - User Guide</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 Message Broker(MB) User Guide</h1>
-
- <p>The goal of this guide is to provide guidelines to be followed
- in order to get familiar with WSO2 Message Broker and the procedure
- of using the features provided by the product.
- </p>
-
- <h2>Contents</h2>
-
- <div class="toc">
- <ul>
- <li>
- <a href="#Introduction">Introduction to Message Broker</a>
- </li>
- <!--li><a href="#Sample">Stock Quote Sample</a> </li-->
- <li>
- <a href="#References">References</a>
- </li>
- </ul>
- </div>
-
- <h2 id="Introduction">Introduction to Message Broker</h2>
- <p>This gives a brief introduction of how message broker can be used
- in publishing and receiving messages.
- </p>
-
- <p>
- WSO2 Message Broker is basically consist of two major features.They are:
- </p>
- <ul>
- <li>Pub/ Sub Feature</li>
- <li>Message Broker Clustering feature</li>
- </ul>
-
- <h3>
- Pub/Sub Feature
- </h3>
-
- <p>This feature of the WSO2 Message Broker provides the facility for users to route messages
- to the required users. If we are explaining deeply,
- there is a concept called 'Topic' and message routing is done on the base of that
- topic. When a particular user want to publish
- a message to a particular sector , he creates a topic with a name related to the
- messages that he is going to pulish. As an example, if a particular
- user want to publish messages related with sports news, he can create a topic with the
- name 'SportsNews' and publish the messages to that topic.
- </p>
-
- <p>
- When another particular user is interested on any topic in the topic tree, he can
- subscribe to that topic and receive messages which are published
- to that topic by the publisher. As in the above example, when a particular user is
- interested on sports, he can subscribed to the topic 'SportsNews'
- and get messages published to that topic.
- </p>
-
- <p>
- <img src="images/MessageFlowDiagram.jpg"
- alt="Pub/Sub Message Flow"/>
- </p>
- <h3>How to use Pub/Sub Feature</h3>
-
- <p>In WSO2 Message Broker , Pub/Sub feature is one of the two major features. Inorder to use
- this feature , it is needed to create a Topic and subscribe to it.
- </p>
- <ul>
- <li>Step 01</li>
-
- <p>Login to the server</p>
-
- <li>Step 02</li>
-
- <p>Click on the 'Add' menu item under the 'Topics' menu to create a topic. To create a
- topic , the only thing needed to be provided is the name of the topic.
- </p>
-
- <p>
- <img src="images/topic_add.png"
- alt="Add Topic"/>
- </p>
-
- <li>Step 03</li>
-
- <p>When you add a topic using the 'add' button , you will be directed to the 'Topic
- Browser' page and you will see the topic tree.
- </p>
- <p>
- <img src="images/topic_browser.png"
- alt="Topic Browser"/>
- </p>
-
- <p>Once you click on a topic in the topic tree , it will display all the available
- operations on a topic.
- Once you click on the 'Help' link on that page you will find the information on all
- the operations available on the topic
- </p>
-
- <p>If you click on details link , you will find following page.</p>
-
- <p>
- <img src="images/topic_details.png"
- alt="Topic Details"/>
- </p>
-
- <li>Step 04</li>
-
- <p>Once you click on the topic , you will get the following page.</p>
- <p>
- <img src="images/topic_browser_clicked.png"
- alt="Topic Details"/>
- </p>
-
-
- <p>Once you click on 'Subscribe' link on the above page, you will be directed to Add
- subscriptions page.
- </p>
-
- <p>
- <img src="images/topic_addSubscription.png"
- alt="Subscribe to topics"/>
- </p>
-
- <p>You can create a subscription to the topic by provide the information on subscription
- </p>
- <li>Topic</li>
- <p>User does not need to specify the topic here , since its automatically sets up.</p>
-
- <li>Subscription Mode</li>
-
- <p>This is the mode of the subscription and there are three modes.</p>
-
- <p>The default mode for the subscription is "Topic Only". With this mode , user creates
- the
- subscription only to the topic. In this mode subscribers only receive events which
- are published only to the that topic.
- </p>
-
- <p>Next mode of subscription is "Topic and Immediate child". In this mode subscribers of
- the topic
- receives events published not only the specified topic but also to the immediate
- child of that topic.
- </p>
-
- <p>Last mode of subscription is "Topic and Children". In this mode subscribers of the
- specified
- topic will receive events published to the specified topic and all its children
- </p>
-
- <li>Event Sink URL</li>
- <p>This is the URL which the subscriber should provide to receive events published. When
- events are
- published to the topic, they are sent to the specified URL here.
- </p>
-
- <li>Expiration Time</li>
- <p>Here user can specify the expiration time of the subscription. This is not a required
- parameter and
- if user leave it alone, subscription will never be expired.
- </p>
-
- <p>Note : You can create a simple axis2service and use it's URL as the EventSinkURL .
- Inorder to create an axis2service ,
- </p>
- <ul>
- <li>Browse the location : /wso2mb-1.0.0/samples/services/EventSinkService
- </li>
- <li>Type the command : ant</li>
-
- <P>(This ant task will create a simple axis2service 'EventSinkService' and deploy it
- in the location :
- /wso2mb-1.0.0/repository/deployment/server/axis2services/ )
- </P>
- </ul>
-
- <p>Now you can create a subscription by providing the Event Sink URL :
- https://localhost:9443/services/EventSinkService/getOMElement
- </p>
-
- <p>Click on the button 'Subscribe' and it will create the subscription and list it in
- the subscription table of that topic in topic details page.
- </p>
-
-
- <p>
- <img src="images/topic_subscriptionDetails.png"
- alt="Topic subscription details"/>
- </p>
-
-
- <li>Step 05</li>
-
- <p>At the end of the subscribing process , you can test whether the topic and the
- subscriptions created are working fine.
- In order to do that what you have to do is type a XML message in the provided text
- box and under the 'Publish' section
- of Topic Details page and click on 'Publish button'
- </p>
-
- <p>Then check the command line and you will be able to see the XML Message that you
- types in the provided space.
- </p>
- <h3>Clustering support of WSO2 Message Broker</h3>
- <p>
- WSO2 MB is now supporting clustering. That means high availability and failover support
- is there. You can setup several Message Broker nodes and configure them up to work as a cluster
- so that if one node is down message routing and handling will be taken over by other nodes in the cluster.
- At the same time overhead of routing messages is distributed among the Message Broker cluster nodes so
- that overall performance of Message Brokering goes up. Thus, having a lot of publishers and subscribers will
- not be a problem anymore as there is no significant performance degrade with the number of publishers,
- subscribers and exchanges. Scalability is beyond you with WSO2 MB with combined resources you have.
- Fault tolerance brings you great benefits in deployment apart from the performance gain.
- </p>
-
- <p>
- There are several cluster deployment models supported by WSO2 Message Broker. Read on them at <a href="deployment_guide.html">
- Deployment guide
- </a>
- and choose the suitable deployment pattern for your use-case and enable clustering as described there.
- </p>
-
- <li> Sample Scenario - This sample is based on Clustering Scenario 1, <a href="cluster_scenario_01.html">'Starting external cassandra server
- and zoo keeper server and point all broker nodes to them'</a>:
- <ul>
- <li>
- In your local machine setup two WSO2 MB instances running with external Cassandra server and Zookeeper server
- (note that you can setup Cassandra and Zookeeper to run on the same machine). In order to do that in the second WSO2 MB
- instance define a port offset changing <MB Home>/repository/conf/carbon.xml (eg: set port offset to 1).
- </li>
- <li>
- We will call first broker instance MB1 (runs on port 5672) and the other MB2 (runs on port 5673).
- </li>
- <li>
- Using following JMS client make subscriptions to a queue "myQueue" at MB1.
- <pre xml:space="preserve">
-
- import javax.jms.*;
- import javax.naming.InitialContext;
- import javax.naming.NamingException;
- import java.util.Properties;
-
- public class ConsumeClient {
- public void consumeMessage() {
-
- Properties initialContextProperties = new Properties();
- initialContextProperties.put("java.naming.factory.initial",
- "org.wso2.andes.jndi.PropertiesFileInitialContextFactory");
- String connectionString = "amqp://admin:admin@clientID/carbon?brokerlist='tcp://localhost:5672'";
- initialContextProperties.put("connectionfactory.qpidConnectionfactory", connectionString);
- initialContextProperties.put("queue.myQueue", "myQueue");
-
- try {
- InitialContext initialContext = new InitialContext(initialContextProperties);
- QueueConnectionFactory queueConnectionFactory
- = (QueueConnectionFactory) initialContext.lookup("qpidConnectionfactory");
- QueueConnection queueConnection = queueConnectionFactory.createQueueConnection();
- queueConnection.start();
-
- QueueSession queueSession = queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
- Destination destination = (Destination) initialContext.lookup("myQueue");
-
- MessageConsumer messageConsumer = queueSession.createConsumer(destination);
-
- TextMessage textMessage = (TextMessage) messageConsumer.receive();
- System.out.println("Got message ==> " + textMessage.getText());
-
- try {
- Thread.sleep(9000);
- } catch (Exception e) {
- System.out.println(e);
- }
-
- messageConsumer.close();
-
- queueSession.close();
- queueConnection.stop();
- queueConnection.close();
-
- } catch (NamingException e) {
- e.printStackTrace();
- } catch (JMSException e) {
- e.printStackTrace();
- }
-
-
- }
-
- public static void main(String[] args) {
- ConsumeClient sendConsumeClient = new ConsumeClient();
- sendConsumeClient.consumeMessage();
- }
- }
-
- </pre>
-
- </li>
- <li>
- Now using Message Sender described below, send a message to "myQueue" at MB2.
-
- <pre xml:space="preserve">
-
- import javax.jms.*;
- import javax.naming.InitialContext;
- import javax.naming.NamingException;
- import java.util.Properties;
-
- public class SendClient {
- public static void main(String[] args) {
- SendClient sendClient = new SendClient();
- sendClient.sendMessage();
- }
-
- public void sendMessage() {
-
- Properties initialContextProperties = new Properties();
- initialContextProperties.put("java.naming.factory.initial",
- "org.wso2.andes.jndi.PropertiesFileInitialContextFactory");
- String connectionString = "amqp://admin:admin@clientID/carbon?brokerlist='tcp://localhost:5673'";
- initialContextProperties.put("connectionfactory.qpidConnectionfactory", connectionString);
- initialContextProperties.put("queue.myQueue", "myQueue");
-
-
- try {
- InitialContext initialContext = new InitialContext(initialContextProperties);
- QueueConnectionFactory queueConnectionFactory
- = (QueueConnectionFactory) initialContext.lookup("qpidConnectionfactory");
-
- QueueConnection queueConnection = queueConnectionFactory.createQueueConnection();
- queueConnection.start();
-
- QueueSession queueSession = queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-
- TextMessage textMessage = queueSession.createTextMessage();
- textMessage.setText("Test message");
- System.out.println("Sending Message : " + textMessage.getText().length());
-
- // Send message
- Queue queue = (Queue) initialContext.lookup("myQueue");
-
- QueueSender queueSender = queueSession.createSender(queue);
- queueSender.send(textMessage);
-
- // Housekeeping
- queueSender.close();
- queueSession.close();
- queueConnection.stop();
- queueConnection.close();
-
- } catch (NamingException e) {
- e.printStackTrace();
- } catch (JMSException e) {
- e.printStackTrace();
- }
-
- }
- }
- </pre>
- </li>
- <li>
- Now you can run the consumer to receive messages from MB1. You will notice that the message you have
- sent to MB2 can be received by MB1. Even if MB2 instance was destroyed message will be consumed to the consumer.
- </li>
- </ul>
- </li>
- <li>
- <p>Following is a typical deployment diagram for a Message Broker cluster setup.</p>
-
- <img src="images/Deployment_Diagram.jpg"
- alt="A typical cluster deployment"/>
- </li>
- </ul>
- <h2 id="References">References</h2>
- <ul>
- <li>
- <a href="http://zookeeper.apache.org/">Apache Zookeeper
- </a>
- </li>
- <li>
- <a href="http://cassandra.apache.org/">Apache Cassandra
- </a>
- </li>
- </ul>
-
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/bottom.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/bottom.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/bottom.gif
deleted file mode 100644
index 5679266..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/bottom.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/lib/home/images/feature-01-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/feature-01-icon.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/feature-01-icon.gif
deleted file mode 100644
index b4ea8cd..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/feature-01-icon.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/lib/home/images/feature-02-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/feature-02-icon.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/feature-02-icon.gif
deleted file mode 100644
index 8754de1..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/feature-02-icon.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/lib/home/images/intro-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/intro-bg.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/intro-bg.gif
deleted file mode 100644
index a38a0df..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/intro-bg.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/lib/home/images/register.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/register.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/register.gif
deleted file mode 100644
index 98c5362..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/register.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/lib/home/images/title-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/title-bg.gif b/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/title-bg.gif
deleted file mode 100644
index 2d539a7..0000000
Binary files a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/images/title-bg.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/lib/home/index.html
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/index.html b/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/index.html
deleted file mode 100644
index 81d79b7..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/index.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-
- <head> <script type="text/javascript" src="../../carbon/googleanalytics/js/jquery.min.js"></script>
- <script type="text/javascript" src="../../carbon/googleanalytics/js/googleAnalyticsProcessor.js"></script>
- <meta http-equiv="content-type" content="text/html;charset=utf-8" />
- <title>StratosLive</title>
- <link href="style.css" rel="stylesheet" type="text/css" media="all" />
- <link rel="icon" href="images/favicon.ico" type="image/x-icon"/>
- <meta name="description" content="WSO2 is the lean enterprise middleware company, delivering the only complete open source enterprise SOA middleware stack available internally and in the cloud." />
- <meta name="keywords" content="cloud, platform-as-a-service, PaaS" />
- </head>
-
- <body>
- <div id="main-content">
- <div id="header">
- <div class="logo"><img src="images/logo.gif"/></div>
- </div>
- <div id="content">
- <div class="intro">
- <div class="register">
- <a href="https://stratoslive.wso2.com/carbon/tenant-register/select_domain.jsp"><img src="images/register.gif"/></a>
- <a href="../carbon/sso-acs/redirect_ajaxprocessor.jsp"><img src="images/sign-in.gif"/></a>
- </div>
- <p>WSO2 MB brings Event Driven Architecture capabilities to WSO2 Carbon platform. It provides WS-Eventing, JMS and SQS interfaces to client. It uses Apache Qpid as the underling broker which supports AMQP.</p>
- </div>
- <div class="clear"></div>
- <div class="features">
- <h2>Features</h2>
- <div class="feature feature-left">
- <img src="images/feature-01-icon.gif"/>
- <h2>Bring CEP to SOA</h2>
- <p>
- Bring CEP to SOA by processing XML events and produce results as XML events.
- </p>
- </div>
- <div class="feature">
- <img src="images/feature-02-icon.gif"/>
- <h2>Registry Storage</h2>
- <p>
- Ability to define different event streams, queries and out put streams and store them in the registry as a bucket.
- </p>
- </div>
- <div class="feature">
- <img src="images/feature-03-icon.gif"/>
- <h2>Esper and Fusion</h2>
- <p>
- Support Esper and fusion back end runtimes.
- </p>
- </div>
- <div class="clear"></div>
- </div>
- <div class="clear"></div>
- </div>
- <div id="footer">
- <div class="footer-links">
- <a href="http://www.wso2.com/cloud/services/terms-of-use" target="_blank">Terms of Service</a> | <a href="http://www.wso2.com/cloud/services/privacy-policy" target="_blank">Privacy Policy</a> | <a href="http://www.wso2.com/cloud/services/support" target="_blank">Support</a>
- </div>
- <div class="powered">
- <span>Powered by</span><img src="images/powered-logo.gif" alt="ESB"/>
- </div>
- <span class="copyright">©stratoslive.wso2.com copyright 2010-2011 WSO2, Inc. </span>
- </div>
- </div>
- </div>
- </body>
-
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/style.css
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/style.css b/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/style.css
deleted file mode 100644
index e3778be..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/lib/home/style.css
+++ /dev/null
@@ -1,46 +0,0 @@
-body { font-family: "Calibri","Lucida Grande","Lucida Sans","Microsoft Sans Serif","Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms"; font-size: .85em; line-height: 135%; color: #434343; margin: 0px; padding: 0px; background-color: #94C8EC;}
-
-p { }
-
-td { }
-
-a:link { text-decoration: none; }
-
-a:visited { text-decoration: none; }
-
-a:hover { text-decoration: none; }
-
-a:active { text-decoration: none; }
-
-a img { border: 0px; }
-div
-.clear { clear: both; }
-
-div#main-content { width: 960px; margin: auto; background-image: url(images/top.gif); background-repeat: no-repeat; background-position: left top; }
-
-div#header { height: 125px; }
-div.logo { float: left; margin-top: 35px; }
-div.sign-in { float: right; margin-top: 35px; }
-
-div#content { background-color: #ffffff; background-image: url(images/content-bg.gif); background-repeat: repeat-y; background-position: left top; }
-
-div.intro { padding: 35px; padding-top: 10px; padding-bottom: 20px; font-size: 125%; line-height: 130%; float: left; background-image: url(images/intro-bg.gif); background-position: left bottom; background-repeat: no-repeat; }
-div.intro p { margin-top: 0px; margin-bottom: 0px; }
-
-div.register { float: right; margin-left: 40px; margin-top: 0px; margin-right: 0px; width: 400px; text-align: center;}
-div.register a img { margin-bottom: 7px; }
-div.register a:hover img { opacity:0.7;filter:alpha(opacity=70) }
-
-div.features { margin-top: 20px; }
-div.features h2 { margin-top: 0px; margin-bottom: 0px; font-size: 24px; color: #003A63; margin-left: 35px; margin-right: 35px; border-bottom: solid 0px #79BDE8; padding-bottom: 10px; background-image: url(images/title-bg.gif); background-repeat: no-repeat; background-position: left bottom; }
-div.feature { float: left; width: 230px; margin-left: 30px; margin-top: 7px; padding: 20px; text-align: left; }
-div.feature img { float: left; margin-right: 10px; width: 64px; }
-div.feature h2 { margin-top: 0px; margin-bottom: 7px; color: #0499CC; font-size: 140%; line-height: 110%; font-weight: normal; border-bottom: 0px; margin-left: 0px; margin-right: 0px; padding-bottom: 0px; background-image: none; }
-div.feature p { margin-top: 0px; padding-top: 0px; }
-div.feature-left { margin-left: 41px; }
-
-div#footer { height: 80px; background-image: url(images/bottom.gif); background-position: left top; background-repeat: no-repeat; padding-top: 25px; }
-div#footer div.powered { color: #333333; float: right; font-size: 85%; margin-right: 10px; }
-div#footer div.powered span { float: left; line-height: 23px; margin-right: 5px; }
-div.footer-links { padding-bottom: 5px; padding-left: 10px; border-bottom: solid 1px #4E84C4; margin-bottom: 10px; color: #4E84C4; }
-div#footer span.copyright { font-size: 90%; padding-left: 10px; }
\ 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/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/assembly/bin.xml b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/assembly/bin.xml
deleted file mode 100644
index 9c06da5..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/assembly/bin.xml
+++ /dev/null
@@ -1,338 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ 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.
- -->
-<assembly>
- <formats>
- <format>zip</format>
- </formats>
- <includeBaseDirectory>false</includeBaseDirectory>
- <fileSets>
- <fileSet>
- <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
- <outputDirectory>wso2cc-${pom.version}</outputDirectory>
- <excludes>
- <exclude>**/*.sh</exclude>
- <exclude>**/*.bat</exclude>
- <exclude>**/log4j.properties</exclude>
- <exclude>**/conf/axis2/axis2.xml</exclude>
- <exclude>**/services/sample01.aar</exclude>
- <exclude>**/repository/services/version/**</exclude>
- <exclude>**/version.txt</exclude>
- <exclude>**/LICENSE.txt</exclude>
- <exclude>**/wso2server.bat</exclude>
- <exclude>**/launch.ini</exclude>
- <exclude>**/README.txt</exclude>
- <exclude>**/INSTALL.txt</exclude>
- <exclude>**/release-notes.html</exclude>
- <exclude>**/carbon.xml</exclude>
- </excludes>
- </fileSet>
- <fileSet>
- <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
- <outputDirectory>wso2cc-${pom.version}</outputDirectory>
- <excludes>
- <exclude>**/wso2server.sh</exclude>
- <exclude>**/wso2server.bat</exclude>
- </excludes>
- <includes>
- <include>**/*.sh</include>
- <include>**/native/*</include>
- </includes>
- <fileMode>755</fileMode>
- </fileSet>
- <!--samples set of product-->
- <fileSet>
- <directory>../../modules/samples/product/jmsclient</directory>
- <outputDirectory>wso2cc-${pom.version}/samples/jmsclient</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>../../modules/samples/product/jmstransport</directory>
- <outputDirectory>wso2cc-${pom.version}/samples/jmstransport</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>../../modules/samples/product/wsclient</directory>
- <outputDirectory>wso2cc-${pom.version}/samples/wsclient</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>../../modules/samples/product/services</directory>
- <outputDirectory>wso2cc-${pom.version}/samples/services</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>
- ../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/advanced/
- </directory>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/advanced
- </outputDirectory>
- <includes>
- <include>**/qpid-config.xml</include>
- <include>**/qpid-jmxremote.access</include>
- <include>**/qpid-virtualhosts.xml</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>src/main/conf/synapse-configs</directory>
- <outputDirectory>wso2cc-${pom.version}/repository/deployment/server/synapse-configs
- </outputDirectory>
- </fileSet>
- <fileSet>
- <directory>src/main/cartridges</directory>
- <outputDirectory>wso2cc-${pom.version}/repository/deployment/server/cartridges</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>src/main/services</directory>
- <outputDirectory>wso2cc-${pom.version}/repository/deployment/server/services</outputDirectory>
- </fileSet>
- <!--Multitenancy related file -->
- <fileSet>
- <directory>
- ../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/multitenancy/
- </directory>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/multitenancy</outputDirectory>
- <includes>
- <include>**/stratos.xml</include>
- <include>**/multitenancy-packages.xml</include>
- <include>**/usage-throttling-agent-config.xml</include>
- <include>**/cloud-services-desc.xml</include>
- </includes>
- </fileSet>
-
- <fileSet>
- <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/</directory>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/etc</outputDirectory>
- <includes>
- <include>**/cassandra.yaml</include>
- </includes>
- </fileSet>
-
- <!-- copy the landing page webapp -->
- <fileSet>
- <directory>lib/home</directory>
- <outputDirectory>wso2cc-${pom.version}/repository/deployment/server/webapps/STRATOS_ROOT</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>
- ../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/
- </directory>
- <outputDirectory>wso2cc-${pom.version}/dbscripts/identity</outputDirectory>
- <includes>
- <include>**/h2.sql</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>../styles/service/src/main/resources/web/styles/css</directory>
- <outputDirectory>${pom.artifactId}-${pom.version}/resources/allthemes/Default/admin</outputDirectory>
- <includes>
- <include>**/**.css</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>../styles/service/src/main/resources/web/styles/images</directory>
- <outputDirectory>${pom.artifactId}-${pom.version}/resources/allthemes/Default/images</outputDirectory>
- <includes>
- <include>**/**.gif</include>
- <include>**/**.png</include>
- </includes>
- </fileSet>
-
- <!-- get axis2_1.6.1.wso2v9.jar from carbon kernel patch 0002 -->
- <fileSet>
- <directory>../p2-profile/target/WSO2-CARBON-PATCH-4.1.0-0002/</directory>
- <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/patches</outputDirectory>
- <includes>
- <include>**/patch0002/axis2_1.6.1.wso2v9.jar</include>
- </includes>
- </fileSet>
- </fileSets>
-
- <dependencySets>
- <dependencySet>
- <outputDirectory>wso2cc-${pom.version}/repository/deployment/client/modules
- </outputDirectory>
- <includes>
- <include>org.apache.rampart:rampart:mar</include>
- </includes>
- </dependencySet>
- <dependencySet>
- <outputDirectory>wso2cc-${pom.version}/client-lib</outputDirectory>
- <includes>
- <include>org.wso2.andes.wso2:andes-client:jar</include>
- <include>org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar</include>
- <include>org.wso2.carbon:org.wso2.carbon.event.client.stub:jar</include>
- <include>org.wso2.carbon:org.wso2.carbon.event.client:jar</include>
- <include>slf4j.wso2:slf4j:jar</include>
- <include>log4j:log4j:jar</include>
- </includes>
- </dependencySet>
- </dependencySets>
-
- <files>
- <file>
- <source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/axis2/axis2.xml</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/axis2</outputDirectory>
- <filtered>true</filtered>
- <fileMode>644</fileMode>
- </file>
- <file>
- <source>src/main/conf/event-broker.xml</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf</outputDirectory>
- </file>
- <!--file>
- <source>src/main/conf/user-mgt.xml</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf</outputDirectory>
- <destName>user-mgt.xml</destName>
- </file-->
- <!-- Setting jamm javaagent in bam -->
- <file>
- <source>src/main/resources/launch.ini</source>
- <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
- <filtered>true</filtered>
- <fileMode>644</fileMode>
- </file>
- <file>
- <source>src/main/conf/embedded-ldap.xml</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf</outputDirectory>
- <destName>embedded-ldap.xml</destName>
- </file>
- <file>
- <source>src/main/conf/zoo.cfg</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/etc</outputDirectory>
- </file>
- <file>
- <source>src/main/conf/jaas.conf</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/security</outputDirectory>
- </file>
- <file>
- <source>src/main/resources/wso2server.sh</source>
- <outputDirectory>wso2cc-${pom.version}/bin/</outputDirectory>
- <filtered>true</filtered>
- <fileMode>755</fileMode>
- </file>
- <file>
- <source>src/main/resources/log4j.properties</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf</outputDirectory>
- <filtered>true</filtered>
- <fileMode>755</fileMode>
- </file>
- <file>
- <source>src/main/conf/synapse.properties</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf</outputDirectory>
- <destName>synapse.properties</destName>
- <filtered>true</filtered>
- </file>
- <file>
- <source>src/main/conf/cipher-text.properties</source>
- <outputDirectory>wso2cc-${pom.version}/lib</outputDirectory>
- <destName>cipher-text.properties</destName>
- <filtered>true</filtered>
- </file>
- <file>
- <source>src/main/resources/wso2server.bat</source>
- <outputDirectory>wso2cc-${pom.version}/bin/</outputDirectory>
- <filtered>true</filtered>
- <fileMode>755</fileMode>
- </file>
- <file>
- <source>src/main/conf/datasources.properties</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf</outputDirectory>
- <destName>datasources.properties</destName>
- <filtered>true</filtered>
- </file>
- <file>
- <source>../../LICENSE.txt</source>
- <outputDirectory>wso2cc-${pom.version}</outputDirectory>
- <filtered>true</filtered>
- <fileMode>644</fileMode>
- </file>
- <file>
- <source>../../README.txt</source>
- <outputDirectory>wso2cc-${pom.version}</outputDirectory>
- <filtered>true</filtered>
- <fileMode>644</fileMode>
- </file>
- <file>
- <source>../../INSTALL.txt</source>
- <outputDirectory>wso2cc-${pom.version}</outputDirectory>
- <filtered>true</filtered>
- <fileMode>644</fileMode>
- </file>
- <!--file>
- <source>../../docs/xdoc/release-notes.xml</source>
- <outputDirectory>wso2cc-${pom.version}</outputDirectory>
- <destName>release-notes.html</destName>
- <fileMode>644</fileMode>
- </file-->
- <file>
- <source>target/wso2carbon-core-${carbon.kernel.version}/bin/README.txt</source>
- <outputDirectory>wso2cc-${pom.version}/bin/</outputDirectory>
- <filtered>true</filtered>
- <fileMode>644</fileMode>
- </file>
- <file>
- <source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
- <outputDirectory>wso2cc-${pom.version}/bin/</outputDirectory>
- <filtered>true</filtered>
- <fileMode>644</fileMode>
- </file>
- <file>
- <source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/carbon.xml</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/</outputDirectory>
- <filtered>true</filtered>
- </file>
- <!--file>
- <source>
- ../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/authenticators.xml
- </source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/security/</outputDirectory>
- <filtered>true</filtered>
- </file-->
-
- <!-- Including logging-config.xml file -->
- <file>
- <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/logging-config.xml</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/etc/</outputDirectory>
- </file>
- <file>
- <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity.xml</source>
- <outputDirectory>wso2cc-${pom.version}/repository/conf/</outputDirectory>
- </file>
- <file>
- <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/cloud-controller.xml</source>
- <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
- </file>
- <file>
- <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/cartridge.xsd</source>
- <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
- </file>
- <file>
- <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/services.xsd</source>
- <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
- </file>
- <file>
- <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/service.xsd</source>
- <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
- </file>
- <file>
- <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/cartridges.xsd</source>
- <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
- </file>
- <file>
- <source>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/coordination-client-config.xml</source>
- <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
- </file>
- </files>
-</assembly>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/assembly/filter.properties b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/assembly/filter.properties
deleted file mode 100644
index 1f08cfd..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/assembly/filter.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-product.name=WSO2 Cloud Controller
-product.key=CC
-product.version=1.0.0
-carbon.version=4.1.1
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0ab7c4aa/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/conf/axis2.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/conf/axis2.xml b/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/conf/axis2.xml
deleted file mode 100755
index 6c8f0a8..0000000
--- a/products/stratos2/cloud_controller/1.0.1/modules/distribution/src/main/conf/axis2.xml
+++ /dev/null
@@ -1,523 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<axisconfig name="AxisJava2.0">
-
- <!-- ================================================= -->
- <!-- Parameters -->
- <!-- ================================================= -->
-
- <!-- This will give out the timout of the configuration contexts, in milliseconds -->
- <parameter name="ConfigContextTimeoutInterval" locked="false">30000</parameter>
-
- <!-- Synapse Configuration file location relative to CARBON_HOME -->
- <parameter name="SynapseConfig.ConfigurationFile" locked="false">repository/deployment/server/synapse-configs</parameter>
- <!-- Synapse Home parameter -->
- <parameter name="SynapseConfig.HomeDirectory" locked="false">.</parameter>
- <!-- Resolve root used to resolve synapse references like schemas inside a WSDL -->
- <parameter name="SynapseConfig.ResolveRoot" locked="false">.</parameter>
- <!-- Synapse Server name parameter -->
- <parameter name="SynapseConfig.ServerName" locked="false">localhost</parameter>
-
-
- <!-- ================================================= -->
- <!-- Message Formatters -->
- <!-- ================================================= -->
-
- <!-- Following content type to message formatter mapping can be used to implement support -->
- <!-- for different message format serializations in Axis2. These message formats are -->
- <!-- expected to be resolved based on the content type. -->
- <messageFormatters>
- <!--messageFormatter contentType="application/xml"
- class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>-->
- <!--messageFormatter contentType="text/xml"
- class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>-->
- <!--messageFormatter contentType="application/soap+xml"
- class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>-->
- <!--messageFormatter contentType="application/x-www-form-urlencoded"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
- <messageFormatter contentType="multipart/related"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/xml"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/txt"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="text/html"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/soap+xml"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="text/xml"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <!--messageFormatter contentType="x-application/hessian"
- class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
- <!--messageFormatter contentType=""
- class="org.apache.synapse.format.hessian.HessianMessageFormatter"/-->
-
- <messageFormatter contentType="text/css"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="text/javascript"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
- <messageFormatter contentType="image/gif"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="img/gif"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="image/jpeg"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="image/png"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="image/ico"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="image/x-icon"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
- <messageFormatter contentType="application/x-javascript"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/x-shockwave-flash"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/atom+xml"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/x-www-form-urlencoded"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/xhtml+xml"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/octet-stream"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/javascript"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
- <messageFormatter contentType="multipart/form-data"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/soap+xml"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
- <!--JSON Message Formatters-->
- <messageFormatter contentType="application/json"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="application/json/badgerfish"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
- <messageFormatter contentType="text/javascript"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-
- <messageFormatter contentType=".*"
- class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
- </messageFormatters>
-
- <!-- ================================================= -->
- <!-- Message Builders -->
- <!-- ================================================= -->
-
- <!-- Following content type to builder mapping can be used to implement support for -->
- <!-- different message formats in Axis2. These message formats are expected to be -->
- <!-- resolved based on the content type. -->
- <messageBuilders>
- <messageBuilder contentType="application/xml"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/txt"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <!--messageBuilder contentType="application/xml"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
- <!--messageBuilder contentType="application/x-www-form-urlencoded"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
- <!--messageBuilder contentType="multipart/form-data"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/-->
- <messageBuilder contentType="multipart/related"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/soap+xml"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="text/plain"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="text/xml"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <!--messageBuilder contentType="x-application/hessian"
- class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
- <!--messageBuilder contentType=""
- class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
-
- <!--JSON Message Builders-->
- <messageBuilder contentType="application/json"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/json/badgerfish"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="text/javascript"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
- <messageBuilder contentType="text/html"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="text/css"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="text/javascript"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
- <messageBuilder contentType="image/gif"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="img/gif"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="image/jpeg"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="image/png"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="image/ico"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="image/x-icon"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
- <messageBuilder contentType="application/x-javascript"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/x-shockwave-flash"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/atom+xml"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/x-www-form-urlencoded"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/xhtml+xml"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/octet-stream"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/javascript"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
- <messageBuilder contentType="multipart/form-data"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
- <messageBuilder contentType="application/soap+xml"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
- <messageBuilder contentType=".*"
- class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
- </messageBuilders>
-
- <!-- ================================================= -->
- <!-- Transport Ins (Listeners) -->
- <!-- ================================================= -->
- <!--Default trasnport will be passthrough if you need to change please add it here -->
- <transportReceiver name="http" class="org.wso2.carbon.transport.passthru.PassThroughHttpListener">
- <parameter name="port">8280</parameter>
- <parameter name="non-blocking"> true</parameter>
- </transportReceiver>
- <transportReceiver name="https" class="org.wso2.carbon.transport.passthru.PassThroughHttpSSLListener">
- <parameter name="port" locked="false">8243</parameter>
- <parameter name="non-blocking" locked="false">true</parameter>
- <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
- <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
- <parameter name="keystore" locked="false">
- <KeyStore>
- <Location>repository/resources/security/wso2carbon.jks</Location>
- <Type>JKS</Type>
- <Password>wso2carbon</Password>
- <KeyPassword>wso2carbon</KeyPassword>
- </KeyStore>
- </parameter>
- <parameter name="truststore" locked="false">
- <TrustStore>
- <Location>repository/resources/security/client-truststore.jks</Location>
- <Type>JKS</Type>
- <Password>wso2carbon</Password>
- </TrustStore>
- </parameter>
- <!--<parameter name="SSLVerifyClient">require</parameter>
- supports optional|require or defaults to none -->
- </transportReceiver>
-
- <!-- uncomment for non blocking http transport based on HttpCore + NIO extensions -->
- <!--transportReceiver name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
- <parameter name="port" locked="false">8280</parameter>
- <parameter name="non-blocking" locked="false">true</parameter-->
- <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
- <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
- <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
- <!--/transportReceiver-->
-
- <!-- the non blocking https transport based on HttpCore + SSL-NIO extensions -->
- <!--transportReceiver name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLListener">
- <parameter name="port" locked="false">8243</parameter>
- <parameter name="non-blocking" locked="false">true</parameter-->
- <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
- <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
- <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
- <!--parameter name="keystore" locked="false">
- <KeyStore>
- <Location>repository/resources/security/wso2carbon.jks</Location>
- <Type>JKS</Type>
- <Password>wso2carbon</Password>
- <KeyPassword>wso2carbon</KeyPassword>
- </KeyStore>
- </parameter>
- <parameter name="truststore" locked="false">
- <TrustStore>
- <Location>repository/resources/security/client-truststore.jks</Location>
- <Type>JKS</Type>
- <Password>wso2carbon</Password>
- </TrustStore>
- </parameter-->
- <!--<parameter name="SSLVerifyClient">require</parameter>
- supports optional|require or defaults to none -->
- <!--/transportReceiver-->
-
- <!-- ================================================= -->
- <!-- Transport Outs (Senders) -->
- <!-- ================================================= -->
- <!--Default trasnport will be passthrough if you need to change please add it here -->
- <transportSender name="http" class="org.wso2.carbon.transport.passthru.PassThroughHttpSender">
- <parameter name="non-blocking" locked="false">true</parameter>
- <parameter name="warnOnHTTP500" locked="false">*</parameter>
- <!--parameter name="http.proxyHost" locked="false">localhost</parameter>
- <parameter name="http.proxyPort" locked="false">3128</parameter>
- <parameter name="http.nonProxyHosts" locked="false">localhost|moon|sun</parameter-->
- </transportSender>
- <transportSender name="https" class="org.wso2.carbon.transport.passthru.PassThroughHttpSSLSender">
- <parameter name="non-blocking" locked="false">true</parameter>
- <parameter name="keystore" locked="false">
- <KeyStore>
- <Location>repository/resources/security/wso2carbon.jks</Location>
- <Type>JKS</Type>
- <Password>wso2carbon</Password>
- <KeyPassword>wso2carbon</KeyPassword>
- </KeyStore>
- </parameter>
- <parameter name="truststore" locked="false">
- <TrustStore>
- <Location>repository/resources/security/client-truststore.jks</Location>
- <Type>JKS</Type>
- <Password>wso2carbon</Password>
- </TrustStore>
- </parameter>
- <parameter name="HostnameVerifier">AllowAll</parameter>
- <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
- </transportSender>
- <!-- Uncomment for non-blocking http transport based on HttpCore + NIO extensions -->
- <!--transportSender name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
- <parameter name="non-blocking" locked="false">true</parameter>
- </transportSender>
- <transportSender name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLSender">
- <parameter name="non-blocking" locked="false">true</parameter>
- <parameter name="keystore" locked="false">
- <KeyStore>
- <Location>repository/resources/security/wso2carbon.jks</Location>
- <Type>JKS</Type>
- <Password>wso2carbon</Password>
- <KeyPassword>wso2carbon</KeyPassword>
- </KeyStore>
- </parameter>
- <parameter name="truststore" locked="false">
- <TrustStore>
- <Location>repository/resources/security/client-truststore.jks</Location>
- <Type>JKS</Type>
- <Password>wso2carbon</Password>
- </TrustStore>
- </parameter>
- <parameter name="HostnameVerifier">AllowAll</parameter-->
- <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
- <!--/transportSender-->
-
- <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
-
- <!-- ================================================= -->
- <!-- Clustering -->
- <!-- ================================================= -->
- <!--
- To enable clustering for this node, set the value of "enable" attribute of the "clustering"
- element to "true". The initialization of a node in the cluster is handled by the class
- corresponding to the "class" attribute of the "clustering" element. It is also responsible for
- getting this node to join the cluster.
- -->
- <clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="true">
-
- <!--
- This parameter indicates whether the cluster has to be automatically initalized
- when the AxisConfiguration is built. If set to "true" the initialization will not be
- done at that stage, and some other party will have to explictly initialize the cluster.
- -->
- <parameter name="AvoidInitiation">true</parameter>
-
- <!--
- The membership scheme used in this setup. The only values supported at the moment are
- "multicast" and "wka"
-
- 1. multicast - membership is automatically discovered using multicasting
- 2. wka - Well-Known Address based multicasting. Membership is discovered with the help
- of one or more nodes running at a Well-Known Address. New members joining a
- cluster will first connect to a well-known node, register with the well-known node
- and get the membership list from it. When new members join, one of the well-known
- nodes will notify the others in the group. When a member leaves the cluster or
- is deemed to have left the cluster, it will be detected by the Group Membership
- Service (GMS) using a TCP ping mechanism.
- -->
- <parameter name="membershipScheme">wka</parameter>
-
- <!--
- The clustering domain/group. Nodes in the same group will belong to the same multicast
- domain. There will not be interference between nodes in different groups.
- -->
- <parameter name="domain">wso2.carbon.lb.domain</parameter>
-
- <!--
- When a Web service request is received, and processed, before the response is sent to the
- client, should we update the states of all members in the cluster? If the value of
- this parameter is set to "true", the response to the client will be sent only after
- all the members have been updated. Obviously, this can be time consuming. In some cases,
- such this overhead may not be acceptable, in which case the value of this parameter
- should be set to "false"
- -->
- <parameter name="synchronizeAll">false</parameter>
-
- <!--
- The maximum number of times we need to retry to send a message to a particular node
- before giving up and considering that node to be faulty
- -->
- <parameter name="maxRetries">10</parameter>
-
- <!-- The multicast address to be used -->
- <parameter name="mcastAddress">228.0.0.4</parameter>
-
- <!-- The multicast port to be used -->
- <parameter name="mcastPort">45564</parameter>
-
- <!-- The frequency of sending membership multicast messages (in ms) -->
- <parameter name="mcastFrequency">500</parameter>
-
- <!-- The time interval within which if a member does not respond, the member will be
- deemed to have left the group (in ms)
- -->
- <parameter name="memberDropTime">3000</parameter>
-
- <!--
- The IP address of the network interface to which the multicasting has to be bound to.
- Multicasting would be done using this interface.
- -->
- <parameter name="mcastBindAddress">127.0.0.1</parameter>
-
- <!-- The host name or IP address of this member -->
-
- <!--parameter name="localMemberHost">127.0.0.1</parameter-->
-
-
- <!--
- The TCP port used by this member. This is the port through which other nodes will
- contact this member
- -->
- <parameter name="localMemberPort">4000</parameter>
-
- <!--
- Preserve message ordering. This will be done according to sender order.
- -->
- <parameter name="preserveMessageOrder">false</parameter>
-
- <!--
- Maintain atmost-once message processing semantics
- -->
- <parameter name="atmostOnceMessageSemantics">false</parameter>
-
- <!--
- This interface is responsible for handling state replication. The property changes in
- the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
-
- The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
- suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
- "*" indicates that all properties in a particular context should not be replicated.
-
- The "enable" attribute indicates whether context replication has been enabled
- -->
- <stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
- enable="false">
- <replication>
- <defaults>
- <exclude name="local_*"/>
- <exclude name="LOCAL_*"/>
- </defaults>
- <context class="org.apache.axis2.context.ConfigurationContext">
- <exclude name="local_*"/>
- <exclude name="UseAsyncOperations"/>
- <exclude name="SequencePropertyBeanMap"/>
- </context>
- <context class="org.apache.axis2.context.ServiceGroupContext">
- <exclude name="local_*"/>
- <exclude name="my.sandesha.*"/>
- </context>
- <context class="org.apache.axis2.context.ServiceContext">
- <exclude name="local_*"/>
- <exclude name="my.sandesha.*"/>
- </context>
- </replication>
- </stateManager>
- </clustering>
-
- <!-- ================================================= -->
- <!-- Phases -->
- <!-- ================================================= -->
-
- <phaseOrder type="InFlow">
- <!-- System pre defined phases -->
- <phase name="Transport"/>
- <phase name="Addressing"/>
- <phase name="Security"/>
- <phase name="PreDispatch"/>
- <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
- <!-- System pre defined phases -->
- <phase name="RMPhase"/>
- <phase name="OpPhase"/>
- </phaseOrder>
-
- <phaseOrder type="OutFlow">
- <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
- <phase name="UEPPhase" />
- <!-- user can add his own phases to this area -->
- <phase name="RMPhase"/>
- <phase name="MUPhase"/>
- <phase name="OpPhase"/>
- <phase name="OperationOutPhase"/>
- <!--system predefined phase-->
- <!--these phase will run irrespective of the service-->
- <phase name="PolicyDetermination"/>
- <phase name="MessageOut"/>
- <phase name="Security"/>
- </phaseOrder>
-
- <phaseOrder type="InFaultFlow">
- <phase name="Transport"/>
- <phase name="Addressing"/>
- <phase name="Security"/>
- <phase name="PreDispatch"/>
- <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
- <!-- user can add his own phases to this area -->
- <phase name="RMPhase"/>
- <phase name="OpPhase"/>
- <phase name="MUPhase"/>
- <phase name="OperationInFaultPhase"/>
- </phaseOrder>
-
- <phaseOrder type="OutFaultFlow">
- <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
- <phase name="UEPPhase" />
- <!-- user can add his own phases to this area -->
- <phase name="RMPhase"/>
- <!-- Must Understand Header processing phase -->
- <phase name="MUPhase"/>
- <phase name="OperationOutFaultPhase"/>
- <phase name="PolicyDetermination"/>
- <phase name="MessageOut"/>
- <phase name="Security"/>
- </phaseOrder>
-
-</axisconfig>