1
The servlet (and sslservlet) transport tests require a web container. Currently, these tests have to be run
2
manually (JBREM-139 has been created to automate this). Until then, here are the instructions for running
5
*******************************************************
6
***** JBREM-139 is done. *****
7
***** See tests.functional.servlet in build.xml. *****
8
*******************************************************
12
1. Get JBossAS and copy remoting's servlet-invoker.war (from distro or build) to the deploy directory.
13
2. Copy the WEB-INF/web.xml under this directory into the that of the servlet-invoker.war/WEB-INF directory.
14
3. Copy remoting-servlet-invoker-service.xml to deploy directory.
15
4. Copy jboss-remoting-tests.jar to server lib directory
16
5. Start web container (JBossAS).
17
6. Run ServletLinePreservationTestClient.
22
1. Steps 1-4 above, except use the WEB-INF/web.xml and remoting-servlet-invoker-service.xml that is under the
23
servlet/ssl directory.
24
2. Copy the servlet/ssl/.keystore file to the server conf directory
25
3. Edit jboss-web.deployer/server.xml to enable ssl connector. It should look like following:
27
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
29
scheme="https" secure="true" clientAuth="false"
30
address="${jboss.bind.address}"
31
keystoreFile="${jboss.server.home.dir}/conf/.keystore"
32
keystorePass="unit-tests-server"
36
4. Start web container (JBossAS).
37
5. Run SSLServletInvokerTestClient or SSLServletClientAddressTestClient.