Revision: b4fbe9a3ba56
Author:   Jean Deruelle <[email protected]>
Date:     Tue Sep  4 05:17:44 2012
Log:      Update Issue 142

Fixing typos and wrong information, adding some and removing some outdated info or links

http://code.google.com/p/sipservlets/source/detail?r=b4fbe9a3ba56

Added:
 /docs/sources/src/main/resources/en-US/images/welcome-page-MSS-Tomcat-7.png
Modified:
 /docs/sources/src/main/resources/en-US/SIP_Servlets_Server_User_Guide.xml
 /docs/sources/src/main/resources/en-US/concept-chapter-AS7-mss.xml
/docs/sources/src/main/resources/en-US/concept-chapter-Advanced_Features_of_the_SIP_Servlets_Server.xml /docs/sources/src/main/resources/en-US/concept-section-SS_Concurrency_and_Congestion_Control.xml /docs/sources/src/main/resources/en-US/concept-section-SS_Diameter_Support.xml
 /docs/sources/src/main/resources/en-US/concept-section-SS_JSLEE_Interop.xml
 /docs/sources/src/main/resources/en-US/concept-section-SS_Load_Balancer.xml
 /docs/sources/src/main/resources/en-US/concept-section-SS_STUN_Support.xml
/docs/sources/src/main/resources/en-US/concept-section-SS_for_JBoss-Clustering_Support.xml /docs/sources/src/main/resources/en-US/images/mss-MSSSManagementConsole-ss-Help.png /docs/sources/src/main/resources/en-US/images/mss-MSSSManagementConsole-ss-ManagementConsole.png /docs/sources/src/main/resources/en-US/images/mss-MSSSManagementConsole-ss-ServerSettings.png /docs/sources/src/main/resources/en-US/task-section-SIP_Servlets_Server-Configuring.xml /docs/sources/src/main/resources/en-US/task-section-binary-SIP_Servlets_Server_with_Tomcat-Installing_Configuring_and_Running.xml /docs/sources/src/main/resources/en-US/task-section-echarts-Application-Router.xml

=======================================
--- /dev/null   
+++ /docs/sources/src/main/resources/en-US/images/welcome-page-MSS-Tomcat-7.png Tue Sep 4 05:17:44 2012
Binary file, no diff available.
=======================================
--- /docs/sources/src/main/resources/en-US/SIP_Servlets_Server_User_Guide.xml Fri Aug 31 09:43:26 2012 +++ /docs/sources/src/main/resources/en-US/SIP_Servlets_Server_User_Guide.xml Tue Sep 4 05:17:44 2012
@@ -15,7 +15,7 @@
 <chapter>
 <title>Clustering and High Availability</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_for_JBoss-Clustering_Support.xml"/> -<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_for_JBoss-Failover_Support.xml"/> +<!--xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_for_JBoss-Failover_Support.xml"/--> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_Load_Balancer.xml"/>
 </chapter>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-chapter-Enterprise-Monitoring-Operations-Management.xml"/>
=======================================
--- /docs/sources/src/main/resources/en-US/concept-chapter-AS7-mss.xml Mon Sep 3 13:07:33 2012 +++ /docs/sources/src/main/resources/en-US/concept-chapter-AS7-mss.xml Tue Sep 4 05:17:44 2012
@@ -69,7 +69,7 @@
 </screen>

 <para>
-During the startup process, you will notice that the final part of the log output will be similar to the truncated output below. Notice that the Admin Console interface can be accessed at http://172.0.0.1:9990. This will be explained later. +During the startup process, you will notice that the final part of the log output will be similar to the truncated output below. Notice that the Admin Console interface can be accessed at <ulink url="http://172.0.0.1:9990";>http://172.0.0.1:9990</ulink>. This will be explained later.
 </para>
 <screen>
14:28:43,972 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
@@ -136,7 +136,7 @@


 <para>
-The click2call SIP sample application bundled with &SHORT_PLATFORM_NAME; will become available at this url http://127.0.0.1:8080/click2call. You can configure multiple SIP softphones to use the sample application. See the section below for how to configure and test the SIP sample application. +The click2call SIP sample application bundled with &SHORT_PLATFORM_NAME; will become available at this url <ulink url="http://127.0.0.1:8080/click2call";>http://127.0.0.1:8080/click2call</ulink>. You can configure multiple SIP softphones to use the sample application. See the section below for how to configure and test the SIP sample application.
 </para>
 </section>

@@ -196,7 +196,7 @@


 <para>
-Once the phones are successfully registered with the &SHORT_PLATFORM_NAME; for JBoss AS7 server, you can check the result in the sample SIP application at this url, http://127.0.0.1:8080/click2call/ +Once the phones are successfully registered with the &SHORT_PLATFORM_NAME; for JBoss AS7 server, you can check the result in the sample SIP application at this url, <ulink url="http://127.0.0.1:8080/click2call";>http://127.0.0.1:8080/click2call</ulink>
 </para>


@@ -359,7 +359,7 @@
 </formalpara>

 <para>
