You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ch...@apache.org on 2007/02/22 07:50:06 UTC

svn commit: r510422 - /webservices/axis2/trunk/java/xdocs/1_1/

Author: chatra
Date: Wed Feb 21 22:50:05 2007
New Revision: 510422

URL: http://svn.apache.org/viewvc?view=rev&rev=510422
Log:
reviewed and committing AXIS2-2237 JIRA

Modified:
    webservices/axis2/trunk/java/xdocs/1_1/Axis2ArchitectureGuide.html
    webservices/axis2/trunk/java/xdocs/1_1/adv-userguide.html
    webservices/axis2/trunk/java/xdocs/1_1/app_server.html
    webservices/axis2/trunk/java/xdocs/1_1/http-transport.html
    webservices/axis2/trunk/java/xdocs/1_1/installationguide.html
    webservices/axis2/trunk/java/xdocs/1_1/jms-transport.html
    webservices/axis2/trunk/java/xdocs/1_1/mail-configuration.html
    webservices/axis2/trunk/java/xdocs/1_1/mail-transport.html
    webservices/axis2/trunk/java/xdocs/1_1/migration.html
    webservices/axis2/trunk/java/xdocs/1_1/modules.html

Modified: webservices/axis2/trunk/java/xdocs/1_1/Axis2ArchitectureGuide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/Axis2ArchitectureGuide.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/Axis2ArchitectureGuide.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/Axis2ArchitectureGuide.html Wed Feb 21 22:50:05 2007
@@ -15,10 +15,10 @@
 explanations on every module.</p>
 
 <p><i>Send your feedback to: <a
