[esb-java-dev] svn commit r693 - in esb/java/trunk: modules/core modules/distribution/src/main/assembly modules/distribution/src/main/bin modules/distribution/src/main/conf modules/samples/src/main/java/samples/userguide modules/samples/src/main/scripts repository/conf/sample/resources/misc

svn at wso2.com svn at wso2.com
Sat Feb 3 11:52:47 PST 2007


Author: asankha
Date: Sat Feb  3 11:52:22 2007
New Revision: 693

Modified:
   esb/java/trunk/modules/core/pom.xml
   esb/java/trunk/modules/distribution/src/main/assembly/bin.xml
   esb/java/trunk/modules/distribution/src/main/bin/wso2-esb.sh
   esb/java/trunk/modules/distribution/src/main/conf/axis2.xml
   esb/java/trunk/modules/samples/src/main/java/samples/userguide/LoadbalanceFailoverClient.java
   esb/java/trunk/modules/samples/src/main/scripts/axis2server.sh
   esb/java/trunk/repository/conf/sample/resources/misc/axis2.xml
Log:
update version from 1.0 alpha 1 to 1.0 beta 1
update axis2.xml for nio transport
fix file permissions on distribution

Modified: esb/java/trunk/modules/core/pom.xml
==============================================================================
--- esb/java/trunk/modules/core/pom.xml	(original)
+++ esb/java/trunk/modules/core/pom.xml	Sat Feb  3 11:52:22 2007
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.wso2.esb</groupId>
         <artifactId>wso2-esb</artifactId>
-        <version>1.0-alpha-1</version>
+        <version>1.0-beta-1</version>
     </parent>
 
     <groupId>org.wso2.esb</groupId>

Modified: esb/java/trunk/modules/distribution/src/main/assembly/bin.xml
==============================================================================
--- esb/java/trunk/modules/distribution/src/main/assembly/bin.xml	(original)
+++ esb/java/trunk/modules/distribution/src/main/assembly/bin.xml	Sat Feb  3 11:52:22 2007
@@ -36,8 +36,18 @@
         <fileSet>
             <directory>src/main/bin</directory>
             <outputDirectory>wso2esb-${wso2.esb.version}/bin</outputDirectory>
+            <includes>
+                <include>wso2-esb.sh</include>
+            </includes>
             <fileMode>755</fileMode>
         </fileSet>
+        <fileSet>
+            <directory>src/main/bin</directory>
+            <outputDirectory>wso2esb-${wso2.esb.version}/bin</outputDirectory>
+            <includes>
+                <include>wso2-esb.bat</include>
+            </includes>
+        </fileSet>
 
         <fileSet>
             <directory>../../repository</directory>
@@ -113,6 +123,13 @@
             <outputDirectory>wso2esb-${wso2.esb.version}/samples/axis2Server</outputDirectory>
             <includes>
                 <include>axis2server.sh</include>
+            </includes>
+            <fileMode>755</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>../../modules/samples/src/main/scripts</directory>
+            <outputDirectory>wso2esb-${wso2.esb.version}/samples/axis2Server</outputDirectory>
+            <includes>
                 <include>axis2server.bat</include>
             </includes>
         </fileSet>

Modified: esb/java/trunk/modules/distribution/src/main/bin/wso2-esb.sh
==============================================================================
--- esb/java/trunk/modules/distribution/src/main/bin/wso2-esb.sh	(original)
+++ esb/java/trunk/modules/distribution/src/main/bin/wso2-esb.sh	Sat Feb  3 11:52:22 2007
@@ -96,15 +96,15 @@
 # synapse.xml
 ESB_XML=-Dsynapse.xml=$ESB_HOME/conf/synapse.xml
 
-if [ "$1" == "-xdebug" ]; then
+if [ "$1" = "-xdebug" ]; then
   XDEBUG="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8000"
 fi
 
-if [ "$1" == "-sample" ]; then
+if [ "$1" = "-sample" ]; then
   ESB_XML=-Dsynapse.xml=$ESB_HOME/repository/conf/sample/synapse_sample_$2.xml
 fi
 
-if [ "$3" == "-xdebug" ]; then
+if [ "$3" = "-xdebug" ]; then
   XDEBUG="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8000"
 fi
 

Modified: esb/java/trunk/modules/distribution/src/main/conf/axis2.xml
==============================================================================
--- esb/java/trunk/modules/distribution/src/main/conf/axis2.xml	(original)
+++ esb/java/trunk/modules/distribution/src/main/conf/axis2.xml	Sat Feb  3 11:52:22 2007
@@ -106,7 +106,7 @@
                          class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
     </messageReceivers>
 
