Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3140 Jakarta EE 9.1 TCK Failures
  3. TOMEE-3222

servlet.spec.defaultcontextpath getDefaultContextPathTest

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 9.0.0-M7
    • None
    • None

    Description

      Follow setup instructions in TOMEE-3140. Then run:

      ./runtests --ee91 -c -j --web tomee-plume com.sun.ts.tests.servlet.spec.defaultcontextpath.URLClient#getDefaultContextPathTest
      

      At the time this issue was filed, the test failed with the following in target/logs/javatest.log

      11-Apr-2021 21:04:07.272 INFO [http-nio-55492-exec-3] org.apache.tomee.catalina.TomcatWebAppBuilder.init ------------------------- localhost -> /servlet_spec_defaultcontextpath_web
      11-Apr-2021 21:04:07.272 INFO [http-nio-55492-exec-3] org.apache.openejb.util.OptionsLog.info Using 'openejb.crosscontext=true'
      11-Apr-2021 21:04:07.315 INFO [http-nio-55492-exec-3] org.apache.openejb.cdi.CdiBuilder.initSingleton Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@7ea9e1e2
      11-Apr-2021 21:04:07.385 INFO [http-nio-55492-exec-3] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container is starting...
      11-Apr-2021 21:04:07.388 INFO [http-nio-55492-exec-3] org.apache.webbeans.plugins.PluginLoader.startUp Adding OpenWebBeansPlugin : [CdiPlugin]
      11-Apr-2021 21:04:07.768 INFO [http-nio-55492-exec-3] org.apache.webbeans.config.BeansDeployer.validateInjectionPoints All injection points were validated successfully.
      11-Apr-2021 21:04:07.777 INFO [http-nio-55492-exec-3] org.apache.openejb.cdi.OpenEJBLifecycle.startApplication OpenWebBeans Container has started, it took 392 ms.
      11-Apr-2021 21:04:07.917 INFO [http-nio-55492-exec-3] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      11-Apr-2021 21:04:07.984 INFO [http-nio-55492-exec-3] org.apache.openejb.assembler.classic.Assembler.createApplication Deployed Application(path=/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/servlet/spec/defaultcontextpath/servlet_spec_defaultcontextpath)
      11-Apr-2021 21:04:07.984 INFO [http-nio-55492-exec-3] org.apache.openejb.assembler.classic.Assembler.createApplication Naming context of deployed Application(path=/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/servlet/spec/defaultcontextpath/servlet_spec_defaultcontextpath) is set to read only
      04-11-2021 21:04:08:  Harness - $$$$$$$$$$ Deployment SUCCEEDED for "/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/servlet/spec/defaultcontextpath/servlet_spec_defaultcontextpath.ear"
      OpenEJB - Distribute returned moduleID /Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/servlet/spec/defaultcontextpath/servlet_spec_defaultcontextpath
      04-11-2021 21:04:08:  Harness - amd Obtained CACHED DeploymentManager
      OpenEJBDeploymentManager - connected
      04-11-2021 21:04:08:  Harness - amd Obtained CACHED DeploymentManager
      OpenEJBDeploymentManager - connected
      Deployed apps from - /Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/servlet/spec/defaultcontextpath
      Undeploying apps...
      StandardDeployment14.isDeployed()
      Deployed Modules: 
      
      Search for s1as runtime files match:`servlet_spec_defaultcontextpath.ear`
      Valid runtime files after sweep:
      Deploying apps for forward rebuildable...
      Search for s1as runtime files match:`servlet_spec_defaultcontextpath.ear`
      Valid runtime files after sweep:
      StandardDeployment14.deploy()
      Starting to distribute:  /Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/servlet/spec/defaultcontextpath/servlet_spec_defaultcontextpath.ear
      file: /Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/servlet/spec/defaultcontextpath/servlet_spec_defaultcontextpath.ear
      plan: java.io.ByteArrayInputStream@4458bd0c
      amd Obtained CACHED DeploymentManager
      amd Obtained CACHED DeploymentManager
      $$$$$$$$$$ Deployment SUCCEEDED for "/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/servlet/spec/defaultcontextpath/servlet_spec_defaultcontextpath.ear"
      amd Obtained CACHED DeploymentManager
      amd Obtained CACHED DeploymentManager
      04-11-2021 21:04:08:  Harness - harness.executeMode is set to "0"
      04-11-2021 21:04:08:  Harness - keywords (to be passed to tests) set to:  all
      04-11-2021 21:04:08:  Harness - sClassPathFromExecProps = ::
      command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:::/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-api.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-core.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-impl.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-xjc.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/tsharness.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/cts.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/sigtest.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/javaee-api-8.0-5.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/tomee-tck-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/openejb-core-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/openejb-core-eclipselink-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/activemq-client-5.16.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/activemq-jdbc-store-5.16.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/bval-jsr-2.0.5.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/catalina.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-cli-1.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-collections-3.2.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-collections4-4.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-dbcp2-2.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-lang3-3.11.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-logging-1.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-pool2-2.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/cts-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/dbprocedures-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/derby-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/derbyclient-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/derbynet-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/eclipselink-3.0.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/el-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-connector-3.1.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-javamail_1.6_mail-1.0.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-jms_1.1_spec-1.1.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-mail-2.0.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-transaction-3.1.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/hawtbuf-1.11.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/howl-1.0.1-1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/hsqldb-2.3.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/istack-commons-runtime-3.0.11.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jackson-annotations-2.12.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jackson-core-2.12.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jackson-databind-2.12.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jakarta.activation-1.2.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jakarta.xml.bind-api-2.3.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jaspic-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/javaee-api-8.0-5.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jaxb-runtime-2.3.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jsp-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/mbean-annotation-api-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-api-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-core-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-core-eclipselink-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-javaagent-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-javaagent.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-jee-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-jee-accessors-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-jpa-integration-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-loader-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openjpa-3.1.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-ee-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-ee-common-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-ejb-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-el22-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-impl-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-spi-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-web-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/quartz-openejb-shade-2.2.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/serp-1.15.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/servlet-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/slf4j-api-1.7.21.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/stax-ex-1.8.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/swizzle-stream-1.6.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/sxc-jaxb-core-0.8.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/sxc-runtime-0.8.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-juli.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-util-scan.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-util.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-websocket.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomee-catalina-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomee-security-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tsharness-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tssv-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/txw2-2.3.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/websocket-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/whitebox-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-asm-util-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-asm7-shaded-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-asm8-shaded-4.17.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-asm9-shaded-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-bundleutils-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-bundleutils-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-finder-shaded-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-finder-shaded-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-naming-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-naming-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-reflect-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-reflect-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/commons-logging-1.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/eclipselink-3.0.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/derby-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/derbyclient-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/openejb-client-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/javatest.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/tsharness.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/cts.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/dbprocedures.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-httpclient-3.1.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jdom-1.1.3.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-api.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-impl.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-xjc.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/jasper-el.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-rt-rs-client-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-rt-transports-http-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-core-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/woodstox-core-6.2.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/stax2-api-4.2.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/xmlschema-core-2.2.5.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-rt-frontend-jaxrs-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-rt-rs-sse-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-core-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-jaxrs-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-jsonb-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-jsonp-strict-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-mapper-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-coyote.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-dbcp.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-cs.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-de.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-es.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-fr.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-ja.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-ko.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-pt-BR.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-ru.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-zh-CN.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-jdbc.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-jni.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-util-scan.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-util.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-websocket.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/javatest.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jdom-1.1.3.jar:/lib/ant.jar:/Users/dblevins/work/tckfun/glassfish6/glassfish/modules/admin-cli.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/http.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/glassfishporting.jar:/Users/dblevins/work/tckfun/glassfish6/glassfish/modules/jakarta.activation-api.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/classes:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/../lib/tools.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-httpclient-3.1.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-logging-1.1.3.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-codec-1.9.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/cssparser-0.9.25.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/htmlunit-2.15.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/htmlunit-core-js-2.15.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/httpclient-4.5.5.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/httpmime-4.5.5.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/httpcore-4.4.9.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-collections-3.2.1.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-io-2.4.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-lang3-3.3.2.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxen-1.1.6.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxen-core-1.0.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/js-1.6R1.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/nekohtml-1.9.21.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/sac-1.3.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/saxpath.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/xercesImpl-2.11.0.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/xalan-2.7.2.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/tssv.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/xml-apis-1.4.01.jar DISPLAY=:0.0 HOME=/Users/dblevins windir= SYSTEMROOT= PATH=/Users/dblevins/work/tckfun/glassfish6/glassfish/nativelib /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/bin/java -Dcts.tmp=/Users/dblevins/work/apache/tomee-tck-ee91/./target/harnesstmp/ -Djava.protocol.handler.pkgs=javax.net.ssl -Djavax.net.ssl.keyStore=/Users/dblevins/work/apache/tomee-tck-ee91/./src/test/keystores/clientcert.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/Users/dblevins/work/apache/tomee-tck-ee91/./src/test/keystores/ssl-truststore -Djavax.net.ssl.trustStorePassword=changeit -Djava.endorsed.dirs=/Users/dblevins/work/tckfun/glassfish6/glassfish/modules/endorsed:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/endorsedlib -Dcom.sun.aas.installRoot=/Users/dblevins/work/tckfun/glassfish6/glassfish -Dcatalina.base=target/apache-tomee-plume-9.0.0-M7-SNAPSHOT -Dlog.file.location=/Users/dblevins/work/apache/tomee-tck-ee91/./target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/logs -Dservlet.is.jsr115.compatible=false -Dprovider.configuration.file=/Users/dblevins/work/apache/tomee-tck-ee91/./target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/conf/ProviderConfiguration.xml -Dlogical.hostname.servlet=Catalina/localhost -Dcom.sun.aas.configRoot=/Users/dblevins/work/tckfun/glassfish6/glassfish/config -Ddeliverable.class=com.sun.ts.lib.deliverable.cts.CTSDeliverable -Dopenejb.validation.output.level=3 com.sun.ts.tests.servlet.spec.defaultcontextpath.URLClient -p /Users/dblevins/work/apache/tomee-tck-ee91/./target/harnesstmp//tmp/tstest.jte -t getDefaultContextPathTest
      ************************************************************
      * props file set to "/var/folders/bd/f9ntqy1m8xj_fs006s6crtjh0000gn/T/dblevins-cts-props.txt"
      ************************************************************
      04-11-2021 21:04:08:  TRACE: #######  Value of harness.socket.retry.count is "10"
      04-11-2021 21:04:08:  TRACE: #######  Value of harness.log.port is "55498"
      04-11-2021 21:04:08:  TRACE: #######  Actual bind value of harness.log.port is "55498"
      04-11-2021 21:04:08:  TRACE: *** in EETest.run(argv,p)
      04-11-2021 21:04:08:  TRACE: TESTCLASS=com.sun.ts.tests.servlet.spec.defaultcontextpath.URLClient
      04-11-2021 21:04:08:  TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.servlet.spec.defaultcontextpath.URLClient
      04-11-2021 21:04:08:  TRACE: ** IN getRunMethod: testname=getDefaultContextPathTest
      04-11-2021 21:04:08:  TRACE: ** GOT RUN METHOD!
      04-11-2021 21:04:08:  TRACE: **runmethod=getDefaultContextPathTest
      04-11-2021 21:04:08:  TRACE: ABOUT TO GET SETUP METHOD!
      04-11-2021 21:04:08:  TRACE: No setupMethod annotation present
      04-11-2021 21:04:08:  TRACE: getSetupMethod - checking for testcase specific setup method:  getDefaultContextPathTest_setup
      04-11-2021 21:04:08:  TRACE: getSetupMethod - checking for default class specific setup method
      04-11-2021 21:04:08:  TRACE: GOT SETUP METHOD!
      04-11-2021 21:04:08:  TRACE: No cleanupMethod annotation present
      04-11-2021 21:04:08:  TRACE: getCleanupMethod - checking for testcase specific cleanup method:  getDefaultContextPathTest_cleanup
      04-11-2021 21:04:08:  TRACE: getCleanupMethod - checking for default class specific cleanup method
      04-11-2021 21:04:08:  TRACE: GOT CLEANUP METHOD!
      04-11-2021 21:04:08:  TRACE: ABOUT TO INVOKE SETUP METHOD!
      04-11-2021 21:04:08:  [BaseUrlClient] Test setup OK
      REQUEST LINE: GET /defaultContextPath/TestServlet?testname=getDefaultContextPathTest HTTP/1.1
      04-11-2021 21:04:08:  TRACE: INVOKED SETUP METHOD!
      04-11-2021 21:04:08:  TRACE: ABOUT TO INVOKE EETEST RUN METHOD!
      04-11-2021 21:04:08:  TRACE: [BaseUrlClient] EXECUTING
      04-11-2021 21:04:08:  [HttpRequest] Dispatching request: 'GET /defaultContextPath/TestServlet?testname=getDefaultContextPathTest HTTP/1.1' to target server at 'localhost:55492'
      04-11-2021 21:04:08:  TRACE: ########## The real value set: false
      04-11-2021 21:04:08:  TRACE: [WIRE] - >> "GET /defaultContextPath/TestServlet?testname=getDefaultContextPathTest HTTP/1.1[\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - >> "Host: localhost:55492[\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - >> "[\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - << "HTTP/1.1 404 [\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - << "HTTP/1.1 404 [\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - << "Content-Type: text/html;charset=utf-8[\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - << "Content-Language: en[\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - << "Content-Length: 710[\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - << "Date: Mon, 12 Apr 2021 04:04:07 GMT[\r][\n]"
      04-11-2021 21:04:08:  TRACE: [WIRE] - << "[\r][\n]"
      04-11-2021 21:04:08:  ERROR: [WebValidatorBase] Unexpected 404 received from target server!  Request path: /defaultContextPath/TestServlet
      04-11-2021 21:04:08:  ERROR: Test case throws exception: [BaseUrlClient] getDefaultContextPathTest failed! Check output for cause of failure.
      04-11-2021 21:04:08:  ERROR: Exception at:  
      04-11-2021 21:04:08:  ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
      	at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:178)
      	at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:456)
      	at com.sun.ts.tests.servlet.spec.defaultcontextpath.URLClient.getDefaultContextPathTest(URLClient.java:65)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
      	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
      	at com.sun.ts.lib.harness.EETest.run(EETest.java:337)
      	at com.sun.ts.tests.servlet.spec.defaultcontextpath.URLClient.run(URLClient.java:47)
      	at com.sun.ts.tests.servlet.spec.defaultcontextpath.URLClient.main(URLClient.java:33)
      
      04-11-2021 21:04:08:  [BaseUrlClient] Test cleanup OK
      STATUS:Failed.Test case throws exception: [BaseUrlClient] getDefaultContextPathTest failed! Check output for cause of failure.
      Failed. Test case throws exception: [BaseUrlClient] getDefaultContextPathTest failed! Check output for cause of failure.
      ********************************************************************************
      Finished Test:  FAILED........com/sun/ts/tests/servlet/spec/defaultcontextpath/URLClient.java#getDefaultContextPathTest
      

      For tips on debugging/fixing tests, see https://github.com/apache/tomee-tck/blob/master/DEBUGGING.adoc

      If you have any thoughts about what the test is expecting/testing, please add them to the comments.

      Attachments

        Activity

          People

            jlmonteiro Jean-Louis Monteiro
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: