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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110909140103-hqokx61534tas9rg
Tags: 2.5.3.SP1-1
* Newer but not newest upstream release. Do not build samples.
* Change debian/watch to upstream's svn repo.
* Add patch to fix compile error caused by tomcat update.
  (Closes: #628303)
* Switch to source format 3.0.
* Switch to debhelper level 7.
* Remove useless Depends.
* Update Standards-Version: 3.9.2.
* Update README.source.

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 *TestClient.
18
 
 
19
 
To run MBeanServerPlatformTestClient, uncomment the "mbeanServer" init-param in web.xml.  Also,
20
 
run JBossAS with 
21
 
 
22
 
# Enable the jconsole agent locally with integration of the jboss MBeans
23
 
JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
24
 
JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"
25
 
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote"
26
 
 
27
 
added to run.bat or run.sh.  See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMBeansInJConsole
28
 
for more information.
29
 
 
30
 
sslservlet
31
 
 
32
 
1. Steps 1-4 above, except use the WEB-INF/web.xml and remoting-servlet-invoker-service.xml that is under the
33
 
servlet/ssl directory.
34
 
2. Copy the servlet/ssl/.keystore file to the server conf directory
35
 
3. Edit jboss-web.deployer/server.xml to enable ssl connector.  It should look like following:
36
 
               
37
 
      <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
38
 
           maxThreads="150"
39
 
           scheme="https" secure="true" clientAuth="false"
40
 
           address="${jboss.bind.address}"
41
 
           keystoreFile="${jboss.server.home.dir}/conf/.keystore"
42
 
           keystorePass="unit-tests-server"
43
 
           sslProtocol="TLS"/> 
44
 
               
45
 
 
46
 
4. Start web container (JBossAS).
47
 
5. Run SSLServletInvokerTestClient or SSLServletClientAddressTestClient.
48
 
 
49
 
 
50