[jboss-cvs] JBoss Messaging SVN: r7462 - in branches/Branch_1_4: docs/examples/ejb3mdb and 13 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jun 25 04:48:46 EDT 2009


Author: gaohoward
Date: 2009-06-25 04:48:45 -0400 (Thu, 25 Jun 2009)
New Revision: 7462

Added:
   branches/Branch_1_4/integration/AS5/etc/remoting/remoting-servlet-service.xml
   branches/Branch_1_4/integration/AS5/etc/remoting/servlet-invoker.war/
   branches/Branch_1_4/integration/AS5/etc/remoting/servlet-invoker.war/WEB-INF/
   branches/Branch_1_4/integration/AS5/etc/remoting/servlet-invoker.war/WEB-INF/web.xml
Modified:
   branches/Branch_1_4/docs/examples/common/src/org/jboss/example/jms/common/ExampleSupport.java
   branches/Branch_1_4/docs/examples/common/src/org/jboss/example/jms/common/Util.java
   branches/Branch_1_4/docs/examples/ejb3mdb/build.xml.AS5
   branches/Branch_1_4/docs/examples/http/build.xml.AS5
   branches/Branch_1_4/docs/examples/mdb-failure/build.xml.AS5
   branches/Branch_1_4/docs/examples/mdb/build.xml.AS5
   branches/Branch_1_4/docs/examples/ordering-group/build.xml.AS5
   branches/Branch_1_4/docs/examples/queue/build.xml.AS5
   branches/Branch_1_4/docs/examples/secure-socket/build.xml.AS5
   branches/Branch_1_4/docs/examples/servlet/build.xml.AS5
   branches/Branch_1_4/docs/examples/stateless/build.xml.AS5
   branches/Branch_1_4/docs/examples/topic/build.xml.AS5
   branches/Branch_1_4/docs/examples/web-service/build.xml.AS5
Log:
JBMESSAGING-1644


Modified: branches/Branch_1_4/docs/examples/common/src/org/jboss/example/jms/common/ExampleSupport.java
===================================================================
--- branches/Branch_1_4/docs/examples/common/src/org/jboss/example/jms/common/ExampleSupport.java	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/common/src/org/jboss/example/jms/common/ExampleSupport.java	2009-06-25 08:48:45 UTC (rev 7462)
@@ -216,7 +216,14 @@
       if (!Util.doesDestinationExist(jndiDestinationName,ic))
       {
          System.out.println("Destination " + jndiDestinationName + " does not exist, deploying it");
-         Util.deployQueue(jndiDestinationName,ic);
+		 if (isQueueExample())
+		 {
+            Util.deployQueue(jndiDestinationName,ic);
+		 }
+		 else
+		 {
+		    Util.deployTopic(jndiDestinationName, ic);
+		 }
          deployed = true;
       }
    }

Modified: branches/Branch_1_4/docs/examples/common/src/org/jboss/example/jms/common/Util.java
===================================================================
--- branches/Branch_1_4/docs/examples/common/src/org/jboss/example/jms/common/Util.java	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/common/src/org/jboss/example/jms/common/Util.java	2009-06-25 08:48:45 UTC (rev 7462)
@@ -86,6 +86,26 @@
        undeployQueue(jndiName,null);
    }
 
+   public static void deployTopic(String jndiName, InitialContext ic) throws Exception
+   {
+      MBeanServerConnection mBeanServer = lookupMBeanServerProxy(ic);
+
+      ObjectName serverObjectName = new ObjectName("jboss.messaging:service=ServerPeer");
+
+      String topicName = jndiName.substring(jndiName.lastIndexOf('/') + 1);
+
+      mBeanServer.invoke(serverObjectName, "deployTopic",
+                         new Object[] {topicName, jndiName},
+                         new String[] {"java.lang.String", "java.lang.String"});
+
+      System.out.println("Topic " + jndiName + " deployed");
+   }
+
+   public static void undeployTopic(String jndiName) throws Exception
+   {
+       undeployTopic(jndiName,null);
+   }
+
    public static void undeployQueue(String jndiName, InitialContext ic) throws Exception
    {
       MBeanServerConnection mBeanServer = lookupMBeanServerProxy(ic);
@@ -101,6 +121,21 @@
       System.out.println("Queue " + jndiName + " undeployed");
    }
 
+   public static void undeployTopic(String jndiName, InitialContext ic) throws Exception
+   {
+      MBeanServerConnection mBeanServer = lookupMBeanServerProxy(ic);
+
+      ObjectName serverObjectName = new ObjectName("jboss.messaging:service=ServerPeer");
+
+      String topicName = jndiName.substring(jndiName.lastIndexOf('/') + 1);
+
+      mBeanServer.invoke(serverObjectName, "destroyTopic",
+                         new Object[] {topicName},
+                         new String[] {"java.lang.String"});
+
+      System.out.println("Topic " + jndiName + " undeployed");
+   }
+
    public static MBeanServerConnection lookupMBeanServerProxy(InitialContext ic) throws Exception
    {
       if (ic == null)

Modified: branches/Branch_1_4/docs/examples/ejb3mdb/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/ejb3mdb/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/ejb3mdb/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -18,7 +18,7 @@
     </condition>
 	<property name="jboss.home" value="${ENV.JBOSS_HOME}" />
 	<property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
-	<property name="jboss.configuration" value="messaging" />
+	<property name="jboss.configuration" value="default" />
 	<property name="example.queue.name" value="testQueue" />
 	
 	<property name="ej3-extension" value="jar"/>

Modified: branches/Branch_1_4/docs/examples/http/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/http/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/http/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -18,7 +18,7 @@
     </condition>
 	<property name="remoting.path" value="../config" />
 	<property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
-	<property name="jboss.configuration" value="messaging" />
+	<property name="jboss.configuration" value="default" />
 	<property name="example.queue.name" value="testQueue" />
 
 	<path id="common.compilation.classpath">

Modified: branches/Branch_1_4/docs/examples/mdb/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/mdb/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/mdb/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -17,7 +17,7 @@
        <isset property="ENV.JBOSS_HOME" />
     </condition>
 	<property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
-	<property name="jboss.configuration" value="messaging" />
+	<property name="jboss.configuration" value="default" />
 	<property name="example.queue.name" value="testQueue" />
 	
 	<property name="ej3-extension" value="jar"/>

Modified: branches/Branch_1_4/docs/examples/mdb-failure/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/mdb-failure/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/mdb-failure/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -20,7 +20,7 @@
        <isset property="ENV.JBOSS_HOME" />
     </condition>
 	<property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
-	<property name="jboss.configuration" value="messaging" />
+	<property name="jboss.configuration" value="default" />
 	<property name="example.queue.name" value="testQueue" />
 	
 	<property name="ej3-extension" value="jar"/>

Modified: branches/Branch_1_4/docs/examples/ordering-group/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/ordering-group/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/ordering-group/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -16,49 +16,41 @@
    <condition property="jboss.home" value="${ENV.JBOSS_HOME}" else="../../../">
       <isset property="ENV.JBOSS_HOME" />
    </condition>
+   <property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
+   <property name="jboss.configuration" value="default" />
+   <property name="example.queue.name" value="testQueue" />
 
-   <property name="messaging.client.jar.path" value="../../"/>
-   <property name="messaging.client.jar.name" value="jboss-messaging-client.jar"/>
-   <property name="jboss.configuration" value="messaging"/>
-   <property name="example.queue.name" value="testQueue"/>
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${messaging.client.jar.name}" />
+	</path>
 
-   <path id="common.compilation.classpath">
-      <fileset file="${jboss.home}/client/jboss-j2ee.jar"/>
-      <fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}"/>
-   </path>
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
 
-   <path id="example.compilation.classpath">
-      <path refid="common.compilation.classpath"/>
-      <pathelement path="../common/output/classes"/>
-   </path>
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset dir="${jboss.home}/client" includes="*.jar" />
+	</path>
 
-   <path id="execution.classpath">
-      <pathelement path="./etc"/>
-      <pathelement path="../common/output/classes"/>
-      <pathelement path="./output/classes"/>
-      <fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar"/>
-      <fileset file="${jboss.home}/client/jbossall-client.jar"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar"/>
-   </path>
-
    <target name="identify">
       <echo message="###########################################################################"/>
       <echo message="#                  Running the OrderingGroup example                      #"/>
       <echo message="###########################################################################"/>
       <echo message="The queue:      ${example.queue.name}"/>
-      <echo message="The client jar: ${messaging.client.jar.path}/${messaging.client.jar.name}"/>
+      <echo message="The client jar: ${messaging.client.jar.name}" />
    </target>
 
-   <target name="sanity-check" depends="identify">
-      <available property="client.jar.present" file="${messaging.client.jar.path}/${messaging.client.jar.name}"/>
-      <fail message="Could not find client jar ${messaging.client.jar.path}/${messaging.client.jar.name}"
-            unless="client.jar.present"/>
-   </target>
 
+    <target name="sanity-check" depends="identify">
+       <available property="client.jar.present" file="${messaging.client.jar.name}" />
+       <fail message="Could not find client jar ${messaging.client.jar.name}" unless="client.jar.present" />
+    </target>
+
    <target name="init" depends="sanity-check">
       <mkdir dir="./output/classes"/>
       <mkdir dir="../common/output/classes"/>

Modified: branches/Branch_1_4/docs/examples/queue/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/queue/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/queue/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -17,7 +17,7 @@
        <isset property="ENV.JBOSS_HOME" />
     </condition>
 	<property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
-	<property name="jboss.configuration" value="messaging" />
+	<property name="jboss.configuration" value="default" />
 	<property name="example.queue.name" value="testQueue" />
 
 	<path id="common.compilation.classpath">

Modified: branches/Branch_1_4/docs/examples/secure-socket/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/secure-socket/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/secure-socket/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -18,7 +18,7 @@
     </condition>
 	<property name="jboss.home" value="${ENV.JBOSS_HOME}" />
 	<property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
-	<property name="jboss.configuration" value="messaging" />
+	<property name="jboss.configuration" value="default" />
 	<property name="example.queue.name" value="testQueue" />
 	
 	<property name="messaging-deploy" value="messaging"/>

Modified: branches/Branch_1_4/docs/examples/servlet/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/servlet/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/servlet/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -16,48 +16,40 @@
     <condition property="jboss.home" value="${ENV.JBOSS_HOME}" else="../../../">
        <isset property="ENV.JBOSS_HOME" />
     </condition>
-   <property name="remoting.path" value="../config"/>
-   <property name="messaging.client.jar.path" value="../../"/>
-   <property name="messaging.client.jar.name" value="jboss-messaging-client.jar"/>
-   <property name="jboss.configuration" value="messaging"/>
-   <property name="example.queue.name" value="testQueue"/>
+   <property name="remoting.path" value="../config" />
+   <property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
+   <property name="jboss.configuration" value="default" />
+   <property name="example.queue.name" value="testQueue" />
 
-   <path id="common.compilation.classpath">
-      <fileset file="${jboss.home}/client/jboss-j2ee.jar"/>
-      <fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}"/>
-   </path>
+	<path id="common.compilation.classpath">
+		<fileset file="${jboss.home}/client/jboss-javaee.jar" />
+		<fileset file="${messaging.client.jar.name}" />
+	</path>
 
-   <path id="example.compilation.classpath">
-      <path refid="common.compilation.classpath"/>
-      <pathelement path="../common/output/classes"/>
-   </path>
+	<path id="example.compilation.classpath">
+		<path refid="common.compilation.classpath" />
+		<pathelement path="../common/output/classes" />
+	</path>
 
-   <path id="execution.classpath">
-      <pathelement path="./etc"/>
-      <pathelement path="../common/output/classes"/>
-      <pathelement path="./output/classes"/>
-      <fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/lib/jboss-remoting.jar"/>
-      <fileset file="${jboss.home}/client/jbossall-client.jar"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar"/>
-      <fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar"/>
-   </path>
+	<path id="execution.classpath">
+		<pathelement path="./etc" />
+		<pathelement path="../common/output/classes" />
+		<pathelement path="./output/classes" />
+		<fileset dir="${jboss.home}/client" includes="*.jar" />
+	</path>
 
    <target name="identify">
       <echo message="############################################################################"/>
       <echo message="#                         Running the Servlet example                       #"/>
       <echo message="############################################################################"/>
       <echo message="The queue:      ${example.queue.name}"/>
-      <echo message="The client jar: ${messaging.client.jar.path}/${messaging.client.jar.name}"/>
+      <echo message="The client jar: ${messaging.client.jar.name}" />
    </target>
 
-   <target name="sanity-check" depends="identify">
-      <available property="client.jar.present" file="${messaging.client.jar.path}/${messaging.client.jar.name}"/>
-      <fail message="Could not find client jar ${messaging.client.jar.path}/${messaging.client.jar.name}"
-            unless="client.jar.present"/>
-   </target>
+    <target name="sanity-check" depends="identify">
+       <available property="client.jar.present" file="${messaging.client.jar.name}" />
+       <fail message="Could not find client jar ${messaging.client.jar.name}" unless="client.jar.present" />
+    </target>
 
    <target name="init" depends="sanity-check">
       <mkdir dir="./output/classes"/>

Modified: branches/Branch_1_4/docs/examples/stateless/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/stateless/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/stateless/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -17,7 +17,7 @@
        <isset property="ENV.JBOSS_HOME" />
     </condition>
 	<property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
-	<property name="jboss.configuration" value="messaging" />
+	<property name="jboss.configuration" value="default" />
 	<property name="example.queue.name" value="testQueue" />
 
 	<path id="common.compilation.classpath">

Modified: branches/Branch_1_4/docs/examples/topic/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/topic/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/topic/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -17,7 +17,7 @@
        <isset property="ENV.JBOSS_HOME" />
     </condition>
 	<property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
-	<property name="jboss.configuration" value="messaging" />
+	<property name="jboss.configuration" value="default" />
 	<property name="example.topic.name" value="testTopic" />
 
 	<path id="common.compilation.classpath">

Modified: branches/Branch_1_4/docs/examples/web-service/build.xml.AS5
===================================================================
--- branches/Branch_1_4/docs/examples/web-service/build.xml.AS5	2009-06-25 07:11:54 UTC (rev 7461)
+++ branches/Branch_1_4/docs/examples/web-service/build.xml.AS5	2009-06-25 08:48:45 UTC (rev 7462)
@@ -17,7 +17,7 @@
        <isset property="ENV.JBOSS_HOME" />
     </condition>
    <property name="messaging.client.jar.name" value="${jboss.home}/client/jboss-messaging-client.jar" />
-   <property name="jboss.configuration" value="messaging"/>
+   <property name="jboss.configuration" value="default"/>
    <property name="example.queue.name" value="testQueue"/>
 
    <path id="common.compilation.classpath">

