[jboss-cvs] JBossAS SVN: r63149 - in branches/Branch_4_2/ejb3/docs/tutorial: http_https and 30 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri May 18 12:42:17 EDT 2007


Author: bdecoste
Date: 2007-05-18 12:42:17 -0400 (Fri, 18 May 2007)
New Revision: 63149

Added:
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/Calculator.class
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/CalculatorBean.class
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/CalculatorHttpBean.class
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/CalculatorHttpsBean.class
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/client/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/client/Client$1.class
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/client/Client.class
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/tutorial.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/ejb3.deployer/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/ejb3.deployer/META-INF/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/ejb3.deployer/META-INF/jboss-service.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/http_https.wiki
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/jboss-web.deployer/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/jboss-web.deployer/server.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/jndi.properties
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/localhost.keystore
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/localhost.truststore
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/log4j.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/roles.properties
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/servlet-invoker.war/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/servlet-invoker.war/WEB-INF/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/servlet-invoker.war/WEB-INF/web.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/Calculator.java
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorBean.java
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorHttpBean.java
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorHttpsBean.java
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/client/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/client/Client.java
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/META-INF/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/META-INF/jboss-service.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/META-INF/persistence.properties
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/jboss-annotations-ejb3.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/jboss-ejb3.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/META-INF/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/META-INF/jboss-service.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/META-INF/webserver-xmbean.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/WEB-INF/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/WEB-INF/web.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/favicon.ico
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/index.html
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/jboss.css
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/logo.gif
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/manager/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/manager/xform.xsl
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/conf/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/conf/web.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/context.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jasper-jdt.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jbossweb-extras.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jbossweb-service.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jbossweb.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/jboss-faces.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/jsf-api.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/jsf-impl.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jstl.jar
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/server.xml
   branches/Branch_4_2/ejb3/docs/tutorial/http_https/users.properties