-There is also a SIP servlets management console that is available at this url http://127.0.0.1:8080/sip-servlets-management. The resulting page will be similar to the screenshot below. More information will be provided about the SIP servlets management console in later chapters of this guide. +There is also a SIP servlets management console that is available at this url <ulink url="http://127.0.0.1:8080/sip-servlets-management";>http://127.0.0.1:8080/sip-servlets-management</ulink>. The resulting page will be similar to the screenshot below. More information will be provided about the SIP servlets management console in later chapters of this guide.
 </para>

 <para>
@@ -383,7 +383,7 @@
 <title>Accessing Management Console </title>

 <para>
-&SHORT_PLATFORM_NAME; for JBoss AS7 provides a management console that can be useful for accessing vital information about your server. In the welcome page that appears when you access http://127.0.0.1:8080, there is a link that points to the Administration Console. +&SHORT_PLATFORM_NAME; for JBoss AS7 provides a management console that can be useful for accessing vital information about your server. In the welcome page that appears when you access <ulink url="http://127.0.0.1:8080";>http://127.0.0.1:8080</ulink>, there is a link that points to the Administration Console.
 </para>

 <para>
@@ -415,7 +415,7 @@
 </para>

 <para>
-Once the user account has been created, you can access the Administration Console at this address http://127.0.0.1:9990/console/ +Once the user account has been created, you can access the Administration Console at this address <ulink url="http://127.0.0.1:9990/console/";>http://127.0.0.1:9990/console/</ulink>
 </para>

 <para>
=======================================
--- /docs/sources/src/main/resources/en-US/concept-chapter-Advanced_Features_of_the_SIP_Servlets_Server.xml Fri Apr 6 01:22:55 2012 +++ /docs/sources/src/main/resources/en-US/concept-chapter-Advanced_Features_of_the_SIP_Servlets_Server.xml Tue Sep 4 05:17:44 2012
@@ -14,7 +14,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_CDI_Telco_Framework.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_Diameter_Support.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_SIP_Extensions.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_JRuby_Teclo_Integration.xml"/> + <!--xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_JRuby_Teclo_Integration.xml"/--> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="concept-section-SS_JSLEE_Interop.xml"/>
   <section>
     <title>Eclipse IDE Tools</title>
=======================================
--- /docs/sources/src/main/resources/en-US/concept-section-SS_Concurrency_and_Congestion_Control.xml Sun Sep 2 15:23:51 2012 +++ /docs/sources/src/main/resources/en-US/concept-section-SS_Concurrency_and_Congestion_Control.xml Tue Sep 4 05:17:44 2012
@@ -194,17 +194,17 @@
         </figure>
         <important>
           <title>Persistent Settings</title>
- <para>Concurrency and congestion control settings altered through the SIP Servlets Management Console are not saved to the <filename>server.xml</filename> or the <filename>standalone-sip.xml</filename>configuration file. </para> + <para>Concurrency and congestion control settings altered through the SIP Servlets Management Console are not saved to the <filename>server.xml</filename> on Tomcat, only on JBoss AS7 through the <filename>standalone-sip.xml</filename>configuration file. </para> <para>To make settings persistent, append the settings to the <filename>server.xml</filename> file directly. </para>
         </important>
       </listitem>
     </varlistentry>
     <varlistentry>
- <term>Making your changes permanent in <filename>standalone-sip.xml</filename></term> + <term>Making your changes permanent in <filename>standalone-sip.xml</filename> or <filename>server.xml</filename> by manual editing</term>
       <listitem>
         <para>Alternatively, you can edit your server&apos;s
- <filename>standalone-sip.xml</filename> configuration file, which has the - benefit of making your chosen settings changes permanent. Instructions + <filename>standalone-sip.xml</filename> or <filename>server.xml</filename> configuration file, which has the + benefit of making your chosen settings changes permanent for Tomcat. Instructions
         follow, grouped by the SIP Servlets Server you are running:</para>
         <procedure>
<title>Tuning &PLATFORM_NAME; SIP Servlets for JBoss Server Settings for Concurrency and Congestion Control</title>
@@ -366,7 +366,7 @@
         &PLATFORM_NAME; SIP Servlets for JBoss&apos;s JMX console. </para>
         <para>All changes performed
         at run time are effective immediately, but do not persist across
- reboots. As with JBoss and Tomcat, the <filename>server.xml</filename> must be appended with the settings in order to make the configuration persistent.</para> + reboots for Tomcat, only on JBoss AS7. the <filename>server.xml</filename> must be appended with the settings in order to make the configuration persistent.</para>
         <para>When editing the <literal>dispatcher</literal> MBean from
&PLATFORM_NAME; SIP Servlets for JBoss&apos;s JMX console, values allowed for the
         concurrency control mode are <userinput>None</userinput>,
@@ -374,11 +374,11 @@
         <userinput>SipApplicationSession</userinput>.</para>
       </listitem>
     </varlistentry>
-    <varlistentry>
+    <!--varlistentry>
<term>Tuning Parameters from Enterprise Monitoring and Managent Console</term>
       <listitem>
<para>If the Enterprise Monitoring and Managenemt console is installed as described in <xref linkend="emom-Enterprise-Monitoring-Operations-Management"/>, the tunable parameters can be altered by following the instructions in <xref linkend="emom-Embedded-Jopr"/> or <xref linkend="emom-Jopr4Production"/></para>
       </listitem>