-href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</a></i>. Prefix
-subject with [Axis2]. You can also <a
-href="http://ws.apache.org/axis2/mail-lists.html">subscribe</a> to the
-mailing lists.</p>
+href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a></i>.
+(Subscription details are available on the <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
+prefix subject with [Axis2].</p>
 
 <h2>Contents</h2>
 <ul>

Modified: webservices/axis2/trunk/java/xdocs/1_1/adv-userguide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/adv-userguide.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/adv-userguide.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/adv-userguide.html Wed Feb 21 22:50:05 2007
@@ -34,9 +34,11 @@
 could use some new features or fixes, please get involved and lend us a hand!
 The Axis developer community welcomes your participation.</p>
 
-<p>Let us know what you think! Send your feedback on Axis2 to "<a
-href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a>". Make sure
-to prefix the subject of the mail with [Axis2].</p>
+<p>Let us know what you think! Send your feedback to "<a
+href="mailto:axis-user@ws.apache.org?subject=[Axis2]">axis-user@ws.apache.org</a>".
+(Subscription details are available on the <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
+prefix the subject of the mail with [Axis2].</p>
 
 <h2>Getting Started</h2>
 

Modified: webservices/axis2/trunk/java/xdocs/1_1/app_server.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/app_server.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/app_server.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/app_server.html Wed Feb 21 22:50:05 2007
@@ -1,70 +1,74 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
-       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-  <title>Application Server Specific Configuration Guide</title>
-  <meta content="amaya 9.2.1, see http://www.w3.org/Amaya/" />
-  <link href="../css/axis-docs.css" rel="stylesheet" type="text/css"
-  media="all" />
-</head>
-
-<body>
-<h1>Application Server Specific Configuration Guide</h1>
-
-<p>This document provides configuration information required for your
-Application Server to run Apache Axis2 to its fullest potential.</p>
-
-<p>Feel free to send your feedback or any learned information to our <a
-href="http://ws.apache.org/axis2/mail-lists.html">mailing lists</a>.</p>
-<a name="weblogic_websphere"></a>
-
-<h3>WebLogic/ WebSphere</h3>
-
-<p>We recommend using the exploded configuration to deploy Axis2 WAR in
-WebLogic and WebSphere application servers to support the hotupdate/
-hotdeployment features in Axis2. However, if you do want to deploy custom
-WARs, say in a clustering environment, you need to add two additional files
-into the WEB-INF named "services.list" and "modules.list" under the modules
-and services directory respectively.</p>
-<ul>
-  <li><b>WEB-INF/services/services.list</b> : should list all the services
-    (aar files) that you want to expose.</li>
-  <li><b>WEB-INF/modules/modules.list</b> : should list all the modules (mar
-    files) that you want to use.</li>
-</ul>
-NOTE: In both cases, please list one entry per line.
-
-<p>WebLogic ships with JARs that conflict with JARs present in Axis2.
-Therefore use &lt;prefer-web-inf-classes&gt; to ensure that JARs packaged in
-Axis2 WAR are picked up from WEB-INF/lib. You can do this by setting the
-&lt;prefer-web-inf-classes&gt; element in WEB-INF/weblogic.xml to true. An
-example of weblogic.xml is shown below:</p>
-<pre>&lt;weblogic-web-app&gt;
- &lt;container-descriptor&gt;
-    &lt;prefer-web-inf-classes&gt;true&lt;/prefer-web-inf-classes&gt;
-  &lt;/container-descriptor&gt;
-&lt;/weblogic-web-app&gt;</pre>
-
-<p>If set to true, the &lt;prefer-web-inf-classes&gt; element will force
-WebLogic's classloader to load classes located in the WEB-INF directory of a
-Web application in preference to application or system classes. This is a
-recommended approach since it only impacts a single Web module.</p>
-
-<p>Please refer to the following documents in WebLogic/ WebSphere for more
-information:</p>
-<ul>
-  <li><a
-    href="http://e-docs.bea.com/wls/docs81/programming/classloading.html">WebLogic
-    ServerApplication Classloading</a>- For more information on how
-    WebLogic's class loader works</li>
-  <li><a
-    href="http://e-docs.bea.com/wls/docs81/webapp/deployment.html">Redeploying
-    a Web Application in Exploded Directory Format</a></li>
-  <li><a
-    href="http://publib.boulder.ibm.com/infocenter/wsiihelp/v8r3/index.jsp?topic=/com.ibm.websphere.ii.product.ce.doc/configuring/iiyviigdepwebexpl.htm">Deploying
-    the Web application in exploded form</a></li>
-</ul>
-</body>
-</html>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+  <title>Application Server Specific Configuration Guide</title>
+  <meta content="amaya 9.2.1, see http://www.w3.org/Amaya/" />
+  <link href="../css/axis-docs.css" rel="stylesheet" type="text/css"
+  media="all" />
+</head>
+
+<body>
+<h1>Application Server Specific Configuration Guide</h1>
+
+<p>This document provides configuration information required for your
+Application Server to run Apache Axis2 to its fullest potential.</p>
+
+<p>Send your feedback or questions to: <a
+href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a>.
+( Subscription details are available on the <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
+prefix subject with [Axis2].</p>
+
+<a name="weblogic_websphere"></a>
+
+<h3>WebLogic/ WebSphere</h3>
+
+<p>We recommend using the exploded configuration to deploy Axis2 WAR in
+WebLogic and WebSphere application servers to support the hotupdate/
+hotdeployment features in Axis2. However, if you do want to deploy custom
+WARs, say in a clustering environment, you need to add two additional files
+into the WEB-INF named "services.list" and "modules.list" under the modules
+and services directory respectively.</p>
+<ul>
+  <li><b>WEB-INF/services/services.list</b> : should list all the services
+    (aar files) that you want to expose.</li>
+  <li><b>WEB-INF/modules/modules.list</b> : should list all the modules (mar
+    files) that you want to use.</li>
+</ul>
+NOTE: In both cases, please list one entry per line.
+
+<p>WebLogic ships with JARs that conflict with JARs present in Axis2.
+Therefore use &lt;prefer-web-inf-classes&gt; to ensure that JARs packaged in
+Axis2 WAR are picked up from WEB-INF/lib. You can do this by setting the
+&lt;prefer-web-inf-classes&gt; element in WEB-INF/weblogic.xml to true. An
+example of weblogic.xml is shown below:</p>
+<pre>&lt;weblogic-web-app&gt;
+ &lt;container-descriptor&gt;
+    &lt;prefer-web-inf-classes&gt;true&lt;/prefer-web-inf-classes&gt;
+  &lt;/container-descriptor&gt;
+&lt;/weblogic-web-app&gt;</pre>
+
+<p>If set to true, the &lt;prefer-web-inf-classes&gt; element will force
+WebLogic's classloader to load classes located in the WEB-INF directory of a
+Web application in preference to application or system classes. This is a
+recommended approach since it only impacts a single Web module.</p>
+
+<p>Please refer to the following documents in WebLogic/ WebSphere for more
+information:</p>
+<ul>
+  <li><a
+    href="http://e-docs.bea.com/wls/docs81/programming/classloading.html">WebLogic
+    ServerApplication Classloading</a>- For more information on how
+    WebLogic's class loader works</li>
+  <li><a
+    href="http://e-docs.bea.com/wls/docs81/webapp/deployment.html">Redeploying
+    a Web Application in Exploded Directory Format</a></li>
+  <li><a
+    href="http://publib.boulder.ibm.com/infocenter/wsiihelp/v8r3/index.jsp?topic=/com.ibm.websphere.ii.product.ce.doc/configuring/iiyviigdepwebexpl.htm">Deploying
+    the Web application in exploded form</a></li>
+</ul>
+</body>
+</html>

Modified: webservices/axis2/trunk/java/xdocs/1_1/http-transport.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/http-transport.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/http-transport.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/http-transport.html Wed Feb 21 22:50:05 2007
@@ -16,10 +16,10 @@
 work in Axis2.</p>
 
 <p><i>Send your feedback or questions to: <a
-href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</a></i>. Prefix
-subject with [Axis2]. You can also <a
-href="http://ws.apache.org/axis2/mail-lists.html">subscribe</a> to the
-mailing list.</p>
+href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a></i>.
+(Subscription details are available on the <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
+prefix subject with [Axis2]. </p>
 
 <h2>Content</h2>
 <ul>

Modified: webservices/axis2/trunk/java/xdocs/1_1/installationguide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/installationguide.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/installationguide.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/installationguide.html Wed Feb 21 22:50:05 2007
@@ -15,8 +15,8 @@
 
 <p><i>Send your feedback to: <a
 href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a></i>
-mailing list. Subscription details are available on <a
-href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>. Kindly
+mailing list. (Subscription details are available on <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
 prefix every email subject with [Axis2].</p>
 
 <h2>Contents</h2>

Modified: webservices/axis2/trunk/java/xdocs/1_1/jms-transport.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/jms-transport.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/jms-transport.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/jms-transport.html Wed Feb 21 22:50:05 2007
@@ -1,198 +1,200 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-  <meta http-equiv="content-type" content="">
-  <title>JMS Transport</title>
-  <link href="../css/axis-docs.css" rel="stylesheet" type="text/css"
-  media="all">
-</head>
-
-<body lang="en">
-<a name="configTransport"></a>
-<h1>JMS Transport</h1>
-
-<p>This document is all about the JMS (Java Messaging Service) Transport
-support in Apache Axis2,, and how it should be configured.</p>
-
-<p><i>Send your feedback or questions to: <a
-href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</a></i>. Prefix
-subject with [Axis2]. You can also <a
-href="http://ws.apache.org/axis2/mail-lists.html">subscribe</a> to the
-mailing list.</p>
-
-<h2>Contents</h2>
-<ul>
-  <li><a href="#CommonsHTTPTransportSender">Overview</a></li>
-  <li><a href="#timeout_config">Configuration</a></li>
-  <li><a href="#writing_services">Writing Services to Use the JMS
-    Transport</a></li>
-</ul>
-<a name="CommonsHTTPTransportSender"></a>
-
-<h2>Overview</h2>
-
-<p>A new Java Messaging Service (JMS) transport implementation has been added
-to Axis2 to overcome some drawbacks of the previous JMS implementation. One
-of the enhancements provided with this new implementation is the ability to
-<strong>assign custom JMS destination names or existing JMS destinations to
-Axis2 services being deployed</strong>.</p>
-<a name="timeout_config"></a>
-
-<h2>Configuration</h2>
-
-<p>To use the JMS transport, the axis2.xml configuration must be setup as
-follows, in order to configure the JMSListener and the JMS Sender</p>
-<pre><strong>axis2.xml</strong>
-    &lt;transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener"&gt;
-      &lt;parameter name="default" locked="false"&gt;                
-        &lt;parameter name="java.naming.factory.initial" locked="false"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;
-        &lt;parameter name="java.naming.provider.url" locked="false"&gt;tcp://localhost:61616&lt;/parameter&gt;        
-        &lt;parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false"&gt;QueueConnectionFactory&lt;/parameter&gt;
-      &lt;/parameter&gt;
-    &lt;/transportReceiver&gt;
-
-    &lt;transportSender name="jms" class="org.apache.axis2.transport.jms.JMSSender"/&gt;</pre>
-
-<p>The JMS transport receiver configuration allows you to define the default
-connection factory (named as "default" ~ JMSConstants.DEFAULT_CONFAC_NAME)
-for use by Axis2 services using the JMS transport. This connection factory
-will be used by any service that does not explicitly specify a connection
-factory name in its services.xml file. The configuration required to
-associate a (local) Axis2 connection factory to an actual implementation must
-be provided as shown above. To specify the JNDI URL, the initial context
-factory class and the JNDI name of the actual JMS connection factory is used.
-You can also specify the parameters "java.naming.security.principal" and
-"java.naming.security.credentials", if required, to access the actual
-connection factory. The example shown above uses an ActiveMQ JMS
-implementation.</p>
-<pre><strong>axis2.xml</strong>
-  &lt;parameter name="myTopicConnectionFactory" locked="false"&gt;</pre>
-<pre>    &lt;parameter name="java.naming.factory.initial" locked="false"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;</pre>
-<pre>    &lt;parameter name="java.naming.provider.url" locked="false"&gt;tcp://localhost:61616&lt;/parameter&gt;</pre>
-<pre>    &lt;parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false"&gt;TopicConnectionFactory&lt;/parameter&gt;</pre>
-<pre>  &lt;/parameter&gt;</pre>
-
-<p>If it is required or applicable, you are free to define additional (local)
-connection factories to Axis2 as shown above, which your services can use.
-For a service to specify that such a connection factory should be used, its
-services.xml may specify the following configuration parameter:</p>
-<pre>services.xml  
-  &lt;parameter name="transport.jms.ConnectionFactory" locked="true"&gt;myTopicConnectionFactory&lt;/parameter&gt;</pre>
-
-<p><strong>Note:</strong> Depending on your JMS implementation, you will need
-to make available all the required libraries for your Axis2 instance. This
-example assumes you are using an ActiveMQ instance. To run the given code
-samples, it is required to make the following JAR files available:
-activeio-core-3.0-beta1.jar, activemq-core-4.0-RC2.jar,
-geronimo-j2ee-management_1.0_spec-1.0.jar at a minimum. It also requires you
-to start ActiveMQ separately from Axis2, and then provide the appropriate
-configuration settings (e.g. URL) to Axis2.</p>
-
-<p>During initialization, the JMS Listener creates a dedicated JMS message
-processor for each connection factory defined, and utilizes a shared thread
-pool to process the received messages.</p>
-
-<p>A service on an Axis2 instance is deployed on all the started transports
-by default, unless a list of transports is specified in its services.xml
-file. Hence, if a service must only be deployed on JMS, you should specify it
-on the services.xml as follows:</p>
-<pre>  &lt;transports&gt; 
-    &lt;transport&gt;jms&lt;/transport&gt; 
-  &lt;/transports&gt;</pre>
-
-<p>If the services.xml does not provide an explicit JMS destination name, it
-is assumed that the service will listen for messages on a JMS
-<strong>Queue</strong> by the same name as the <strong>name of the
-service</strong>. If an explicit connection factory definition name has not
-been specified, it is assumed that the "default" connection factory
-definition configured within the transport receiver is used. To provide a
-custom JMS destination name and connection factory, the services.xml file
-provides the following optional parameters.</p>
-<pre>  &lt;parameter name="transport.jms.ConnectionFactory" locked="true"&gt;myTopicConnectionFactory&lt;/parameter&gt;
-  &lt;parameter name="transport.jms.Destination" locked="true"&gt;dynamicTopics/something.TestTopic&lt;/parameter&gt;</pre>
-<a name="writing_services"></a>
-
-<h2>Writing Services to Use the JMS Transport</h2>
-
-<p>This section assumes that you are already familiar with <a
-href="xmlbased-server.html">writing service implementations</a> for Axis2,
-and provides information on how to write your own service implementations,
-which are exposed over JMS.</p>
-
-<p><strong>Echo - Service implementation and services.xml</strong></p>
-
-<p>This sample demonstrates a very simple service which is to be exposed over
-JMS. It does not specify a custom connection factory name, and hence uses the
-default value as specified in the JMS transport listener configuration. It
-also does not specify a custom destination name, and hence would listen to
-messages over a JMS Queue named "Echo" (which is the name of the service).
-This service will be exposed over all defined Axis2 transports, and the
-resulting URL for the service over JMS will be:</p>
-
-<p>jms:/echo?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616</p>
-<pre><strong>Echo.java</strong></pre>
-<pre>  public class Echo {</pre>
-<pre>    public String echoString(String in) {</pre>
-<pre>      return in;</pre>
-<pre>    }</pre>
-<pre>    public String echoString1(String in) {</pre>
-<pre>      return "echoString1 " + in;</pre>
-<pre>    }</pre>
-<pre>    public String echoString2(String in) {</pre>
-<pre>      return "echoString2 " + in;</pre>
-<pre>    }</pre>
-<pre>  }</pre>
-<pre></pre>
-<pre><strong>services.xml</strong></pre>
-<pre>  &lt;service name="echo"&gt;</pre>
-<pre>    &lt;description&gt;Echo Service&lt;/description&gt;</pre>
-<pre>    &lt;messageReceivers&gt;</pre>
-<pre>      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"</pre>
-<pre>        class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/&gt;</pre>
-<pre>      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"</pre>
-<pre>        class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/&gt;</pre>
-<pre>    &lt;/messageReceivers&gt;</pre>
-<pre>    &lt;parameter name="ServiceClass" locked="true"&gt;Echo&lt;/parameter&gt;</pre>
-<pre>&lt;/service&gt;</pre>
-
-<p></p>
-
-<p><strong>Echo2 - Service implementation and services.xml</strong></p>
-
-<p>This example shows a simple service which specifies that it should only be
-exposed over the JMS transport, and that the custom connection factory named
-"myTopcConnectionFactory" should be used to listen for requests at the JMS
-destination named "dynamicTopics/something.TestTopic". The JMS URL to access
-this service is:</p>
-
-<p>jms:/dynamicTopics/something.TestTopic?transport.jms.ConnectionFactoryJNDIName=TopicConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616&amp;java.naming.security.principal=system&amp;java.naming.security.credentials=manager</p>
-<pre><strong>Echo2.java</strong></pre>
-<pre>  public class Echo2 {</pre>
-<pre>    public String echoString(String in) {</pre>
-<pre>      return in;</pre>
-<pre>    }</pre>
-<pre>  }</pre>
-<pre></pre>
-<pre><strong>services.xml</strong></pre>
-<pre>  &lt;service name="echo"&gt;</pre>
-<pre>    &lt;transports&gt;</pre>
-<pre>      &lt;transport&gt;jms&lt;/transport&gt;</pre>
-<pre>    &lt;/transports&gt;</pre>
-<pre>    &lt;description&gt;Echo2 Service&lt;/description&gt;</pre>
-<pre>    &lt;messageReceivers&gt;</pre>
-<pre>      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"</pre>
-<pre>        class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/&gt;</pre>
-<pre>      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"</pre>
-<pre>        class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/&gt;</pre>
-<pre>    &lt;/messageReceivers&gt;</pre>
-<pre>    &lt;parameter name="ServiceClass" locked="true"&gt;Echo2&lt;/parameter&gt;</pre>
-<pre>    &lt;parameter name="transport.jms.ConnectionFactory" locked="true"&gt;myTopicConnectionFactory&lt;/parameter&gt;</pre>
-<pre>    &lt;parameter name="transport.jms.Destination" locked="true"&gt;dynamicTopics/something.TestTopic&lt;/parameter&gt;</pre>
-<pre>  &lt;/service&gt;</pre>
-<pre> </pre>
-
-<h2>Starting up the Axis2 JMS transport</h2>
-The Axis2 standalone binary distribution ships with an Axis2 Server, which starts up all the transports that are configured as per the axis2.xml. 
-Hence, configure the JMS transport in your axis2.xml, and use the axis2server.bat or the axis2server.sh to start the JMS transport.
-</body>
-</html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta http-equiv="content-type" content="">
+  <title>JMS Transport</title>
+  <link href="../css/axis-docs.css" rel="stylesheet" type="text/css"
+  media="all">
+</head>
+
+<body lang="en">
+<a name="configTransport"></a>
+
+<h1>JMS Transport</h1>
+
+<p>This document is all about the JMS (Java Messaging Service) Transport
+support in Apache Axis2,, and how it should be configured.</p>
+
+<p><i>Send your feedback or questions to: <a
+href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a></i>.
+(Subscription details are available on the <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
+prefix subject with [Axis2].</p>
+
+<h2>Contents</h2>
+<ul>
+  <li><a href="#CommonsHTTPTransportSender">Overview</a></li>
+  <li><a href="#timeout_config">Configuration</a></li>
+  <li><a href="#writing_services">Writing Services to Use the JMS
+    Transport</a></li>
+</ul>
+<a name="CommonsHTTPTransportSender"></a>
+
+<h2>Overview</h2>
+
+<p>A new Java Messaging Service (JMS) transport implementation has been added
+to Axis2 to overcome some drawbacks of the previous JMS implementation. One
+of the enhancements provided with this new implementation is the ability to
+<strong>assign custom JMS destination names or existing JMS destinations to
+Axis2 services being deployed</strong>.</p>
+<a name="timeout_config"></a>
+
+<h2>Configuration</h2>
+
+<p>To use the JMS transport, the axis2.xml configuration must be setup as
+follows, in order to configure the JMSListener and the JMS Sender</p>
+<pre><strong>axis2.xml</strong>
+    &lt;transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener"&gt;
+      &lt;parameter name="default" locked="false"&gt;                
+        &lt;parameter name="java.naming.factory.initial" locked="false"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;
+        &lt;parameter name="java.naming.provider.url" locked="false"&gt;tcp://localhost:61616&lt;/parameter&gt;        
+        &lt;parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false"&gt;QueueConnectionFactory&lt;/parameter&gt;
+      &lt;/parameter&gt;
+    &lt;/transportReceiver&gt;
+
+    &lt;transportSender name="jms" class="org.apache.axis2.transport.jms.JMSSender"/&gt;</pre>
+
+<p>The JMS transport receiver configuration allows you to define the default
+connection factory (named as "default" ~ JMSConstants.DEFAULT_CONFAC_NAME)
+for use by Axis2 services using the JMS transport. This connection factory
+will be used by any service that does not explicitly specify a connection
+factory name in its services.xml file. The configuration required to
+associate a (local) Axis2 connection factory to an actual implementation must
+be provided as shown above. To specify the JNDI URL, the initial context
+factory class and the JNDI name of the actual JMS connection factory is used.
+You can also specify the parameters "java.naming.security.principal" and
+"java.naming.security.credentials", if required, to access the actual
+connection factory. The example shown above uses an ActiveMQ JMS
+implementation.</p>
+<pre><strong>axis2.xml</strong>
+  &lt;parameter name="myTopicConnectionFactory" locked="false"&gt;</pre>
+<pre>    &lt;parameter name="java.naming.factory.initial" locked="false"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;</pre>
+<pre>    &lt;parameter name="java.naming.provider.url" locked="false"&gt;tcp://localhost:61616&lt;/parameter&gt;</pre>
+<pre>    &lt;parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false"&gt;TopicConnectionFactory&lt;/parameter&gt;</pre>
+<pre>  &lt;/parameter&gt;</pre>
+
+<p>If it is required or applicable, you are free to define additional (local)
+connection factories to Axis2 as shown above, which your services can use.
+For a service to specify that such a connection factory should be used, its
+services.xml may specify the following configuration parameter:</p>
+<pre>services.xml  
+  &lt;parameter name="transport.jms.ConnectionFactory" locked="true"&gt;myTopicConnectionFactory&lt;/parameter&gt;</pre>
+
+<p><strong>Note:</strong> Depending on your JMS implementation, you will need
+to make available all the required libraries for your Axis2 instance. This
+example assumes you are using an ActiveMQ instance. To run the given code
+samples, it is required to make the following JAR files available:
+activeio-core-3.0-beta1.jar, activemq-core-4.0-RC2.jar,
+geronimo-j2ee-management_1.0_spec-1.0.jar at a minimum. It also requires you
+to start ActiveMQ separately from Axis2, and then provide the appropriate
+configuration settings (e.g. URL) to Axis2.</p>
+
+<p>During initialization, the JMS Listener creates a dedicated JMS message
+processor for each connection factory defined, and utilizes a shared thread
+pool to process the received messages.</p>
+
+<p>A service on an Axis2 instance is deployed on all the started transports
+by default, unless a list of transports is specified in its services.xml
+file. Hence, if a service must only be deployed on JMS, you should specify it
+on the services.xml as follows:</p>
+<pre>  &lt;transports&gt; 
+    &lt;transport&gt;jms&lt;/transport&gt; 
+  &lt;/transports&gt;</pre>
+
+<p>If the services.xml does not provide an explicit JMS destination name, it
+is assumed that the service will listen for messages on a JMS
+<strong>Queue</strong> by the same name as the <strong>name of the
+service</strong>. If an explicit connection factory definition name has not
+been specified, it is assumed that the "default" connection factory
+definition configured within the transport receiver is used. To provide a
+custom JMS destination name and connection factory, the services.xml file
+provides the following optional parameters.</p>
+<pre>  &lt;parameter name="transport.jms.ConnectionFactory" locked="true"&gt;myTopicConnectionFactory&lt;/parameter&gt;
+  &lt;parameter name="transport.jms.Destination" locked="true"&gt;dynamicTopics/something.TestTopic&lt;/parameter&gt;</pre>
+<a name="writing_services"></a>
+
+<h2>Writing Services to Use the JMS Transport</h2>
+
+<p>This section assumes that you are already familiar with <a
+href="xmlbased-server.html">writing service implementations</a> for Axis2,
+and provides information on how to write your own service implementations,
+which are exposed over JMS.</p>
+
+<p><strong>Echo - Service implementation and services.xml</strong></p>
+
+<p>This sample demonstrates a very simple service which is to be exposed over
+JMS. It does not specify a custom connection factory name, and hence uses the
+default value as specified in the JMS transport listener configuration. It
+also does not specify a custom destination name, and hence would listen to
+messages over a JMS Queue named "Echo" (which is the name of the service).
+This service will be exposed over all defined Axis2 transports, and the
+resulting URL for the service over JMS will be:</p>
+
+<p>jms:/echo?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616</p>
+<pre><strong>Echo.java</strong></pre>
+<pre>  public class Echo {</pre>
+<pre>    public String echoString(String in) {</pre>
+<pre>      return in;</pre>
+<pre>    }</pre>
+<pre>    public String echoString1(String in) {</pre>
+<pre>      return "echoString1 " + in;</pre>
+<pre>    }</pre>
+<pre>    public String echoString2(String in) {</pre>
+<pre>      return "echoString2 " + in;</pre>
+<pre>    }</pre>
+<pre>  }</pre>
+<pre></pre>
+<pre><strong>services.xml</strong></pre>
+<pre>  &lt;service name="echo"&gt;</pre>
+<pre>    &lt;description&gt;Echo Service&lt;/description&gt;</pre>
+<pre>    &lt;messageReceivers&gt;</pre>
+<pre>      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"</pre>
+<pre>        class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/&gt;</pre>
+<pre>      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"</pre>
+<pre>        class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/&gt;</pre>
+<pre>    &lt;/messageReceivers&gt;</pre>
+<pre>    &lt;parameter name="ServiceClass" locked="true"&gt;Echo&lt;/parameter&gt;</pre>
+<pre>&lt;/service&gt;</pre>
+
+<p></p>
+
+<p><strong>Echo2 - Service implementation and services.xml</strong></p>
+
+<p>This example shows a simple service which specifies that it should only be
+exposed over the JMS transport, and that the custom connection factory named
+"myTopcConnectionFactory" should be used to listen for requests at the JMS
+destination named "dynamicTopics/something.TestTopic". The JMS URL to access
+this service is:</p>
+
+<p>jms:/dynamicTopics/something.TestTopic?transport.jms.ConnectionFactoryJNDIName=TopicConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616&amp;java.naming.security.principal=system&amp;java.naming.security.credentials=manager</p>
+<pre><strong>Echo2.java</strong></pre>
+<pre>  public class Echo2 {</pre>
+<pre>    public String echoString(String in) {</pre>
+<pre>      return in;</pre>
+<pre>    }</pre>
+<pre>  }</pre>
+<pre></pre>
+<pre><strong>services.xml</strong></pre>
+<pre>  &lt;service name="echo"&gt;</pre>
+<pre>    &lt;transports&gt;</pre>
+<pre>      &lt;transport&gt;jms&lt;/transport&gt;</pre>
+<pre>    &lt;/transports&gt;</pre>
+<pre>    &lt;description&gt;Echo2 Service&lt;/description&gt;</pre>
+<pre>    &lt;messageReceivers&gt;</pre>
+<pre>      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"</pre>
+<pre>        class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/&gt;</pre>
+<pre>      &lt;messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"</pre>
+<pre>        class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/&gt;</pre>
+<pre>    &lt;/messageReceivers&gt;</pre>
+<pre>    &lt;parameter name="ServiceClass" locked="true"&gt;Echo2&lt;/parameter&gt;</pre>
+<pre>    &lt;parameter name="transport.jms.ConnectionFactory" locked="true"&gt;myTopicConnectionFactory&lt;/parameter&gt;</pre>
+<pre>    &lt;parameter name="transport.jms.Destination" locked="true"&gt;dynamicTopics/something.TestTopic&lt;/parameter&gt;</pre>
+<pre>  &lt;/service&gt;</pre>
+<pre> </pre>
+
+<h2>Starting up the Axis2 JMS transport</h2>
+<p>The Axis2 standalone binary distribution ships with an Axis2 Server, which
+starts up all the transports that are configured as per the axis2.xml. Hence,
+configure the JMS transport in your axis2.xml, and use the axis2server.bat or
+the axis2server.sh to start the JMS transport.</p></body>
+</html>

Modified: webservices/axis2/trunk/java/xdocs/1_1/mail-configuration.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/mail-configuration.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/mail-configuration.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/mail-configuration.html Wed Feb 21 22:50:05 2007
@@ -14,10 +14,10 @@
 get the mail transport working.</p>
 
 <p><i>Send your feedback or questions to: <a
-href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</a></i>. Prefix
-subject with [Axis2]. You can also <a
-href="http://ws.apache.org/axis2/mail-lists.html">subscribe</a> to the
-mailing list.</p>
+href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a></i>.
+(Subscription details are available on the <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
+prefix subject with [Axis2]. </p>
 
 <h2>Content</h2>
 <ul>

Modified: webservices/axis2/trunk/java/xdocs/1_1/mail-transport.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/mail-transport.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/mail-transport.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/mail-transport.html Wed Feb 21 22:50:05 2007
@@ -10,14 +10,13 @@
 <body>
 <h1>Invoking a Service Using a Mail Transport</h1>
 
-<p>This document explains how to invoke a service through Mail transports.
-</p>
+<p>This document explains how to invoke a service through Mail transports.</p>
 
 <p><i>Send your feedback or questions to: <a
-href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</a></i>. Prefix
-subject with [Axis2]. You can also <a
-href="http://ws.apache.org/axis2/mail-lists.html">subscribe</a> to the mailig
-list.</p>
+href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a></i>.
+(Subscription details are available on the <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
+prefix subject with [Axis2]. </p>
 
 <h2>Content</h2>
 <ul>

Modified: webservices/axis2/trunk/java/xdocs/1_1/migration.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/migration.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/migration.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/migration.html Wed Feb 21 22:50:05 2007
@@ -16,10 +16,10 @@
 guidelines for the migration.</p>
 
 <p><i>Send your feedback or questions to: <a
-href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</a></i>. Prefix
-subject with [Axis2]. You can also <a
-href="http://ws.apache.org/axis2/mail-lists.html">subscribe</a> to the
-mailing list.</p>
+href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a></i>.
+(Subscription details are available on the <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
+prefix subject with [Axis2]. </p>
 
 <h2>Content</h2>
 <ul>

Modified: webservices/axis2/trunk/java/xdocs/1_1/modules.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/modules.html?view=diff&rev=510422&r1=510421&r2=510422
==============================================================================
--- webservices/axis2/trunk/java/xdocs/1_1/modules.html (original)
+++ webservices/axis2/trunk/java/xdocs/1_1/modules.html Wed Feb 21 22:50:05 2007
@@ -16,11 +16,11 @@
 more details about modules in Axis2). Let's create a custom module and deploy
 it to MyService, which we created earlier.</p>
 
-<p><i>Send your feedback or questions to: <a
-href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</a></i>. Prefix
-subject with [Axis2]. You can also <a
-href="http://ws.apache.org/axis2/mail-lists.html">subscribe</a> to the
-mailing lists.</p>
+<p>Send your feedback or questions to: <a
+href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a>.
+( Subscription details are available on the <a
+href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
+prefix subject with [Axis2].</p>
 
 <h2>Content List</h2>
 <ul>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org