Added: branches/Branch_1_4/integration/AS5/etc/remoting/remoting-servlet-service.xml
===================================================================
--- branches/Branch_1_4/integration/AS5/etc/remoting/remoting-servlet-service.xml	                        (rev 0)
+++ branches/Branch_1_4/integration/AS5/etc/remoting/remoting-servlet-service.xml	2009-06-25 08:48:45 UTC (rev 7462)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+     Servlet-based Remoting service deployment descriptor.
+
+ -->
+
+<server>
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:service=Connector,transport=servlet,target=jms"
+          display-name="JMS Servlet transport Connector">
+      <attribute name="Configuration">
+         <config>
+            <invoker transport="servlet">
+               <!-- There should be no reason to change these parameters - warning!
+                    Changing them may stop JBoss Messaging working correctly -->
+               <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
+               <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>               
+               <attribute name="dataType" isParam="true">jms</attribute>
+               <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+               <attribute name="serverBindPort">8080</attribute>
+               <attribute name="numberOfCallRetries" isParam="true">1</attribute>
+               <attribute name="pingFrequency" isParam="true">214748364</attribute>
+               <attribute name="pingWindowFactor" isParam="true">10</attribute>
+               <attribute name="onewayThreadPool">org.jboss.jms.server.remoting.DirectThreadPool</attribute> 
+               <attribute name="callbackStore">org.jboss.remoting.callback.BlockingCallbackStore</attribute>
+               <attribute name="unwrapSingletonArrays">true</attribute>
+               <attribute name="path">servlet-invoker/JmsServerInvokerServlet</attribute>
+               <attribute name="return-exception">true</attribute>
+               <attribute name="createUniqueObjectName">true</attribute>
+               <attribute name="useAllParams" isParam="true">true</attribute>
+               <!-- End immutable parameters -->
+                                         
+               <attribute name="stopLeaseOnFailure" isParam="true">true</attribute>
+               
+               <!-- Periodicity of client pings. Server window by default is twice this figure -->                               
+               <attribute name="clientLeasePeriod" isParam="true">10000</attribute>
+               <attribute name="validatorPingPeriod" isParam="true">10000</attribute>
+               <attribute name="validatorPingTimeout" isParam="true">5000</attribute>
+
+               <attribute name="failureDisconnectTimeout" isParam="true">0</attribute>
+               <attribute name="callbackErrorsAllowed">1</attribute>
+               <attribute name="registerCallbackListener">false</attribute>
+               <attribute name="useClientConnectionIdentity" isParam="true">true</attribute>
+
+	           <attribute name="timeout" isParam="true">0</attribute>
+
+               <!-- Max Number of connections in client pool. This should be significantly higher than
+                    the max number of sessions/consumers you expect -->
+               <attribute name="JBM_clientMaxPoolSize" isParam="true">200</attribute>
+
+               <!-- Set this to true if you want the servlet transport to block waiting for server->client traffic.
+               Or false if you want it to poll for new traffic periodically. Recommended is blocking -->                       
+               <attribute name="blockingMode" isParam="true">blocking</attribute>
+               
+               <!-- Timeout for blocking. Only has relevance if blockingMode = blocking -->
+               <attribute name="blockingTimeout" isParam="true">30000</attribute>
+                
+               <!-- The periodicity of polling. Only has relevance if blockingMode = nonblocking -->               
+               <!--attribute name="callbackPollPeriod" isParam="true">10000</attribute-->  
+            </invoker>
+            <handlers>
+               <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
+            </handlers>
+         </config>
+      </attribute>
+   </mbean>
+
+</server>

Added: branches/Branch_1_4/integration/AS5/etc/remoting/servlet-invoker.war/WEB-INF/web.xml
===================================================================
--- branches/Branch_1_4/integration/AS5/etc/remoting/servlet-invoker.war/WEB-INF/web.xml	                        (rev 0)
+++ branches/Branch_1_4/integration/AS5/etc/remoting/servlet-invoker.war/WEB-INF/web.xml	2009-06-25 08:48:45 UTC (rev 7462)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<!-- The the JBossRemoting server invoker servlet web.xml descriptor
+$Id: web.xml,v 1.2 2006/07/17 03:44:00 telrod Exp $
+-->
+<web-app>
+  
+  <servlet>
+    <servlet-name>JmsServerInvokerServlet</servlet-name>
+    <description>The JmsServerInvokerServlet receives JMS requests via HTTP
+      protocol from within a web container and passes it onto the
+      ServletServerInvoker for processing.
+    </description>
+    <servlet-class>org.jboss.remoting.transport.servlet.web.ServerInvokerServlet</servlet-class>
+    <init-param>
+      <param-name>locatorUrl</param-name>
+      <param-value>
+        <![CDATA[servlet://${jboss.bind.address}:8080/servlet-invoker/JmsServerInvokerServlet/?dataType=jms&JBM_clientMaxPoolSize=200&failureDisconnectTimeout=0&marshaller=org.jboss.jms.wireformat.JMSWireFormat&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfCallRetries=1&pingFrequency=214748364&pingWindowFactor=10&stopLeaseOnFailure=true&clientLeasePeriod=10000&validatorPingPeriod=10000&validatorPingTimeout=5000&timeout=0&blockingMode=blocking&blockingTimeout=30000&useAllParams=true&useClientConnectionIdentity=true]]>
+      </param-value>
+      <description>The servlet server invoker</description>
+    </init-param>
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+    
+  <servlet-mapping>
+    <servlet-name>JmsServerInvokerServlet</servlet-name>
+    <url-pattern>/JmsServerInvokerServlet/*</url-pattern>
+  </servlet-mapping>
+
+</web-app>
+




More information about the jboss-cvs-commits mailing list