-    </varlistentry>
+    </varlistentry-->
   </variablelist>
 </section>
=======================================
--- /docs/sources/src/main/resources/en-US/concept-section-SS_Diameter_Support.xml Fri Jan 7 06:27:21 2011 +++ /docs/sources/src/main/resources/en-US/concept-section-SS_Diameter_Support.xml Tue Sep 4 05:17:44 2012
@@ -6,5 +6,5 @@
 <section id="ssds-Diameter_Support">
   <title>Diameter Support</title>
<para>The Diameter Protocol (<ulink url="http://www.ietf.org/rfc/rfc3588.txt";>RFC 3588</ulink>) is a computer networking protocol for Authentication, Authorization, and Accounting (AAA). The Diameter version included in &PLATFORM_NAME; SIP Servlets currently support Base, Sh, Ro and Rf.</para> - <para>For more information regarding Diameter support, refer to the <ulink url="http://groups.google.com/group/mobicents-public/web/mobicents-diameter";>Diameter Home Page</ulink>. For a list of Diameter examples, refer to <xref linkend="ssea-SIP_Servlet_Example_Applications"/>.</para> + <para>For more information regarding Diameter support, refer to the <ulink url="https://code.google.com/p/jdiameter/";>Diameter Home Page</ulink>. For a list of Diameter examples, refer to <xref linkend="ssea-SIP_Servlet_Example_Applications"/>.</para>
 </section>
=======================================
--- /docs/sources/src/main/resources/en-US/concept-section-SS_JSLEE_Interop.xml Fri Jan 7 06:27:21 2011 +++ /docs/sources/src/main/resources/en-US/concept-section-SS_JSLEE_Interop.xml Tue Sep 4 05:17:44 2012
@@ -135,5 +135,5 @@
Servlets and JSLEE work together. <ulink url="http://mobicents.googlecode.com/files/deruelle-JSleeSipServletsInteroperability-final.pdf";>Our &quot;JSLEE and SIP-Servlets Interoperability with Mobicents Communication Platform&quot; paper</ulink> describes our approach and the possible different
   approaches we have identified to achieve the goal of interoperability
   between SIP Servlets and JSLEE.</para>
- <para>You can also use our <ulink url="http://www.mobicents.org/jslee-sips-interop-demo.html";>JSLEE/SIP Servlets interoperability example</ulink>, showcasing our approach.</para> + <para>You can also use our <ulink url="https://code.google.com/p/sipservlets/source/browse/#git%2Fsip-servlets-examples%2Fjslee-sips-interop";>JSLEE/SIP Servlets interoperability example</ulink>, showcasing our approach.</para>
 </section>
=======================================
--- /docs/sources/src/main/resources/en-US/concept-section-SS_Load_Balancer.xml Tue Aug 14 06:39:55 2012 +++ /docs/sources/src/main/resources/en-US/concept-section-SS_Load_Balancer.xml Tue Sep 4 05:17:44 2012
@@ -310,18 +310,14 @@
<literal>-DlogLevel=DEBUG</literal> will allow you to switch all loggig categories to the specified log level.</para>
         </step>
         <step>
- <title>Configure the <filename>server.xml</filename> configuration file</title> - <para>Ensure the following attributes are configured for the <literal>&lt;service&gt;</literal> element in <filename>server.xml</filename>.</para>
-          <itemizedlist>
-            <listitem>
- <para>The <literal>balancers</literal> attribute must contain a IP address (or list of addresses) of the SIP load balancer(s) to which heartbeat information will be sent.</para>
-            </listitem>
+          <title>Configure the container configuration file</title>
+ <para>Ensure the following attributes are configured for the <literal>&lt;service&gt;</literal> element in <filename>server.xml</filename> for Tomcat or in the mobicents <literal>subsystem</literal> element for JBoss AS7.</para>
+          <itemizedlist>
             <listitem>
<para>The <literal>sipPathName</literal> attribute must contain the following value <literal>org.mobicents.ha</literal> to indicate that the server will be using the &PLATFORM_NAME; JAIN SIP HA SIP Stack which is an extension of the JAIN SIP Stack offering transparent replication.</para>
             </listitem>
           </itemizedlist>
         </step>
-        <!-- Is needed on JB5 Version only -->
                <step>
<title>Configure the <filename>mss-sip-stack.properties</filename> configuration file</title>
           <itemizedlist>
@@ -344,10 +340,10 @@
       <note>
         <title>Configuration File Locations</title>
