JBoss Remoting SVN: r4955 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-04-05 02:56:08 -0400 (Sun, 05 Apr 2009)
New Revision: 4955
Added:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/server.xml
Log:
JBREM-139: Created a single server.xml in .../servlet directory for all servlet tests.
Added: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/server.xml
===================================================================
--- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/server.xml (rev 0)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/server.xml 2009-04-05 06:56:08 UTC (rev 4955)
@@ -0,0 +1,186 @@
+<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" maxHttpHeaderSize="8192"
+ emptySessionPath="true" protocol="HTTP/1.1"
+ enableLookups="false" redirectPort="8443" acceptCount="100"
+ connectionTimeout="20000" disableUploadTimeout="true" />
+
+ <!-- The following Connectors are used by ServletMultihomeTestCase. -->
+ <Connector port="7071" address="localhost"
+ maxThreads="250" maxHttpHeaderSize="8192"
+ emptySessionPath="true" protocol="HTTP/1.1"
+ enableLookups="false" redirectPort="8443" acceptCount="100"
+ connectionTimeout="20000" disableUploadTimeout="true" />
+ <Connector port="7082" address="localhost"
+ maxThreads="250" maxHttpHeaderSize="8192"
+ emptySessionPath="true" protocol="HTTP/1.1"
+ enableLookups="false" redirectPort="8443" acceptCount="100"
+ connectionTimeout="20000" disableUploadTimeout="true" />
+ <Connector port="7093" address="localhost"
+ maxThreads="250" 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" sslProtocol="TLS"
+ keystoreFile="${jboss.server.home.dir}/conf/keystore"
+ keystorePass="unit-tests-server"/>
+ <!---->
+
+ <!-- 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>
\ No newline at end of file
15 years, 9 months
JBoss Remoting SVN: r4954 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/WEB-INF.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-04-05 02:55:48 -0400 (Sun, 05 Apr 2009)
New Revision: 4954
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/WEB-INF/web.xml
Log:
JBREM-139: Removed extraneous parameters from locatorUrl.
Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/WEB-INF/web.xml
===================================================================
--- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/WEB-INF/web.xml 2009-04-05 06:50:47 UTC (rev 4953)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/WEB-INF/web.xml 2009-04-05 06:55:48 UTC (rev 4954)
@@ -16,7 +16,7 @@
<servlet-class>org.jboss.remoting.transport.servlet.web.ServerInvokerServlet</servlet-class>
<init-param>
<param-name>locatorUrl</param-name>
- <param-value>servlet://localhost:8080/servlet-invoker/ServerInvokerServlet/?marshaller=org.jboss.test.remoting.marshall.config.ConfigTestMarshaller&unmarshaller=org.jboss.test.remoting.marshall.config.ConfigTestUnmarshaller</param-value>
+ <param-value>servlet://localhost:8080/servlet-invoker/ServerInvokerServlet/?createUniqueObjectName=true</param-value>
<description>The servlet server invoker locator url</description>
</init-param>
<load-on-startup>1</load-on-startup>
15 years, 9 months
JBoss Remoting SVN: r4953 - remoting2/branches/2.2.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-04-05 02:50:47 -0400 (Sun, 05 Apr 2009)
New Revision: 4953
Added:
remoting2/branches/2.2/local.properties
Log:
JBREM-139: Local properties for servlet transport tests.
Added: remoting2/branches/2.2/local.properties
===================================================================
--- remoting2/branches/2.2/local.properties (rev 0)
+++ remoting2/branches/2.2/local.properties 2009-04-05 06:50:47 UTC (rev 4953)
@@ -0,0 +1,4 @@
+jboss.home=c://cygwin/home/rsigal/workspace.new/EAP_4_3_0_GA_CP03/build/output/jboss-4.3.0.GA_CP03
+as.startup.time=220
+as.shutdown.time=10
+shell=c:/cygwin/bin/sh.exe
\ No newline at end of file
15 years, 9 months
JBoss Remoting SVN: r4952 - remoting2/branches/2.2.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-04-05 02:49:39 -0400 (Sun, 05 Apr 2009)
New Revision: 4952
Modified:
remoting2/branches/2.2/build.xml
Log:
JBREM-139: Added tests for servlet transport.
Modified: remoting2/branches/2.2/build.xml
===================================================================
--- remoting2/branches/2.2/build.xml 2009-04-05 06:42:15 UTC (rev 4951)
+++ remoting2/branches/2.2/build.xml 2009-04-05 06:49:39 UTC (rev 4952)
@@ -30,7 +30,8 @@
<property name="compile.target" value="${ant.java.version}"/>
<target name="configure" depends="get-jvm" unless="configure.disable">
-
+ <property file="local.properties" />
+
<!-- This is for the jrunit benchmark results -->
<property file="database.properties"/>
@@ -907,6 +908,212 @@
</junit>
</target>
+ <!--=====================================================================-->
+ <!--=====================================================================-->
+ <!-- servlet tests -->
+ <!--=====================================================================-->
+ <!--=====================================================================-->
+
+ <target name="tests.servlet.config" depends="configure">
+ <echo>jboss home: ${jboss.home}</echo>
+ <property name="jboss.conf.dir" value="${jboss.home}/server/default/conf/"/>
+ <property name="jboss.deploy.dir" value="${jboss.home}/server/default/deploy/"/>
+ <property name="jboss.lib.dir" value="${jboss.home}/server/default/lib"/>
+ <property name="jboss.log.dir" value="${jboss.home}/server/default/log"/>
+ <property name="servlet.tests.dir" value="${tests.dir}/org/jboss/test/remoting/transport/servlet"/>
+ </target>
+
+ <target name="tests.servlet.setup" depends="tests.servlet.config,tests.jars,tests.servlet.clean">
+ <mkdir dir="${output.tests.results}"/>
+ <mkdir dir="${basedir}/Save"/>
+ <copy file="${jboss.lib.dir}/jboss-remoting.jar" todir="${basedir}/Save" overwrite="true"/>
+ <copy file="${jboss.deploy.dir}/jboss-web.deployer/server.xml" todir="${basedir}/Save" overwrite="true"/>
+ <copy file="${output.lib.dir}/jboss-remoting.jar" todir="${jboss.lib.dir}" overwrite="true"/>
+ <copy file="${output.lib.dir}/jboss-remoting-tests.jar" todir="${jboss.lib.dir}" overwrite="true"/>
+ <copy file="${servlet.tests.dir}/server.xml" todir="${jboss.deploy.dir}/jboss-web.deployer"/>
+ <copy file="${servlet.tests.dir}/ssl/keystore" tofile="${jboss.conf.dir}/keystore"/>
+ </target>
+
+ <target name="tests.servlet.teardown" depends="tests.servlet.clean">
+ <copy file="${basedir}/Save/jboss-remoting.jar" todir="${jboss.lib.dir}" overwrite="true"/>
+ <copy file="${basedir}/Save/server.xml" todir="${jboss.deploy.dir}/jboss-web.deployer"/>
+ </target>
+
+ <target name="tests.servlet.clean">
+ <delete file="${jboss.lib.dir}/jboss-remoting-tests.jar" quiet="true"/>
+ <delete file="${jboss.conf.dir}/keystore" quiet="true"/>
+ <delete file="${jboss.deploy.dir}/remoting-servlet-service.xml" quiet="true"/>
+ <delete dir="${jboss.deploy.dir}/servlet-invoker.war" quiet="true"/>
+ </target>
+
+ <target name="AS.start">
+ <property environment="env"/>
+ <exec executable="${shell}" searchpath="true" dir="${jboss.home}" spawn="true">
+ <env key="Path" path="${env.Path}${path.separator}c:/cygwin/usr/bin"/>
+ <env key="JBOSS_HOME" value="${jboss.home}"/>
+ <arg file="${jboss.home}/bin/run.sh"/>
+ <arg value="-c default"/>
+ </exec>
+ <echo>Going to sleep for ${as.startup.time} seconds</echo>
+ <sleep seconds="${as.startup.time}"/>
+ </target>
+
+ <target name="AS.start.opts">
+ <property environment="env"/>
+ <exec executable="${shell}" searchpath="true" dir="${jboss.home}" spawn="true">
+ <env key="Path" path="${env.Path}${path.separator}c:/cygwin/usr/bin"/>
+ <env key="JAVA_OPTS" value="${java.opts}"/>
+ <env key="JBOSS_HOME" value="${jboss.home}"/>
+ <arg file="${jboss.home}/bin/run.sh"/>
+ </exec>
+ <echo>Going to sleep for ${as.startup.time} seconds</echo>
+ <sleep seconds="${as.startup.time}"/>
+ </target>
+
+ <target name="AS.shutdown" depends="tests.servlet.config">
+ <property environment="env"/>
+ <exec executable="${shell}" searchpath="true" dir="${jboss.home}" spawn="true">
+ <env key="Path" path="${env.Path}${path.separator}c:/cygwin/usr/bin"/>
+ <env key="JBOSS_HOME" value="${jboss.home}"/>
+ <arg file="${jboss.home}/bin/shutdown.sh"/>
+ <arg value="-S"/>
+ </exec>
+ <sleep seconds="${as.shutdown.time}"/>
+ </target>
+
+ <target name="tests.functional.servlet" depends="tests.servlet.setup">
+ <antcall target="tests.servlet.simple" inheritrefs="true"/>
+ </target>
+
+ <target name="tests.servlet.simple">
+ <antcall target="AS.start"/>
+ <antcall target="tests.servlet" inheritrefs="true"/>
+ <antcall target="tests.servlet.callback" inheritrefs="true"/>
+ <antcall target="tests.servlet.marshal" inheritrefs="true"/>
+ <antcall target="tests.servlet.ssl" inheritrefs="true"/>
+ <antcall target="AS.shutdown"/>
+ </target>
+
+ <target name="tests.servlet">
+ <copy file="${servlet.tests.dir}/remoting-servlet-service.xml" todir="${jboss.deploy.dir}" overwrite="true"/>
+ <sleep seconds="2"/>
+ <copy todir="${jboss.deploy.dir}">
+ <fileset dir="${output.lib.dir}">
+ <include name="servlet-invoker.war/**"/>
+ </fileset>
+ </copy>
+ <copy file="${servlet.tests.dir}/WEB-INF/web.xml"
+ todir="${jboss.deploy.dir}/servlet-invoker.war/WEB-INF" overwrite="true"/>
+ <sleep seconds="2"/>
+ <junit printsummary="true" fork="yes" includeantruntime="true">
+ <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
+ <jvmarg value="-D${remoting.metadata.key}=${metadata}"/>
+ <classpath>
+ <path refid="tests.classpath"/>
+ <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
+ </classpath>
+ <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
+ extension="-java_serialization.xml"/>
+ <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
+ <fileset dir="${tests.compile.dir}">
+ <include name="**/remoting/transport/servlet/**TestClient.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ <delete dir="${jboss.deploy.dir}/servlet-invoker.war"/>
+ <delete file="${jboss.deploy.dir}/remoting-servlet-service.xml"/>
+ </target>
+
+ <target name="tests.servlet.callback">
+ <copy file="${servlet.tests.dir}/callback/remoting-servlet-service.xml" todir="${jboss.deploy.dir}" overwrite="true"/>
+ <sleep seconds="2"/>
+ <copy todir="${jboss.deploy.dir}">
+ <fileset dir="${output.lib.dir}">
+ <include name="servlet-invoker.war/**"/>
+ </fileset>
+ </copy>
+ <copy file="${servlet.tests.dir}/callback/WEB-INF/web.xml"
+ todir="${jboss.deploy.dir}/servlet-invoker.war/WEB-INF" overwrite="true"/>
+ <sleep seconds="2"/>
+ <junit printsummary="true" fork="yes" includeantruntime="true">
+ <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
+ <jvmarg value="-D${remoting.metadata.key}=${metadata}"/>
+ <classpath>
+ <path refid="tests.classpath"/>
+ <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
+ </classpath>
+ <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
+ extension="-java_serialization.xml"/>
+ <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
+ <fileset dir="${tests.compile.dir}">
+ <include name="**/remoting/transport/servlet/callback/*TestClient.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ <delete dir="${jboss.deploy.dir}/servlet-invoker.war"/>
+ <delete file="${jboss.deploy.dir}/remoting-servlet-service.xml"/>
+ </target>
+
+ <target name="tests.servlet.marshal">
+ <copy file="${servlet.tests.dir}/marshal/remoting-servlet-service.xml" todir="${jboss.deploy.dir}" overwrite="true"/>
+ <sleep seconds="2"/>
+ <copy todir="${jboss.deploy.dir}">
+ <fileset dir="${output.lib.dir}">
+ <include name="servlet-invoker.war/**"/>
+ </fileset>
+ </copy>
+ <copy file="${servlet.tests.dir}/marshal/WEB-INF/web.xml"
+ todir="${jboss.deploy.dir}/servlet-invoker.war/WEB-INF" overwrite="true"/>
+ <sleep seconds="2"/>
+ <junit printsummary="true" fork="yes" includeantruntime="true">
+ <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
+ <jvmarg value="-D${remoting.metadata.key}=${metadata}"/>
+ <classpath>
+ <path refid="tests.classpath"/>
+ <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
+ </classpath>
+ <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
+ extension="-java_serialization.xml"/>
+ <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
+ <fileset dir="${tests.compile.dir}">
+ <include name="**/remoting/transport/servlet/marshal/*TestClient.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ <delete dir="${jboss.deploy.dir}/servlet-invoker.war"/>
+ <delete file="${jboss.deploy.dir}/remoting-servlet-service.xml"/>
+ </target>
+
+ <target name="tests.servlet.ssl">
+ <copy file="${servlet.tests.dir}/ssl/remoting-sslservlet-service.xml" todir="${jboss.deploy.dir}" overwrite="true"/>
+ <sleep seconds="4"/>
+ <copy todir="${jboss.deploy.dir}">
+ <fileset dir="${output.lib.dir}">
+ <include name="servlet-invoker.war/**"/>
+ </fileset>
+ </copy>
+ <copy file="${servlet.tests.dir}/ssl/WEB-INF/web.xml"
+ todir="${jboss.deploy.dir}/servlet-invoker.war/WEB-INF" overwrite="true"/>
+ <sleep seconds="2"/>
+ <junit printsummary="true" fork="yes" includeantruntime="true">
+ <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
+ <jvmarg value="-D${remoting.metadata.key}=${metadata}"/>
+ <classpath>
+ <path refid="tests.classpath"/>
+ <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
+ </classpath>
+ <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
+ extension="-java_serialization.xml"/>
+ <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
+ <fileset dir="${tests.compile.dir}">
+ <include name="**/remoting/transport/servlet/ssl/*TestClient.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ <delete dir="${jboss.deploy.dir}/servlet-invoker.war"/>
+ <delete file="${jboss.deploy.dir}/remoting-sslservlet-service.xml"/>
+ </target>
+
<target name="tests.versioning.beta2.client" depends="jars, tests.jars">
<!--<antcall target="tests.versioning.all_transports" inheritrefs="true">-->
<antcall target="tests.versioning.no_multiplex" inheritrefs="true">
15 years, 9 months
JBoss Remoting SVN: r4951 - in remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet: multihome and 2 other directories.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-04-05 02:42:15 -0400 (Sun, 05 Apr 2009)
New Revision: 4951
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/multihome/readme.txt
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/nopreservelines/readme.txt
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/preservelines/readme.txt
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/readme.txt
Log:
JBREM-139: Added not that JBREM-139 is done.
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/multihome/readme.txt
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/multihome/readme.txt 2009-04-05 06:38:02 UTC (rev 4950)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/multihome/readme.txt 2009-04-05 06:42:15 UTC (rev 4951)
@@ -2,6 +2,11 @@
manually (JBREM-139 has been created to automate this). Until then, here are the instructions for running
the tests manually.
+*******************************************************
+***** JBREM-139 is done. *****
+***** See tests.functional.servlet in build.xml. *****
+*******************************************************
+
servlet
1. Get JBossAS and copy remoting's servlet-invoker.war (from distro or build) to the deploy directory.
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/nopreservelines/readme.txt
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/nopreservelines/readme.txt 2009-04-05 06:38:02 UTC (rev 4950)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/nopreservelines/readme.txt 2009-04-05 06:42:15 UTC (rev 4951)
@@ -2,6 +2,11 @@
manually (JBREM-139 has been created to automate this). Until then, here are the instructions for running
the tests manually.
+*******************************************************
+***** JBREM-139 is done. *****
+***** See tests.functional.servlet in build.xml. *****
+*******************************************************
+
servlet
1. Get JBossAS and copy remoting's servlet-invoker.war (from distro or build) to the deploy directory.
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/preservelines/readme.txt
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/preservelines/readme.txt 2009-04-05 06:38:02 UTC (rev 4950)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/preservelines/readme.txt 2009-04-05 06:42:15 UTC (rev 4951)
@@ -2,6 +2,11 @@
manually (JBREM-139 has been created to automate this). Until then, here are the instructions for running
the tests manually.
+*******************************************************
+***** JBREM-139 is done. *****
+***** See tests.functional.servlet in build.xml. *****
+*******************************************************
+
servlet
1. Get JBossAS and copy remoting's servlet-invoker.war (from distro or build) to the deploy directory.
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/readme.txt
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/readme.txt 2009-04-05 06:38:02 UTC (rev 4950)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/readme.txt 2009-04-05 06:42:15 UTC (rev 4951)
@@ -2,6 +2,11 @@
manually (JBREM-139 has been created to automate this). Until then, here are the instructions for running
the tests manually.
+*******************************************************
+***** JBREM-139 is done. *****
+***** See tests.functional.servlet in build.xml. *****
+*******************************************************
+
servlet
1. Get JBossAS and copy remoting's servlet-invoker.war (from distro or build) to the deploy directory.
15 years, 9 months
JBoss Remoting SVN: r4948 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-04-05 02:31:17 -0400 (Sun, 05 Apr 2009)
New Revision: 4948
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletClientAddressTestClient.java
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletInvokerTestClient.java
Log:
JBREM-139: Renamed .keystore and .truststore to keystore and truststore.
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletClientAddressTestClient.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletClientAddressTestClient.java 2009-04-05 06:29:30 UTC (rev 4947)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletClientAddressTestClient.java 2009-04-05 06:31:17 UTC (rev 4948)
@@ -21,7 +21,7 @@
protected void addExtraServerConfig(Map config)
{
config.put(SSLSocketBuilder.REMOTING_KEY_STORE_TYPE, "JKS");
- String keyStoreFilePath = this.getClass().getResource(".keystore").getFile();
+ String keyStoreFilePath = this.getClass().getResource("keystore").getFile();
config.put(SSLSocketBuilder.REMOTING_KEY_STORE_FILE_PATH, keyStoreFilePath);
config.put(SSLSocketBuilder.REMOTING_KEY_STORE_PASSWORD, "unit-tests-server");
}
@@ -29,7 +29,7 @@
protected void addExtraClientConfig(Map config)
{
config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_TYPE, "JKS");
- String trustStoreFilePath = this.getClass().getResource(".truststore").getFile();
+ String trustStoreFilePath = this.getClass().getResource("truststore").getFile();
config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_FILE_PATH, trustStoreFilePath);
config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_PASSWORD, "unit-tests-client");
}
Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletInvokerTestClient.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletInvokerTestClient.java 2009-04-05 06:29:30 UTC (rev 4947)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/SSLServletInvokerTestClient.java 2009-04-05 06:31:17 UTC (rev 4948)
@@ -13,7 +13,7 @@
{
// since doing basic (using default ssl server socket factory)
// need to set the system properties to the truststore
- String trustStoreFilePath = this.getClass().getResource(".truststore").getFile();
+ String trustStoreFilePath = this.getClass().getResource("truststore").getFile();
System.setProperty("javax.net.ssl.trustStore", trustStoreFilePath);
15 years, 9 months
JBoss Remoting SVN: r4947 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-04-05 02:29:30 -0400 (Sun, 05 Apr 2009)
New Revision: 4947
Added:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-service.xml
Removed:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-invoker-service.xml
Log:
JBREM-139: Renamed remoting-servlet-invoker-service.xml to remoting-servlet-service.xml.
Deleted: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-invoker-service.xml
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-invoker-service.xml 2009-04-05 06:29:12 UTC (rev 4946)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-invoker-service.xml 2009-04-05 06:29:30 UTC (rev 4947)
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<server>
-
- <mbean code="org.jboss.remoting.transport.Connector"
- name="jboss.remoting:service=Connector,transport=SSLServlet"
- display-name="Servlet transport Connector">
-
- <attribute name="InvokerLocator">
- sslservlet://localhost:8443/servlet-invoker/ServerInvokerServlet
- </attribute>
-
- <attribute name="Configuration">
- <config>
- <handlers>
- <handler subsystem="test">org.jboss.test.remoting.transport.web.WebInvocationHandler</handler>
- </handlers>
- </config>
- </attribute>
- </mbean>
-
-
-</server>
Copied: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-service.xml (from rev 4674, remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-invoker-service.xml)
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-service.xml (rev 0)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-service.xml 2009-04-05 06:29:30 UTC (rev 4947)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+ <mbean code="org.jboss.remoting.transport.Connector"
+ name="jboss.remoting:service=Connector,transport=SSLServlet"
+ display-name="Servlet transport Connector">
+
+ <attribute name="InvokerLocator">
+ sslservlet://localhost:8443/servlet-invoker/ServerInvokerServlet
+ </attribute>
+
+ <attribute name="Configuration">
+ <config>
+ <handlers>
+ <handler subsystem="test">org.jboss.test.remoting.transport.web.WebInvocationHandler</handler>
+ </handlers>
+ </config>
+ </attribute>
+ </mbean>
+
+
+</server>
Property changes on: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/remoting-servlet-service.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:mergeinfo
+
Name: svn:eol-style
+ native
15 years, 9 months
JBoss Remoting SVN: r4946 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2009-04-05 02:29:12 -0400 (Sun, 05 Apr 2009)
New Revision: 4946
Added:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/keystore
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/truststore
Removed:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/.keystore
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/.truststore
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/truststore
Log:
JBREM-139: Rename .keystore and .truststore to keystore and truststore.
Deleted: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/.keystore
===================================================================
(Binary files differ)
Deleted: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/.truststore
===================================================================
(Binary files differ)
Copied: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/keystore (from rev 4674, remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/.keystore)
===================================================================
(Binary files differ)
Property changes on: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/keystore
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:mergeinfo
+
Deleted: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/truststore
===================================================================
(Binary files differ)
Copied: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/truststore (from rev 4674, remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/.truststore)
===================================================================
(Binary files differ)
Property changes on: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/servlet/ssl/truststore
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Name: svn:mergeinfo
+
15 years, 9 months