~ubuntu-branches/ubuntu/raring/libjboss-remoting-java/raring

« back to all changes in this revision

Viewing changes to tests/org/jboss/test/remoting/transport/servlet/preservelines/readme.txt

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: package-import@ubuntu.com-20110909140103-o8ucrolqt5g25k57
Tags: upstream-2.5.3.SP1
ImportĀ upstreamĀ versionĀ 2.5.3.SP1

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
3
 
the tests manually.
4
 
 
5
 
*******************************************************
6
 
*****             JBREM-139 is done.              *****
7
 
*****  See tests.functional.servlet in build.xml. *****
8
 
*******************************************************
9
 
 
10
 
servlet
11
 
 
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.
18
 
 
19
 
 
20
 
sslservlet
21
 
 
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:
26
 
               
27
 
      <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
28
 
           maxThreads="150"
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"
33
 
           sslProtocol="TLS"/> 
34
 
               
35
 
 
36
 
4. Start web container (JBossAS).
37
 
5. Run SSLServletInvokerTestClient or SSLServletClientAddressTestClient.
38
 
 
39
 
 
40