<para>On &SHORT_PLATFORM_NAME; for Tomcat server installations, <filename>server.xml</filename> is located in <filename>&lt;install_directory&gt;/conf</filename>.</para> - <para>On &SHORT_PLATFORM_NAME; for JBoss server installations, the default <filename>server.xml</filename> configuration file is located - in <filename>server/default/deploy/jboss-web.sar</filename> (or <filename>server/default/deploy/jboss-web.deployer</filename> for JBoss Application Server 4.x and EAP 4.x).</para> - <para>On &SHORT_PLATFORM_NAME; for JBoss installations, with JBoss clustering support enabled, the &quot;all&quot; <filename>server.xml</filename> file must be configured. It is located in <filename>server/all/deploy/jboss-web.deployer</filename>.</para> - <para>To determine what profile should be altered for each &SHORT_PLATFORM_NAME; for JBoss installation, refer to <xref linkend="ssfjcs-SS_for_JBoss-Clustering_Support"/>.</para> + <para>On &SHORT_PLATFORM_NAME; for JBoss server installations, the default <filename>standalone-sip.xml</filename> configuration file is located
+         in <filename>standalone/configuration</filename></para>
+ <!--para>On &SHORT_PLATFORM_NAME; for JBoss installations, with JBoss clustering support enabled, the &quot;all&quot; <filename>server.xml</filename> file must be configured. It is located in <filename>server/all/deploy/jboss-web.deployer</filename>.</para> + <para>To determine what profile should be altered for each &SHORT_PLATFORM_NAME; for JBoss installation, refer to <xref linkend="ssfjcs-SS_for_JBoss-Clustering_Support"/>.</para-->
       </note>
       <formalpara>
         <title>Easy Node Configuration with JMX</title>
@@ -440,18 +436,18 @@
         <step>
           <title>Configure SIP Server Nodes</title>
<para>SIP Servlets Server nodes can run on the JBoss Application Server, or the Tomcat Servlet Container. The SIP Servlets Server binary distributions define the type of SIP Servlets Server nodes used, and should already be installed from <xref linkend="sslb-binary-SIP_Load_Balancer-Software_Prerequisites"/>.</para> - <para>The <filename>server.xml</filename> file specifies the nodes used. Because there is more then one client node specified, unique listener ports must be specified for each node to monitor HTTP and/or SIP connections. <xref linkend="sslb-Changing_the_SIP_Connector_Port_for_Servlet_Server_Nodes"/> describes the affected element in the <filename>server.xml</filename> file.</para>
-          <note>
+ <para>The Tomcat's <filename>server.xml</filename> or JBoss's <filename>standalone-sip.xml</filename> file specifies the nodes used. Because there is more then one client node specified, unique listener ports must be specified for each node to monitor HTTP and/or SIP connections. <xref linkend="bsssc-binary-SIP_Servlets_Server-Adding_SIP_Connectors"/> describes the affected element in the configuration file.</para>
+          <!--note>
             <title>Configuration File Location</title>
- <para>For the JBoss SIP Servlets Server binary distribution, <filename>server.xml</filename> is located in the <filename>&lt;install_directory&gt;/server/all/deploy/jboss-web.deployer/</filename> directory (for JBoss Application Server 4.x or EAP 4.x <filename>&lt;install_directory&gt;/server/all/deploy/jboss-web.deployer/</filename>). For the Tomcat binary distribution, <filename>server.xml</filename> is located in the <filename>&lt;install_directory&gt;/conf/</filename> directory.</para> + <para>For the JBoss SIP Servlets Server binary distribution, the configuration file is located at <filename>&lt;install_directory&gt;/standalone/configuration/standalone-sip.xml</filename>. For the Tomcat binary distribution, the configuration file is located at <filename>&lt;install_directory&gt;/conf/server.xml</filename>.</para>
           </note>
<example id="sslb-Changing_the_SIP_Connector_Port_for_Servlet_Server_Nodes"> - <title>Changing the SIP Connector Port for Servlet Server Nodes in server.xml</title> + <title>Changing the SIP Connector Port for Servlet Server Nodes in configuration file</title>
             <programlisting linenumbering="unnumbered" role="XML">
