Revision: 15428
Author: baranowb
Date: Sun Nov 21 23:40:50 2010
Log: Fixes issue 1311
http://code.google.com/p/mobicents/source/detail?r=15428
Modified:
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/Chapter-Clustering.xml
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/Chapter-Setup.xml
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/User_Guide.xml
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/ra/Section-Configuration.xml
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/ra/Section-Default_Resource_Adaptor_Entities.xml
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/ra/Section-Logging_Traces_and_Alarms.xml
=======================================
---
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/Chapter-Clustering.xml
Tue Feb 23 14:53:28 2010
+++
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/Chapter-Clustering.xml
Sun Nov 21 23:40:50 2010
@@ -1,48 +1,40 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
+<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML
V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "User_Guide.ent">
%BOOK_ENTITIES;
]>
-
<chapter id="ra_clustering">
-
- <title>Clustering</title>
-
- <section id="ra_clustering_failover">
- <title>Failover</title>
- <para>The SIP Stack used by the RA supports <literal>ESTABLISHED SIP
DIALOG</literal> failover. This means that an application must be in charge
of properly adapting its state machine, to recover SIP transaction or early
dialogs failures, once message retransmissions are received.</para>
- </section>
-
- <section id="ra_clustering_load_balancing">
- <title>Load Balancing</title>
- <para>The RA can be used with &THIS.PLATFORM; SIP Load Balancer. The
recommended version is &LOADBALANCER.VERSION;.</para>
-
- <section id="ra_clustering_load_balancer_configuration">
- <title>Configuring the Resource Adaptor to be used with &THIS.PLATFORM;
SIP Load Balancer</title>
- <variablelist>
- <para>There are three properties which define how the RA connects to
&THIS.PLATFORM; SIP Load Balancer:</para>
- <varlistentry>
-
<term>org.mobicents.ha.javax.sip.BALANCERS</term>
- <listitem>
- <para>the property must be configured with the list of load balancer
IP address and internal ports. As an example, suppose a single
&THIS.PLATFORM; SIP Load Balancer is running with IP
<literal>192.168.0.1</literal> and internal port <literal>5065</literal>,
the property would be set with value <literal>192.168.0.1:5065</literal>.
To specify multiple balancers use <literal>;</literal> as separator.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
-
<term>org.mobicents.ha.javax.sip.LoadBalancerHeartBeatingServiceClassName</term>
- <listitem>
- <para>this property is optional, defines the class name of the
HeartBeating service implementation, currently the only one available is
<literal>org.mobicents.ha.javax.sip.LoadBalancerHeartBeatingServiceImpl</literal></para>
- </listitem>
- </varlistentry>
- <varlistentry>
-
<term>org.mobicents.ha.javax.sip.LoadBalancerElector</term>
- <listitem>
- <para>this property is optional, defines the class of the load
balancer elector from JAIN SIP HA Stack. The elector is used to define
which load balancer will receive outgoing requests, which are out of dialog
or in dialog with null state. Currently only one elector implementation is
available,
<literal>org.mobicents.ha.javax.sip.RoundRobinLoadBalancerElector</literal>,
which, as the class name says, uses round robin algorythm to select the
balancer.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </section>
-
- </section>
-
+ <title>Clustering</title>
+ <section id="ra_clustering_failover">
+ <title>Failover</title>
+ <para>The SIP Stack used by the RA supports <literal>ESTABLISHED SIP
DIALOG</literal> failover. This means that an application must be in charge
of properly adapting its state machine to recover a SIP transaction or
early dialog failure, once message retransmissions are received.</para>
+ </section>
+ <section id="ra_clustering_load_balancing">
+ <title>Load Balancing</title>
+ <para>The RA can be used with &THIS.PLATFORM; SIP Load Balancer. The
recommended version is &LOADBALANCER.VERSION;.</para>
+ <section id="ra_clustering_load_balancer_configuration">
+ <title>Configuring the Resource Adaptor to be used with
&THIS.PLATFORM; SIP Load Balancer</title>
+ <variablelist>
+ <para>There are three properties which define how the RA connects
to &THIS.PLATFORM; SIP Load Balancer:</para>
+ <varlistentry>
+ <term>org.mobicents.ha.javax.sip.BALANCERS</term>
+ <listitem>
+ <para>the property must be configured with the list of load
balancer IP address and internal ports. As an example, suppose a single
&THIS.PLATFORM; SIP Load Balancer is running with IP
<literal>192.168.0.1</literal> and internal port <literal>5065</literal>.
The property would be set with a value
of<literal>192.168.0.1:5065</literal>. To specify multiple balancers use
<literal>;</literal> as a separator.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+
<term>org.mobicents.ha.javax.sip.LoadBalancerHeartBeatingServiceClassName</term>
+ <listitem>
+ <para>this property is optional, and defines the class name of
the HeartBeating service implementation. Currently, the only one available
is
<literal>org.mobicents.ha.javax.sip.LoadBalancerHeartBeatingServiceImpl</literal></para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>org.mobicents.ha.javax.sip.LoadBalancerElector</term>
+ <listitem>
+ <para>this property is optional, and defines the class of the
load balancer elector from JAIN SIP HA Stack. The elector is used to define
which load balancer will receive outgoing requests, which are out of dialog
or in dialog with null state. Currently only one elector implementation is
available,
<literal>org.mobicents.ha.javax.sip.RoundRobinLoadBalancerElector</literal>,
which, as the class name says, uses a round robin algorithm to select the
balancer.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </section>
+ </section>
</chapter>
=======================================
---
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/User_Guide.xml
Thu Dec 31 10:41:13 2009
+++
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/User_Guide.xml
Sun Nov 21 23:40:50 2010
@@ -1,32 +1,15 @@
-<?xml version='1.0'?>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- This document was created with Syntext Serna Free. -->
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML
V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
-
<book>
- <xi:include
- href="Book_Info.xml"
- xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include
- href="common/Preface.xml"
- xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include
- xmlns:xi="http://www.w3.org/2001/XInclude"
- href="Chapter-Introduction.xml" />
- <xi:include
- xmlns:xi="http://www.w3.org/2001/XInclude"
- href="ra-type/Chapter-Resource_Adaptor_Type.xml" />
- <xi:include
- xmlns:xi="http://www.w3.org/2001/XInclude"
- href="ra/Chapter-Resource_Adaptor.xml" />
- <xi:include
- xmlns:xi="http://www.w3.org/2001/XInclude"
- href="Chapter-Setup.xml" />
- <xi:include
- xmlns:xi="http://www.w3.org/2001/XInclude"
- href="Chapter-Clustering.xml" />
- <xi:include
- href="Revision_History.xml"
- xmlns:xi="http://www.w3.org/2001/XInclude" />
- <index />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="Book_Info.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="common/Preface.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="Chapter-Introduction.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="ra-type/Chapter-Resource_Adaptor_Type.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="ra/Chapter-Resource_Adaptor.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="Chapter-Setup.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="Chapter-Clustering.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="Revision_History.xml"/>
+ <index/>
</book>
-
=======================================
---
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/ra/Section-Configuration.xml
Tue Feb 23 09:06:17 2010
+++
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/ra/Section-Configuration.xml
Sun Nov 21 23:40:50 2010
@@ -1,82 +1,76 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
+<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML
V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "../User_Guide.ent">
%BOOK_ENTITIES;
]>
-
<section id="ra_configuration">
-
- <title>Configuration</title>
-
- <para>The Resource Adaptor supports configuration only at Resource
Adaptor Entity creation time, the following table enumerates the
configuration properties:</para>
-
- <table frame="all" pgwide="1">
- <title>Resource Adaptor's Configuration Properties</title>
- <tgroup colsep="1" cols="4">
- <colspec colnum="1" colname="c0"/>
- <colspec colnum="2" colname="c1"/>
- <colspec colnum="3" colname="c2"/>
- <colspec colnum="4" colname="c3"/>
- <thead>
- <row>
- <entry>Property Name</entry>
- <entry>Description</entry>
- <entry>Property Type</entry>
- <entry>Default Value</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>javax.sip. IP_ADDRESS</entry>
- <entry>the IP address to which the SIP stack should attach - if
value is not specified the RA will use the underlying Java EE container's
bind address address</entry>
- <entry>java.lang.String</entry>
- <entry></entry>
- </row>
- <row>
- <entry>javax.sip. OUTBOUND_PROXY</entry>
- <entry>sets the outbound proxy of the SIP Stack. The format
for this string is "ipaddress:port/transport" i.e. 129.1.22.333:5060/UDP.
This property is optional</entry>
- <entry>java.lang.String</entry>
- <entry></entry>
- </row>
- <row>
- <entry>javax.sip. PORT</entry>
- <entry>the port to which the SIP stack should
listen</entry>
- <entry>java.lang.Integer</entry>
- <entry>5060</entry>
- </row>
- <row>
- <entry>javax.sip. TRANSPORT</entry>
- <entry>the list of supported transports, separated
with ","</entry>
- <entry>java.lang.String</entry>
- <entry>UDP</entry>
- </row>
- <row>
- <entry>org.mobicents. ha.javax.sip.
BALANCERS</entry>
- <entry>the list of SIP balancers, in the form of "HOST:PORT",
separated by ";", it is only used if the heart beat service property is
defined</entry>
- <entry>java.lang.String</entry>
- <entry></entry>
- </row>
- <row>
- <entry>org.mobicents. ha.javax.sip. LoadBalancer HeartBeating
ServiceClassName</entry>
- <entry>the name of the class responsible for the heart beats
exchanged with the platform's SIP Balancer - if not specified the JAIN SIP
HA stack won't use such feature</entry>
- <entry>java.lang.String</entry>
- <entry></entry>
- </row>
- <row>
- <entry>org.mobicents. javax.sip. LOOSE_DIALOG
_VALIDATION</entry>
- <entry>controls validation of CSeq number for dialog messages.
Set to true allows out of sequence messages to be accepted.</entry>
- <entry>java.lang.Boolean</entry>
- <entry></entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <important>
- <para>Spaces where introduced in <literal>Property Name</literal> column
values, to correctly render the table. Please remove them when using
copy/paste.</para>
- </important>
- <important>
- <para>JAIN SLEE 1.1 Specification requires values set for properties
without a default value, which means the configuration for those properties
are mandatory, otherwise the Resource Adaptor Entity creation will
fail!</para>
- </important>
-
+ <title>Configuration</title>
+ <para>The Resource Adaptor supports configuration only at Resource
Adaptor Entity creation time. The following table enumerates the
configuration properties:</para>
+ <table frame="all" pgwide="1">
+ <title>Resource Adaptor's Configuration Properties</title>
+ <tgroup cols="4" colsep="1">
+ <colspec colnum="1" colname="c0"/>
+ <colspec colnum="2" colname="c1"/>
+ <colspec colnum="3" colname="c2"/>
+ <colspec colnum="4" colname="c3"/>
+ <thead>
+ <row>
+ <entry>Property Name</entry>
+ <entry>Description</entry>
+ <entry>Property Type</entry>
+ <entry>Default Value</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>javax.sip. IP_ADDRESS</entry>
+ <entry>the IP address to which the SIP stack should attach - if
value is not specified the RA will use the underlying Java EE
container's bind address address</entry>
+ <entry>java.lang.String</entry>
+ <entry/>
+ </row>
+ <row>
+ <entry>javax.sip. OUTBOUND_PROXY</entry>
+ <entry>sets the outbound proxy of the SIP Stack. The format for
this string is "ipaddress:port/transport" i.e.
129.1.22.333:5060/UDP. This property is optional</entry>
+ <entry>java.lang.String</entry>
+ <entry/>
+ </row>
+ <row>
+ <entry>javax.sip. PORT</entry>
+ <entry>the port to which the SIP stack should listen</entry>
+ <entry>java.lang.Integer</entry>
+ <entry>5060</entry>
+ </row>
+ <row>
+ <entry>javax.sip. TRANSPORT</entry>
+ <entry>the list of supported transports, separated with
","</entry>
+ <entry>java.lang.String</entry>
+ <entry>UDP</entry>
+ </row>
+ <row>
+ <entry>org.mobicents. ha.javax.sip. BALANCERS</entry>
+ <entry>the list of SIP balancers, in the form of
"HOST:PORT", separated by ";", it is only used if the
heart beat service property is defined</entry>
+ <entry>java.lang.String</entry>
+ <entry/>
+ </row>
+ <row>
+ <entry>org.mobicents. ha.javax.sip. LoadBalancer HeartBeating
ServiceClassName</entry>
+ <entry>the name of the class responsible for the heart beats
exchanged with the platform's SIP Balancer - if not specified the JAIN
SIP HA stack won't use such feature</entry>
+ <entry>java.lang.String</entry>
+ <entry/>
+ </row>
+ <row>
+ <entry>org.mobicents. javax.sip. LOOSE_DIALOG _VALIDATION</entry>
+ <entry>controls validation of CSeq number for dialog messages.
Set to true allows out of sequence messages to be accepted.</entry>
+ <entry>java.lang.Boolean</entry>
+ <entry/>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <important>
+ <para>Spaces where introduced in <literal>Property Name</literal>
column values, to correctly render the table. Please remove them when using
copy/paste.</para>
+ </important>
+ <important>
+ <para>JAIN SLEE 1.1 Specification requires values set for properties
without a default value, which means the configuration for those properties
are mandatory. Otherwise the Resource Adaptor Entity creation will
fail.</para>
+ </important>
</section>
=======================================
---
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/ra/Section-Default_Resource_Adaptor_Entities.xml
Tue Feb 23 09:02:05 2010
+++
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/ra/Section-Default_Resource_Adaptor_Entities.xml
Sun Nov 21 23:40:50 2010
@@ -1,47 +1,40 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
+<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML
V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "../User_Guide.ent">
%BOOK_ENTITIES;
]>
-
<section id="ra_default_ra_entities">
-
- <title>Default Resource Adaptor Entities</title>
-
- <para>There is a single Resource Adaptor Entity created when deploying
the Resource Adaptor, named <literal>SipRA</literal>. The
<literal>SipRA</literal> entity uses the default Resource Adaptor
configuration, specified in <xref linkend="ra_configuration" />.</para>
-
- <para>The <literal>SipRA</literal> entity is also bound to Resource
Adaptor Link Name <literal>SipRA</literal>, to use it in an Sbb add the
following XML to its descriptor:</para>
-
- <programlisting language="XML" role="XML"><![CDATA[
- <resource-adaptor-type-binding>
-
- <resource-adaptor-type-ref>
- <resource-adaptor-type-name>
- JAIN SIP
- </resource-adaptor-type-name>
- <resource-adaptor-type-vendor>
- javax.sip
- </resource-adaptor-type-vendor>
- <resource-adaptor-type-version>
- 1.2
- </resource-adaptor-type-version>
- </resource-adaptor-type-ref>
-
- <activity-context-interface-factory-name>
- slee/resources/jainsip/1.2/acifactory
- </activity-context-interface-factory-name>
-
- <resource-adaptor-entity-binding>
- <resource-adaptor-object-name>
- slee/resources/jainsip/1.2/provider
- </resource-adaptor-object-name>
- <resource-adaptor-entity-link>
- SipRA
- </resource-adaptor-entity-link>
- </resource-adaptor-entity-binding>
-
- </resource-adaptor-type-binding>]]>
- </programlisting>
-
+ <title>Default Resource Adaptor Entities</title>
+ <para>There is a single Resource Adaptor Entity created when deploying
the Resource Adaptor, named <literal>SipRA</literal>. The
<literal>SipRA</literal> entity uses the default Resource Adaptor
configuration, specified in <xref linkend="ra_configuration"/>.</para>
+ <para>The <literal>SipRA</literal> entity is also bound to Resource
Adaptor Link Name <literal>SipRA</literal>. To use it in an SBB, add the
following XML to its descriptor:</para>
+ <programlisting language="XML" role="XML"><![CDATA[
+ <resource-adaptor-type-binding>
+
+ <resource-adaptor-type-ref>
+ <resource-adaptor-type-name>
+ JAIN SIP
+ </resource-adaptor-type-name>
+ <resource-adaptor-type-vendor>
+ javax.sip
+ </resource-adaptor-type-vendor>
+ <resource-adaptor-type-version>
+ 1.2
+ </resource-adaptor-type-version>
+ </resource-adaptor-type-ref>
+
+ <activity-context-interface-factory-name>
+ slee/resources/jainsip/1.2/acifactory
+ </activity-context-interface-factory-name>
+
+ <resource-adaptor-entity-binding>
+ <resource-adaptor-object-name>
+ slee/resources/jainsip/1.2/provider
+ </resource-adaptor-object-name>
+ <resource-adaptor-entity-link>
+ SipRA
+ </resource-adaptor-entity-link>
+ </resource-adaptor-entity-binding>
+
+ </resource-adaptor-type-binding>]]>
+ </programlisting>
</section>
=======================================
---
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/ra/Section-Logging_Traces_and_Alarms.xml
Wed Feb 10 18:04:20 2010
+++
/trunk/servers/jain-slee/resources/sip11/docs/sources/src/main/resources/en-US/ra/Section-Logging_Traces_and_Alarms.xml
Sun Nov 21 23:40:50 2010
@@ -1,22 +1,16 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
+<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML
V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "../User_Guide.ent">
%BOOK_ENTITIES;
]>
-
<section id="ra_traces_and_alarms">
-
- <title>Traces and Alarms</title>
-
- <section id="ra_tracers">
- <title>Tracers</title>
- <para>Each Resource Adaptor Entity uses a single JAIN SLEE 1.1 Tracer,
named <literal>SipResourceAdaptor</literal>. The related Log4j Logger
category, which can be used to change the Tracer level from Log4j
configuration, is
<literal>javax.slee.RAEntityNotification[entity=SipRA]</literal></para>
- </section>
-
- <section id="ra_alarms">
- <title>Alarms</title>
- <para>No alarms are set by this Resource Adaptor.</para>
- </section>
-
+ <title>Traces and Alarms</title>
+ <section id="ra_tracers">
+ <title>Tracers</title>
+ <para>Each Resource Adaptor Entity uses a single JAIN SLEE 1.1 Tracer,
named <literal>SipResourceAdaptor</literal>. The related Log4j Logger
category, which can be used to change the Tracer level from Log4j
configuration, is
<literal>javax.slee.RAEntityNotification[entity=SipRA]</literal>.</para>
+ </section>
+ <section id="ra_alarms">
+ <title>Alarms</title>
+ <para>No alarms are set by this Resource Adaptor.</para>
+ </section>
</section>