Configuration for websockets
diff --git a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
index 2d6731a..6187c9b 100644
--- a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
+++ b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
@@ -235,7 +235,13 @@
// -Djava.security.properties=conf/security.properties
containerJavaOpts += "-Djava.security.manager -Djava.security.policy==${project.basedir}/${openejbHome}/conf/catalina.policy"
- log.info("Using java opts (container) ${containerJavaOpts}")
+ }
+ if (options.contains('websocket')) {
+ log.info("Enabling Tomcat WebSockets configuration")
+ containerJavaOpts += "-Dorg.apache.tomcat.websocket.DISABLE_BUILTIN_EXTENSIONS=true " +
+ "-Dorg.apache.tomcat.websocket.ALLOW_UNSUPPORTED_EXTENSIONS=true " +
+ "-Dorg.apache.tomcat.websocket.STRICT_SPEC_COMPLIANCE=true " +
+ "-Dorg.apache.tomcat.websocket.DEFAULT_PROCESS_PERIOD=0"
}
if (containerJavaOpts != null) {
log.info("Using java opts (container) ${containerJavaOpts}")
diff --git a/src/test/tomee-plume/conf/system.properties b/src/test/tomee-plume/conf/system.properties
index 1538831..85bdb0c 100644
--- a/src/test/tomee-plume/conf/system.properties
+++ b/src/test/tomee-plume/conf/system.properties
@@ -20,6 +20,7 @@
org.apache.tomcat.websocket.DISABLE_BUILTIN_EXTENSIONS=true
org.apache.tomcat.websocket.ALLOW_UNSUPPORTED_EXTENSIONS=true
org.apache.tomcat.websocket.DEFAULT_PROCESS_PERIOD=0
+org.apache.tomcat.websocket.STRICT_SPEC_COMPLIANCE=true
user.language=en
user.country=US