-<![CDATA[<!-- Define a SIP Connector -->
+<![CDATA[
 <Connector port="5080"]]>
             </programlisting>
-          </example>
+          </example-->
         </step>
         <step>
           <title>Start Load Balancer Client Nodes</title>
@@ -470,7 +466,7 @@
         <title>Testing Load Balancing</title>
         <step>
           <title>Deploy an Application</title>
- <para>Ensure that for each node, the DAR file location is specified in the <filename>server.xml</filename> file.</para>
+          <para>Ensure that for each node, the DAR file is the same.</para>
           <para>Deploy the Location service manually on both nodes.</para>
         </step>
         <step>
@@ -524,19 +520,22 @@
<!--Issue #822 Editor Comment - This paragraph block needs to be converted into a <procedure>.--> <warning> <para>Pure IP load balancing is not a recommented option. It is advised to use a distributed load balancer instead. Proper operation with pure IP load balancing depends on the ability of the IP load balancer to establish request affinity based on IP addresses and ports.</para>
       </warning>
-    </section>
-    <section>
-      <title></title>
- <para>First you need to remove the SIP load balancers from any configuration in &SHORT_PLATFORM_NAME;. In particular the <literal>balancers</literal> - attribute in <filename>server.xml</filename>. and edit the jboss.web engine tag. You should remove the balancers attribute from the Service tag of + <para>First you need to remove the SIP load balancers from any configuration in &SHORT_PLATFORM_NAME;. In particular the <literal>org.mobicents.ha.javax.sip.BALANCERS</literal> + attribute in <filename>mss-sip-stack.properties</filename>. You should remove the balancers attribute from the Service tag of jboss.web service. This simply removes the default load balancer from the system and the traffic bypasses the SIP load-balancer. Next you must configure &SHORT_PLATFORM_NAME; to put the IP load balancer IP address in the <literal>Via</literal>, <literal>Contact</literal> and other system headers where the IP address of the server machine is required. This will ensure that any responses or subsequent SIP requests follow the same path, but always hit the load balancer instead of particular cluster node that may fail. To specify the IP load balancer address in &SHORT_PLATFORM_NAME; your should edit - this file <filename>JBOSS_HOME/server/all/deploy/jboss-web.deployer/server.xml</filename> and specify <literal>staticServerAddress</literal> such as: </para> + this file on Tomcat <filename>CATALINA_HOME/conf/server.xml</filename> and specify <literal>staticServerAddress</literal> such as: </para>
       <programlisting>&lt;Connector port=&quot;5080&quot;
      ipAddress = &quot;${jboss.bind.address}&quot;
      ...
+staticServerAddress=&quot;122.122.122.122&quot; staticServerPort=&quot;44&quot;
+useStaticAddress=&quot;true&quot;/&gt;
+</programlisting>
+ <para> and edit this file on JBoss <filename>JBOSS_HOME/standalone/configuration/standalone-sip.xml</filename> and specify <literal>staticServerAddress</literal> such as: </para> + <programlisting>&lt;socket-binding name=&quot;sip-udp&quot; port=&quot;5080&quot;
+     ...
staticServerAddress=&quot;122.122.122.122&quot; staticServerPort=&quot;44&quot;
 useStaticAddress=&quot;true&quot;/&gt;
 </programlisting>
=======================================
--- /docs/sources/src/main/resources/en-US/concept-section-SS_STUN_Support.xml Fri Jan 7 06:27:21 2011 +++ /docs/sources/src/main/resources/en-US/concept-section-SS_STUN_Support.xml Tue Sep 4 05:17:44 2012
@@ -17,7 +17,7 @@
to discover a public IP address, and then use this address in the SIP messages
   sent through the connector.</para>
   <para>To make a SIP connector STUN-enabled, three attributes must be
- appended to the <markup>&lt;connector&gt;</markup> child element in the <filename>server.xml</filename> + appended to the <markup>&lt;connector&gt;</markup> child element in the <filename>server.xml</filename> or <markup>&lt;socket-binding&gt;</markup> child element in <filename>standalone-sip.xml</filename>
   file. The properties are:<itemizedlist>
       <listitem>
         <para>useStun=&quot;true&quot;</para>
=======================================
--- /docs/sources/src/main/resources/en-US/concept-section-SS_for_JBoss-Clustering_Support.xml Fri Aug 31 09:43:26 2012 +++ /docs/sources/src/main/resources/en-US/concept-section-SS_for_JBoss-Clustering_Support.xml Tue Sep 4 05:17:44 2012
@@ -10,7 +10,7 @@
 <note>
 <title>High Availability in &SHORT_PLATFORM_NAME; for JBoss AS7 </title>
 <para>
-This feature is not yet implemented in &SHORT_PLATFORM_NAME; for JBoss AS7. This guide will be updated when the feature becomes available. +Clustering and Failover features as described below are not yet implemented in &SHORT_PLATFORM_NAME; for JBoss AS7. This guide will be updated when the feature becomes available.
 </para>

 </note>
@@ -47,9 +47,9 @@
It is important to note that clustering is also a way to provide failover and enhance server performance. The same can be said of load balancing. The idea behind all the above mentioned techniques is to provide high availability to connecting clients connecting to applications running on &PLATFORM_NAME;. In a nutshell, high availability englobes all the above mentioned techniques.
 </para>

- <para>&PLATFORM_NAME; supports the clustering of SIP Servlets-enabled JBoss Application Servers for performance, reliability and failover purposes. Note that only &SHORT_PLATFORM_NAME; for JBoss Servers can be used as cluster nodes; &SHORT_PLATFORM_NAME; for Tomcat Containers are not supported.</para> + <!--para>&PLATFORM_NAME; supports the clustering of SIP Servlets-enabled JBoss Application Servers for performance, reliability and failover purposes. Note that only &SHORT_PLATFORM_NAME; for JBoss Servers can be used as cluster nodes; &SHORT_PLATFORM_NAME; for Tomcat Containers are not supported.</para> <para>The SIP Servlets Server uses the JBoss Application Server as its servlet container, and takes advantage of its capabilities, including clustering and failover. For detailed background information about JBoss Application Server clustering refer to the <ulink url="http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta422/html/index.html";>JBoss Application Server Clustering Guide</ulink>.</para> -<!-- SIP Servlets Server Cluster --> <section id="ssfjcs-binary-SIP_Servlets_Server_Cluster-Installing_Configuring_and_Running"> + <section id="ssfjcs-binary-SIP_Servlets_Server_Cluster-Installing_Configuring_and_Running"> <title>SIP Servlets Server Cluster: Installing, Configuring and Running</title>
     <para>&nbsp;</para>
<section id="ssfjcs-binary-SIP_Servlets_Server_Cluster-PreInstall_Requirements_and_Prerequisites">
@@ -252,16 +252,16 @@
                            <programlisting role="XML">
                                           &lt;property 
name=&quot;cacheLoaderConfig&quot;&gt;
&lt;bean class=&quot;org.jboss.cache.config.CacheLoaderConfig&quot;&gt;
-                                           &lt;!-- Do not change these --&gt;
+ &lt;!&ndash;&ndash; Do not change these &ndash;&ndash;&gt; &lt;property name=&quot;passivation&quot;&gt;true &lt;/property&gt; &lt;property name=&quot;shared&quot;&gt;false &lt;/property&gt;

&lt;property name=&quot;individualCacheLoaderConfigs&quot;&gt;
                                              &lt;list&gt;
&lt;bean class=&quot;org.jboss.cache.loader.FileCacheLoaderConfig&quot;&gt; - &lt;!-- Where passivated sessions are stored --&gt; + &lt;!&ndash;&ndash; Where passivated sessions are stored &ndash;&ndash;&gt; &lt;property name=&quot;location&quot;&gt;${jboss.server.data.dir}${/}session &lt;/property&gt;
-                                                   &lt;!-- Do not change these 
--&gt;
+ &lt;!&ndash;&ndash; Do not change these &ndash;&ndash;&gt; &lt;property name=&quot;async&quot;&gt;false &lt;/property&gt; &lt;property name=&quot;fetchPersistentState&quot;&gt;true &lt;/property&gt; &lt;property name=&quot;purgeOnStartup&quot;&gt;true &lt;/property&gt;
@@ -335,12 +335,12 @@
If you are deploying several sipapps and each uses the same set of passivation configurations, you may wish to skip the jboss-web.xml configuration and just change the server-wide defaults. This can be done by uncommenting the following section in the $JBOSS_HOME/server/xxx/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml file's WebAppClusteringDefaultsDeployer and setting the values you desire:
                    </para>
                     <programlisting role="XML">
-                                                 &lt;!--
+                                                 &lt;!&ndash;&ndash;
&lt;property name=&quot;useSessionPassivation&quot;&gt;false &lt;/property&gt; &lt;property name=&quot;passivationMaxIdleTime&quot;&gt;-1 &lt;/property&gt; &lt;property name=&quot;passivationMinIdleTime&quot;&gt;-1 &lt;/property&gt;
-                                             --&gt;
+                                             &ndash;&ndash;&gt;
                                </programlisting>
        </section>
-    </section>
+    </section-->
 </section>
=======================================
--- /docs/sources/src/main/resources/en-US/images/mss-MSSSManagementConsole-ss-Help.png Thu Nov 5 04:39:41 2009 +++ /docs/sources/src/main/resources/en-US/images/mss-MSSSManagementConsole-ss-Help.png Tue Sep 4 05:17:44 2012
Binary file, no diff available.
=======================================
--- /docs/sources/src/main/resources/en-US/images/mss-MSSSManagementConsole-ss-ManagementConsole.png Thu Nov 5 04:39:41 2009 +++ /docs/sources/src/main/resources/en-US/images/mss-MSSSManagementConsole-ss-ManagementConsole.png Tue Sep 4 05:17:44 2012
Binary file, no diff available.
=======================================
--- /docs/sources/src/main/resources/en-US/images/mss-MSSSManagementConsole-ss-ServerSettings.png Thu Nov 5 04:39:41 2009 +++ /docs/sources/src/main/resources/en-US/images/mss-MSSSManagementConsole-ss-ServerSettings.png Tue Sep 4 05:17:44 2012
Binary file, no diff available.
=======================================
--- /docs/sources/src/main/resources/en-US/task-section-SIP_Servlets_Server-Configuring.xml Mon Sep 3 12:59:40 2012 +++ /docs/sources/src/main/resources/en-US/task-section-SIP_Servlets_Server-Configuring.xml Tue Sep 4 05:17:44 2012
@@ -212,7 +212,7 @@



- <para>In order to configure the application router for Tomcat, you should edit the <literal>Service</literal> element in the container's <filename>server.xml</filename> configuration file:</para> + <para>In order to configure the application router for Tomcat, you should edit the <literal>Service</literal> element in the container's <filename>server.xml</filename> configuration file</para>


<example id="bsssc-Configuring_the_Service_Element_in_the_Containers_server.xml">
@@ -237,6 +237,20 @@
  canceledTimerTasksPurgePeriod="1">]]>
  </programlisting>
     </example>
