Author: jfrederic.clere(a)jboss.com
Date: 2014-05-09 12:18:01 -0400 (Fri, 09 May 2014)
New Revision: 3284
Modified:
trunk/build/unix/buildbin.EAP6.sh
Log:
Add SSL connector and configuration.
Modified: trunk/build/unix/buildbin.EAP6.sh
===================================================================
--- trunk/build/unix/buildbin.EAP6.sh 2014-05-08 16:02:20 UTC (rev 3283)
+++ trunk/build/unix/buildbin.EAP6.sh 2014-05-09 16:18:01 UTC (rev 3284)
@@ -129,7 +129,16 @@
echo "Waiting for EAP6 to start"
sleep 60
echo ""
+$EAP6/bin/jboss-cli.sh
--commands=connect,/subsystem=web/connector=https/:add(socket-binding=https,protocol="HTTP/1.1",scheme="https",enabled="false")
+$EAP6/bin/jboss-cli.sh
--commands=connect,/subsystem=web/connector=https/ssl=configuration:add(certificate-key-file="/home/hudson/tcks/conf/tomcathost.jks",password="importkey",ca-certificate-file="/home/hudson/tcks/conf/clientcert.jks",ca-certificate-password="changeit")
+$EAP6/bin/jboss-cli.sh
--commands=connect,/subsystem=web/connector=https:write-attribute(name=enabled,
value=true)
+$EAP6/bin/jboss-cli.sh --commands=connect,reload
+echo ""
+echo "Waiting for EAP6 to reload"
+sleep 60
+echo ""
+
echo "Running TCK6 tests..."
echo "SERVLETS"
echo ""
@@ -157,6 +166,7 @@
export TS_HOME=/home/hudson/TCK7/javaeetck
export ANT_HOME=$TS_HOME/tools/ant
cp $TS_HOME/bin/ts.jte.eap6 $TS_HOME/bin/ts.jte
+WRID=$TS_HOME/src/com/sun/ts/tests/websocket
(cd $WRID; ant runclient || exit 1)
if [ $? -ne 0 ]; then
echo "Failed test failed..."
Show replies by date