-       <!-- the experimental non blocking http transport based on HttpCore + NIO extensions -->
+    <!-- the experimental non blocking http transport based on HttpCore + NIO extensions -->
     <transportReceiver name="http" class="org.apache.axis2.transport.nhttp.HttpCoreNIOListener">
     	<parameter name="port" locked="false">8080</parameter>
     	<parameter name="non-blocking" locked="false">true</parameter>

Modified: esb/java/trunk/modules/samples/src/main/java/samples/userguide/LoadbalanceFailoverClient.java
==============================================================================
--- esb/java/trunk/modules/samples/src/main/java/samples/userguide/LoadbalanceFailoverClient.java	(original)
+++ esb/java/trunk/modules/samples/src/main/java/samples/userguide/LoadbalanceFailoverClient.java	Sat Feb  3 11:52:22 2007
@@ -154,7 +154,7 @@
             SOAPEnvelope env3 = buildSoapEnvelope("c3", "v1");
             SOAPEnvelope[] envelopes = {env1, env2, env3};
 
-            ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem("/home/chathura/temp/e2/wso2esb-1.0-alpha-1/repository", null);
+            ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem("/home/chathura/temp/e2/wso2esb-1.0-beta-1/repository", null);
             ServiceClient client = new ServiceClient(configContext, null);
             client.setOptions(options);
             client.engageModule(new QName("addressing"));

Modified: esb/java/trunk/modules/samples/src/main/scripts/axis2server.sh
==============================================================================
--- esb/java/trunk/modules/samples/src/main/scripts/axis2server.sh	(original)
+++ esb/java/trunk/modules/samples/src/main/scripts/axis2server.sh	Sat Feb  3 11:52:22 2007
@@ -100,7 +100,7 @@
 echo " Using AXIS2 Configuration :   $AXIS2_HOME/repository/conf/axis2.xml"
 
 PORT="-Dport=9000"
-if [ "$1" == "-port" ]; then
+if [ "$1" = "-port" ]; then
   PORT="-Dport=$2"
 fi
 

Modified: esb/java/trunk/repository/conf/sample/resources/misc/axis2.xml
==============================================================================
--- esb/java/trunk/repository/conf/sample/resources/misc/axis2.xml	(original)
+++ esb/java/trunk/repository/conf/sample/resources/misc/axis2.xml	Sat Feb  3 11:52:22 2007
@@ -102,10 +102,9 @@
     <!-- ================================================= -->
     <!-- Transport Ins -->
     <!-- ================================================= -->
-    <!--<transportReceiver name="http" class="org.apache.axis2.transport.nhttp.AsyncHTTPListener"/>-->
-    <transportReceiver name="http"
+    <!--<transportReceiver name="http"
                        class="org.apache.axis2.transport.http.SimpleHTTPServer">
-        <parameter name="port" locked="false">9000</parameter>
+        <parameter name="port" locked="false">9000</parameter>-->
     <!-- Here is the complete list of supported parameters (see example settings further below):
         port: the port to listen on (default 6060)
         hostname:  if non-null, url prefix used in reply-to endpoint references                                 (default null)
@@ -128,8 +127,14 @@
         <!-- <parameter name="RequestMaxThreadPoolSize"  locked="false">100</parameter>                     -->
         <!-- <parameter name="threadKeepAliveTime"       locked="false">240000</parameter>                  -->
         <!-- <parameter name="threadKeepAliveTimeUnit"   locked="false">MILLISECONDS</parameter>            -->
+    <!--</transportReceiver>-->
+
+    <!-- the experimental non blocking http transport based on HttpCore + NIO extensions -->
+    <transportReceiver name="http" class="org.apache.axis2.transport.nhttp.HttpCoreNIOListener">
+    	<parameter name="port" locked="false">8080</parameter>
+    	<parameter name="non-blocking" locked="false">true</parameter>
     </transportReceiver>
-    
+
     <!--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" locked="false">        	        	
@@ -176,13 +181,18 @@
                      class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
     <transportSender name="local"
                      class="org.apache.axis2.transport.local.LocalTransportSender"/>
-    <transportSender name="http"
-                     class="org.apache.axis2.transport.http.CommonsHTTPTransportSender"/>
+    <!--<transportSender name="http"
+                     class="org.apache.axis2.transport.http.CommonsHTTPTransportSender"/>-->
     <!--<transportSender name="http"
                      class="org.apache.axis2.transport.nhttp.AsyncHTTPSender">
         <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
         <parameter name="Transfer-Encoding" locked="false">chunked</parameter>
     </transportSender>-->
+    <!-- the experimental non-blocking http transport based on HttpCore + NIO extensions -->
+    <transportSender name="http"
+                 class="org.apache.axis2.transport.nhttp.HttpCoreNIOSender">
+        <parameter name="non-blocking" locked="false">true</parameter>
+    </transportSender>
     <transportSender name="https"
                      class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
         <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>




More information about the Esb-java-dev mailing list