+
+<para>For &SHORT_PLATFORM_NAME; for JBoss AS7 this is located in standalone-sip.xml file :</para>
+
+<example id="bsssc-Configuring_the_mobicents_subsystem_in_the_Containers_standalone-sip.xml"> + <title>Configuring the Mobicents SubSystem Element in the Container&apos;s standalone.xml</title>
+      <programlisting linenumbering="unnumbered" role="XML"><![CDATA[
+ <subsystem xmlns="urn:org.mobicents:sip-servlets-as7:1.0" application-router="dars/mobicents-dar.properties" stack-properties="mss-sip-stack.properties" path-name="gov.nist" app-dispatcher-class="org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl" concurrency-control-mode="SipApplicationSession" congestion-control-interval="-1"> + <connector name="sip-udp" protocol="SIP/2.0" scheme="sip" socket-binding="sip-udp"/> + <connector name="sip-tcp" protocol="SIP/2.0" scheme="sip" socket-binding="sip-tcp"/> + <connector name="sip-tls" protocol="SIP/2.0" scheme="sip" socket-binding="sip-tls"/>
+        </subsystem>]]>
+ </programlisting>
+    </example>
+
     <variablelist>
       <title>SIP Service element attributes</title>
       <varlistentry>
@@ -398,9 +412,13 @@
     <title>SIP Servlets Server Logging</title>

 <para>
