You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2011/07/11 23:10:56 UTC
svn commit: r1145356 [28/28] - in /incubator/airavata/trunk/ws-messaging: ./
distribution/ distribution/axis2_releases/
distribution/axis2_releases/axis2-1.6.0/
distribution/axis2_releases/axis2-1.6.0/bin/
distribution/axis2_releases/axis2-1.6.0/conf/ ...
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewServiceGroupContext.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewServiceGroupContext.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewServiceGroupContext.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewServiceGroupContext.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,55 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ --%>
+
+<%@ page import="org.apache.axis2.context.ConfigurationContext"%>
+<%@ page import="org.apache.axis2.context.ServiceGroupContext"%>
+<%@ page import="java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Runing Context hierachy</h1>
+<%
+ String type = (String) request.getSession().getAttribute("TYPE");
+ ConfigurationContext configCtx = (ConfigurationContext) request.getSession().getAttribute("ConfigurationContext");
+ ServiceGroupContext sgContext = (ServiceGroupContext) request.getSession().getAttribute("ServiceGroupContext");
+ if (sgContext != null) {
+ if (type != null) {
+ if ("VIEW".equals(type)) {
+ Iterator propertyNames = sgContext.getPropertyNames();
+%>
+ <h4>Persistance properties</h4><ul>
+ <%
+ while (propertyNames.hasNext()) {
+ String key = (String) propertyNames.next();
+ Object property = sgContext.getProperty(key);
+ %>
+ <li><%=key%> : <%=property.toString()%></li>
+ <%
+ }
+ %></ul>
+ <%
+ } else if("DELETE".equals(type)){
+ configCtx.removeServiceGroupContext(sgContext.getId());
+ %>Removed the context<%
+ }
+ }
+ } else {
+%> <h4>No service group context found</h4><%
+ }
+%>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewphases.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewphases.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewphases.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewphases.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,111 @@
+ <%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ --%> <%@ page import="org.apache.axis2.Constants,
+ org.apache.axis2.deployment.util.PhasesInfo,
+ org.apache.axis2.engine.Phase"%>
+ <%@ page import="java.util.List"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Available Phases</h1>
+ <%
+ PhasesInfo phases = (PhasesInfo)request.getSession().getAttribute(Constants.PHASE_LIST);
+ request.getSession().setAttribute(Constants.PHASE_LIST,null);
+ List tempList = phases.getGlobalInflow();
+ %><h2><font color="blue">System Pre-defined Phases</font></h2>
+ <b>InFlow Up to Dispatcher</b>
+ <blockquote>
+ <%
+ for (int i = 0; i < tempList.size(); i++) {
+ Phase phase = (Phase) tempList.get(i);
+ %><%=phase.getPhaseName()%><br><%
+ }
+ %>
+ </blockquote>
+ <b>InFaultFlow </b>
+ <blockquote>
+ <%
+ tempList = phases.getGlobalInFaultPhases();
+ for (int i = 0; i < tempList.size(); i++) {
+ Phase phase = (Phase) tempList.get(i);
+ %><%=phase.getPhaseName()%><br><%
+ }
+ %>
+ </blockquote>
+ <b>OutFlow </b>
+ <blockquote>
+ <%
+ tempList = phases.getGlobalOutPhaseList();
+ for (int i = 0; i < tempList.size(); i++) {
+ Phase phase = (Phase) tempList.get(i);
+ %><%=phase.getPhaseName()%><br><%
+ }
+ %>
+ </blockquote>
+ <b>OutFaultFlow </b>
+ <blockquote>
+ <%
+ tempList = phases.getOUT_FaultPhases();
+ for (int i = 0; i < tempList.size(); i++) {
+ Phase phase = (Phase) tempList.get(i);
+ %><%=phase.getPhaseName()%><br><%
+ }
+ %>
+ </blockquote>
+ <br>
+ <h2><font color="blue">User Defined Phases</font></h2>
+ <b>Inflow after Dispatcher</b>
+ <blockquote>
+ <%
+ tempList = phases.getOperationInPhases();
+ for (int i = 0; i < tempList.size(); i++) {
+ Phase phase = (Phase) tempList.get(i);
+ %><%=phase.getPhaseName()%><br><%
+ }
+ %>
+ </blockquote>
+ <b>InFaultFlow after Dispatcher</b>
+ <blockquote>
+ <%
+ tempList = phases.getOperationInFaultPhases();
+ for (int i = 0; i < tempList.size(); i++) {
+ Phase phase = (Phase) tempList.get(i);
+ %><%=phase.getPhaseName()%><br><%
+ }
+ %>
+ </blockquote>
+ <b>OutFlow </b>
+ <blockquote>
+ <%
+ tempList = phases.getOperationOutPhases();
+ for (int i = 0; i < tempList.size(); i++) {
+ Phase phase = (Phase) tempList.get(i);
+ %><%=phase.getPhaseName()%><br><%
+ }
+ %>
+ </blockquote>
+ <b>OutFaultFlow </b>
+ <blockquote>
+ <%
+ tempList = phases.getOperationOutFaultPhases();
+ for (int i = 0; i < tempList.size(); i++) {
+ Phase phase = (Phase) tempList.get(i);
+ %><%=phase.getPhaseName()%><br><%
+ }
+ %>
+ </blockquote>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/build.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/build.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/build.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/build.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,90 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<project basedir="../" default="create.war">
+ <property name="dist" value="dist" />
+ <property name="temp" value="${dist}/temp" />
+
+ <target name="init">
+ <mkdir dir="${dist}" />
+ <mkdir dir="${temp}" />
+ <copy toDir="${temp}">
+ <fileset dir="webapp">
+ <include name="**/**" />
+ <exclude name="**/web.xml"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target depends="init" name="prepare.repo">
+
+ <!-- Copying the axis2 repository from ../repository -->
+ <copy toDir="${temp}/WEB-INF">
+ <fileset dir="repository">
+ <include name="**/**" />
+ </fileset>
+ </copy>
+
+ <!-- Creating the services.list -->
+ <path id="services.archives">
+ <fileset dir="${temp}/WEB-INF/services">
+ <include name="*.aar" />
+ </fileset>
+ </path>
+ <pathconvert pathsep="${line.separator}" property="echo.services.archives" refid="services.archives">
+ <flattenmapper />
+ </pathconvert>
+ <echo file="${temp}/WEB-INF/services/services.list" message="${echo.services.archives}" />
+
+ <!-- Creating the modules.list -->
+ <path id="modules.archives">
+ <fileset dir="${temp}/WEB-INF/modules">
+ <include name="*.mar" />
+ </fileset>
+ </path>
+ <pathconvert pathsep="${line.separator}" property="echo.modules.archives" refid="modules.archives">
+ <flattenmapper />
+ </pathconvert>
+ <echo file="${temp}/WEB-INF/modules/modules.list" message="${echo.modules.archives}" />
+
+ <!-- Copying the axis2.xml from ../conf -->
+ <mkdir dir="${temp}/WEB-INF/conf" />
+ <copy file="conf/axis2.xml" toDir="${temp}/WEB-INF/conf" />
+ </target>
+
+ <target depends="init,prepare.repo" name="create.war">
+ <war destfile="dist/axis2.war" webxml="webapp/WEB-INF/web.xml">
+ <lib dir="lib">
+ <include name="**" />
+ <exclude name="**servlet**" />
+ <exclude name="ant*.jar" />
+ <exclude name="axis2-adb-codegen*.jar"/>
+ <!-- codegen is required for Rampart because of AXIS2-4265 -->
+ <!-- exclude name="axis2-codegen*.jar"/ -->
+ <exclude name="jibx-bind*.jar"/>
+ </lib>
+ <webinf dir="${temp}/WEB-INF" />
+ <fileset dir="${temp}">
+ <include name="**/axis2-web/**" />
+ </fileset>
+ </war>
+ <delete dir="${temp}" />
+ </target>
+</project>
+
Added: incubator/airavata/trunk/ws-messaging/distribution/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/pom.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/pom.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/pom.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <parent>
+ <artifactId>ws-messenger</artifactId>
+ <groupId>Airavata</groupId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>Airavata</groupId>
+ <artifactId>distribution</artifactId>
+ <name>distribution</name>
+ <url>http://incubator.apache.org/airavata</url>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-5</version>
+ <executions>
+ <execution>
+ <id>distribution-package</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>${archieve.name}-${version}</finalName>
+ <descriptors>
+ <descriptor>src/main/assembly/bin-assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <archieve.name>airavta-ws-messenger</archieve.name>
+ <used.axis2.release>1.6.0</used.axis2.release>
+ </properties>
+</project>
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/axis2.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/axis2.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/resources/axis2.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/resources/axis2.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,551 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<axisconfig name="AxisJava2.0">
+ <!-- ================================================= -->
+ <!-- Parameters -->
+ <!-- ================================================= -->
+ <parameter name="hotdeployment">true</parameter>
+ <parameter name="hotupdate">false</parameter>
+ <parameter name="enableMTOM">false</parameter>
+ <parameter name="enableSwA">false</parameter>
+
+ <!--Uncomment if you want to enable file caching for attachments -->
+ <!--parameter name="cacheAttachments">true</parameter>
+ <parameter name="attachmentDIR"></parameter>
+ <parameter name="sizeThreshold">4000</parameter-->
+
+ <!--Uncomment if you want to plugin your own attachments lifecycle implementation -->
+ <!--<attachmentsLifecycleManager class="org.apache.axiom.attachments.lifecycle.impl.LifecycleManagerImpl"/>-->
+
+
+ <!--Uncomment if you want to enable the reduction of the in-memory cache of WSDL definitions -->
+ <!--In some server environments, the available memory heap is limited and can fill up under load -->
+ <!--Since in-memory copies of WSDL definitions can be large, some steps can be taken-->
+ <!--to reduce the memory needed for the cached WSDL definitions. -->
+ <!--parameter name="reduceWSDLMemoryCache">true</parameter-->
+
+ <!--This will give out the timout of the configuration contexts, in milliseconds-->
+ <parameter name="ConfigContextTimeoutInterval">30000</parameter>
+
+ <!--During a fault, stack trace can be sent with the fault message. The following flag will control -->
+ <!--that behavior.-->
+ <parameter name="sendStacktraceDetailsWithFaults">false</parameter>
+
+ <!--If there aren't any information available to find out the fault reason, we set the message of the exception-->
+ <!--as the faultreason/Reason. But when a fault is thrown from a service or some where, it will be -->
+ <!--wrapped by different levels. Due to this the initial exception message can be lost. If this flag-->
+ <!--is set, then Axis2 tries to get the first exception and set its message as the faultreason/Reason.-->
+ <parameter name="DrillDownToRootCauseForFaultReason">false</parameter>
+
+ <parameter name="userName">admin</parameter>
+ <parameter name="password">axis2</parameter>
+
+ <!--To override repository/services you need to uncomment following parameter and value SHOULD be absolute file path.-->
+ <!--ServicesDirectory only works on the following cases-->
+ <!---File based configurator and in that case the value should be a file URL (http:// not allowed)-->
+ <!---When creating URL Based configurator with URL file:// -->
+ <!--- War based configurator with expanded case , -->
+
+ <!--All the other scenarios it will be ignored.-->
+ <!--<parameter name="ServicesDirectory">service</parameter>-->
+ <!--To override repository/modules you need to uncomment following parameter and value SHOULD be absolute file path-->
+ <!--<parameter name="ModulesDirectory">modules</parameter>-->
+
+
+ <!--Following params will set the proper context paths for invocations. All the endpoints will have a commons context-->
+ <!--root which can configured using the following contextRoot parameter-->
+ <!--<parameter name="contextRoot">axis2</parameter>-->
+
+ <!--Our HTTP endpoints can handle both REST and SOAP. Following parameters can be used to distinguiush those endpoints-->
+ <!--In case of a servlet, if you change this you have to manually change the settings of your servlet container to map this -->
+ <!--context path to proper Axis2 servlets-->
+ <!--<parameter name="servicePath">services</parameter>-->
+ <!--<parameter name="restPath">rest</parameter>-->
+
+ <!-- Following parameter will completely disable REST handling in Axis2-->
+ <parameter name="disableREST" locked="false">false</parameter>
+
+ <!-- Following parameter will suppress generation of SOAP 1.2 bindings in auto-generated WSDL files -->
+ <parameter name="disableSOAP12" locked="true">false</parameter>
+
+ <!--POJO deployer , this will alow users to drop .class file and make that into a service-->
+ <deployer extension=".class" directory="pojo" class="org.apache.axis2.deployment.POJODeployer"/>
+ <deployer extension=".jar" directory="servicejars"
+ class="org.apache.axis2.jaxws.framework.JAXWSDeployer"/>
+ <deployer extension=".jar" directory="transports"
+ class="org.apache.axis2.deployment.TransportDeployer"/>
+
+ <!--CORBA deployer , this will alow users to invoke remote CORBA services through Axis2-->
+ <!--<deployer extension=".xml" directory="corba" class="org.apache.axis2.corba.deployer.CorbaDeployer"/>-->
+
+ <!--<deployer extension=".jsa" directory="rmiservices" class="org.apache.axis2.rmi.deploy.RMIServiceDeployer"/>-->
+
+
+ <!-- Following parameter will set the host name for the epr-->
+ <!--<parameter name="hostname" locked="true">myhost.com</parameter>-->
+
+ <!-- If you have a front end host which exposes this webservice using a different public URL -->
+ <!-- use this parameter to override autodetected url -->
+ <!--<parameter name="httpFrontendHostUrl">https://someotherhost/context</parameter>-->
+
+
+ <!-- The way of adding listener to the system-->
+ <!-- <listener class="org.apache.axis2.ObserverIMPL">-->
+ <!-- <parameter name="RSS_URL">http://127.0.0.1/rss</parameter>-->
+ <!-- </listener>-->
+
+ <threadContextMigrators>
+ <threadContextMigrator listId="JAXWS-ThreadContextMigrator-List"
+ class="org.apache.axis2.jaxws.addressing.migrator.EndpointContextMapMigrator"/>
+ </threadContextMigrators>
+
+ <!-- ================================================= -->
+ <!-- Message Receivers -->
+ <!-- ================================================= -->
+ <!--This is the default MessageReceiver for the system , if you want to have MessageReceivers for -->
+ <!--all the other MEP implement it and add the correct entry to here , so that you can refer from-->
+ <!--any operation -->
+ <!--Note : You can override this for a particular service by adding the same element with your requirement-->
+ <messageReceivers>
+ <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
+ class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
+ <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
+ class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+ <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-only"
+ class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
+ <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-out"
+ class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+ <messageReceiver mep="http://www.w3.org/ns/wsdl/in-only"
+ class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
+ <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
+ class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+ </messageReceivers>
+
+ <!-- ================================================= -->
+ <!-- Message Formatter -->
+ <!-- ================================================= -->
+ <!--Following content type to message formatter mapping can be used to implement support for different message -->
+ <!--format serialization in Axis2. These message formats are expected to be resolved based on the content type. -->
+ <messageFormatters>
+ <messageFormatter contentType="application/x-www-form-urlencoded"
+ class="org.apache.axis2.transport.http.XFormURLEncodedFormatter"/>
+ <messageFormatter contentType="multipart/form-data"
+ class="org.apache.axis2.transport.http.MultipartFormDataFormatter"/>
+ <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"/>
+ </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.apache.axis2.builder.ApplicationXMLBuilder"/>
+ <messageBuilder contentType="application/x-www-form-urlencoded"
+ class="org.apache.axis2.builder.XFormURLEncodedBuilder"/>
+ <messageBuilder contentType="multipart/form-data"
+ class="org.apache.axis2.builder.MultipartFormDataBuilder"/>
+ </messageBuilders>
+
+ <!-- ================================================= -->
+ <!-- Transport Ins -->
+ <!-- ================================================= -->
+ <transportReceiver name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
+ <parameter name="port">8080</parameter>
+ <parameter name="non-blocking">true</parameter>
+ <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
+ <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
+ </transportReceiver>
+
+ <!-- the non blocking https transport based on HttpCore + SSL-NIO extensions -->
+
+
+ <!--Uncomment this and configure as appropriate for JMS transport support, after setting up your JMS environment (e.g. ActiveMQ)
+ <transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener">
+ <parameter name="myTopicConnectionFactory">
+ <parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
+ <parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
+ <parameter name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter>
+ <parameter name="transport.jms.ConnectionFactoryType" locked="false">topic</parameter>
+ </parameter>
+
+ <parameter name="myQueueConnectionFactory">
+ <parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
+ <parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
+ <parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+ <parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
+ </parameter>
+
+ <parameter name="default">
+ <parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
+ <parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
+ <parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+ <parameter name="transport.jms.ConnectionFactoryType" locked="false">queue</parameter>
+ </parameter>
+ </transportReceiver>-->
+
+ <!--Uncomment this for FIX transport support
+ <transportReceiver name="fix" class="org.apache.synapse.transport.fix.FIXTransportListener">
+ <parameter name="non-blocking">true</parameter>
+ </transportReceiver>-->
+
+ <!-- ================================================= -->
+ <!-- Transport Outs -->
+ <!-- ================================================= -->
+
+ <transportSender name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
+ <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>
+
+
+ <!-- Uncomment and configure the SMTP server information
+ check com.sun.mail.smtp package documentation for descriptions of properties
+ <transportSender name="mailto" class="org.apache.axis2.transport.mail.MailTransportSender">
+ <parameter name="mail.smtp.host">smtp.gmail.com</parameter>
+ <parameter name="mail.smtp.port">587</parameter>
+ <parameter name="mail.smtp.starttls.enable">true</parameter>
+ <parameter name="mail.smtp.auth">true</parameter>
+ <parameter name="mail.smtp.user">synapse.demo.0</parameter>
+ <parameter name="mail.smtp.password">mailpassword</parameter>
+ <parameter name="mail.smtp.from">synapse.demo.0@gmail.com</parameter>
+ </transportSender>-->
+
+ <!--Uncomment this for FIX transport support
+ <transportSender name="fix" class="org.apache.synapse.transport.fix.FIXTransportSender">
+ <parameter name="non-blocking">true</parameter>
+ </transportSender>-->
+
+ <!-- ================================================= -->
+ <!-- Global Modules -->
+ <!-- ================================================= -->
+ <!-- Comment this to disable Addressing -->
+ <module ref="addressing"/>
+
+ <!--Configuring module , providing parameters for modules whether they refer or not-->
+ <!--<moduleConfig name="addressing">-->
+ <!--<parameter name="addressingPara">N/A</parameter>-->
+ <!--</moduleConfig>-->
+
+ <!-- ================================================= -->
+ <!-- Clustering -->
+ <!-- ================================================= -->
+ <!--
+ To enable clustering for this node, set the value of "enable" attribute of the "cluster"
+ element to "true". The initilization of a node in the cluster is handled by the class
+ corresponding to the "class" attribute of the "cluster" element. It is also responsible for
+ getting this node to join the cluster.
+ -->
+ <cluster class="org.apache.axis2.clustering.tribes.TribesClusterManager" enable="false">
+
+ <!--
+ This parameter indicates whther 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>
+
+ <!--
+ Indicates whether this member is active or not. This will be useful in a setup where
+ members are deployed in ACTIVE and/or PASSIVE configuration
+ -->
+ <parameter name="isActive">true</parameter>
+
+ <!--
+ An implementation of org.apache.axis2.clustering.MembershipListener
+ which will be called on membership changes
+ -->
+ <!--
+ <parameter name="membershipListener">
+ <class>org.apache.axis2.clustering.MembershipListenerImpl</class>
+ <properties>
+ <property name="foo">bar</property>
+ </properties>
+ </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">multicast</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">apache.axis2.domain</parameter>
+
+ <!--
+ This parameter is only valid when the "mode" parameter is set to application. This indicates
+ the domain in which the the applications being load balanced are deployed.
+ -->
+ <parameter name="applicationDomain">apache.axis2.application.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">true</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">true</parameter>
+
+ <!--
+ Maintain atmost-once message processing semantics
+ -->
+ <parameter name="atmostOnceMessageSemantics">true</parameter>
+
+ <!--
+ The list of static or well-known members. These entries will only be valid if the
+ "membershipScheme" above is set to "wka"
+ -->
+ <members>
+ <member>
+ <hostName>127.0.0.1</hostName>
+ <port>4000</port>
+ </member>
+ <member>
+ <hostName>127.0.0.1</hostName>
+ <port>4001</port>
+ </member>
+ </members>
+
+ <!--
+ Enable the load balancer entry if you need to run this node as a load balancer.
+ Multiple application domains with different LoadBalanceEventHandler implementations
+ can be defined in this section.
+ -->
+ <loadBalancer enable="false">
+ <applicationDomain name="apache.axis2.application.domain"
+ handler="org.apache.axis2.clustering.DefaultLoadBalanceEventHandler"/>
+ </loadBalancer>
+
+ <!--
+ This interface is responsible for handling configuration management.
+ Configuraion changes include:
+
+ 1. Rebooting an entire cluster, in which case, all nodes have to load the new
+ Axis2 configuration in a consistent manner
+ 2. Deploying a new service to a cluster or undeploying a service from a cluster
+ 3. Changing the policies of a service deployed on the cluster
+
+ The "enable" attribute indicates whether Configuration management has been enabled
+ -->
+ <configurationManager
+ class="org.apache.axis2.clustering.configuration.DefaultConfigurationManager"
+ enable="true">
+ <listener
+ class="org.apache.axis2.clustering.configuration.DefaultConfigurationManagerListener"/>
+ </configurationManager>
+
+ <!--
+ This interface is responsible for handling context 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
+ -->
+ <contextManager class="org.apache.axis2.clustering.context.DefaultContextManager"
+ enable="true">
+ <listener class="org.apache.axis2.clustering.context.DefaultContextManagerListener"/>
+ <replication>
+ <defaults>
+ <exclude name="local_*"/>
+ <exclude name="LOCAL_*"/>
+ </defaults>
+ <context class="org.apache.axis2.context.ConfigurationContext">
+ <exclude name="UseAsyncOperations"/>
+ <exclude name="SequencePropertyBeanMap"/>
+ </context>
+ <context class="org.apache.axis2.context.ServiceGroupContext">
+ <exclude name="my.sandesha.*"/>
+ </context>
+ <context class="org.apache.axis2.context.ServiceContext">
+ <exclude name="my.sandesha.*"/>
+ </context>
+ </replication>
+ </contextManager>
+ </cluster>
+
+ <!-- ================================================= -->
+ <!-- Phases -->
+ <!-- ================================================= -->
+ <phaseOrder type="InFlow">
+ <!-- System predefined phases -->
+ <phase name="Transport">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
+ <order phase="Transport"/>
+ </handler>
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
+ <order phase="Transport"/>
+ </handler>
+ </phase>
+ <phase name="Addressing">
+ <handler name="AddressingBasedDispatcher"
+ class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
+ <order phase="Addressing"/>
+ </handler>
+ </phase>
+ <phase name="Security"/>
+ <phase name="PreDispatch"/>
+ <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
+ <handler name="RequestURIOperationDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
+ <handler name="HTTPLocationBasedDispatcher"
+ class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
+ <handler name="GenericProviderDispatcher"
+ class="org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher"/>
+ <handler name="MustUnderstandValidationDispatcher"
+ class="org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher"/>
+ </phase>
+ <phase name="RMPhase"/>
+ <!-- System predefined phases -->
+ <!-- After Postdispatch phase module author or service author can add any phase he want -->
+ <phase name="OperationInPhase">
+ <handler name="MustUnderstandChecker"
+ class="org.apache.axis2.jaxws.dispatchers.MustUnderstandChecker">
+ <order phase="OperationInPhase"/>
+ </handler>
+ </phase>
+ <phase name="soapmonitorPhase"/>
+ </phaseOrder>
+ <phaseOrder type="OutFlow">
+ <!-- user can add his own phases to this area -->
+ <phase name="soapmonitorPhase"/>
+ <phase name="OperationOutPhase"/>
+ <!--system predefined phase-->
+ <!--these phase will run irrespective of the service-->
+ <phase name="RMPhase"/>
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ <phase name="Security"/>
+ </phaseOrder>
+ <phaseOrder type="InFaultFlow">
+ <phase name="Addressing">
+ <handler name="AddressingBasedDispatcher"
+ class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
+ <order phase="Addressing"/>
+ </handler>
+ </phase>
+ <phase name="Security"/>
+ <phase name="PreDispatch"/>
+ <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
+ <handler name="RequestURIOperationDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
+ <handler name="HTTPLocationBasedDispatcher"
+ class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
+ <handler name="GenericProviderDispatcher"
+ class="org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher"/>
+ <handler name="MustUnderstandValidationDispatcher"
+ class="org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher"/>
+ </phase>
+ <phase name="RMPhase"/>
+ <!-- user can add his own phases to this area -->
+ <phase name="OperationInFaultPhase"/>
+ <phase name="soapmonitorPhase"/>
+ </phaseOrder>
+ <phaseOrder type="OutFaultFlow">
+ <!-- user can add his own phases to this area -->
+ <phase name="soapmonitorPhase"/>
+ <phase name="OperationOutFaultPhase"/>
+ <phase name="RMPhase"/>
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ <phase name="Security"/>
+ </phaseOrder>
+</axisconfig>
+
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/axis2.xml
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/msgBox.properties
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/msgBox.properties?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/resources/msgBox.properties (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/resources/msgBox.properties Mon Jul 11 21:10:36 2011
@@ -0,0 +1,7 @@
+msgBox.jdbc.driver=com.mysql.jdbc.Driver
+msgBox.jdbc.url=jdbc:mysql://127.0.0.1:3306/wsmg?user=airavata&password=airavata
+msgBox.usedatabase=false
+messagePreservationDays=2
+messagePreservationHours=0
+messagePreservationMinutes=0
+
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/apache-mime4j-0.6.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/apache-mime4j-0.6.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/apache-mime4j-0.6.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-base-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-base-1.0-SNAPSHOT.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-base-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-base-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-http-1.5.j
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-http-1.5.j?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-http-1.5.j
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-http-1.5.j
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-jms-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-jms-1.0-SNAPSHOT.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-jms-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-jms-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-local-1.5.j
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-local-1.5.j?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-local-1.5.j
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-local-1.5.j
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-mail-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-mail-1.0-SNAPSHOT.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-mail-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/axis2-transport-mail-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-codec-1.3.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-codec-1.3.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-codec-1.3.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-logging-1.1.1.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-logging-1.1.1.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-logging-1.1.1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-vfs-1.1-587797.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-vfs-1.1-587797.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-vfs-1.1-587797.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/commons-vfs-1.1-587797.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/geronimo-spec-jms-1.1-rc4.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/geronimo-spec-jms-1.1-rc4.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/geronimo-spec-jms-1.1-rc4.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/geronimo-spec-jms-1.1-rc4.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpclient-4.1-alpha1.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpclient-4.1-alpha1.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpclient-4.1-alpha1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-4.1-alpha1.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-4.1-alpha1.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-4.1-alpha1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-nio-4.0-patch-httpcore-193.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-nio-4.0-patch-httpcore-193.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-nio-4.0-patch-httpcore-193.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-nio-4.0-patch-httpcore-193.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-nio-4.1-alpha1.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-nio-4.1-alpha1.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpcore-nio-4.1-alpha1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpmime-4.1-alpha1.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpmime-4.1-alpha1.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/httpmime-4.1-alpha1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-commons-1.3.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-commons-1.3.0-SNAPSHOT.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-commons-1.3.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-commons-1.3.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-nhttp-transport-1.3.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-nhttp-transport-1.3.0-SNAPSHOT.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-nhttp-transport-1.3.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-transports-1.2.jar
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-transports-1.2.jar?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-transports-1.2.jar
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/nio_lib/synapse-transports-1.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/org.apache.airavata.wsmg.broker.properties
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/org.apache.airavata.wsmg.broker.properties?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/resources/org.apache.airavata.wsmg.broker.properties (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/resources/org.apache.airavata.wsmg.broker.properties Mon Jul 11 21:10:36 2011
@@ -0,0 +1,40 @@
+#Sample configuration file for broker
+
+
+#database realted settings (only applicable if 'broker.storage.type=persistent')
+broker.jdbc.driver=com.mysql.jdbc.Driver
+broker.jdbc.url=jdbc:mysql://localhost:3306/wsmg?user=airavata&password=airavata
+
+#socket time out in milliseconds for sending messages. (defaults is 20000)
+broker.socket.timeout=60000
+
+
+#broker.storage.type=persistent
+broker.storage.type=memory
+
+#specifies wether delivery component should be started or not.
+broker.start.delivery.thread=true
+
+
+#fixed thread pool based delivery
+#broker.delivery.method=pcrew
+
+#dynamic thread pool based delivery
+#broker.delivery.method=parallel
+
+#single thread delivery
+broker.delivery.method=serial
+
+#number of message delivery failures before a url become black listed (default is 2)
+#broker.msg.delivery.retries=2
+
+#time period (in seconds) a url will be kept blacklisted (default is 5 seconds)
+#consumer.expiration.time.gap=5
+
+#maximum number of messages to be send to a one consumer/url at time.
+#applicable if 'broker.delivery.method' is 'pcrew' . (default is 10)
+
+#sending.batch.size=10
+
+#size of the thread pool. only applicable if 'broker.delivery.method' is 'pcrew'. (default is 4)
+#sending.thread.pool.size=4
Added: incubator/airavata/trunk/ws-messaging/distribution/resources/startGUI.sh
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/resources/startGUI.sh?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/resources/startGUI.sh (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/resources/startGUI.sh Mon Jul 11 21:10:36 2011
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+DISTRIBUTION_ROOT=$(dirname `pwd`)
+
+BROKER_CLASS_PATH=""
+
+#broker libraries
+for f in "$DISTRIBUTION_ROOT"/client-api/broker*.jar
+do
+ BROKER_CLASS_PATH="$BROKER_CLASS_PATH":$f
+done
+
+
+#axis libraries
+for f in "$DISTRIBUTION_ROOT"/standalone-server/lib/*.jar
+do
+ BROKER_CLASS_PATH="$BROKER_CLASS_PATH":$f
+done
+
+echo $BROKER_CLASS_PATH
+
+
+java -classpath "$BROKER_CLASS_PATH" wsmg.gui.NotificationViewer
+
+
Propchange: incubator/airavata/trunk/ws-messaging/distribution/resources/startGUI.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/airavata/trunk/ws-messaging/distribution/src/main/assembly/bin-assembly.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/src/main/assembly/bin-assembly.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/src/main/assembly/bin-assembly.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/src/main/assembly/bin-assembly.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,230 @@
+
+ <!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more
+ contributor license agreements. See the NOTICE file ~ distributed with
+ this work for additional information ~ regarding copyright ownership.
+ The ASF licenses this file ~ to you under the Apache License, Version
+ 2.0 (the ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at ~ ~
+ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by
+ applicable law or agreed to in writing, ~ software distributed under
+ the License is distributed on an ~ "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY ~ KIND, either express or implied. See the
+ License for the ~ specific language governing permissions and
+ limitations ~ under the License.
+ -->
+
+<assembly>
+ <id>bin</id>
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <baseDirectory>${archieve.name}-${version}</baseDirectory>
+ <formats>
+ <!--<format>tar.gz</format> //uncomment,if tar.gz archive needed-->
+ <format>zip</format>
+ </formats>
+
+
+ <fileSets>
+ <!--
+ ********************** copy axis2 distribution **********************
+ -->
+
+ <fileSet>
+ <directory>axis2_releases/axis2-${used.axis2.release}/</directory>
+ <outputDirectory>standalone-server</outputDirectory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </fileSet>
+
+
+ <!--
+ ********************** copymessagebrokeraar **********************
+ -->
+
+ <fileSet>
+ <directory>../messagebroker/target</directory>
+ <outputDirectory>standalone-server/repository/services
+ </outputDirectory>
+ <includes>
+ <include>messagebroker*.aar</include>
+ </includes>
+ </fileSet>
+
+ <!--
+ ********************** copy messagebox aar **********************
+ -->
+
+ <fileSet>
+ <directory>../messagebox/target</directory>
+ <outputDirectory>standalone-server/repository/services
+ </outputDirectory>
+ <includes>
+ <include>messagebox*.aar</include>
+ </includes>
+ </fileSet>
+
+
+ <!--
+ ********************** copy wsmg.broker and messagebox property files
+ **********************
+ -->
+
+ <fileSet>
+ <directory>resources</directory>
+ <outputDirectory>standalone-server</outputDirectory>
+ <includes>
+ <include>*properties*</include>
+ </includes>
+ </fileSet>
+
+
+ <!--
+ ********************** replace axis2.xml with ours
+ **********************
+ -->
+
+ <fileSet>
+ <directory>resources</directory>
+ <outputDirectory>standalone-server/conf</outputDirectory>
+ <includes>
+ <include>axis2.xml</include>
+ </includes>
+ </fileSet>
+
+ <!--
+ ********************** copy Nio libs **********************
+ -->
+
+ <fileSet>
+ <directory>resources/nio_lib</directory>
+ <outputDirectory>standalone-server/lib</outputDirectory>
+ <includes>
+ <include>*.*</include>
+ </includes>
+ </fileSet>
+
+
+
+ <!--
+ ********************** copymessagebrokerjar **********************
+ -->
+
+ <fileSet>
+ <directory>../messagebroker/target</directory>
+ <outputDirectory>client-api</outputDirectory>
+ <includes>
+ <include>broker*.jar</include>
+ </includes>
+ </fileSet>
+
+ <!--
+ ********************** copy messagebox jar **********************
+ -->
+
+ <fileSet>
+ <directory>../messagebox/target</directory>
+ <outputDirectory>client-api</outputDirectory>
+ <includes>
+ <include>messagebox*.jar</include>
+ </includes>
+ </fileSet>
+
+ <!--
+ ********************** copy workflow tracking jar
+ **********************
+ -->
+
+ <fileSet>
+ <directory>../workflow-tracking/target</directory>
+ <outputDirectory>client-api</outputDirectory>
+ <includes>
+ <include>workflow*.jar</include>
+ </includes>
+ </fileSet>
+
+
+ <!--
+ ********************** copy messagebroker+ messagebox samples **********************
+ -->
+
+ <fileSet>
+ <directory>../messagebroker/src/samples</directory>
+ <outputDirectory>client-api/samples</outputDirectory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>../messagebox/src/samples</directory>
+ <outputDirectory>client-api/samples</outputDirectory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </fileSet>
+
+
+ <!--
+ ********************** copy gui start up script **********************
+ -->
+
+ <fileSet>
+ <directory>resources</directory>
+ <outputDirectory>gui</outputDirectory>
+ <includes>
+ <include>*sh</include>
+ </includes>
+ </fileSet>
+
+
+
+ <!--
+ ********************** copy messenger servlet **********************
+ -->
+
+ <fileSet>
+ <directory>../messenger/target</directory>
+ <outputDirectory>messenger</outputDirectory>
+ <includes>
+ <include>messenger*.war</include>
+ </includes>
+ </fileSet>
+
+
+ <!--
+ ********************** copy licenses **********************
+ -->
+
+ <fileSet>
+ <directory>../</directory>
+ <includes>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ </includes>
+ </fileSet>
+
+
+
+ <!--
+ ********************** copy database scripts **********************
+ -->
+
+ <fileSet>
+ <directory>../messagebroker/src/main/resources/database_scripts</directory>
+ <outputDirectory>database_scripts</outputDirectory>
+ <includes>
+ <include>*sql*</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>../messagebox/resources</directory>
+ <outputDirectory>database_scripts</outputDirectory>
+ <includes>
+ <include>*sql*</include>
+ </includes>
+ </fileSet>
+
+ </fileSets>
+</assembly>
Modified: incubator/airavata/trunk/ws-messaging/messagebox/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/messagebox/pom.xml?rev=1145356&r1=1145355&r2=1145356&view=diff
==============================================================================
--- incubator/airavata/trunk/ws-messaging/messagebox/pom.xml (original)
+++ incubator/airavata/trunk/ws-messaging/messagebox/pom.xml Mon Jul 11 21:10:36 2011
@@ -8,7 +8,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>Airavata</groupId>
- <artifactId>MessageBox</artifactId>
+ <artifactId>messagebox</artifactId>
<packaging>jar</packaging>
<name>MessageBox</name>
<url>http://incubator.apache.org/airavata/</url>
Modified: incubator/airavata/trunk/ws-messaging/messagebox/resources/services.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/messagebox/resources/services.xml?rev=1145356&r1=1145355&r2=1145356&view=diff
==============================================================================
--- incubator/airavata/trunk/ws-messaging/messagebox/resources/services.xml (original)
+++ incubator/airavata/trunk/ws-messaging/messagebox/resources/services.xml Mon Jul 11 21:10:36 2011
@@ -5,42 +5,41 @@
EDT)
-->
<serviceGroup>
- <service name="MsgBoxService" scope="application"
- class="edu.indiana.extreme.www.xgws.msgbox.MsgBoxServiceLifeCycle">
+ <service name="MsgBoxService" scope="application" class="org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle">
<messageReceivers>
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
- class="edu.indiana.extreme.www.xgws.msgbox.MsgBoxServiceMessageReceiverInOut" />
+ class="org.apache.airavata.wsmg.msgbox.MsgBoxServiceMessageReceiverInOut" />
</messageReceivers>
- <parameter name="ServiceClass">edu.indiana.extreme.www.xgws.msgbox.MsgBoxServiceSkeleton
+ <parameter name="ServiceClass">org.apache.airavata.wsmg.msgbox.MsgBoxServiceSkeleton
</parameter>
<parameter name="useOriginalwsdl">false</parameter>
<parameter name="modifyUserWSDLPortAddress">true</parameter>
<operation name="storeMessages" mep="http://www.w3.org/ns/wsdl/in-out"
- namespace="http://www.extreme.indiana.edu/xgws/msgbox/2004/">
- <actionMapping>http://www.extreme.indiana.edu/xgws/msgbox/2004/storeMessages
+ namespace="http://org.apache.airavata/xgws/msgbox/2004/">
+ <actionMapping>http://org.apache.airavata/xgws/msgbox/2004/storeMessages
</actionMapping>
- <outputActionMapping>http://www.extreme.indiana.edu/xgws/msgbox/2004/MsgBoxPT/storeMessagesResponse
+ <outputActionMapping>http://org.apache.airavata/xgws/msgbox/2004/MsgBoxPT/storeMessagesResponse
</outputActionMapping>
</operation>
<operation name="destroyMsgBox" mep="http://www.w3.org/ns/wsdl/in-out"
- namespace="http://www.extreme.indiana.edu/xgws/msgbox/2004/">
- <actionMapping>http://www.extreme.indiana.edu/xgws/msgbox/2004/destroyMsgBox
+ namespace="http://org.apache.airavata/xgws/msgbox/2004/">
+ <actionMapping>http://org.apache.airavata/xgws/msgbox/2004/destroyMsgBox
</actionMapping>
- <outputActionMapping>http://www.extreme.indiana.edu/xgws/msgbox/2004/MsgBoxPT/destroyMsgBoxResponse
+ <outputActionMapping>http://org.apache.airavata/xgws/msgbox/2004/MsgBoxPT/destroyMsgBoxResponse
</outputActionMapping>
</operation>
<operation name="takeMessages" mep="http://www.w3.org/ns/wsdl/in-out"
- namespace="http://www.extreme.indiana.edu/xgws/msgbox/2004/">
- <actionMapping>http://www.extreme.indiana.edu/xgws/msgbox/2004/takeMessages
+ namespace="http://org.apache.airavata/xgws/msgbox/2004/">
+ <actionMapping>http://org.apache.airavata/xgws/msgbox/2004/takeMessages
</actionMapping>
- <outputActionMapping>http://www.extreme.indiana.edu/xgws/msgbox/2004/MsgBoxPT/takeMessagesResponse
+ <outputActionMapping>http://org.apache.airavata/xgws/msgbox/2004/MsgBoxPT/takeMessagesResponse
</outputActionMapping>
</operation>
<operation name="createMsgBox" mep="http://www.w3.org/ns/wsdl/in-out"
- namespace="http://www.extreme.indiana.edu/xgws/msgbox/2004/">
- <actionMapping>http://www.extreme.indiana.edu/xgws/msgbox/2004/createMsgBox
+ namespace="http://org.apache.airavata/xgws/msgbox/2004/">
+ <actionMapping>http://org.apache.airavata/xgws/msgbox/2004/createMsgBox
</actionMapping>
- <outputActionMapping>http://www.extreme.indiana.edu/xgws/msgbox/2004/MsgBoxPT/createMsgBoxResponse
+ <outputActionMapping>http://org.apache.airavata/xgws/msgbox/2004/MsgBoxPT/createMsgBoxResponse
</outputActionMapping>
</operation>
<parameter name="configuration.file.name" locked="false">msgBox.properties</parameter>
Modified: incubator/airavata/trunk/ws-messaging/messagebox/src/main/org/apache/airavata/wsmg/msgbox/ConfigurationManager.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/messagebox/src/main/org/apache/airavata/wsmg/msgbox/ConfigurationManager.java?rev=1145356&r1=1145355&r2=1145356&view=diff
==============================================================================
--- incubator/airavata/trunk/ws-messaging/messagebox/src/main/org/apache/airavata/wsmg/msgbox/ConfigurationManager.java (original)
+++ incubator/airavata/trunk/ws-messaging/messagebox/src/main/org/apache/airavata/wsmg/msgbox/ConfigurationManager.java Mon Jul 11 21:10:36 2011
@@ -28,7 +28,7 @@ public class ConfigurationManager {
public ConfigurationManager(String configFileName) {
try {
- configurations.load(this.getClass().getClassLoader().getResourceAsStream("/" + configFileName));
+ configurations.load(this.getClass().getClassLoader().getResourceAsStream(configFileName));
} catch (Exception e) {
throw new RuntimeException("unable to load configurations", e);
Modified: incubator/airavata/trunk/ws-messaging/messagebroker/src/main/resources/services.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/messagebroker/src/main/resources/services.xml?rev=1145356&r1=1145355&r2=1145356&view=diff
==============================================================================
--- incubator/airavata/trunk/ws-messaging/messagebroker/src/main/resources/services.xml (original)
+++ incubator/airavata/trunk/ws-messaging/messagebroker/src/main/resources/services.xml Mon Jul 11 21:10:36 2011
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
@@ -19,7 +20,6 @@
-->
-<?xml version="1.0" encoding="UTF-8"?>
<serviceGroup>
<service name="EventingService" class="org.apache.airavata.wsmg.broker.BrokerServiceLifeCycle">
Modified: incubator/airavata/trunk/ws-messaging/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/pom.xml?rev=1145356&r1=1145355&r2=1145356&view=diff
==============================================================================
--- incubator/airavata/trunk/ws-messaging/pom.xml (original)
+++ incubator/airavata/trunk/ws-messaging/pom.xml Mon Jul 11 21:10:36 2011
@@ -210,7 +210,8 @@
<module>messagebroker</module>
<module>messenger</module>
<module>workflow-tracking</module>
- </modules>
+ <module>distribution</module>
+ </modules>
</profile>
</profiles>
<properties>
@@ -218,7 +219,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<airavata.version>0.0.1-SNAPSHOT</airavata.version>
<release.version>1.1.1</release.version>
- <axis2.version>1.5</axis2.version>
+ <axis2.version>1.6.0</axis2.version>
</properties>
</project>