Hi Jeromy,

I am sorry. I thought my attachments made to the list. Here I am including
them directly here. Please look at it and let me know if I have done
anything wrong. When I point my browser to the link:
http://[web-server-ip]/test1 it works. When I point my browser to the link:
http://[web-server-ip]/test2 I get the following tomcat blue screen:

HTTP Status 500 - No Context configured to process this request

----------------------------------------------------------------------------
----

type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context configured
to process this request) that prevented it from fulfilling this request.


----------------------------------------------------------------------------
----

And mapping error config logs go to the jboss's first instance's server.log.
Thanks,
Misak

----------------------------------------------------------------------
workers2.properties:
----------------------------------------------------------------------
#
# JK2 connector configuration (APP_SERVER_IP is an entry in the /etc/hosts
file).
#

# In production uncomment it out
[logger.apache2]
level=DEBUG

[shm]
file=/usr/local/apache-2/logs/shm.file
size=1048576

###################################################
#
# jk status
#
###################################################
[status:status]
info=Status group, displays runtime information

[uri:/jkstatus/*]
group=status:status

###################################################
#
# Setup instance 1
#
###################################################
[channel.socket:APP_SERVER_IP:8009]
port=8009
host=APP_SERVER_IP

# define the group
[ajp13:APP_SERVER_IP:8009]
channel=channel.socket:APP_SERVER_IP:8009

# Uri mapping
[uri:/localhost/test1/*.jsp]
group=ajp13:APP_SERVER_IP:8009

# Uri mapping
[uri:/localhost/test1/*.do]
group=ajp13:APP_SERVER_IP:8009

# Uri mapping
[uri:/localhost/test1manager/*.jsp]
group=ajp13:APP_SERVER_IP:8009

# Uri mapping
[uri:/localhost/test1manager/*.do]
group=ajp13:APP_SERVER_IP:8009

###################################################
#
# Setup instance2
#
###################################################
[channel.socket:APP_SERVER_IP:8109]
port=8109
host=APP_SERVER_IP

# define the group
[ajp13:APP_SERVER_IP:8109]
channel=channel.socket:APP_SERVER_IP:8109

# Uri mapping
[uri:/localhost/test2/*.jsp]
group=ajp13:APP_SERVER_IP:8109

# Uri mapping
[uri:/localhost/test2/*.do]
group=ajp13:APP_SERVER_IP:8109

# Uri mapping
[uri:/localhost/test2manager/*.jsp]
group=ajp13:APP_SERVER_IP:8109

# Uri mapping
[uri:/localhost/test2manager/*.do]
group=ajp13:APP_SERVER_IP:8109

################################################
#
# Setup instance3
#
###################################################
[channel.socket:APP_SERVER_IP:8209]
port=8209
host=APP_SERVER_IP

# define the group
[ajp13:APP_SERVER_IP:8209]
channel=channel.socket:APP_SERVER_IP:8209

# Uri mapping
[uri:/localhost/test3/*.jsp]
group=ajp13:APP_SERVER_IP:8209

# Uri mapping
[uri:/localhost/test3/*.do]
group=ajp13:APP_SERVER_IP:8209

# Uri mapping
[uri:/localhost/test3manager/*.jsp]
group=ajp13:APP_SERVER_IP:8209

# Uri mapping
[uri:/localhost/test3manager/*.do]
group=ajp13:APP_SERVER_IP:8209
----------------------------------------------------------------------
EOF of workers2.properties:
----------------------------------------------------------------------

----------------------------------------------------------------------
jboss-port-bindings.xml:
----------------------------------------------------------------------
<!DOCTYPE service-bindings [
  <!ELEMENT service-bindings (server+)>

  <!ELEMENT server (service-config+)>

  <!ATTLIST server name CDATA  #REQUIRED>

  <!ELEMENT service-config (delegate-config? , binding+)>

  <!ATTLIST service-config  name CDATA  #REQUIRED
                              delegateClass CDATA  #IMPLIED >

  <!ELEMENT binding EMPTY>

  <!ATTLIST binding  name CDATA  #IMPLIED
                       host CDATA  #IMPLIED
                       port CDATA  #IMPLIED >
  <!ELEMENT delegate-config ANY>
  <!ATTLIST delegate-config  hostName CDATA  #IMPLIED
                       portName CDATA  #IMPLIED >
]>

 <!--
 
****************************************************************************
**
 *
*
 *                              port-bindings.xml
*
 *
*
 *    The jboss-port-bindings.xml file defines different port configurations
*
 *    for running multiple JBoss
*
 *    instances in parallel on the same machine. To run multiple
*
 *    instances:
*
 *
*
 *    - Modify jboss-service.xml file to uncomment ServiceBindingManager
*
 *      portion as in the following example:
*
 *
*
 *    <mbean code="org.jboss.services.binding.ServiceBindingManager"
*
 *      name="jboss.system:service=ServiceBindingManager">
*
 *      <attribute name="ServerName">${jboss.server.name}</attribute>
*
 *      <attribute name="StoreURL">
*
 *         file:${jboss.server.base.dir}/jboss-port-bindings.xml
*
 *      </attribute>
*
 *      <attribute name="StoreFactoryClassName">
*
 *         org.jboss.services.binding.XMLServicesStoreFactory
*
 *      </attribute>
*
 *    </mbean>
*
 *
*
 *    - Add <server> section for the given server in this file with
*
 *      appropriate <service-config> sections.
*
 *
*
 *    - Get bindingservice-plugin.jar file from thirdparty directory in
*
 *      PVCS and drop in the lib directory of each server
*
 *
*
 *    - Make sure that each server's cluster name is different (Refer
*
 *      to JBoss docs for instructions).
*
 *
*
 *    - Also, make sure that each server uses different JMS queue names
*
 *
*
 *  REMARK: Additional documentation for running multiple JBoss instances
*
 *          on the same machine can be found in the offical JBoss3.x book
*
 *          in chapter "MBean Service Miscellany - Services Binding
*
 *          Management" !
*
 *
*
 
****************************************************************************
**
 -->

<!--
****************************************************************************
**
*  Add 100 to each port
*
****************************************************************************
**
-->

<service-bindings>

        <!-- ********************************************************** -->
        <!-- *                        Instanse: instance1             * -->
        <!-- ********************************************************** -->
        <server name="instance1">


                <!-- ********************* jboss-service.xml
****************** -->

                <service-config name="jboss:service=Naming"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port"/>
                        <binding port="1099" />
                </service-config>

                <service-config name="jboss:service=WebService"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port"/>
                        <binding port="8083" />
                </service-config>

                <service-config name="jboss:service=invoker,type=jrmp"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="RMIObjectPort"/>
                        <binding port="4444" />
                </service-config>

                <service-config name="jboss:service=invoker,type=pooled"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort"/>
                        <!-- don't care for now -->
                        <binding port="0" />
                </service-config>


                <!-- ********************* cluster-service.xml
**************** -->

                <service-config name="jboss:service=HAJNDI"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port" />
                        <binding port="1100" />
                </service-config>

                <service-config name="jboss:service=invoker,type=jrmpha"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="RMIObjectPort" />
                        <binding port="4445" />
                </service-config>


                <!-- ********************* iiop-service.xml
****************** -->

                <service-config name="jboss:service=CorbaORB"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port" />
                        <binding port="3528" />
                </service-config>


                <!-- ********************* jmx-rmi-adaptor.sar
**************** -->

                <service-config name="jboss.jmx:type=Connector,name=RMI"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="RMIObjectPort" />
                        <binding port="19001" />
                </service-config>


                <!-- ********************* jbossmq-service.xml
**************** -->

                <!--
                <service-config
name="jboss.mq:service=InvocationLayer,type=RMI"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8089" />
                </service-config>
                -->

                <service-config
name="jboss.mq:service=InvocationLayer,type=OIL"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8090" />
                </service-config>
                
                <service-config
name="jboss.mq:service=InvocationLayer,type=UIL"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8091" />
                </service-config>

                <service-config
name="jboss.mq:service=InvocationLayer,type=OIL2"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8092" />
                </service-config>

                <service-config
name="jboss.mq:service=InvocationLayer,type=UIL2"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8093" />
                </service-config>


                <!-- ********************* hsqldb-ds.xml
********************** -->
        <!-- Hypersonic related services -->
        
                <service-config
name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
        
delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
                >
                        <delegate-config>
                        <xslt-config
configName="ManagedConnectionFactoryProperties"><![CDATA[
                                <xsl:stylesheet
        
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>

                                        <xsl:output method="xml" />
                                        <xsl:param name="host"/>
                                        <xsl:param name="port"/>

                                        <xsl:template match="/">
                                                <xsl:apply-templates/>
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'ConnectionURL']">
                                                <config-property
type="java.lang.String"
name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of
select='$host'/>:<xsl:value-of select='$port'/></config-property>
                                        </xsl:template>

                                        <xsl:template match="*|@*">
                                                <xsl:copy>
                                                        <xsl:apply-templates
select="@*|node()"/>
                                                </xsl:copy>
                                        </xsl:template>
                                </xsl:stylesheet>
                        ]]>
                        </xslt-config>
                        </delegate-config>
                        <binding host="localhost" port="1701" />
                </service-config>

                <service-config name="jboss:service=Hypersonic"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port" />
                        <binding port="1701" />
                </service-config>


                <!-- ********************* jbossweb-jetty.sar
***************** -->

                <!--
                <service-config name="jboss.web:service=WebServer"
        
delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
                >
                        <delegate-config>
                        <xslt-config
configName="ConfigurationElement"><![CDATA[
                                <xsl:stylesheet
        
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>

                                        <xsl:output method="xml" />
                                        <xsl:param name="port"/>

                                        <xsl:template match="/">
                                                <xsl:apply-templates/>
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'jetty.port']">
                                                <SystemProperty
default="{$port}" name="jetty.port" />
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'org.mortbay.http.SunJsseListener']/[EMAIL PROTECTED]'Port']">
                                                 <Set
name="Port"><xsl:value-of select="$port + 763"/></Set>
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'org.mortbay.http.ajp.AJP13Listener']/[EMAIL 
PROTECTED]'Port']">
                                                 <Set
name="Port"><xsl:value-of select="$port - 71"/></Set>
                                        </xsl:template>

                                        <xsl:template match="*|@*">
                                                <xsl:copy>
                                                        <xsl:apply-templates
select="@*|node()"/>
                                                </xsl:copy>
                                        </xsl:template>
                                </xsl:stylesheet>
                        ]]>
                        </xslt-config>
                        </delegate-config>
                        <binding port="8080" />
                </service-config>
                -->


                <!-- ********************* jbossweb-tomcat.sar
***************** -->

                <service-config name="jboss.web:service=WebServer"
        
delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
                >
                        <delegate-config>
                        <xslt-config configName="Config"><![CDATA[
                                <xsl:stylesheet
        
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>

                                        <xsl:output method="xml" />
                                        <xsl:param name="port"/>

                                        <xsl:variable name="portAJP"
select="$port - 71"/>

                                        <xsl:template match="/">
                                                <xsl:apply-templates/>
                                        </xsl:template>

                                        <xsl:template match="Connector
[EMAIL PROTECTED]'org.apache.coyote.tomcat4.CoyoteConnector'] [EMAIL 
PROTECTED]'8080']">
                                                <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector" port="{$port}"/>
                                        </xsl:template>

                                        <xsl:template match="Connector
[EMAIL PROTECTED]'org.apache.coyote.tomcat4.CoyoteConnector'] [EMAIL 
PROTECTED]'8009']">
                                                <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
                                                        port="{$portAJP}"
minProcessors="5" maxProcessors="75"
                                                        enableLookups="true"
redirectPort="8443"
                                                        acceptCount="10"
debug="0" connectionTimeout="20000"
        
useURIValidationHack="false"
        
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
                                        </xsl:template>

                                        <xsl:template match="*|@*">
                                                <xsl:copy>
                                                        <xsl:apply-templates
select="@*|node()"/>
                                                </xsl:copy>
                                        </xsl:template>
                                </xsl:stylesheet>
                        ]]>
                        </xslt-config>
                        </delegate-config>
                        <binding port="8080" />
                </service-config>

        </server>


        <!-- ********************************************************** -->
        <!-- *                        Instanse: instance2             * -->
        <!-- ********************************************************** -->
        <server name="instance2">

                <!-- ********************* jboss-service.xml
****************** -->

                <service-config name="jboss:service=Naming"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port"/>
                        <binding port="1199" />
                </service-config>


                <service-config name="jboss:service=WebService"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port"/>
                        <binding port="8183" />
                </service-config>


                <service-config name="jboss:service=invoker,type=jrmp"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="RMIObjectPort"/>
                        <binding port="4544" />
                </service-config>


                <service-config name="jboss:service=invoker,type=pooled"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort"/>
                        <!-- don't care for now -->
                        <binding port="0" />
                </service-config>


                <!-- ********************* cluster-service.xml
**************** -->

                <service-config name="jboss:service=HAJNDI"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port" />
                        <binding port="1200" />
                </service-config>

                <service-config name="jboss:service=invoker,type=jrmpha"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="RMIObjectPort" />
                        <binding port="4545" />
                </service-config>


                <!-- ********************* iiop-service.xml
****************** -->

                <service-config name="jboss:service=CorbaORB"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port" />
                        <binding port="3628" />
                </service-config>


                <!-- ********************* jmx-rmi-adaptor.sar
**************** -->

                <service-config name="jboss.jmx:type=Connector,name=RMI"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="RMIObjectPort" />
                        <binding port="19101" />
                </service-config>


                <!-- ********************* jbossmq-service.xml
**************** -->

                <!--
                <service-config
name="jboss.mq:service=InvocationLayer,type=RMI"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8189" />
                </service-config>
                -->

                <service-config
name="jboss.mq:service=InvocationLayer,type=OIL"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8190" />
                </service-config>

                <service-config
name="jboss.mq:service=InvocationLayer,type=UIL"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8191" />
                </service-config>

                <service-config
name="jboss.mq:service=InvocationLayer,type=OIL2"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8192" />
                </service-config>

                <service-config
name="jboss.mq:service=InvocationLayer,type=UIL2"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8193" />
                </service-config>


                <!-- ********************* hsqldb-ds.xml
********************** -->
                <!-- Hypersonic related services -->

                <service-config
name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
        
delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
                >
                        <delegate-config>
                        <xslt-config
configName="ManagedConnectionFactoryProperties"><![CDATA[
                                <xsl:stylesheet
        
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>

                                        <xsl:output method="xml" />
                                        <xsl:param name="host"/>
                                        <xsl:param name="port"/>

                                        <xsl:template match="/">
                                                <xsl:apply-templates/>
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'ConnectionURL']">
                                                <config-property
type="java.lang.String"
name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of
select='$host'/>:<xsl:value-of select='$port'/></config-property>
                                        </xsl:template>

                                        <xsl:template match="*|@*">
                                                <xsl:copy>
                                                        <xsl:apply-templates
select="@*|node()"/>
                                                </xsl:copy>
                                        </xsl:template>

                                </xsl:stylesheet>
                        ]]>
                        </xslt-config>
                        </delegate-config>
                        <binding host="localhost" port="1801" />
                </service-config>

                <service-config name="jboss:service=Hypersonic"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port" />
                        <binding port="1801" />
                </service-config>


                <!-- ********************* jbossweb-jetty.sar
***************** -->

                <!--
                <service-config name="jboss.web:service=WebServer"
        
delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
                >
                        <delegate-config>
                        <xslt-config
configName="ConfigurationElement"><![CDATA[
                                <xsl:stylesheet
        
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>

                                        <xsl:output method="xml" />
                                        <xsl:param name="port"/>

                                        <xsl:template match="/">
                                                <xsl:apply-templates/>
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'jetty.port']">
                                                <SystemProperty
default="{$port}" name="jetty.port" />
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'org.mortbay.http.SunJsseListener']/[EMAIL PROTECTED]'Port']">
                                                <Set
name="Port"><xsl:value-of select="$port + 763"/></Set>
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'org.mortbay.http.ajp.AJP13Listener']/[EMAIL 
PROTECTED]'Port']">
                                                <Set
name="Port"><xsl:value-of select="$port - 71"/></Set>
                                        </xsl:template>

                                        <xsl:template match="*|@*">
                                                <xsl:copy>
                                                        <xsl:apply-templates
select="@*|node()"/>
                                                </xsl:copy>
                                        </xsl:template>

                                </xsl:stylesheet>
                        ]]>
                        </xslt-config>
                        </delegate-config>
                        <binding port="8180" />
                </service-config>
                -->


                <!-- ********************* jbossweb-tomcat.sar
***************** -->

                <service-config name="jboss.web:service=WebServer"
        
delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
                >
                        <delegate-config>
                        <xslt-config configName="Config"><![CDATA[
                                <xsl:stylesheet
        
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>

                                        <xsl:output method="xml" />
                                        <xsl:param name="port"/>

                                        <xsl:variable name="portAJP"
select="$port - 71"/>

                                        <xsl:template match="/">
                                                <xsl:apply-templates/>
                                        </xsl:template>

                                        <xsl:template match="Connector
[EMAIL PROTECTED]'org.apache.coyote.tomcat4.CoyoteConnector'] [EMAIL 
PROTECTED]'8080']">
                                                <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector" port="{$port}"/>
                                        </xsl:template>

                                        <xsl:template match="Connector
[EMAIL PROTECTED]'org.apache.coyote.tomcat4.CoyoteConnector'] [EMAIL 
PROTECTED]'8009']">
                                                <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
                                                        port="{$portAJP}"
minProcessors="5" maxProcessors="75"
                                                        enableLookups="true"
redirectPort="8443"
                                                        acceptCount="10"
debug="0" connectionTimeout="20000"
        
useURIValidationHack="false"
        
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
                                        </xsl:template>

                                        <xsl:template match="*|@*">
                                                <xsl:copy>
                                                        <xsl:apply-templates
select="@*|node()"/>
                                                </xsl:copy>
                                        </xsl:template>

                                </xsl:stylesheet>
                        ]]>
                        </xslt-config>
                        </delegate-config>
                        <binding port="8180" />
                </service-config>

        </server>


        <!-- ********************************************************** -->
        <!-- *                        Instanse: instance3             * -->
        <!-- ********************************************************** -->
        <server name="instance3">

                <!-- ********************* jboss-service.xml
****************** -->

                <service-config name="jboss:service=Naming"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port"/>
                        <binding port="1299" />
                </service-config>


                <service-config name="jboss:service=WebService"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port"/>
                        <binding port="8283" />
                </service-config>


                <service-config name="jboss:service=invoker,type=jrmp"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="RMIObjectPort"/>
                        <binding port="4644" />
                </service-config>


                <service-config name="jboss:service=invoker,type=pooled"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort"/>
                        <!-- don't care for now -->
                        <binding port="0" />
                </service-config>


                <!-- ********************* cluster-service.xml
**************** -->

                <service-config name="jboss:service=HAJNDI"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port" />
                        <binding port="1300" />
                </service-config>

                <service-config name="jboss:service=invoker,type=jrmpha"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="RMIObjectPort" />
                        <binding port="4645" />
                </service-config>


                <!-- ********************* iiop-service.xml
****************** -->

                <service-config name="jboss:service=CorbaORB"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port" />
                        <binding port="3728" />
                </service-config>


                <!-- ********************* jmx-rmi-adaptor.sar
**************** -->

                <service-config name="jboss.jmx:type=Connector,name=RMI"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="RMIObjectPort" />
                        <binding port="19201" />
                </service-config>


                <!-- ********************* jbossmq-service.xml
**************** -->

                <!--
                <service-config
name="jboss.mq:service=InvocationLayer,type=RMI"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8289" />
                </service-config>
                -->

                <service-config
name="jboss.mq:service=InvocationLayer,type=OIL"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8290" />
                </service-config>

                <service-config
name="jboss.mq:service=InvocationLayer,type=UIL"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8291" />
                </service-config>

                <service-config
name="jboss.mq:service=InvocationLayer,type=OIL2"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8292" />
                </service-config>

                <service-config
name="jboss.mq:service=InvocationLayer,type=UIL2"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="ServerBindPort" />
                        <binding port="8293" />
                </service-config>


                <!-- ********************* hsqldb-ds.xml
********************** -->
                <!-- Hypersonic related services -->

                <service-config
name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
        
delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
                >
                        <delegate-config>
                        <xslt-config
configName="ManagedConnectionFactoryProperties"><![CDATA[
                                <xsl:stylesheet
        
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>

                                        <xsl:output method="xml" />
                                        <xsl:param name="host"/>
                                        <xsl:param name="port"/>

                                        <xsl:template match="/">
                                                <xsl:apply-templates/>
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'ConnectionURL']">
                                                <config-property
type="java.lang.String"
name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of
select='$host'/>:<xsl:value-of select='$port'/></config-property>
                                        </xsl:template>

                                        <xsl:template match="*|@*">
                                                <xsl:copy>
                                                        <xsl:apply-templates
select="@*|node()"/>
                                                </xsl:copy>
                                        </xsl:template>

                                </xsl:stylesheet>
                        ]]>
                        </xslt-config>
                        </delegate-config>
                        <binding host="localhost" port="1901" />
                </service-config>

                <service-config name="jboss:service=Hypersonic"
        
delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
                >
                        <delegate-config portName="Port" />
                        <binding port="1901" />
                </service-config>


                <!-- ********************* jbossweb-jetty.sar
***************** -->

                <!--
                <service-config name="jboss.web:service=WebServer"
        
delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
                >
                        <delegate-config>
                        <xslt-config
configName="ConfigurationElement"><![CDATA[
                                <xsl:stylesheet
        
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>

                                        <xsl:output method="xml" />
                                        <xsl:param name="port"/>

                                        <xsl:template match="/">
                                                <xsl:apply-templates/>
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'jetty.port']">
                                                <SystemProperty
default="{$port}" name="jetty.port" />
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'org.mortbay.http.SunJsseListener']/[EMAIL PROTECTED]'Port']">
                                                <Set
name="Port"><xsl:value-of select="$port + 763"/></Set>
                                        </xsl:template>

                                        <xsl:template
match="[EMAIL PROTECTED]'org.mortbay.http.ajp.AJP13Listener']/[EMAIL 
PROTECTED]'Port']">
                                                <Set
name="Port"><xsl:value-of select="$port - 71"/></Set>
                                        </xsl:template>

                                        <xsl:template match="*|@*">
                                                <xsl:copy>
                                                        <xsl:apply-templates
select="@*|node()"/>
                                                </xsl:copy>
                                        </xsl:template>

                                </xsl:stylesheet>
                        ]]>
                        </xslt-config>
                        </delegate-config>
                        <binding port="8280" />
                </service-config>
                -->


                <!-- ********************* jbossweb-tomcat.sar
***************** -->

                <service-config name="jboss.web:service=WebServer"
        
delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
                >
                        <delegate-config>
                        <xslt-config configName="Config"><![CDATA[
                                <xsl:stylesheet
        
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>

                                        <xsl:output method="xml" />
                                        <xsl:param name="port"/>

                                        <xsl:variable name="portAJP"
select="$port - 71"/>

                                        <xsl:template match="/">
                                                <xsl:apply-templates/>
                                        </xsl:template>

                                        <xsl:template match="Connector
[EMAIL PROTECTED]'org.apache.coyote.tomcat4.CoyoteConnector'] [EMAIL 
PROTECTED]'8080']">
                                                <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector" port="{$port}"/>
                                        </xsl:template>

                                        <xsl:template match="Connector
[EMAIL PROTECTED]'org.apache.coyote.tomcat4.CoyoteConnector'] [EMAIL 
PROTECTED]'8009']">
                                                <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
                                                        port="{$portAJP}"
minProcessors="5" maxProcessors="75"
                                                        enableLookups="true"
redirectPort="8443"
                                                        acceptCount="10"
debug="0" connectionTimeout="20000"
        
useURIValidationHack="false"
        
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
                                        </xsl:template>

                                        <xsl:template match="*|@*">
                                                <xsl:copy>
                                                        <xsl:apply-templates
select="@*|node()"/>
                                                </xsl:copy>
                                        </xsl:template>

                                </xsl:stylesheet>
                        ]]>
                        </xslt-config>
                        </delegate-config>
                        <binding port="8280" />
                </service-config>

        </server>

</service-bindings>

----------------------------------------------------------------------
EOF of jboss-port-bindings.xml
----------------------------------------------------------------------

_
This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to