-Logging is an important part of working with &PLATFORM_NAME; for JBoss AS7. There are a few files that you need to be familiar with in order to successfully troubleshoot and adapt JBoss server monitoring and logging to your environment. +Logging is an important part of working with &PLATFORM_NAME;. There are a few files that you need to be familiar with in order to successfully troubleshoot and adapt &SHORT_PLATFORM_NAME; server monitoring and logging to your environment.
 </para>

+<formalpara>
+<title>Logging Files for &SHORT_PLATFORM_NAME; for JBoss AS7</title>
+</formalpara>
+
 <para>
 $JBOSS/standalone/configuration/logging.properties
 </para>
@@ -517,28 +535,36 @@
The result of the extracted configuration above that is taken from the log4j.xml file and can be found in the $CATALINA_HOME/logs directory.
 </para>

-<!--
+<formalpara>JAIN-SIP Stack Logging</formalpara>
    <para>There are two separate levels of logging:</para>
     <itemizedlist>
       <listitem>
- <para>Logging at the container level, which can be configured using the <filename>log4j.xml</filename> configuration file, usually located in the container&apos;s <filename>lib</filename> directory.</para> + <para>Logging at the container level, which can be configured using the <filename>log4j.xml</filename> or <filename>standalone-sip.xml</filename> configuration file seen above</para>
       </listitem>
       <listitem>
- <para>Logging of the NIST SIP stack, which is configured in the <literal>Connector</literal> element of the container&apos;s <filename>server.xml</filename> configuration file.</para> + <para>Logging of the JAIN SIP stack, which is configured through the container logging and the SIP stack properties themselves</para>
       </listitem>
     </itemizedlist>
- <para>You can setup the logging so that the NIST SIP Stack will log into the container logs.</para> - <para>To use LOG4J in NIST SIP Stack, you need to define a category in <filename>JBOSS_HOME/server/default/conf/jboss-log4j.xml</filename> and set it to <literal>off</literal>.</para> + <para>You can setup the logging so that the JAIN SIP Stack will log into the container logs.</para> + <para>To use LOG4J in JAIN SIP Stack in Tomcat, you need to define a category in <filename>CATALINE_HOME/lib/jboss-log4j.xml</filename> and set it to <literal>DEBUG</literal>.</para> <example id="bsssc-Configuring_the_Stack_Logs_in_the_Container_log4j.xml"> - <title>Configuring the NIST SIP Stack to log into the Container&apos;s logs</title> + <title>Configuring the JAIN SIP Stack to log into the Tomcat Container&apos;s logs</title> <programlisting linenumbering="unnumbered" role="XML"><![CDATA[
                         <category name="gov.nist">
-                        <priority value="OFF"/>
+                        <priority value="DEBUG"/>
                         </category>]]>
                 </programlisting>
         </example>
- <para>For this category to be used in &SHORT_PLATFORM_NAME;, you need to specify it in <filename>JBOSS_HOME/server/default/conf/mss-sip-stack.properties</filename>, add the <literal>gov.nist.javax.sip.LOG4J_LOGGER_NAME=gov.nist</literal> property, and set the <literal>gov.nist.javax.sip.TRACE_LEVEL=LOG4J</literal> property.</para>
--->
+ <para>To use LOG4J in JAIN SIP Stack in JBoss, you need to define a logger in <filename>JBOSS_HOME/standalone/configuration/standalone-sip.xml</filename> and set it to <literal>DEBUG</literal>.</para> + <example id="bsssc-Configuring_the_Stack_Logs_in_the_Container_standlaone-sip.xml"> + <title>Configuring the JAIN SIP Stack to log into the JBoss Container&apos;s logs</title> + <programlisting linenumbering="unnumbered" role="XML"><![CDATA[
+                        <logger category="gov.nist">
+                               <level name="DEBUG"/>
+                       </logger>]]>
+                </programlisting>
+        </example>
+ <para>For this category to be used in &SHORT_PLATFORM_NAME;, you need to specify it in <filename>JBOSS_HOME/standalone/configuration/mss-sip-stack.properties</filename> or <filename>CATALINE_HOME/conf/mss-sip-stack.properties</filename>, add the <literal>gov.nist.javax.sip.LOG4J_LOGGER_NAME=gov.nist</literal> property, and set the <literal>gov.nist.javax.sip.TRACE_LEVEL=LOG4J</literal> property.</para>
   </section>


=======================================
--- /docs/sources/src/main/resources/en-US/task-section-binary-SIP_Servlets_Server_with_Tomcat-Installing_Configuring_and_Running.xml Mon Sep 3 12:59:40 2012 +++ /docs/sources/src/main/resources/en-US/task-section-binary-SIP_Servlets_Server_with_Tomcat-Installing_Configuring_and_Running.xml Tue Sep 4 05:17:44 2012
@@ -70,7 +70,7 @@
 Setting Environment Variables - JAVA and CATALINA
 </para>

