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).
19
To run MBeanServerPlatformTestClient, uncomment the "mbeanServer" init-param in web.xml. Also,
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"
27
added to run.bat or run.sh. See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMBeansInJConsole
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:
37
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
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"
46
4. Start web container (JBossAS).
47
5. Run SSLServletInvokerTestClient or SSLServletClientAddressTestClient.