<!--
  JBoss, Home of Professional Open Source
  Copyright 2006, Red Hat Middleware LLC, and individual contributors
  as indicated by the @author tags. 
  See the copyright.txt in the distribution for a full listing 
  of individual contributors.
  This copyrighted material is made available to anyone wishing to use,
  modify, copy, or redistribute it subject to the terms and conditions
  of the GNU Lesser General Public License, v. 2.1.
  This program is distributed in the hope that it will be useful, but WITHOUT A
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  You should have received a copy of the GNU Lesser General Public License,
  v.2.1 along with this distribution; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  MA  02110-1301, USA.

  
  (C) 2005-2006,
  @author JBoss Inc.
-->

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>
    <display-name>Arjuna Web Services and WS-Coordination</display-name>

    <description>Arjuna Web Services and WS-Coordination</description>

    <!--  Initialise the Task Manager -->
    <!-- overridden now - this is done in the sar on behalf of either WS-C 1.0 or 1.1 or both -->
    <!--
    <context-param>
        <param-name>TaskManager.minWorkerCount</param-name>
        <param-value>0</param-value>
    </context-param>
    <context-param>
        <param-name>TaskManager.maxWorkerCount</param-name>
        <param-value>10</param-value>
    </context-param>
    <listener>
        <listener-class>com.arjuna.services.framework.admin.TaskManagerInitialisation</listener-class>
    </listener>
    -->

    <!-- Initialise WS-C services -->
    <listener>
        <listener-class>com.arjuna.webservices.wscoor.server.ActivationCoordinatorInitialisation</listener-class>
    </listener>
    <listener>
        <listener-class>com.arjuna.webservices.wscoor.server.ActivationRequesterInitialisation</listener-class>
    </listener>
    <listener>
        <listener-class>com.arjuna.webservices.wscoor.server.RegistrationCoordinatorInitialisation</listener-class>
    </listener>
    <listener>
        <listener-class>com.arjuna.webservices.wscoor.server.RegistrationRequesterInitialisation</listener-class>
    </listener>
    
    <!-- Initialise WS-C  -->
    <listener>
        <listener-class>com.arjuna.wsc.messaging.deploy.CoordinationInitialisation</listener-class>
    </listener>

    <!--  Initialise the HTTP Client -->
    <listener>
        <listener-class>com.arjuna.webservices.transport.http.HttpClientInitialisation</listener-class>
    </listener>
    
    <servlet>
        <servlet-name>HTTP SOAP Service Multiplexor Servlet</servlet-name>
        <servlet-class>com.arjuna.webservices.transport.http.HttpServiceMultiplexorServlet</servlet-class>
        <!--
        <init-param>
            <param-name>LogPackets</param-name>
            <param-value>true</param-value>
        </init-param>
        -->
        <load-on-startup>1</load-on-startup>
    </servlet>

	<!-- servlet mappings -->
    <servlet-mapping>
        <servlet-name>HTTP SOAP Service Multiplexor Servlet</servlet-name>
        <url-pattern>/soap/*</url-pattern>
    </servlet-mapping>
</web-app>