-<para> <xref linkend="setting-jboss-ENV-variable-windows-unix"/></para>
+<para> <xref linkend="setting-CATALINA_HOME-ENV-linux-windows"/></para>



@@ -78,7 +78,7 @@
<title>Testing Click2CallAsync with &SHORT_PLATFORM_NAME; for Tomcat 7 </title>

 <para>
-If &SHORT_PLATFORM_NAME; for Tomcat 7 is started and running, you should be able to use your web browser to access the welcome page at this url http://127.0.0.1:8080/ This will show you a screenshot similar to the one below. +If &SHORT_PLATFORM_NAME; for Tomcat 7 is started and running, you should be able to use your web browser to access the welcome page at this url <ulink url="http://127.0.0.1:8080/";>http://127.0.0.1:8080/</ulink> This will show you a screenshot similar to the one below.
 </para>


@@ -87,7 +87,7 @@
               <title>JBoss Application Server 7 Welcome Page</title>
               <mediaobject>
                 <imageobject>
- <imagedata width="700" fileref="images/welcome-page-Mss-JBoss-AS7.png"/> + <imagedata width="700" fileref="images/welcome-page-MSS-Tomcat-7.png"/>
                 </imageobject>
               </mediaobject>
             </figure>
@@ -103,7 +103,7 @@
 </para>

 <para>
-Start your web browser and go to the link, http://127.0.0.1:8080/Click2CallAsync/ +Start your web browser and go to the link, <ulink url="http://127.0.0.1:8080/Click2CallAsync/";>http://127.0.0.1:8080/Click2CallAsync/</ulink>
 </para>

 <note>
@@ -174,7 +174,7 @@
 </screen>

 <para>
-Once the softphones are configured and are successfully registered with with the &SHORT_PLATFORM_NAME; for Tomcat 7 server, you will see a screenshot like the one below in the web browser at this url http://127.0.0.1:8080/Click2CallAsync/ +Once the softphones are configured and are successfully registered with the &SHORT_PLATFORM_NAME; for Tomcat 7 server, you will see a screenshot like the one below in the web browser at this url <ulink url="http://127.0.0.1:8080/Click2CallAsync/";>http://127.0.0.1:8080/Click2CallAsync/</ulink>
 </para>

 <para>
=======================================
--- /docs/sources/src/main/resources/en-US/task-section-echarts-Application-Router.xml Sun Sep 2 15:23:51 2012 +++ /docs/sources/src/main/resources/en-US/task-section-echarts-Application-Router.xml Tue Sep 4 05:17:44 2012
@@ -40,24 +40,43 @@
Please see the following link to learn how to deploy jar files in &SHORT_PLATFORM_NAME; for JBoss AS7.
 </para>

-<ulink url="https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7";> Migrating from AS5, AS6 to AS7</ulink>
-<!--
+<!--ulink url="https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7";> Migrating from AS5, AS6 to AS7</ulink-->
+
     <procedure>
-      <title>Installing DFCAR on JBoss 5.1.x</title>
+      <title>Installing DFCAR on JBoss AS7</title>

       <step>
         <title>Deploy the DFCAR</title>
- <para>Drop the <filename>dfcar.jar</filename> from the ECharts distribution package in the - <literal>JBOSS_HOME/server/default/deploy/jbossweb.sar/ </literal>directory.</para> + <para>Create a directory under <literal>JBOSS_HOME/modules/org/echarts/</literal></para> + <para>Drop the <filename>dfcar.jar</filename> from the ECharts distribution package in the
+      <literal>JBOSS_HOME/modules/org/echarts/ </literal>directory.</para>
+ <para>Create a <literal>module.xml</literal> file under the same directory with the following contents</para> + <programlisting><![CDATA[<module xmlns="urn:jboss:module:1.1" name="org.echarts">
+<resources>
+<resource-root path="dfcar.jar"/>
+</resources>
+<dependencies>
+<module name="org.apache.log4j"/>
+<module name="org.mobicents.javax.servlet.sip"/>
+</dependencies>
+</module>]]></programlisting>
       </step>
       <step>
         <title>Remove the DAR</title>
         <para>Remove the &PLATFORM_NAME; Default Application Router
       located in
- <literal>JBOSS_HOME/server/default/deploy/jbossweb.sar/sip-servlets-application-router-*.jar</literal>.</para>
+      <literal>JBOSS_HOME/modules/org/mobicents/dar</literal>.</para>
       </step>
-
+      <step>
+       <title>Use the DFC DAR</title>
+ <para>In <literal>JBOSS_HOME/modules/org/jboss/as/web/main/module.xml</literal>, replace the following line </para> + <programlisting><![CDATA[<module name="org.mobicents.dar" export="true"/>]]></programlisting>
+       <para>by this one</para>
+ <programlisting><![CDATA[<module name="org.echarts" export="true"/>]]></programlisting>
+       <para>
+       </para>
+      </step>
     </procedure>
--->
+
   </section>
 </section>

Reply via email to