Log:
[EJBTHREE-943] HTTP/HTTPS tutorial

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/Calculator.class
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/Calculator.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/CalculatorBean.class
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/CalculatorBean.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/CalculatorHttpBean.class
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/CalculatorHttpBean.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/CalculatorHttpsBean.class
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/bean/CalculatorHttpsBean.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/client/Client$1.class
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/client/Client$1.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/client/Client.class
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/classes/org/jboss/tutorial/http_https/client/Client.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/tutorial.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build/tutorial.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/build.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/build.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/build.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,129 @@
+<?xml version="1.0"?>
+
+<!-- ======================================================================= -->
+<!-- JBoss build file                                                       -->
+<!-- ======================================================================= -->
+
+<project name="JBoss" default="ejbjar" basedir=".">
+
+   <property file="../local.properties"/>  <property environment="env"/>
+   <property name="src.dir" value="${basedir}/src"/>
+   <property name="jboss.home" value="${env.JBOSS_HOME}"/>   
+   <property name="jboss.server.config" value="default"/>
+   <property name="build.dir" value="${basedir}/build"/>
+   <property name="build.classes.dir" value="${build.dir}/classes"/>
+   <property name="tmp.dir" value="${basedir}/tmp"/>
+
+   <!-- Build classpath -->
+   <path id="classpath">
+      <pathelement location="${basedir}"/>
+      <fileset dir="${jboss.home}/lib">
+         <include name="**/*.jar"/>
+      </fileset>
+      <fileset dir="${jboss.home}/server/${jboss.server.config}/lib">
+         <include name="**/*.jar"/>
+      </fileset>
+      <fileset dir="${jboss.home}/server/${jboss.server.config}/deploy/ejb3.deployer">
+         <include name="*.jar"/>
+      </fileset>
+      <fileset dir="${jboss.home}/server/${jboss.server.config}/deploy/jboss-aop-jdk50.deployer">
+         <include name="*.jar"/>
+      </fileset>
+      <pathelement location="${build.classes.dir}"/>
+      <!-- So that we can get jndi.properties for InitialContext -->
+   </path>
+
+   <property name="build.classpath" refid="classpath"/>
+
+   <!-- =================================================================== -->
+   <!-- Prepares the build directory                                        -->
+   <!-- =================================================================== -->
+   <target name="prepare">
+      <mkdir dir="${build.dir}"/>
+      <mkdir dir="${build.classes.dir}"/>
+   	  <mkdir dir="${tmp.dir}"/>
+   </target>
+
+   <!-- =================================================================== -->
+   <!-- Compiles the source code                                            -->
+   <!-- =================================================================== -->
+   <target name="compile" depends="prepare">
+      <javac srcdir="${src.dir}"
+         destdir="${build.classes.dir}"
+         debug="on"
+         deprecation="on"
+         optimize="off"
+         includes="**">
+         <classpath refid="classpath"/>
+      </javac>
+   </target>
+
+   <target name="ejbjar" depends="compile">
+      <jar jarfile="build/tutorial.jar">
+         <fileset dir="${build.classes.dir}">
+            <include name="**/*.class"/>
+         </fileset>
+         <fileset dir=".">
+            <!--include name="ssl-service.xml"/-->
+            <!--include name="localhost.keystore"/-->
+            <include name="*.properties"/>
+         </fileset>
+      </jar>
+   	  <copy file="localhost.keystore" todir="${jboss.home}/server/${jboss.server.config}/conf"/>
+   	  <copy file="localhost.truststore" todir="${jboss.home}/server/${jboss.server.config}/conf"/>
+      <copy file="build/tutorial.jar" todir="${jboss.home}/server/${jboss.server.config}/deploy"/>
+   	  <copy todir="${tmp.dir}" filtering="yes">
+   	   	  <fileset dir="${jboss.home}/server/${jboss.server.config}/deploy">
+   	   	     <include name="ejb3.deployer/**"/>
+   	   	  </fileset>
+   	   	  <fileset dir="${jboss.home}/server/${jboss.server.config}/deploy">
+   	   	     <include name="jboss-web.deployer/**"/>
+   	   	  </fileset>
+   	  </copy>
+   	  <copy todir="${jboss.home}/server/${jboss.server.config}/deploy" filtering="yes" overwrite="true">
+   	     <fileset dir=".">
+   	        <include name="ejb3.deployer/**"/>
+   	     </fileset>
+   	     <fileset dir=".">
+   	    	<include name="jboss-web.deployer/**"/>
+   	     </fileset>
+   	     <fileset dir=".">
+   	    	<include name="servlet-invoker.war/**"/>
+   	     </fileset>
+   	  </copy>
+   </target>
+
+   <target name="run">
+      <java classname="org.jboss.tutorial.http_https.client.Client" fork="yes" dir=".">
+         <jvmarg line="-Djavax.net.ssl.trustStore=${jboss.home}/server/${jboss.server.config}/conf/localhost.truststore -Djavax.net.ssl.trustStorePassword=opensource -Djava.protocol.handler.pkgs=javax.net.ssl"/>
+         <classpath refid="classpath"/>
+      </java>
+   </target>
+
+   <!-- =================================================================== -->
+   <!-- Cleans up generated stuff                                           -->
+   <!-- =================================================================== -->
+   <target name="clean.db">
+      <delete dir="${jboss.home}/server/${jboss.server.config}/data/hypersonic"/>
+   </target>
+
+   <target name="clean">
+      <copy todir="${jboss.home}/server/${jboss.server.config}/deploy" filtering="yes" overwrite="true">
+   	     <fileset dir="${tmp.dir}">
+   	   	    <include name="ejb3.deployer/**"/>
+   	   	 </fileset>
+   	   	 <fileset dir="${tmp.dir}">
+   	   	    <include name="jboss-web.deployer/**"/>
+   	   	 </fileset>
+   	  </copy>
+   	  <delete dir="${tmp.dir}"/>
+      <delete dir="${build.dir}"/>
+      <delete file="${jboss.home}/server/${jboss.server.config}/deploy/tutorial.jar"/>
+   	  <delete file="${jboss.home}/server/${jboss.server.config}/conf/localhost.keystore"/>
+   	  <delete file="${jboss.home}/server/${jboss.server.config}/conf/localhost.truststore"/>
+   	  <delete dir="${jboss.home}/server/${jboss.server.config}/deploy/servlet-invoker.war"/>
+   </target>
+
+
+</project>
+

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/ejb3.deployer/META-INF/jboss-service.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/ejb3.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/ejb3.deployer/META-INF/jboss-service.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,310 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   JBoss EJB3Deployer
+   
+   $Id: jboss-service.xml 41488 2006-02-25 00:14:09Z dimitris $
+-->
+<server>
+
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
+      <attribute name="Configuration">
+         <handlers>
+            <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+         </handlers>
+      </attribute>
+   </mbean>
+  
+   <mbean code="org.jboss.ejb3.JarsIgnoredForScanning" name="jboss.ejb3:service=JarsIgnoredForScanning">
+      <attribute name="IgnoredJars">
+         snmp-adaptor.jar,
+         otherimages.jar,
+         applet.jar,
+         jcommon.jar,
+         console-mgr-classes.jar,
+         jfreechart.jar,
+         juddi-service.jar,
+         wsdl4j.jar,
+         commons-collections.jar,
+         commons-pool.jar,
+         juddi.jar,
+         commons-discovery.jar,
+         uddi4j.jar,
+         axis.jar,
+         commons-dbcp.jar,
+         jboss-juddiaxis.jar,
+         trove.jar,
+         javassist.jar,
+         jboss-aop-jdk50.jar,
+         jboss-aspect-library-jdk50.jar,
+         ejb3-persistence.jar,
+         commons-validator-1.1.3.jar,
+         commons-collections.jar,
+         commons-fileupload.jar,
+         commons-pool.jar,
+         hibernate-entitymanager.jar,
+         jboss-ejb3x.jar,
+         commons-digester-1.6.jar,
+         cglib-2.1.1.jar,
+         commons-discovery.jar,
+         jboss-annotations-ejb3.jar,
+         jaxen-1.1-beta-4.jar,
+         hibernate-annotations.jar,
+         commons-httpclient.jar,
+         commons-logging.jar,
+         commons-vfs.jar,
+         hibernate3.jar,
+         commons-logging-api.jar,
+         asm.jar,
+         asm-attrs.jar,
+         commons-lang-2.0.jar,
+         commons-beanutils.jar,
+         jboss-ejb3.jar,
+         dom4j.jar,
+         commons-codec-1.2.jar,
+         wsdl4j.jar,
+         xmlsec.jar,
+         jbossws.jar,
+         jboss-bean-deployer.jar,
+         jboss-microcontainer.jar,
+         jboss-dependency.jar,
+         jboss-container.jar,
+         tomcat-coyote.jar,
+         commons-collections.jar,
+         myfaces.jar,
+         jstl.jar,
+         commons-digester-1.6.jar,
+         myfaces-impl.jar,
+         commons-beanutils.jar,
+         myfaces-jsf-api.jar,
+         commons-codec-1.2.jar,
+         catalina-optional.jar,
+         tomcat-util.jar,
+         jasper-compiler.jar,
+         commons-el.jar,
+         jasper-compiler-jdt.jar,
+         tomcat-http.jar,
+         catalina-manager.jar,
+         jasper-runtime.jar,
+         tomcat55-service.jar,
+         servlets-invoker.jar,
+         catalina.jar,
+         naming-resources.jar,
+         servlets-default.jar,
+         tomcat-ajp.jar,
+         commons-modeler.jar,
+         tomcat-apr.jar,
+         servlets-webdav.jar
+      </attribute>
+   </mbean>
+
+   <mbean code="org.jboss.ejb3.EJB3Deployer" name="jboss.ejb3:service=EJB3Deployer" xmbean-dd="">
+
+      <!-- Inline XMBean Descriptor BEGIN -->
+      <xmbean>
+         <description>The EJB3Deployer responsible for ejb3 deployment</description>
+         <descriptors>
+            <interceptors>
+               <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
+               <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
+            </interceptors>
+         </descriptors>
+         <class>org.jboss.ejb3.EJB3Deployer</class>
+
+         <!-- ServiceMBean attributes -->
+         <attribute access="read-only" getMethod="getName">
+            <description>The class name of the MBean</description>
+            <name>Name</name>
+            <type>java.lang.String</type>
+         </attribute>
+
+         <attribute access="read-only" getMethod="getState">
+            <description>The status of the MBean</description>
+            <name>State</name>
+            <type>int</type>
+         </attribute>
+
+         <attribute access="read-only" getMethod="getStateString">
+            <description>The status of the MBean in text form</description>
+            <name>StateString</name>
+            <type>java.lang.String</type>
+         </attribute>
+
+         <!-- SubDeployerMBean attributes -->
+         <attribute access="read-only" getMethod="getServiceName">
+            <description>The ObjectName of the Subdeployer</description>
+            <name>ServiceName</name>
+            <type>javax.management.ObjectName</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getSuffixes" setMethod="setSuffixes">
+            <description>The suffixes of interest to this deployer</description>
+            <name>Suffixes</name>
+            <type>[Ljava.lang.String;</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getRelativeOrder" setMethod="setRelativeOrder">
+            <description>The relative order of the suffixes in the global suffixes list</description>
+            <name>RelativeOrder</name>
+            <type>int</type>
+         </attribute>
+
+         <!-- EJB3DeployerMBean attributes -->
+         <attribute access="read-only" getMethod="getDefaultProperties">
+            <name>DefaultProperties</name>
+            <type>java.util.Properties</type>
+         </attribute>
+
+         <attribute access="write-only" setMethod="setJarsIgnoredForScanning">
+            <description>mbean that has list of jars to ignore</description>
+            <name>JarsIgnoredForScanning</name>
+            <type>org.jboss.ejb3.JarsIgnoredForScanningMBean</type>
+         </attribute>
+
+         <!-- ServiceMBean operations -->
+         <operation>
+            <description>Standard MBean lifecycle method</description>
+            <name>create</name>
+         </operation>
+
+         <operation>
+            <description>The start lifecycle operation</description>
+            <name>start</name>
+         </operation>
+
+         <operation>
+            <description>The stop lifecycle operation</description>
+            <name>stop</name>
+         </operation>
+
+         <operation>
+            <description>The destroy lifecycle operation</description>
+            <name>destroy</name>
+         </operation>
+
+         <operation>
+            <description>The detyped lifecycle operation (for internal use only)</description>
+            <name>jbossInternalLifecycle</name>
+            <parameter>
+               <description>The lifecycle operation</description>
+               <name>method</name>
+               <type>java.lang.String</type>
+            </parameter>
+            <return-type>void</return-type>
+         </operation>
+
+         <!-- SubDeployerMBean operations -->
+         <operation>
+            <description>Accept a module for deployment</description>
+            <name>accepts</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+            <return-type>boolean</return-type>
+         </operation>
+
+         <operation>
+            <description>Initialize deployment step</description>
+            <name>init</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Create deployment step</description>
+            <name>create</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Start deployment step</description>
+            <name>start</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Stop deployment step</description>
+            <name>stop</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Destroy deployment step</description>
+            <name>destroy</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <!-- Interceptable operations -->
+         <operation>
+            <description>Add dynamically an operation interceptor</description>
+            <name>addOperationInterceptor</name>
+            <parameter>
+               <description>The Interceptor</description>
+               <name>interceptor</name>
+               <type>org.jboss.mx.interceptor.Interceptor</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Remove dynamically an operation interceptor</description>
+            <name>removeOperationInterceptor</name>
+            <parameter>
+               <description>The Interceptor</description>
+               <name>interceptor</name>
+               <type>org.jboss.mx.interceptor.Interceptor</type>
+            </parameter>
+         </operation>
+      </xmbean>
+      <!-- Inline XMBean Descriptor END -->
+
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <depends>jboss.ejb:service=EJBDeployer</depends>
+      <depends optional-attribute-name="JarsIgnoredForScanning" proxy-type="org.jboss.ejb3.JarsIgnoredForScanningMBean">jboss.ejb3:service=JarsIgnoredForScanning</depends>
+   </mbean>
+
+   <mbean code="org.jboss.remoting.transport.Connector"
+      name="jboss.remoting:service=Connector,transport=Servlet"
+      display-name="Servlet transport Connector">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="InvokerLocator">
+         servlet://${jboss.bind.address}:8080/servlet-invoker/ServerInvokerServlet
+      </attribute>
+      
+      <attribute name="Configuration">
+         <handlers>
+            <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+         </handlers>
+      </attribute>
+   </mbean>
+   
+   <mbean code="org.jboss.remoting.transport.Connector"
+      name="jboss.remoting:service=Connector,transport=SSLServlet"
+      display-name="Servlet ssl transport Connector">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="InvokerLocator">sslservlet://${jboss.bind.address}:8443/servlet-invoker/SSLServerInvokerServlet</attribute>
+      
+      <attribute name="Configuration">
+         <handlers>
+            <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+         </handlers>
+      </attribute>
+   </mbean>
+
+</server>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/http_https.wiki
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/http_https.wiki	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/http_https.wiki	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,99 @@
+!!!EJB3 over HTTP/HTTPS
+This tutorial describes how to access EJB3s via HTTP or HTTPS (HTTP over SSL). This is typically
+done when the beans are deployed behind a firewall so the client needs to communicate via
+a protocol and port allowed through the firewall. There are several steps required to configure the
+client, the server, and the beans to enable HTTP/HTTPS. Lets cover these one by one.
+
+!! Enabling Web Connectors
+Take a look at [jboss-web.deployer/server.xml|jboss-web.deployer/server.xml], which is in the
+deploy directory. The [server.xml|jboss-web.deployer/server.xml] file
+will need to be modified from the default.  Both the HTTP
+and HTTPS Connectors are enabled on ports 8080 and 8443, respectively. Notice the settings that
+distinguish HTTP from HTTPS. Note that the HTTPS Connector has parameters for the keystore 
+and truststore. This is where the digitial certificates and public/private keys are stored
+that are used by SSL. More on keystore config later. 
+
+!! Enabling Servlets
+Take a look at [servlet-invoker.war|servlet-invoker.war], specifically the [WEB-INF/web.xml|servlet-invoker.war/WEB-INF/web.xml]
+file. The {{servlet-invoker.war}} directory needs to be created per this example and deployed
+in the deploy directory. This will deploy the servlets that handle the HTTP and HTTPS requests.
+Notice that in [web.xml|servlet-invoker.war/WEB-INF/web.xml] file there are two servlets. The HTTP servlet defines the 
+{{invokerName}} and the HTTPS servlet defines the {{locatorUrl}}. These parameters will be used
+when configuring the EJB3 Connectors and the beans.
+
+!! Enabling EJB3 Connectors
+Take a look at [ejb3.deployer/META-INF/jboss-service.xml|ejb3.deployer/META-INF/jboss-service.xml], 
+which is in the deploy directory. The [jboss-service.xml|ejb3.deployer/META-INF/jboss-service.xml]
+will need to be modified from the default. At the bottom of the file you will see two MBeans that are not
+included in the default configuration. These MBeans configure the EJB3 Connectors for HTTP and
+HTTPS. Notice the {{InvokerLocator}} parameters in each of the Connector configs.
+
+!! Keystores and Truststores
+You will need to generate public/private key pairs and digital certificates to enable SSL. The
+JDK provides a {{keytool}} utility for the generation and management of keys and certificates.
+The server keystore contains the server side public and private keys as well as the client's certificate, which 
+includes the client public key. The server truststore contains the client's certificate, which 
+indicates that the owner of the certificate is trusted. Conversely, the client side needs access
+to the truststore, which contains the server's certificate, which indicates that the owner of the
+certificate is trusted. Typically, the keystore and truststore are placed in the {{conf}} directory
+on the server side.
+
+!! Bean Configuration
+Take a look at [CalculatorHttpBean.java|src/org/jboss/tutorial/http_https/bean/CalculatorHttpBean.java] and
+[CalculatorHttpsBean.java|src/org/jboss/tutorial/http_https/bean/CalculatorHttpsBean.java]. Not the 
+{{@RemoteBinding(clientBindUrl=".."")}} annotations. The {{clientBindUrl}} settings correspond
+to the {{InvokerLocator}} parameters configured on the server side. 
+
+!Client
+Take a look at [Client.java|src/org/jboss/tutorial/http_https/client/Client.java]. You will see
+examples of invoking the Calculator bean via both HTTP and HTTPS. Note the configuration of the
+{{HostnameVerifier}}. This is required in some cases where the hostname in the URL does not
+match the expected URL hostname. The {{HostnameVerifier}} handles this scenario.
+
+!Building and Running
+To build and run the example, make sure you have {{ejb3.deployer}} installed in JBoss 4.x.
+See the reference manual on how to install EJB 3.0. You will need to modify the JBossAS {{run}} script
+to configure the keystore. The following needs to be added to the JAVA_OPTS, which
+are passed to the VM:
+
+{{JAVA_OPTS="$JAVA_OPTS -Djavax.net.ssl.keyStore=$JBOSS_HOME/server/default/conf/localhost.keystore -Djavax.net.ssl.keyStorePassword=opensource -Djava.protocol.handler.pkgs=javax.net.ssl"}}
+
+Then run {{ant}}. This will replace the default configuration with the HTTP and HTTPS enabled
+configuration. Start JBoss. Once JBoss is started with these options, you can run the client.
+Take a look at [build.xml|build.xml]. Note that there are VM options for the truststore being passed to the client VM.
+
+{{{
+Unix:    $ export JBOSS_HOME=<where your jboss 4.x distribution is>
+Windows: $ set JBOSS_HOME=<where your jboss 4.x distribution is>
+$ ant run
+Buildfile: build.xml
+
+run:
+     [java] Kabir is a student.
+     [java] Kabir types in the wrong password
+     [java] Saw expected SecurityException: null
+     [java] Kabir types in correct password.
+     [java] Kabir does unchecked addition.
+     [java] 1 + 1 = 2
+     [java] Kabir is not a teacher so he cannot do division
+     [java] null
+     [java] Students are allowed to do subtraction
+     [java] 1 - 1 = 0
+     [java] Kabir is a student.
+     [java] Kabir types in the wrong password
+     [java] Warning: URL Host: localhost vs. 192.168.1.57
+     [java] Saw expected SecurityException: null
+     [java] Kabir types in correct password.
+     [java] Kabir does unchecked addition.
+     [java] Warning: URL Host: localhost vs. 192.168.1.57
+     [java] 1 + 1 = 2
+     [java] Kabir is not a teacher so he cannot do division
+     [java] Warning: URL Host: localhost vs. 192.168.1.57
+     [java] null
+     [java] Students are allowed to do subtraction
+     [java] Warning: URL Host: localhost vs. 192.168.1.57
+     [java] 1 - 1 = 0
+}}}
+
+
+

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/jboss-web.deployer/server.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/jboss-web.deployer/server.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/jboss-web.deployer/server.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,172 @@
+<Server>
+
+  <!--APR library loader. Documentation at /docs/apr.html -->
+  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
+  <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
+  <Listener className="org.apache.catalina.core.JasperListener" />
+
+   <!-- Use a custom version of StandardService that allows the
+   connectors to be started independent of the normal lifecycle
+   start to allow web apps to be deployed before starting the
+   connectors.
+   -->
+   <Service name="jboss.web">
+
+    <!-- A "Connector" represents an endpoint by which requests are received
+         and responses are returned. Documentation at :
+         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
+         Java AJP  Connector: /docs/config/ajp.html
+         APR (HTTP/AJP) Connector: /docs/apr.html
+         Define a non-SSL HTTP/1.1 Connector on port 8080
+    -->
+    <Connector port="8080" address="${jboss.bind.address}"    
+         maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
+         emptySessionPath="true" protocol="HTTP/1.1"
+         enableLookups="false" redirectPort="8443" acceptCount="100"
+         connectionTimeout="20000" disableUploadTimeout="true" />
+
+    <!-- Define a SSL HTTP/1.1 Connector on port 8443
+         This connector uses the JSSE configuration, when using APR, the 
+         connector should be using the OpenSSL style configuration
+         described in the APR documentation -->
+    
+    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
+               maxThreads="150" scheme="https" secure="true"
+               clientAuth="false"
+               address="${jboss.bind.address}"
+               keystoreFile="${jboss.server.home.dir}/conf/localhost.keystore" 
+               keystorePass="opensource"
+               truststoreFile="${jboss.server.home.dir}/conf/localhost.keystore" 
+               truststorePass="opensource"
+               sslProtocol="TLS"/>  
+
+    <!-- Define an AJP 1.3 Connector on port 8009 -->
+    <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
+         emptySessionPath="true" enableLookups="false" redirectPort="8443" />
+
+      <Engine name="jboss.web" defaultHost="localhost">
+
+         <!-- The JAAS based authentication and authorization realm implementation
+         that is compatible with the jboss 3.2.x realm implementation.
+         - certificatePrincipal : the class name of the
+         org.jboss.security.auth.certs.CertificatePrincipal impl
+         used for mapping X509[] cert chains to a Princpal.
+         - allRolesMode : how to handle an auth-constraint with a role-name=*,
+         one of strict, authOnly, strictAuthOnly
+           + strict = Use the strict servlet spec interpretation which requires
+           that the user have one of the web-app/security-role/role-name
+           + authOnly = Allow any authenticated user
+           + strictAuthOnly = Allow any authenticated user only if there are no
+           web-app/security-roles
+         -->
+         <Realm className="org.jboss.web.tomcat.security.JBossSecurityMgrRealm"
+            certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
+            allRolesMode="authOnly"
+            />
+         <!-- A subclass of JBossSecurityMgrRealm that uses the authentication
+         behavior of JBossSecurityMgrRealm, but overrides the authorization
+         checks to use JACC permissions with the current java.security.Policy
+         to determine authorized access.
+         - allRolesMode : how to handle an auth-constraint with a role-name=*,
+         one of strict, authOnly, strictAuthOnly
+           + strict = Use the strict servlet spec interpretation which requires
+           that the user have one of the web-app/security-role/role-name
+           + authOnly = Allow any authenticated user
+           + strictAuthOnly = Allow any authenticated user only if there are no
+           web-app/security-roles
+         <Realm className="org.jboss.web.tomcat.security.JaccAuthorizationRealm"
+            certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
+            allRolesMode="authOnly"
+            />
+         -->
+
+        <Host name="localhost"
+           autoDeploy="false" deployOnStartup="false" deployXML="false"
+           configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
+           >
+
+            <!-- Uncomment to enable request dumper. This Valve "logs interesting 
+                 contents from the specified Request (before processing) and the 
+                 corresponding Response (after processing). It is especially useful 
+                 in debugging problems related to headers and cookies."
+            -->
+            <!--
+            <Valve className="org.apache.catalina.valves.RequestDumperValve" />
+            -->
+ 
+            <!-- Access logger -->
+            <!--
+            <Valve className="org.apache.catalina.valves.AccessLogValve"
+                prefix="localhost_access_log." suffix=".log"
+                pattern="common" directory="${jboss.server.home.dir}/log" 
+                resolveHosts="false" />
+            -->
+
+            <!-- Uncomment to enable single sign-on across web apps
+                deployed to this host. Does not provide SSO across a cluster.     
+            
+                If this valve is used, do not use the JBoss ClusteredSingleSignOn 
+                valve shown below. 
+                
+                A new configuration attribute is available beginning with
+                release 4.0.4:
+                
+                cookieDomain  configures the domain to which the SSO cookie
+                              will be scoped (i.e. the set of hosts to
+                              which the cookie will be presented).  By default
+                              the cookie is scoped to "/", meaning the host
+                              that presented it.  Set cookieDomain to a
+                              wider domain (e.g. "xyz.com") to allow an SSO
+                              to span more than one hostname.
+             -->
+            <!--
+            <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
+            -->
+
+            <!-- Uncomment to enable single sign-on across web apps
+               deployed to this host AND to all other hosts in the cluster.
+            
+               If this valve is used, do not use the standard Tomcat SingleSignOn
+               valve shown above.
+            
+               Valve uses a JBossCache instance to support SSO credential 
+               caching and replication across the cluster.  The JBossCache 
+               instance must be configured separately.  By default, the valve 
+               shares a JBossCache with the service that supports HttpSession 
+               replication.  See the "jboss-web-cluster-service.xml" file in the 
+               server/all/deploy directory for cache configuration details.
+            
+               Besides the attributes supported by the standard Tomcat
+               SingleSignOn valve (see the Tomcat docs), this version also 
+               supports the following attributes:
+            
+               cookieDomain   see above
+            
+               treeCacheName  JMX ObjectName of the JBossCache MBean used to 
+                              support credential caching and replication across
+                              the cluster. If not set, the default value is 
+                              "jboss.cache:service=TomcatClusteringCache", the 
+                              standard ObjectName of the JBossCache MBean used 
+                              to support session replication.
+            -->
+            <!--
+            <Valve className="org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn" />
+            -->
+         
+            <!-- Check for unclosed connections and transaction terminated checks
+                 in servlets/jsps.
+                 
+                 Important: The dependency on the CachedConnectionManager
+                 in META-INF/jboss-service.xml must be uncommented, too
+            -->
+            <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"
+                cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
+                transactionManagerObjectName="jboss:service=TransactionManager" />
+
+         </Host>
+
+      </Engine>
+
+   </Service>
+
+</Server>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/jndi.properties
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/jndi.properties	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/jndi.properties	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,3 @@
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+java.naming.provider.url=localhost

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/localhost.keystore
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/localhost.keystore
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/localhost.truststore
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/localhost.truststore
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/log4j.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/log4j.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/log4j.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml 60233 2007-02-03 10:13:23Z wolfc $ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+   
+<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="Target" value="System.out"/>
+      <param name="Threshold" value="INFO"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Messagen -->
+         <!--
+         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+         -->
+         <param name="ConversionPattern" value="%-5p %d{dd-MM HH:mm:ss,SSS} (%F:%M:%L)  -%m%n"/>
+      </layout>
+</appender>
+
+   <root>
+      <appender-ref ref="CONSOLE"/>
+   </root>
+
+</log4j:configuration>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/roles.properties
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/roles.properties	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/roles.properties	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1 @@
+kabir=student

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/servlet-invoker.war/WEB-INF/web.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/servlet-invoker.war/WEB-INF/web.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/servlet-invoker.war/WEB-INF/web.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<!-- The the JBossRemoting server invoker servlet web.xml descriptor
+$Id: web.xml,v 1.1 2005/06/16 21:12:48 telrod Exp $
+-->
+<web-app>
+    <servlet>
+        <servlet-name>ServerInvokerServlet</servlet-name>
+        <description>The ServerInvokerServlet receives requests via HTTP
+           protocol from within a web container and passes it onto the
+           ServletServerInvoker for processing.
+        </description>
+        <servlet-class>org.jboss.remoting.transport.servlet.web.ServerInvokerServlet</servlet-class>
+        <init-param>
+            <param-name>invokerName</param-name>
+            <param-value>jboss.remoting:service=invoker,transport=servlet</param-value>
+            <description>The servlet server invoker</description>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <servlet>
+        <servlet-name>SSLServerInvokerServlet</servlet-name>
+        <description>The ServerInvokerServlet receives requests via HTTPS
+           protocol from within a web container and passes it onto the
+           ServletServerInvoker for processing.
+        </description>
+        <servlet-class>org.jboss.remoting.transport.servlet.web.ServerInvokerServlet</servlet-class>
+        <init-param>
+             <param-name>locatorUrl</param-name>
+             <param-value>sslservlet://localhost:8443/servlet-invoker/SSLServerInvokerServlet</param-value>
+             <description>The ssl servlet server invoker locator url</description>
+         </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>ServerInvokerServlet</servlet-name>
+        <url-pattern>/ServerInvokerServlet/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>SSLServerInvokerServlet</servlet-name>
+        <url-pattern>/SSLServerInvokerServlet/*</url-pattern>
+    </servlet-mapping>
+</web-app>
+

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/Calculator.java
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/Calculator.java	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/Calculator.java	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,34 @@
+/*
+ * 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 file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.tutorial.http_https.bean;
+
+import javax.ejb.Remote;
+
+ at Remote
+public interface Calculator
+{
+   int add(int x, int y);
+
+   int subtract(int x, int y);
+
+   int divide(int x, int y);
+}

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorBean.java
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorBean.java	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorBean.java	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,49 @@
+/*
+ * 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 file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.tutorial.http_https.bean;
+
+import javax.ejb.TransactionAttribute;
+import javax.ejb.TransactionAttributeType;
+import javax.annotation.security.PermitAll;
+import javax.annotation.security.RolesAllowed;
+
+public class CalculatorBean implements Calculator
+{
+   @PermitAll
+   @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
+   public int add(int x, int y)
+   {
+      return x + y;
+   }
+
+   @RolesAllowed({"student"})
+   public int subtract(int x, int y)
+   {
+      return x - y;
+   }
+
+   @RolesAllowed({"teacher"})
+   public int divide(int x, int y)
+   {
+      return x / y;
+   }
+}

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorHttpBean.java
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorHttpBean.java	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorHttpBean.java	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,40 @@
+/*
+ * 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 file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.tutorial.http_https.bean;
+
+import org.jboss.annotation.security.SecurityDomain;
+import org.jboss.annotation.ejb.RemoteBinding;
+
+import javax.ejb.Stateless;
+import javax.ejb.Remote;
+import javax.ejb.TransactionAttribute;
+import javax.ejb.TransactionAttributeType;
+import javax.annotation.security.PermitAll;
+import javax.annotation.security.RolesAllowed;
+
+ at Stateless
+ at RemoteBinding(clientBindUrl="http://localhost:8080/servlet-invoker/ServerInvokerServlet")
+ at Remote(Calculator.class)
+ at SecurityDomain("other")
+public class CalculatorHttpBean extends CalculatorBean
+{
+}

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorHttpsBean.java
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorHttpsBean.java	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/bean/CalculatorHttpsBean.java	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,36 @@
+/*
+ * 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 file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.tutorial.http_https.bean;
+
+import org.jboss.annotation.security.SecurityDomain;
+import org.jboss.annotation.ejb.RemoteBinding;
+
+import javax.ejb.Remote;
+import javax.ejb.Stateless;
+
+ at Stateless
+ at RemoteBinding(clientBindUrl="https://localhost:8443/servlet-invoker/SSLServerInvokerServlet")
+ at Remote(Calculator.class)
+ at SecurityDomain("other")
+public class CalculatorHttpsBean extends CalculatorBean
+{
+}

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/client/Client.java
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/client/Client.java	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/src/org/jboss/tutorial/http_https/client/Client.java	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,107 @@
+/*
+ * 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 file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.tutorial.http_https.client;
+
+import org.jboss.tutorial.http_https.bean.Calculator;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.net.ssl.HostnameVerifier;
+import javax.net.ssl.HttpsURLConnection;
+import javax.net.ssl.SSLSession;
+import javax.ejb.EJBAccessException;
+import java.util.Properties;
+
+/**
+ */
+public class Client
+{
+   public static void main(String[] args) throws Exception
+   {
+      setHostNameVerifier();
+      
+      // Invoke via HTTP
+      calculate("CalculatorHttpBean/remote");
+      
+      // Invoke via HTTPS
+      calculate("CalculatorHttpsBean/remote");
+   }
+      
+   private static void calculate(String jndiName) throws Exception
+   {
+      // Establish the proxy with an incorrect security identity
+      Properties env = new Properties();
+      env.setProperty(Context.SECURITY_PRINCIPAL, "kabir");
+      env.setProperty(Context.SECURITY_CREDENTIALS, "invalidpassword");
+      env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory");
+      InitialContext ctx = new InitialContext(env);
+      Calculator calculator = (Calculator) ctx.lookup(jndiName);
+
+      System.out.println("Kabir is a student.");
+      System.out.println("Kabir types in the wrong password");
+      try
+      {
+         System.out.println("1 + 1 = " + calculator.add(1, 1));
+      }
+      catch (Exception ex)
+      {
+         System.out.println("Saw expected SecurityException: " + ex.getMessage());
+      }
+
+      System.out.println("Kabir types in correct password.");
+      System.out.println("Kabir does unchecked addition.");
+
+      // Re-establish the proxy with the correct security identity
+      env.setProperty(Context.SECURITY_CREDENTIALS, "validpassword");
+      ctx = new InitialContext(env);
+      calculator = (Calculator) ctx.lookup(jndiName);
+
+      System.out.println("1 + 1 = " + calculator.add(1, 1));
+
+      System.out.println("Kabir is not a teacher so he cannot do division");
+      try
+      {
+         calculator.divide(16, 4);
+      }
+      catch (Exception  ex)
+      {
+         System.out.println(ex.getMessage());
+      }
+
+      System.out.println("Students are allowed to do subtraction");
+      System.out.println("1 - 1 = " + calculator.subtract(1, 1));
+   }
+   
+   private static void setHostNameVerifier()
+   {
+      HostnameVerifier hv = new HostnameVerifier()
+      {
+         public boolean verify(String urlHostName, SSLSession session)
+         {
+          System.out.println("Warning: URL Host: "+urlHostName+" vs. "+session.getPeerHost());
+          return true;
+       }
+      };
+     HttpsURLConnection.setDefaultHostnameVerifier(hv);
+   }
+
+}

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/META-INF/jboss-service.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/META-INF/jboss-service.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,310 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   JBoss EJB3Deployer
+   
+   $Id: jboss-service.xml 41488 2006-02-25 00:14:09Z dimitris $
+-->
+<server>
+
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
+      <attribute name="Configuration">
+         <handlers>
+            <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+         </handlers>
+      </attribute>
+   </mbean>
+  
+   <mbean code="org.jboss.ejb3.JarsIgnoredForScanning" name="jboss.ejb3:service=JarsIgnoredForScanning">
+      <attribute name="IgnoredJars">
+         snmp-adaptor.jar,
+         otherimages.jar,
+         applet.jar,
+         jcommon.jar,
+         console-mgr-classes.jar,
+         jfreechart.jar,
+         juddi-service.jar,
+         wsdl4j.jar,
+         commons-collections.jar,
+         commons-pool.jar,
+         juddi.jar,
+         commons-discovery.jar,
+         uddi4j.jar,
+         axis.jar,
+         commons-dbcp.jar,
+         jboss-juddiaxis.jar,
+         trove.jar,
+         javassist.jar,
+         jboss-aop-jdk50.jar,
+         jboss-aspect-library-jdk50.jar,
+         ejb3-persistence.jar,
+         commons-validator-1.1.3.jar,
+         commons-collections.jar,
+         commons-fileupload.jar,
+         commons-pool.jar,
+         hibernate-entitymanager.jar,
+         jboss-ejb3x.jar,
+         commons-digester-1.6.jar,
+         cglib-2.1.1.jar,
+         commons-discovery.jar,
+         jboss-annotations-ejb3.jar,
+         jaxen-1.1-beta-4.jar,
+         hibernate-annotations.jar,
+         commons-httpclient.jar,
+         commons-logging.jar,
+         commons-vfs.jar,
+         hibernate3.jar,
+         commons-logging-api.jar,
+         asm.jar,
+         asm-attrs.jar,
+         commons-lang-2.0.jar,
+         commons-beanutils.jar,
+         jboss-ejb3.jar,
+         dom4j.jar,
+         commons-codec-1.2.jar,
+         wsdl4j.jar,
+         xmlsec.jar,
+         jbossws.jar,
+         jboss-bean-deployer.jar,
+         jboss-microcontainer.jar,
+         jboss-dependency.jar,
+         jboss-container.jar,
+         tomcat-coyote.jar,
+         commons-collections.jar,
+         myfaces.jar,
+         jstl.jar,
+         commons-digester-1.6.jar,
+         myfaces-impl.jar,
+         commons-beanutils.jar,
+         myfaces-jsf-api.jar,
+         commons-codec-1.2.jar,
+         catalina-optional.jar,
+         tomcat-util.jar,
+         jasper-compiler.jar,
+         commons-el.jar,
+         jasper-compiler-jdt.jar,
+         tomcat-http.jar,
+         catalina-manager.jar,
+         jasper-runtime.jar,
+         tomcat55-service.jar,
+         servlets-invoker.jar,
+         catalina.jar,
+         naming-resources.jar,
+         servlets-default.jar,
+         tomcat-ajp.jar,
+         commons-modeler.jar,
+         tomcat-apr.jar,
+         servlets-webdav.jar
+      </attribute>
+   </mbean>
+
+   <mbean code="org.jboss.ejb3.EJB3Deployer" name="jboss.ejb3:service=EJB3Deployer" xmbean-dd="">
+
+      <!-- Inline XMBean Descriptor BEGIN -->
+      <xmbean>
+         <description>The EJB3Deployer responsible for ejb3 deployment</description>
+         <descriptors>
+            <interceptors>
+               <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
+               <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
+            </interceptors>
+         </descriptors>
+         <class>org.jboss.ejb3.EJB3Deployer</class>
+
+         <!-- ServiceMBean attributes -->
+         <attribute access="read-only" getMethod="getName">
+            <description>The class name of the MBean</description>
+            <name>Name</name>
+            <type>java.lang.String</type>
+         </attribute>
+
+         <attribute access="read-only" getMethod="getState">
+            <description>The status of the MBean</description>
+            <name>State</name>
+            <type>int</type>
+         </attribute>
+
+         <attribute access="read-only" getMethod="getStateString">
+            <description>The status of the MBean in text form</description>
+            <name>StateString</name>
+            <type>java.lang.String</type>
+         </attribute>
+
+         <!-- SubDeployerMBean attributes -->
+         <attribute access="read-only" getMethod="getServiceName">
+            <description>The ObjectName of the Subdeployer</description>
+            <name>ServiceName</name>
+            <type>javax.management.ObjectName</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getSuffixes" setMethod="setSuffixes">
+            <description>The suffixes of interest to this deployer</description>
+            <name>Suffixes</name>
+            <type>[Ljava.lang.String;</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getRelativeOrder" setMethod="setRelativeOrder">
+            <description>The relative order of the suffixes in the global suffixes list</description>
+            <name>RelativeOrder</name>
+            <type>int</type>
+         </attribute>
+
+         <!-- EJB3DeployerMBean attributes -->
+         <attribute access="read-only" getMethod="getDefaultProperties">
+            <name>DefaultProperties</name>
+            <type>java.util.Properties</type>
+         </attribute>
+
+         <attribute access="write-only" setMethod="setJarsIgnoredForScanning">
+            <description>mbean that has list of jars to ignore</description>
+            <name>JarsIgnoredForScanning</name>
+            <type>org.jboss.ejb3.JarsIgnoredForScanningMBean</type>
+         </attribute>
+
+         <!-- ServiceMBean operations -->
+         <operation>
+            <description>Standard MBean lifecycle method</description>
+            <name>create</name>
+         </operation>
+
+         <operation>
+            <description>The start lifecycle operation</description>
+            <name>start</name>
+         </operation>
+
+         <operation>
+            <description>The stop lifecycle operation</description>
+            <name>stop</name>
+         </operation>
+
+         <operation>
+            <description>The destroy lifecycle operation</description>
+            <name>destroy</name>
+         </operation>
+
+         <operation>
+            <description>The detyped lifecycle operation (for internal use only)</description>
+            <name>jbossInternalLifecycle</name>
+            <parameter>
+               <description>The lifecycle operation</description>
+               <name>method</name>
+               <type>java.lang.String</type>
+            </parameter>
+            <return-type>void</return-type>
+         </operation>
+
+         <!-- SubDeployerMBean operations -->
+         <operation>
+            <description>Accept a module for deployment</description>
+            <name>accepts</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+            <return-type>boolean</return-type>
+         </operation>
+
+         <operation>
+            <description>Initialize deployment step</description>
+            <name>init</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Create deployment step</description>
+            <name>create</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Start deployment step</description>
+            <name>start</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Stop deployment step</description>
+            <name>stop</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Destroy deployment step</description>
+            <name>destroy</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <!-- Interceptable operations -->
+         <operation>
+            <description>Add dynamically an operation interceptor</description>
+            <name>addOperationInterceptor</name>
+            <parameter>
+               <description>The Interceptor</description>
+               <name>interceptor</name>
+               <type>org.jboss.mx.interceptor.Interceptor</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Remove dynamically an operation interceptor</description>
+            <name>removeOperationInterceptor</name>
+            <parameter>
+               <description>The Interceptor</description>
+               <name>interceptor</name>
+               <type>org.jboss.mx.interceptor.Interceptor</type>
+            </parameter>
+         </operation>
+      </xmbean>
+      <!-- Inline XMBean Descriptor END -->
+
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <depends>jboss.ejb:service=EJBDeployer</depends>
+      <depends optional-attribute-name="JarsIgnoredForScanning" proxy-type="org.jboss.ejb3.JarsIgnoredForScanningMBean">jboss.ejb3:service=JarsIgnoredForScanning</depends>
+   </mbean>
+
+   <mbean code="org.jboss.remoting.transport.Connector"
+      name="jboss.remoting:service=Connector,transport=Servlet"
+      display-name="Servlet transport Connector">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="InvokerLocator">
+         servlet://${jboss.bind.address}:8080/servlet-invoker/ServerInvokerServlet
+      </attribute>
+      
+      <attribute name="Configuration">
+         <handlers>
+            <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+         </handlers>
+      </attribute>
+   </mbean>
+   
+   <mbean code="org.jboss.remoting.transport.Connector"
+      name="jboss.remoting:service=Connector,transport=SSLServlet"
+      display-name="Servlet ssl transport Connector">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="InvokerLocator">sslservlet://${jboss.bind.address}:8443/servlet-invoker/SSLServerInvokerServlet</attribute>
+      
+      <attribute name="Configuration">
+         <handlers>
+            <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+         </handlers>
+      </attribute>
+   </mbean>
+
+</server>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/META-INF/persistence.properties
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/META-INF/persistence.properties	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/META-INF/persistence.properties	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,17 @@
+hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
+#hibernate.connection.release_mode=after_statement
+#hibernate.transaction.flush_before_completion=false
+#hibernate.transaction.auto_close_session=false
+#hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory
+#hibernate.hbm2ddl.auto=create-drop
+#hibernate.hbm2ddl.auto=create
+hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
+# Clustered cache with TreeCache
+#hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook
+#hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache
+#hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+hibernate.bytecode.use_reflection_optimizer=false
+# I don't think this is honored, but EJB3Deployer uses it
+hibernate.bytecode.provider=javassist
\ No newline at end of file

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/jboss-annotations-ejb3.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/jboss-annotations-ejb3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/jboss-ejb3.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/ejb3.deployer/jboss-ejb3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/META-INF/jboss-service.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/META-INF/jboss-service.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: jboss-service.xml 60489 2007-02-12 08:22:28Z scott.stark at jboss.org $ -->
+<server> 
+   
+   <!-- JBossWeb Service-->
+   <mbean code="org.jboss.web.tomcat.service.JBossWeb"
+      name="jboss.web:service=WebServer" xmbean-dd="META-INF/webserver-xmbean.xml">
+      
+      <!-- You can configure a set of authenticators keyed by http-auth method used. This
+      will apply the same set of authenticators across all web applications. You can
+      override the set of authenticators at the web application level by adding
+      <authenticators> element to the respective jboss-web.xml --> 
+      <!--
+      -->
+      <attribute name="Authenticators" serialDataType="jbxb">
+         <java:properties xmlns:java="urn:jboss:java-properties"
+            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+            xs:schemaLocation="urn:jboss:java-properties resource:java-properties_1_0.xsd">
+            <java:property>
+               <java:key>BASIC</java:key>
+               <java:value>org.apache.catalina.authenticator.BasicAuthenticator</java:value>
+            </java:property>
+            <java:property>
+               <java:key>CLIENT-CERT</java:key>
+               <java:value>org.apache.catalina.authenticator.SSLAuthenticator</java:value>
+            </java:property>
+            <java:property>
+               <java:key>DIGEST</java:key>
+               <java:value>org.apache.catalina.authenticator.DigestAuthenticator</java:value>
+            </java:property>
+            <java:property>
+               <java:key>FORM</java:key>
+               <java:value>org.apache.catalina.authenticator.FormAuthenticator</java:value>
+            </java:property> 
+            <java:property>
+               <java:key>NONE</java:key>
+               <java:value>org.apache.catalina.authenticator.NonLoginAuthenticator</java:value>
+            </java:property> 
+         </java:properties>
+      </attribute> 
+	   
+      <!-- The JAAS security domain to use in the absense of an explicit
+      security-domain specification in the war WEB-INF/jboss-web.xml
+      -->
+      <attribute name="DefaultSecurityDomain">java:/jaas/other</attribute>
+
+      <!-- Get the flag indicating if the normal Java2 parent first class
+           loading model should be used over the servlet 2.3 web container first
+           model.
+      -->
+      <attribute name="Java2ClassLoadingCompliance">false</attribute>
+      <!-- A flag indicating if the JBoss Loader should be used. This loader
+           uses a unified class loader as the class loader rather than the tomcat
+           specific class loader.
+           The default is false to ensure that wars have isolated class loading
+           for duplicate jars and jsp files.
+      -->
+      <attribute name="UseJBossWebLoader">false</attribute>
+      <!-- The list of package prefixes that should not be loaded without
+         delegating to the parent class loader before trying the web app
+         class loader. The packages listed here are those tha are used by
+         the web container implementation and cannot be overriden. The format
+         is a comma separated list of the package names. There cannot be any
+         whitespace between the package prefixes.
+         This setting only applies when UseJBossWebLoader=false.
+      -->
+      <attribute name="FilteredPackages">javax.servlet</attribute>
+
+      <attribute name="LenientEjbLink">true</attribute>
+
+      <!--Flag to delete the Work Dir on Context Destroy -->
+      <attribute name="DeleteWorkDirOnContextDestroy">false</attribute>
+
+      <!--
+          Class of the session manager (used if context is marked as 'distributable'. Currently allowed values:
+          - org.jboss.web.tomcat.service.session.JBossCacheManager
+      -->
+      <attribute name="ManagerClass">org.jboss.web.tomcat.service.session.JBossCacheManager</attribute>
+
+      <!-- The name of the request attribute under with the authenticated JAAS
+      Subject is stored on successful authentication. If null or empty then
+      the Subject will not be stored.
+      -->
+      <!--
+      <attribute name="SubjectAttributeName">j_subject</attribute>
+      -->
+
+      <!-- The SessionIdAlphabet is the set of characters used to create a session Id
+           It must be made up of exactly 65 unique characters
+      <attribute name="SessionIdAlphabet">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-*</attribute>
+      -->
+
+      <!--
+      *******************************************************
+      ****************** CLUSTERING *************************
+      *******************************************************
+      In order to activate HTTP Session clustering for Tomcat
+      make sure you run JBoss's "all" configuration i.e.
+      "run -c all"
+      (the default configuration doesn't contain clustering)
+ 
+      Furthermore, you may change SnapshotMode and
+      SnapshotInterval attributes below to indicate when to
+      synchronize changes with the other node(s).   
+
+      If you use Apache+mod_jk(2) you will most probably use
+      the AJP1.3 connector below. Thus, if you so wish,
+      you may comment (i.e. deactivate) the HTTP connector
+      as it won't be used anymore.
+
+      *******************************************************
+      *******************************************************
+      *******************************************************
+      --> 
+		
+      <!--
+      If you are using clustering, the following two attributes
+      define when the sessions are replicated to the other nodes.
+      The default value, "instant", synchronously replicates changes
+      to the other nodes at the end of requests. In this case, the 
+      "SnapshotInterval" attribute is not used.
+      The "interval" mode, in association with the "SnapshotInterval"
+      attribute, indicates that modified sessions will only be replicated
+      every "SnapshotInterval" milliseconds at most.
+		
+      Note that this attribute is not in effect if the replication-granularity
+      is set to FIELD. If it is FIELD, it will be per http request (that is, 
+      "instant" mode.)
+      --> 
+      <attribute name="SnapshotMode">instant</attribute> <!-- you may switch to "interval" -->
+      <attribute name="SnapshotInterval">2000</attribute>
+
+      <!--
+      Whether to use MOD_JK(2) for load balancing with sticky session 
+      combined with JvmRoute. If set to true, it will insert a JvmRouteFilter 
+      to intercept every request and replace the JvmRoute if it detects a 
+      failover. In addition, you will need to set the JvmRoute inside
+      Tomcat, e.g.,
+        Engine name="jboss.web" jmvRoute="Node1" defaultHost="localhost" 
+      in server.xml.
+
+      For clustering purpose only.
+      -->
+      <attribute name="UseJK">false</attribute>
+
+      <attribute name="Domain">jboss.web</attribute>
+
+      <!-- A mapping to the server security manager service which must be
+      operation compatible with type
+      org.jboss.security.plugins.JaasSecurityManagerServiceMBean. This is only
+      needed if web applications are allowed to flush the security manager
+      authentication cache when the web sessions invalidate.
+      -->
+      <depends optional-attribute-name="SecurityManagerService"
+         proxy-type="attribute">jboss.security:service=JaasSecurityManager
+      </depends>
+
+      <!--
+         Needed if using HTTP Session Clustering or if the
+         ClusteredSingleSignOn valve is enabled in the tomcat server.xml file
+      -->
+      <!--
+      <depends>jboss.cache:service=TomcatClusteringCache</depends>
+      -->
+      
+      <depends>jboss:service=TransactionManager</depends>
+      
+      <!-- Only needed if the org.jboss.web.tomcat.service.jca.CachedConnectionValve
+      is enabled in the tomcat server.xml file.
+      -->
+      <depends>jboss.jca:service=CachedConnectionManager</depends>
+      
+   </mbean>
+
+</server>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/META-INF/webserver-xmbean.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/META-INF/webserver-xmbean.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/META-INF/webserver-xmbean.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
+<!--
+   JBoss Web XMBean descriptor
+   
+   $Id: webserver-xmbean.xml 59833 2007-01-19 15:45:42Z dimitris at jboss.org $
+-->
+<mbean>
+   <description>The JBoss Web Deployer responsible for war deployment</description>
+   <descriptors>
+     <interceptors>
+       <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
+       <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
+     </interceptors>
+   </descriptors>
+   <class>org.jboss.web.tomcat.service.JBossWeb</class>
+   
+  <!-- JBossWebMBean attributes -->
+  
+   <attribute access="read-write" getMethod="getAuthenticators" setMethod="setAuthenticators">
+     <name>Authenticators</name>
+     <type>java.util.Properties</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getUseJBossWebLoader" setMethod="setUseJBossWebLoader">
+     <name>UseJBossWebLoader</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getAllowSelfPrivilegedWebApps" setMethod="setAllowSelfPrivilegedWebApps">
+     <name>AllowSelfPrivilegedWebApps</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getDeleteWorkDirOnContextDestroy" 
+    setMethod="setDeleteWorkDirOnContextDestroy">
+     <name>DeleteWorkDirOnContextDestroy</name>
+     <type>boolean</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getHttpHeaderForSSOAuth" 
+    setMethod="setHttpHeaderForSSOAuth">
+     <name>HttpHeaderForSSOAuth</name>
+     <type>java.lang.String</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getSessionCookieForSSOAuth" 
+    setMethod="setSessionCookieForSSOAuth">
+     <name>SessionCookieForSSOAuth</name>
+     <type>java.lang.String</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getSubjectAttributeName" setMethod="setSubjectAttributeName">
+     <name>SubjectAttributeName</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getCacheName" setMethod="setCacheName">
+     <name>CacheName</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getUnpackWars" setMethod="setUnpackWars">
+     <name>UnpackWars</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getAcceptNonWarDirs" setMethod="setAcceptNonWarDirs">
+     <name>AcceptNonWarDirs</name>
+     <type>boolean</type>
+   </attribute>
+   
+   <attribute access="read-write" getMethod="getConfig" setMethod="setConfig">
+     <name>Config</name>
+     <type>org.w3c.dom.Element</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getLenientEjbLink" setMethod="setLenientEjbLink">
+     <name>LenientEjbLink</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="isUseJK" setMethod="setUseJK">
+     <name>UseJK</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getDomain" setMethod="setDomain">
+     <name>Domain</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getFilteredPackages" setMethod="setFilteredPackages">
+     <name>FilteredPackages</name>
+     <type>[Ljava.lang.String;</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getJava2ClassLoadingCompliance" setMethod="setJava2ClassLoadingCompliance">
+     <name>Java2ClassLoadingCompliance</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getDefaultSecurityDomain" setMethod="setDefaultSecurityDomain">
+     <name>DefaultSecurityDomain</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getSnapshotMode" setMethod="setSnapshotMode">
+     <name>SnapshotMode</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getSnapshotInterval" setMethod="setSnapshotInterval">
+     <name>SnapshotInterval</name>
+     <type>int</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getConfigFile" setMethod="setConfigFile">
+     <name>ConfigFile</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getUseLocalCache" setMethod="setUseLocalCache">
+     <name>UseLocalCache</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getSessionIdAlphabet" setMethod="setSessionIdAlphabet">
+     <name>SessionIdAlphabet</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getContextMBeanCode" setMethod="setContextMBeanCode">
+     <name>ContextMBeanCode</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getManagerClass" setMethod="setManagerClass">
+     <name>ManagerClass</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-only" getMethod="getDeployedApplications">
+     <name>DeployedApplications</name>
+     <type>java.util.Iterator</type>
+   </attribute>
+
+   <attribute access="write-only" setMethod="setSecurityManagerService">
+     <name>SecurityManagerService</name>
+     <type>org.jboss.security.plugins.JaasSecurityManagerServiceMBean</type>
+   </attribute>
+   
+   <!-- SubDeployerExt attribute -->
+   <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
+      <description>Allow the override of supported suffixes and relative order</description>
+      <name>EnhancedSuffixes</name>
+      <type>[Ljava.lang.String;</type>
+   </attribute>
+         
+   &deployerAttributes;
+   &defaultAttributes;
+
+  <!-- JBossWebMBean operations -->
+   <operation>
+     <description>See if a war is deployed</description>
+     <name>isDeployed</name>
+     <parameter>
+       <name>warUrl</name>
+       <type>java.lang.String</type>
+     </parameter>
+     <return-type>boolean</return-type>
+   </operation>
+
+   <operation>
+     <description>Start all connectors of the Domain</description>
+     <name>startConnectors</name>
+   </operation>
+
+   <operation>
+     <description>Stop all connectors of the Domain</description>
+     <name>stopConnectors</name>
+   </operation>
+      
+   &deployerOperations;   
+   &defaultOperations;
+   &interceptable;    
+   
+</mbean>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/WEB-INF/web.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/WEB-INF/web.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/WEB-INF/web.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!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>Welcome to JBoss</display-name>
+  <description>
+     Welcome to JBoss
+  </description>
+  <servlet>
+    <servlet-name>Status Servlet</servlet-name>
+    <servlet-class>org.jboss.web.tomcat.service.StatusServlet</servlet-class>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>Status Servlet</servlet-name>
+    <url-pattern>/status</url-pattern>
+  </servlet-mapping>
+</web-app>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/favicon.ico
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/favicon.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/index.html
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/index.html	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/index.html	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+   <title>Welcome to JBoss&trade;</title>
+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+   <link rel="StyleSheet" href="jboss.css" type="text/css"/>
+</head>
+
+<body>
+<!-- header begin -->
+   <a href="http://www.jboss.org">
+      <img src="logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+   </a>
+   <div id="header">&nbsp;</div>
+   <div id="navigation_bar"></div>
+<!-- header end -->
+
+   <h3>JBoss Online Resources</h3>
+   <ul>
+      <li><a href="http://www.jboss.org/products/jbossas/docs">JBoss Documentation</a></li>
+      <li><a href="http://wiki.jboss.org/">JBoss Wiki</a></li>
+      <li><a href="http://jira.jboss.org/">JBoss JIRA</a></li>      
+      <li><a href="http://www.jboss.org/index.html?module=bb">JBoss Forums</a></li>
+   </ul>
+
+   <h3>JBoss Management</h3>
+   <ul>
+      <li><a href="/status">Tomcat status</a>
+          <a href="/status?full=true">(full)</a>
+          <a href="/status?XML=true">(XML)</a></li>
+      <li><a href="/jmx-console/">JMX Console</a></li>
+      <li><a href="/web-console/">JBoss Web Console</a></li>
+   </ul>
+
+<!-- footer begin -->
+   <div id="footer">
+      <div id="credits">JBoss&trade; Application Server</div>
+      <div id="footer_bar">&nbsp;</div>
+   </div>
+<!-- footer end -->
+</body>
+
+</html>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/jboss.css
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/jboss.css	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/jboss.css	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,143 @@
+body {
+	margin: 13px 0px 10px 0px;
+	background-color: #ffffff;
+	font-size: 10px;
+	font-family: verdana, arial, "sans-serif";
+	color: #606060;
+	}
+img {
+	border: 0px;
+	}
+#header {
+	background-color: #003D6E;
+	background-repeat: no-repeat;
+	width: 100%;
+	height: 80px;
+	}
+#header #banner {
+	float: right;
+	margin: 8px 5px 0px 0px;
+	}
+#logo {
+	position: absolute;
+	top: 2px;
+	left: 4px;
+	z-index: 200;
+}
+#navigation_bar {
+	background-color: #f0f0f0;
+	border-bottom: 1px dotted #999999;
+	height: 20px;
+	}
+#items {
+	font-size: 12px;
+	width: 600px;
+	margin: 5px 5px 5px 170px;
+	position: relative;
+	z-index: 300;
+	}
+#items .item {
+	margin-right: 10px;
+	}
+.side_block {
+	margin: 15px 5px 10px 5px;
+	background-color: #fbfbfb;
+	border: 1px solid #f0f0f0;
+	}
+.side_block h3 {
+	font-size: 11px;
+	font-weight: 100;
+	width: 100%;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 10x;
+	background-color: #f0f0f0;
+	}
+.side_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+.side_block p {
+	margin: 5px 5px 3px 5px;
+	}
+.side_block form {
+	margin: 0px 0px 0px 5px;
+	}
+.side_block #login {
+	font-size: 9px;
+	}
+.side_block p img {
+	text-align: center;
+	}
+#content {
+	width: 90%; 
+	margin: 10px auto;
+	}
+#left {
+	float: left;
+	width: 14%;
+	}
+#right {
+	float: right;
+	width: 14%;
+	}
+.content_block {
+	text-align: justify;
+	border: 1px solid #999999;
+	margin: 5px;
+	width: 31%;
+	float: left;
+	}
+.content_block p {
+	margin: 0px 5px 3px 5px;
+	}
+.content_block h3 {
+	font-size: 11px;
+	font-weight: bold;
+	color: #000000;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 4x;
+	text-align: center;
+	background-color: #f0f0f0;
+	border-bottom: 1px solid #999999
+	}
+.content_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	text-align: left;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+#footer {
+	clear: both;
+	border-top: 1px dotted #999999;
+	}
+#credits {
+	background-color: #f0f0f0;
+	padding: 5px;
+	text-align: center;
+	}
+#footer_bar {
+	height: 20px;
+	width: 100%;
+	background-color: #003D6E;
+	}
+.hide {
+	display: none;
+	}
+.spacer {
+	clear: both;
+	}
+.spacer hr {
+	display: none;
+	}
+.center {
+	text-align: center;
+	}
+#youcandoit {
+	background-image: url("youcandoit.jpg");
+	background-repeat: repeat-x;
+	height: 165px;
+	margin: 0px 30px 0px 30px;
+	}

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/logo.gif
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/manager/xform.xsl
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/manager/xform.xsl	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/ROOT.war/manager/xform.xsl	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  version="1.0">
+
+  <!-- Output method -->
+  <xsl:output encoding="iso-8859-1"
+              indent="no"/>
+
+  <xsl:template match="status">
+    <html>
+    <head>
+    	<TITLE>Tomcat Status</TITLE>
+		<STYLE type="text/css">
+			body, table, tr, td, a, div, span {
+				vertical-align : top;
+			}
+		</STYLE>
+    </head>
+    <body>
+      <div style='font-size:20px;'>Tomcat Status</div>
+
+      <xsl:apply-templates select="jvm"/>
+      <xsl:apply-templates select="connector"/>
+     </body>
+    </html>
+  </xsl:template>
+
+  <xsl:template match="jvm">
+   <xsl:apply-templates select="memory"/>
+  </xsl:template>
+
+  <xsl:template match="memory">
+    <table><tr>
+    		 <td><b>JVM:</b></td>
+    		 <td><b>free:</b> <xsl:value-of select="@free"/></td>
+    		 <td><b>total:</b> <xsl:value-of select="@total"/></td>
+    		 <td><b>max:</b> <xsl:value-of select="@max"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="connector">
+	 <b>Connector -- </b> <xsl:value-of select="@name"/><br />
+
+  	<xsl:apply-templates select="threadInfo"/>
+  	<xsl:apply-templates select="requestInfo"/>
+  	<xsl:apply-templates select="workers"/>
+  </xsl:template>
+
+  <xsl:template match="threadInfo">
+    <table><tr>
+    		 <td><b>threadInfo </b></td>
+    		 <td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>
+    		 <td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>
+    		 <td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>
+    		 <td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>
+    		 <td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="requestInfo">
+    <table><tr>
+    		 <td><b>requestInfo </b></td>
+    		 <td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>
+    		 <td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>
+    		 <td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>
+    		 <td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>
+    		 <td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>
+    		 <td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="workers">
+   <table>
+    <tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>
+  	<xsl:apply-templates select="worker"/>
+
+   </table><hr />
+  </xsl:template>
+
+  <xsl:template match="worker">
+   <tr>
+    <td><xsl:value-of select="@stage"/></td>
+    <td><xsl:value-of select="@requestProcessingTime"/></td>
+    <td><xsl:value-of select="@requestBytesSent"/></td>
+    <td><xsl:value-of select="@requestBytesReceived"/></td>
+    <td><xsl:value-of select="@remoteAddr"/></td>
+    <td><xsl:value-of select="@virtualHost"/></td>
+    <td><xsl:value-of select="@method"/> <xsl:value-of select="@currentUri"/>?<xsl:value-of select="@currentQueryString"/> <xsl:value-of select="@protocol"/></td>
+   </tr>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/conf/web.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/conf/web.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/conf/web.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,1230 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+    version="2.4">
+
+  <!-- ======================== Introduction ============================== -->
+  <!-- This document defines default values for *all* web applications      -->
+  <!-- loaded into this instance of Tomcat.  As each application is         -->
+  <!-- deployed, this file is processed, followed by the                    -->
+  <!-- "/WEB-INF/web.xml" deployment descriptor from your own               -->
+  <!-- applications.                                                        -->
+  <!--                                                                      -->
+  <!-- WARNING:  Do not configure application-specific resources here!      -->
+  <!-- They should go in the "/WEB-INF/web.xml" file in your application.   -->
+
+  <!-- =========== Common Context Params ================================== -->
+  <!-- JBossInjectionProvider provides resource injection for managed beans. -->
+  <!-- See JSF 1.2 spec section 5.4 for details.                             -->
+  <context-param>
+    <param-name>com.sun.faces.injectionProvider</param-name>
+    <param-value>org.jboss.web.jsf.integration.injection.JBossInjectionProvider</param-value>
+  </context-param>
+
+   <!-- ================== Common filter Configuration ==================== -->
+   <filter>
+      <filter-name>CommonHeadersFilter</filter-name>
+      <filter-class>org.jboss.web.tomcat.filters.ReplyHeaderFilter</filter-class>
+      <init-param>
+         <param-name>X-Powered-By</param-name>
+         <param-value>Servlet 2.4; JBoss-4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705171805)/Tomcat-5.5</param-value>
+      </init-param>
+   </filter>
+
+   <filter-mapping>
+      <filter-name>CommonHeadersFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+   </filter-mapping>
+
+   <!-- ================== Common Listener Configuration ==================== -->
+   <listener>
+      <listener-class>org.jboss.web.tomcat.security.SecurityFlushSessionListener</listener-class>
+   </listener>
+
+   <!-- Configures JSF for a web application if the javax.faces.webapp.FacesServlet is declared -->
+   <!-- in web.xml.                                                                             -->
+   <listener>
+     <listener-class>org.jboss.web.jsf.integration.config.JBossJSFConfigureListener</listener-class>
+   </listener>
+
+   <!-- Listens to all web app lifecycle events so that @PreDestroy can be called on -->
+   <!-- JSF managed beans that go out of scope.  You can comment this out if you     -->
+   <!-- don't use JSF or you don't use annotations on your managed beans.            -->
+   <listener>
+     <listener-class>com.sun.faces.application.WebappLifecycleListener</listener-class>
+   </listener>
+
+
+  <!-- ================== Built In Servlet Definitions ==================== -->
+
+
+  <!-- The default servlet for all web applications, that serves static     -->
+  <!-- resources.  It processes all requests that are not mapped to other   -->
+  <!-- servlets with servlet mappings (defined either here or in your own   -->
+  <!-- web.xml file.  This servlet supports the following initialization    -->
+  <!-- parameters (default values are in square brackets):                  -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   fileEncoding        Encoding to be used to read static resources   -->
+  <!--                       [platform default]                             -->
+  <!--                                                                      -->
+  <!--   input               Input buffer size (in bytes) when reading      -->
+  <!--                       resources to be served.  [2048]                -->
+  <!--                                                                      -->
+  <!--   listings            Should directory listings be produced if there -->
+  <!--                       is no welcome file in this directory?  [false] -->
+  <!--                       WARNING: Listings for directories with many    -->
+  <!--                       entries can be slow and may consume            -->
+  <!--                       significant proportions of server resources.   -->
+  <!--                                                                      -->
+  <!--   output              Output buffer size (in bytes) when writing     -->
+  <!--                       resources to be served.  [2048]                -->
+  <!--                                                                      -->
+  <!--   readonly            Is this context "read only", so HTTP           -->
+  <!--                       commands like PUT and DELETE are               -->
+  <!--                       rejected?  [true]                              -->
+  <!--                                                                      -->
+  <!--   readmeFile          File name to display with the directory        -->
+  <!--                       contents. [null]                               -->
+  <!--                                                                      -->
+  <!--   sendfileSize        If the connector used supports sendfile, this  -->
+  <!--                       represents the minimal file size in KB for     -->
+  <!--                       which sendfile will be used. Use a negative    -->
+  <!--                       value to always disable sendfile.  [48]        -->
+  <!--                                                                      -->
+  <!--  For directory listing customization. Checks localXsltFile, then     -->
+  <!--  globalXsltFile, then defaults to original behavior.                 -->
+  <!--                                                                      -->
+  <!--   localXsltFile       Make directory listings an XML doc and         -->
+  <!--                       pass the result to this style sheet residing   -->
+  <!--                       in that directory. This overrides              -->
+  <!--                        globalXsltFile[null]                          -->
+  <!--                                                                      -->
+  <!--   globalXsltFile      Site wide configuration version of             -->
+  <!--                       localXsltFile This argument is expected        -->
+  <!--                       to be a physical file. [null]                  -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+
+    <servlet>
+        <servlet-name>default</servlet-name>
+        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <init-param>
+            <param-name>listings</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+
+  <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
+  <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
+  <!-- servlet is mapped to the URL pattern "/servlet/*", but you can map   -->
+  <!-- it to other patterns as well.  The extra path info portion of such a -->
+  <!-- request must be the fully qualified class name of a Java class that  -->
+  <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
+  <!-- of an existing servlet definition.     This servlet supports the     -->
+  <!-- following initialization parameters (default values are in square    -->
+  <!-- brackets):                                                           -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+
+<!--
+    <servlet>
+        <servlet-name>invoker</servlet-name>
+        <servlet-class>
+          org.apache.catalina.servlets.InvokerServlet
+        </servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <load-on-startup>2</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- The JSP page compiler and execution servlet, which is the mechanism  -->
+  <!-- used by Tomcat to support JSP pages.  Traditionally, this servlet    -->
+  <!-- is mapped to the URL pattern "*.jsp".  This servlet supports the     -->
+  <!-- following initialization parameters (default values are in square    -->
+  <!-- brackets):                                                           -->
+  <!--                                                                      -->
+  <!--   checkInterval       If development is false and checkInterval is   -->
+  <!--                       greater than zero, background compilations are -->
+  <!--                       enabled. checkInterval is the time in seconds  -->
+  <!--                       between checks to see if a JSP page needs to   -->
+  <!--                       be recompiled. [0]                             -->
+  <!--                                                                      -->
+  <!--   modificationTestInterval                                           -->
+  <!--                       Causes a JSP (and its dependent files) to not  -->
+  <!--                       be checked for modification during the         -->
+  <!--                       specified time interval (in seconds) from the  -->
+  <!--                       last time the JSP was checked for              -->
+  <!--                       modification. A value of 0 will cause the JSP  -->
+  <!--                       to be checked on every access.                 -->
+  <!--                       Used in development mode only. [4]             -->
+  <!--                                                                      -->
+  <!--   compiler            Which compiler Ant should use to compile JSP   -->
+  <!--                       pages.  See the Ant documentation for more     -->
+  <!--                       information.                                   -->
+  <!--                                                                      -->
+  <!--   classdebuginfo      Should the class file be compiled with         -->
+  <!--                       debugging information?  [true]                 -->
+  <!--                                                                      -->
+  <!--   classpath           What class path should I use while compiling   -->
+  <!--                       generated servlets?  [Created dynamically      -->
+  <!--                       based on the current web application]          -->
+  <!--                                                                      -->
+  <!--   development         Is Jasper used in development mode? If true,   -->
+  <!--                       the frequency at which JSPs are checked for    -->
+  <!--                       modification may be specified via the          -->
+  <!--                       modificationTestInterval parameter. [true]     -->
+  <!--                                                                      -->
+  <!--   enablePooling       Determines whether tag handler pooling is      -->
+  <!--                       enabled  [true]                                -->
+  <!--                                                                      -->
+  <!--   fork                Tell Ant to fork compiles of JSP pages so that -->
+  <!--                       a separate JVM is used for JSP page compiles   -->
+  <!--                       from the one Tomcat is running in. [true]      -->
+  <!--                                                                      -->
+  <!--   ieClassId           The class-id value to be sent to Internet      -->
+  <!--                       Explorer when using <jsp:plugin> tags.         -->
+  <!--                       [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93]   -->
+  <!--                                                                      -->
+  <!--   javaEncoding        Java file encoding to use for generating java  -->
+  <!--                       source files. [UTF8]                           -->
+  <!--                                                                      -->
+  <!--   keepgenerated       Should we keep the generated Java source code  -->
+  <!--                       for each page instead of deleting it? [true]   -->
+  <!--                                                                      -->
+  <!--   mappedfile          Should we generate static content with one     -->
+  <!--                       print statement per input line, to ease        -->
+  <!--                       debugging?  [true]                             -->
+  <!--                                                                      -->
+  <!--   trimSpaces          Should white spaces in template text between   -->
+  <!--                       actions or directives be trimmed?  [false]     -->
+  <!--                                                                      -->
+  <!--   suppressSmap        Should the generation of SMAP info for JSR45   -->
+  <!--                       debugging be suppressed?  [false]              -->
+  <!--                                                                      -->
+  <!--   dumpSmap            Should the SMAP info for JSR45 debugging be    -->
+  <!--                       dumped to a file? [false]                      -->
+  <!--                       False if suppressSmap is true                  -->
+  <!--                                                                      -->
+  <!--   genStrAsCharArray   Should text strings be generated as char       -->
+  <!--                       arrays, to improve performance in some cases?  -->
+  <!--                       [false]                                        -->
+  <!--                                                                      -->
+  <!--   errorOnUseBeanInvalidClassAttribute                                -->
+  <!--                       Should Jasper issue an error when the value of -->
+  <!--                       the class attribute in an useBean action is    -->
+  <!--                       not a valid bean class?  [true]                -->
+  <!--                                                                      -->
+  <!--   scratchdir          What scratch directory should we use when      -->
+  <!--                       compiling JSP pages?  [default work directory  -->
+  <!--                       for the current web application]               -->
+  <!--                                                                      -->
+  <!--   xpoweredBy          Determines whether X-Powered-By response       -->
+  <!--                       header is added by generated servlet  [false]  -->
+  <!--                                                                      -->
+  <!--   compilerTargetVM    Compiler target VM                             -->  
+  <!--                       default is System.properties                   -->
+  <!--                        java.specification.version > 1.4              -->
+  <!--                        [1.5] else [1.4]                              -->
+  <!--                                                                      -->
+  <!--   compilerSourceVM    Compiler source VM                             -->
+  <!--                       default is System.properties                   -->
+  <!--                        java.specification.version > 1.4              -->
+  <!--                        [1.5] else [1.4]                              -->
+  <!--                                                                      -->
+  <!-- If you wish to use Jikes to compile JSP pages:                       -->
+  <!--   Please see the "Using Jikes" section of the Jasper-HowTo           -->
+  <!--   page in the Tomcat documentation.                                  -->
+
+    <servlet>
+        <servlet-name>jsp</servlet-name>
+        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
+        <init-param>
+            <param-name>fork</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <init-param>
+            <param-name>xpoweredBy</param-name>
+            <param-value>false</param-value>
+        </init-param>
+
+        <!-- Use a custom options class to allow the shared tag lib descriptors
+         to be loaded from jars in the tomcat sar conf/tlds directory. The
+         standard options implementation can only find taglibs based on the
+         class loader classpath.
+        -->
+        <init-param>
+           <param-name>engineOptionsClass</param-name>
+           <param-value>org.jboss.web.tomcat.service.jasper.JspServletOptions</param-value>
+        </init-param>
+        <!-- Specify the jars relative to the jbossweb-tomcat6.sar that should
+          be scanned for common tag lib descriptors to include in every war
+          deployment.
+        -->
+        <init-param>
+           <description>JSF standard tlds</description>
+           <param-name>tagLibJar0</param-name>
+           <param-value>jsf-libs/jsf-impl.jar</param-value>
+        </init-param>
+        <init-param>
+           <description>JSTL standard tlds</description>
+           <param-name>tagLibJar1</param-name>
+           <param-value>jstl.jar</param-value>
+        </init-param>
+
+        <load-on-startup>3</load-on-startup>
+    </servlet>
+
+
+  <!-- NOTE: An SSI Filter is also available as an alternative SSI          -->
+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
+  <!--                                                                      -->
+  <!-- Server Side Includes processing servlet, which processes SSI         -->
+  <!-- directives in HTML pages consistent with similar support in web      -->
+  <!-- servers like Apache.  Traditionally, this servlet is mapped to the   -->
+  <!-- URL pattern "*.shtml".  This servlet supports the following          -->
+  <!-- initialization parameters (default values are in square brackets):   -->
+  <!--                                                                      -->
+  <!--   buffered            Should output from this servlet be buffered?   -->
+  <!--                       (0=false, 1=true)  [0]                         -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   expires             The number of seconds before a page with SSI   -->
+  <!--                       directives will expire.  [No default]          -->
+  <!--                                                                      -->
+  <!--   isVirtualWebappRelative                                            -->
+  <!--                       Should "virtual" paths be interpreted as       -->
+  <!--                       relative to the context root, instead of       -->
+  <!--                       the server root?  (0=false, 1=true) [0]        -->
+  <!--                                                                      -->
+  <!--   inputEncoding       The encoding to assume for SSI resources if    -->
+  <!--                       one is not available from the resource.        -->
+  <!--                       [Platform default]                             -->
+  <!--                                                                      -->
+  <!--   outputEncoding      The encoding to use for the page that results  -->
+  <!--                       from the SSI processing. [UTF-8]               -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the SSI servlet, you also need to rename the       -->
+  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
+
+<!--
+    <servlet>
+        <servlet-name>ssi</servlet-name>
+        <servlet-class>
+          org.apache.catalina.ssi.SSIServlet
+        </servlet-class>
+        <init-param>
+          <param-name>buffered</param-name>
+          <param-value>1</param-value>
+        </init-param>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>expires</param-name>
+          <param-value>666</param-value>
+        </init-param>
+        <init-param>
+          <param-name>isVirtualWebappRelative</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <load-on-startup>4</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- Common Gateway Includes (CGI) processing servlet, which supports     -->
+  <!-- execution of external applications that conform to the CGI spec      -->
+  <!-- requirements.  Typically, this servlet is mapped to the URL pattern  -->
+  <!-- "/cgi-bin/*", which means that any CGI applications that are         -->
+  <!-- executed must be present within the web application.  This servlet   -->
+  <!-- supports the following initialization parameters (default values     -->
+  <!-- are in square brackets):                                             -->
+  <!--                                                                      -->
+  <!--   cgiPathPrefix        The CGI search path will start at             -->
+  <!--                        webAppRootDir + File.separator + this prefix. -->
+  <!--                        [WEB-INF/cgi]                                 -->
+  <!--                                                                      -->
+  <!--   debug                Debugging detail level for messages logged    -->
+  <!--                        by this servlet.  [0]                         -->
+  <!--                                                                      -->
+  <!--   executable           Name of the exectuable used to run the        -->
+  <!--                        script. [perl]                                -->
+  <!--                                                                      -->
+  <!--   parameterEncoding    Name of parameter encoding to be used with    -->
+  <!--                        CGI servlet.                                  -->
+  <!--                        [System.getProperty("file.encoding","UTF-8")] -->
+  <!--                                                                      -->
+  <!--   passShellEnvironment Should the shell environment variables (if    -->
+  <!--                        any) be passed to the CGI script? [false]     -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the CGI servlet, you also need to rename the       -->
+  <!--            $CATALINA_HOME/server/lib/servlets-cgi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-cgi.jar             -->
+
+<!--
+    <servlet>
+        <servlet-name>cgi</servlet-name>
+        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>cgiPathPrefix</param-name>
+          <param-value>WEB-INF/cgi</param-value>
+        </init-param>
+         <load-on-startup>5</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- ================ Built In Servlet Mappings ========================= -->
+
+
+  <!-- The servlet mappings for the built in servlets defined above.  Note  -->
+  <!-- that, by default, the CGI and SSI servlets are *not* mapped.  You    -->
+  <!-- must uncomment these mappings (or add them to your application's own -->
+  <!-- web.xml deployment descriptor) to enable these services              -->
+
+    <!-- The mapping for the default servlet -->
+    <servlet-mapping>
+        <servlet-name>default</servlet-name>
+        <url-pattern>/</url-pattern>
+    </servlet-mapping>
+
+    <!-- The mapping for the invoker servlet -->
+<!--
+    <servlet-mapping>
+        <servlet-name>invoker</servlet-name>
+        <url-pattern>/servlet/*</url-pattern>
+    </servlet-mapping>
+-->
+
+    <!-- The mapping for the JSP servlet -->
+    <servlet-mapping>
+        <servlet-name>jsp</servlet-name>
+        <url-pattern>*.jsp</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>jsp</servlet-name>
+        <url-pattern>*.jspx</url-pattern>
+    </servlet-mapping>
+
+    <!-- The mapping for the SSI servlet -->
+<!--
+    <servlet-mapping>
+        <servlet-name>ssi</servlet-name>
+        <url-pattern>*.shtml</url-pattern>
+    </servlet-mapping>
+-->
+
+    <!-- The mapping for the CGI Gateway servlet -->
+
+<!--
+    <servlet-mapping>
+        <servlet-name>cgi</servlet-name>
+        <url-pattern>/cgi-bin/*</url-pattern>
+    </servlet-mapping>
+-->
+
+
+  <!-- ================== Built In Filter Definitions ===================== -->
+
+  <!-- NOTE: An SSI Servlet is also available as an alternative SSI         -->
+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
+  <!--                                                                      -->
+  <!-- Server Side Includes processing filter, which processes SSI          -->
+  <!-- directives in HTML pages consistent with similar support in web      -->
+  <!-- servers like Apache.  Traditionally, this filter is mapped to the    -->
+  <!-- URL pattern "*.shtml", though it can be mapped to "*" as it will     -->
+  <!-- selectively enable/disable SSI processing based on mime types. For   -->
+  <!-- this to work you will need to uncomment the .shtml mime type         -->
+  <!-- definition towards the bottom of this file.                          -->
+  <!-- The contentType init param allows you to apply SSI processing to JSP -->
+  <!-- pages, javascript, or any other content you wish.  This filter       -->
+  <!-- supports the following initialization parameters (default values are -->
+  <!-- in square brackets):                                                 -->
+  <!--                                                                      -->
+  <!--   contentType         A regex pattern that must be matched before    -->
+  <!--                       SSI processing is applied.                     -->
+  <!--                       [text/x-server-parsed-html(;.*)?]              -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   expires             The number of seconds before a page with SSI   -->
+  <!--                       directives will expire.  [No default]          -->
+  <!--                                                                      -->
+  <!--   isVirtualWebappRelative                                            -->
+  <!--                       Should "virtual" paths be interpreted as       -->
+  <!--                       relative to the context root, instead of       -->
+  <!--                       the server root?  (0=false, 1=true) [0]        -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the SSI filter, you also need to rename the        -->
+  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
+
+<!--
+    <filter>
+        <filter-name>ssi</filter-name>
+        <filter-class>
+          org.apache.catalina.ssi.SSIFilter
+        </filter-class>
+        <init-param>
+          <param-name>contentType</param-name>
+          <param-value>text/x-server-parsed-html(;.*)?</param-value>
+        </init-param>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>expires</param-name>
+          <param-value>666</param-value>
+        </init-param>
+        <init-param>
+          <param-name>isVirtualWebappRelative</param-name>
+          <param-value>0</param-value>
+        </init-param>
+    </filter>
+-->
+
+
+  <!-- ==================== Built In Filter Mappings ====================== -->
+
+  <!-- The mapping for the SSI Filter -->
+<!--
+    <filter-mapping>
+        <filter-name>ssi</filter-name>
+        <url-pattern>*.shtml</url-pattern>
+    </filter-mapping>
+-->
+
+
+  <!-- ==================== Default Session Configuration ================= -->
+  <!-- You can set the default session timeout (in minutes) for all newly   -->
+  <!-- created sessions by modifying the value below.                       -->
+
+    <session-config>
+        <session-timeout>30</session-timeout>
+    </session-config>
+
+
+  <!-- ===================== Default MIME Type Mappings =================== -->
+  <!-- When serving static resources, Tomcat will automatically generate    -->
+  <!-- a "Content-Type" header based on the resource's filename extension,  -->
+  <!-- based on these mappings.  Additional mappings can be added here (to  -->
+  <!-- apply to all web applications), or in your own application's web.xml -->
+  <!-- deployment descriptor.                                               -->
+
+    <mime-mapping>
+        <extension>abs</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ai</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aif</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aifc</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aiff</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aim</extension>
+        <mime-type>application/x-aim</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>art</extension>
+        <mime-type>image/x-jg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>asf</extension>
+        <mime-type>video/x-ms-asf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>asx</extension>
+        <mime-type>video/x-ms-asf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>au</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>avi</extension>
+        <mime-type>video/x-msvideo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>avx</extension>
+        <mime-type>video/x-rad-screenplay</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bcpio</extension>
+        <mime-type>application/x-bcpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bin</extension>
+        <mime-type>application/octet-stream</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bmp</extension>
+        <mime-type>image/bmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>body</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cdf</extension>
+        <mime-type>application/x-cdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cer</extension>
+        <mime-type>application/x-x509-ca-cert</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>class</extension>
+        <mime-type>application/java</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cpio</extension>
+        <mime-type>application/x-cpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>csh</extension>
+        <mime-type>application/x-csh</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>css</extension>
+        <mime-type>text/css</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dib</extension>
+        <mime-type>image/bmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>doc</extension>
+        <mime-type>application/msword</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dtd</extension>
+        <mime-type>application/xml-dtd</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dv</extension>
+        <mime-type>video/x-dv</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dvi</extension>
+        <mime-type>application/x-dvi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>eps</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>etx</extension>
+        <mime-type>text/x-setext</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>exe</extension>
+        <mime-type>application/octet-stream</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gif</extension>
+        <mime-type>image/gif</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gtar</extension>
+        <mime-type>application/x-gtar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gz</extension>
+        <mime-type>application/x-gzip</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hdf</extension>
+        <mime-type>application/x-hdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hqx</extension>
+        <mime-type>application/mac-binhex40</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>htc</extension>
+        <mime-type>text/x-component</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>htm</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>html</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hqx</extension>
+        <mime-type>application/mac-binhex40</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ief</extension>
+        <mime-type>image/ief</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jad</extension>
+        <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jar</extension>
+        <mime-type>application/java-archive</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>java</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jnlp</extension>
+        <mime-type>application/x-java-jnlp-file</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpe</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpeg</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpg</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>js</extension>
+        <mime-type>text/javascript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jsf</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jspf</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>kar</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>latex</extension>
+        <mime-type>application/x-latex</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>m3u</extension>
+        <mime-type>audio/x-mpegurl</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mac</extension>
+        <mime-type>image/x-macpaint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>man</extension>
+        <mime-type>application/x-troff-man</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mathml</extension>
+        <mime-type>application/mathml+xml</mime-type> 
+    </mime-mapping>
+    <mime-mapping>
+        <extension>me</extension>
+        <mime-type>application/x-troff-me</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mid</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>midi</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mif</extension>
+        <mime-type>application/x-mif</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mov</extension>
+        <mime-type>video/quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>movie</extension>
+        <mime-type>video/x-sgi-movie</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp1</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp2</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp3</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpa</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpe</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpeg</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpega</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpg</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpv2</extension>
+        <mime-type>video/mpeg2</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ms</extension>
+        <mime-type>application/x-wais-source</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>nc</extension>
+        <mime-type>application/x-netcdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>oda</extension>
+        <mime-type>application/oda</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Database -->
+        <extension>odb</extension>
+        <mime-type>application/vnd.oasis.opendocument.database</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Chart -->
+        <extension>odc</extension>
+        <mime-type>application/vnd.oasis.opendocument.chart</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Formula -->
+        <extension>odf</extension>
+        <mime-type>application/vnd.oasis.opendocument.formula</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Drawing -->
+        <extension>odg</extension>
+        <mime-type>application/vnd.oasis.opendocument.graphics</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Image -->
+        <extension>odi</extension>
+        <mime-type>application/vnd.oasis.opendocument.image</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Master Document -->
+        <extension>odm</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-master</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Presentation -->
+        <extension>odp</extension>
+        <mime-type>application/vnd.oasis.opendocument.presentation</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Spreadsheet -->
+        <extension>ods</extension>
+        <mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Text -->
+        <extension>odt</extension>
+        <mime-type>application/vnd.oasis.opendocument.text</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ogg</extension>
+        <mime-type>application/ogg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Drawing Template -->
+        <extension>otg </extension>
+        <mime-type>application/vnd.oasis.opendocument.graphics-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- HTML Document Template -->
+        <extension>oth</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-web</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Presentation Template -->
+        <extension>otp</extension>
+        <mime-type>application/vnd.oasis.opendocument.presentation-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Spreadsheet Template -->
+        <extension>ots</extension>
+        <mime-type>application/vnd.oasis.opendocument.spreadsheet-template </mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Text Template -->
+        <extension>ott</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pbm</extension>
+        <mime-type>image/x-portable-bitmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pct</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pdf</extension>
+        <mime-type>application/pdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pgm</extension>
+        <mime-type>image/x-portable-graymap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pic</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pict</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pls</extension>
+        <mime-type>audio/x-scpls</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>png</extension>
+        <mime-type>image/png</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pnm</extension>
+        <mime-type>image/x-portable-anymap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pnt</extension>
+        <mime-type>image/x-macpaint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppm</extension>
+        <mime-type>image/x-portable-pixmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppt</extension>
+        <mime-type>application/powerpoint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ps</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>psd</extension>
+        <mime-type>image/x-photoshop</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qt</extension>
+        <mime-type>video/quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qti</extension>
+        <mime-type>image/x-quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qtif</extension>
+        <mime-type>image/x-quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ras</extension>
+        <mime-type>image/x-cmu-raster</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rdf</extension>
+        <mime-type>application/rdf+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rgb</extension>
+        <mime-type>image/x-rgb</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rm</extension>
+        <mime-type>application/vnd.rn-realmedia</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>roff</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rtf</extension>
+        <mime-type>application/rtf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rtx</extension>
+        <mime-type>text/richtext</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sh</extension>
+        <mime-type>application/x-sh</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>shar</extension>
+        <mime-type>application/x-shar</mime-type>
+    </mime-mapping>
+<!--
+    <mime-mapping>
+        <extension>shtml</extension>
+        <mime-type>text/x-server-parsed-html</mime-type>
+    </mime-mapping>
+-->
+    <mime-mapping>
+        <extension>smf</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sit</extension>
+        <mime-type>application/x-stuffit</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>snd</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>src</extension>
+        <mime-type>application/x-wais-source</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sv4cpio</extension>
+        <mime-type>application/x-sv4cpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sv4crc</extension>
+        <mime-type>application/x-sv4crc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>swf</extension>
+        <mime-type>application/x-shockwave-flash</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>t</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tar</extension>
+        <mime-type>application/x-tar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tcl</extension>
+        <mime-type>application/x-tcl</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tex</extension>
+        <mime-type>application/x-tex</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>texi</extension>
+        <mime-type>application/x-texinfo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>texinfo</extension>
+        <mime-type>application/x-texinfo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tif</extension>
+        <mime-type>image/tiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tiff</extension>
+        <mime-type>image/tiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tr</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tsv</extension>
+        <mime-type>text/tab-separated-values</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>txt</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ulw</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ustar</extension>
+        <mime-type>application/x-ustar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>vxml</extension>
+        <mime-type>application/voicexml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xbm</extension>
+        <mime-type>image/x-xbitmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xht</extension>
+        <mime-type>application/xhtml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xhtml</extension>
+        <mime-type>application/xhtml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xml</extension>
+        <mime-type>application/xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xpm</extension>
+        <mime-type>image/x-xpixmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xsl</extension>
+        <mime-type>application/xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xslt</extension>
+        <mime-type>application/xslt+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xul</extension>
+        <mime-type>application/vnd.mozilla.xul+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xwd</extension>
+        <mime-type>image/x-xwindowdump</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>wav</extension>
+        <mime-type>audio/x-wav</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>svg</extension>
+        <mime-type>image/svg+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>svgz</extension>
+        <mime-type>image/svg+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>vsd</extension>
+        <mime-type>application/x-visio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Wireless Bitmap -->
+        <extension>wbmp</extension>
+        <mime-type>image/vnd.wap.wbmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- WML Source -->
+        <extension>wml</extension>
+        <mime-type>text/vnd.wap.wml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Compiled WML -->
+        <extension>wmlc</extension>
+        <mime-type>application/vnd.wap.wmlc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- WML Script Source -->
+        <extension>wmls</extension>
+        <mime-type>text/vnd.wap.wmlscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Compiled WML Script -->
+        <extension>wmlscriptc</extension>
+        <mime-type>application/vnd.wap.wmlscriptc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>wrl</extension>
+        <mime-type>x-world/x-vrml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>Z</extension>
+        <mime-type>application/x-compress</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>z</extension>
+        <mime-type>application/x-compress</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>zip</extension>
+        <mime-type>application/zip</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xls</extension>
+        <mime-type>application/vnd.ms-excel</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>doc</extension>
+        <mime-type>application/vnd.ms-word</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppt</extension>
+        <mime-type>application/vnd.ms-powerpoint</mime-type>
+    </mime-mapping>
+
+  <!-- ==================== Default Welcome File List ===================== -->
+  <!-- When a request URI refers to a directory, the default servlet looks  -->
+  <!-- for a "welcome file" within that directory and, if present,          -->
+  <!-- to the corresponding resource URI for display.  If no welcome file   -->
+  <!-- is present, the default servlet either serves a directory listing,   -->
+  <!-- or returns a 404 status, depending on how it is configured.          -->
+  <!--                                                                      -->
+  <!-- If you define welcome files in your own application's web.xml        -->
+  <!-- deployment descriptor, that list *replaces* the list configured      -->
+  <!-- here, so be sure that you include any of the default values that     -->
+  <!-- you wish to include.                                                 -->
+
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+        <welcome-file>index.htm</welcome-file>
+        <welcome-file>index.jsp</welcome-file>
+    </welcome-file-list>
+
+</web-app>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/context.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/context.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/context.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,17 @@
+<!-- The contents of this file will be loaded for each web application -->
+<Context cookies="true" crossContext="true">
+   <!-- Session persistence is disable by default. To enable for all web
+   apps set the pathname to a non-empty value:
+   <Manager pathname="SESSIONS.ser" />
+
+   To enable session persistence for a single web app, add a
+   WEB-INF/context.xml 
+   -->
+   <Manager pathname="" />
+
+   <!-- Install an InstanceListener to handle the establishment of the run-as
+   role for servlet init/destroy events.
+   -->
+   <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
+   
+</Context>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jasper-jdt.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jasper-jdt.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jbossweb-extras.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jbossweb-extras.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jbossweb-service.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jbossweb-service.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jbossweb.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jbossweb.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/jboss-faces.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/jboss-faces.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/jsf-api.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/jsf-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/jsf-impl.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jsf-libs/jsf-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jstl.jar
===================================================================
(Binary files differ)


Property changes on: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/jstl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/server.xml
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/server.xml	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/tmp/jboss-web.deployer/server.xml	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,172 @@
+<Server>
+
+  <!--APR library loader. Documentation at /docs/apr.html -->
+  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
+  <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
+  <Listener className="org.apache.catalina.core.JasperListener" />
+
+   <!-- Use a custom version of StandardService that allows the
+   connectors to be started independent of the normal lifecycle
+   start to allow web apps to be deployed before starting the
+   connectors.
+   -->
+   <Service name="jboss.web">
+
+    <!-- A "Connector" represents an endpoint by which requests are received
+         and responses are returned. Documentation at :
+         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
+         Java AJP  Connector: /docs/config/ajp.html
+         APR (HTTP/AJP) Connector: /docs/apr.html
+         Define a non-SSL HTTP/1.1 Connector on port 8080
+    -->
+    <Connector port="8080" address="${jboss.bind.address}"    
+         maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
+         emptySessionPath="true" protocol="HTTP/1.1"
+         enableLookups="false" redirectPort="8443" acceptCount="100"
+         connectionTimeout="20000" disableUploadTimeout="true" />
+
+    <!-- Define a SSL HTTP/1.1 Connector on port 8443
+         This connector uses the JSSE configuration, when using APR, the 
+         connector should be using the OpenSSL style configuration
+         described in the APR documentation -->
+    
+    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
+               maxThreads="150" scheme="https" secure="true"
+               clientAuth="false"
+               address="${jboss.bind.address}"
+               keystoreFile="${jboss.server.home.dir}/conf/localhost.keystore" 
+               keystorePass="opensource"
+               truststoreFile="${jboss.server.home.dir}/conf/localhost.keystore" 
+               truststorePass="opensource"
+               sslProtocol="TLS"/>  
+
+    <!-- Define an AJP 1.3 Connector on port 8009 -->
+    <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
+         emptySessionPath="true" enableLookups="false" redirectPort="8443" />
+
+      <Engine name="jboss.web" defaultHost="localhost">
+
+         <!-- The JAAS based authentication and authorization realm implementation
+         that is compatible with the jboss 3.2.x realm implementation.
+         - certificatePrincipal : the class name of the
+         org.jboss.security.auth.certs.CertificatePrincipal impl
+         used for mapping X509[] cert chains to a Princpal.
+         - allRolesMode : how to handle an auth-constraint with a role-name=*,
+         one of strict, authOnly, strictAuthOnly
+           + strict = Use the strict servlet spec interpretation which requires
+           that the user have one of the web-app/security-role/role-name
+           + authOnly = Allow any authenticated user
+           + strictAuthOnly = Allow any authenticated user only if there are no
+           web-app/security-roles
+         -->
+         <Realm className="org.jboss.web.tomcat.security.JBossSecurityMgrRealm"
+            certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
+            allRolesMode="authOnly"
+            />
+         <!-- A subclass of JBossSecurityMgrRealm that uses the authentication
+         behavior of JBossSecurityMgrRealm, but overrides the authorization
+         checks to use JACC permissions with the current java.security.Policy
+         to determine authorized access.
+         - allRolesMode : how to handle an auth-constraint with a role-name=*,
+         one of strict, authOnly, strictAuthOnly
+           + strict = Use the strict servlet spec interpretation which requires
+           that the user have one of the web-app/security-role/role-name
+           + authOnly = Allow any authenticated user
+           + strictAuthOnly = Allow any authenticated user only if there are no
+           web-app/security-roles
+         <Realm className="org.jboss.web.tomcat.security.JaccAuthorizationRealm"
+            certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
+            allRolesMode="authOnly"
+            />
+         -->
+
+        <Host name="localhost"
+           autoDeploy="false" deployOnStartup="false" deployXML="false"
+           configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
+           >
+
+            <!-- Uncomment to enable request dumper. This Valve "logs interesting 
+                 contents from the specified Request (before processing) and the 
+                 corresponding Response (after processing). It is especially useful 
+                 in debugging problems related to headers and cookies."
+            -->
+            <!--
+            <Valve className="org.apache.catalina.valves.RequestDumperValve" />
+            -->
+ 
+            <!-- Access logger -->
+            <!--
+            <Valve className="org.apache.catalina.valves.AccessLogValve"
+                prefix="localhost_access_log." suffix=".log"
+                pattern="common" directory="${jboss.server.home.dir}/log" 
+                resolveHosts="false" />
+            -->
+
+            <!-- Uncomment to enable single sign-on across web apps
+                deployed to this host. Does not provide SSO across a cluster.     
+            
+                If this valve is used, do not use the JBoss ClusteredSingleSignOn 
+                valve shown below. 
+                
+                A new configuration attribute is available beginning with
+                release 4.0.4:
+                
+                cookieDomain  configures the domain to which the SSO cookie
+                              will be scoped (i.e. the set of hosts to
+                              which the cookie will be presented).  By default
+                              the cookie is scoped to "/", meaning the host
+                              that presented it.  Set cookieDomain to a
+                              wider domain (e.g. "xyz.com") to allow an SSO
+                              to span more than one hostname.
+             -->
+            <!--
+            <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
+            -->
+
+            <!-- Uncomment to enable single sign-on across web apps
+               deployed to this host AND to all other hosts in the cluster.
+            
+               If this valve is used, do not use the standard Tomcat SingleSignOn
+               valve shown above.
+            
+               Valve uses a JBossCache instance to support SSO credential 
+               caching and replication across the cluster.  The JBossCache 
+               instance must be configured separately.  By default, the valve 
+               shares a JBossCache with the service that supports HttpSession 
+               replication.  See the "jboss-web-cluster-service.xml" file in the 
+               server/all/deploy directory for cache configuration details.
+            
+               Besides the attributes supported by the standard Tomcat
+               SingleSignOn valve (see the Tomcat docs), this version also 
+               supports the following attributes:
+            
+               cookieDomain   see above
+            
+               treeCacheName  JMX ObjectName of the JBossCache MBean used to 
+                              support credential caching and replication across
+                              the cluster. If not set, the default value is 
+                              "jboss.cache:service=TomcatClusteringCache", the 
+                              standard ObjectName of the JBossCache MBean used 
+                              to support session replication.
+            -->
+            <!--
+            <Valve className="org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn" />
+            -->
+         
+            <!-- Check for unclosed connections and transaction terminated checks
+                 in servlets/jsps.
+                 
+                 Important: The dependency on the CachedConnectionManager
+                 in META-INF/jboss-service.xml must be uncommented, too
+            -->
+            <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"
+                cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
+                transactionManagerObjectName="jboss:service=TransactionManager" />
+
+         </Host>
+
+      </Engine>
+
+   </Service>
+
+</Server>

Added: branches/Branch_4_2/ejb3/docs/tutorial/http_https/users.properties
===================================================================
--- branches/Branch_4_2/ejb3/docs/tutorial/http_https/users.properties	                        (rev 0)
+++ branches/Branch_4_2/ejb3/docs/tutorial/http_https/users.properties	2007-05-18 16:42:17 UTC (rev 63149)
@@ -0,0 +1,2 @@
+kabir=validpassword
+




More information about the jboss-cvs-commits mailing list