Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16430 Investigate TCK test failures in Jakarta Enterprise Beans 4.0.1
  3. WFLY-16446

com/sun/ts/tests/ejb30/lite/packaging/war/jsfenventry/JsfClient.java\#injectedIntoClient_from_ejblitejsf

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 27.0.0.Alpha2, 27.0.0.Final
    • None
    • EJB
    • None
    • ---
    • ---

      No valuable info in server.log.

      The following is from the client-side log:

      Jun 03, 2022 12:52:23 AM com.sun.ts.tests.common.vehicle.ejbliteshare.EJBLiteWebVehicleRunner run
      INFO: Connecting http://localhost:8080/ejblite_packaging_war_jsfenventry_ejblitejsf_vehicle_web/faces/ejblitejsf_vehicle.xhtml?testName=injectedIntoClient
      
          <head><title>injectedIntoClient_from_ejblitejsf</title></head>
          <body>
              [TEST FAILED] testName=injectedIntoClient 
      
      Expecting true, but actual falseFailed with exception 
      java.lang.RuntimeException: 
      
      Check myString from web.xml:  Got the expected result: web.xml ${java.home} 	
      
      Check myString from OneBean:  Got the expected result: OneBean ${java.home} 	
      
      Check myString from TwoBean:  Got the expected result: TwoBean ${java.home} 	
      
      Check myString from  ThreeBean:  Got the expected result: ThreeBean ${java.home} 	
      
      Check myChar from web.xml:  Got the expected result: 	
      
      Check myChar from OneBean:  Got the expected result: 	
      
      Check myChar from TwoBean:  Got the expected result:2	
      
      Check myChar from ThreeBean:  Got the expected result:3	
      
      Check myBooleanTrue2 from web.xml:  Expecting true, but actual false
      	at deployment.ejblite_packaging_war_jsfenventry_ejblitejsf_vehicle_web.war//com.sun.ts.tests.ejb30.common.helper.Helper.assertEquals(Helper.java:89)
      	at deployment.ejblite_packaging_war_jsfenventry_ejblitejsf_vehicle_web.war//com.sun.ts.tests.ejb30.common.lite.EJBLiteJsfClientBase.assertEquals(EJBLiteJsfClientBase.java:388)
      	at deployment.ejblite_packaging_war_jsfenventry_ejblitejsf_vehicle_web.war//com.sun.ts.tests.ejb30.lite.packaging.war.jsfenventry.JsfClient.verify(JsfClient.java:225)
      	at deployment.ejblite_packaging_war_jsfenventry_ejblitejsf_vehicle_web.war//com.sun.ts.tests.ejb30.lite.packaging.war.jsfenventry.JsfClient.injectedIntoClient(JsfClient.java:93)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at deployment.ejblite_packaging_war_jsfenventry_ejblitejsf_vehicle_web.war//com.sun.ts.tests.ejb30.common.lite.EJBLiteJsfClientBase.runTestInVehicle(EJBLiteJsfClientBase.java:249)
      	at deployment.ejblite_packaging_war_jsfenventry_ejblitejsf_vehicle_web.war//com.sun.ts.tests.ejb30.common.lite.EJBLiteJsfClientBase.getStatus(EJBLiteJsfClientBase.java:134)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at jakarta.el.api@4.0.0.Alpha1//jakarta.el.BeanELResolver.getValue(BeanELResolver.java:199)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:139)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:164)
      	at org.glassfish.expressly@5.0.0-M2//org.glassfish.expressly.parser.AstValue.getValue(AstValue.java:302)
      	at org.glassfish.expressly@5.0.0-M2//org.glassfish.expressly.parser.AstValue.getValue(AstValue.java:144)
      	at org.glassfish.expressly@5.0.0-M2//org.glassfish.expressly.ValueExpressionImpl.getValue(ValueExpressionImpl.java:138)
      	at org.jboss.weld.core@5.0.0.SP1//org.jboss.weld.module.web.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:213)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.facelets.el.ELText$ELTextComposite.writeText(ELText.java:124)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:44)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:42)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:159)
      	at jakarta.faces.api//jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1438)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:442)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:162)
      	at jakarta.faces.api//jakarta.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:125)
      	at jakarta.faces.api//jakarta.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:125)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:93)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.lifecycle.Phase.doPhase(Phase.java:72)
      	at com.sun.jsf-impl@4.0.0-M7.SP01//com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:178)
      	at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:692)
      	at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:449)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      	at org.wildfly.security.elytron-web.undertow-server@1.10.1.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
      	at org.wildfly.security.elytron-base//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
      	at org.wildfly.security.elytron-base//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
      	at org.wildfly.security.elytron-base//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
      	at org.wildfly.security.elytron-web.undertow-server@1.10.1.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      	at io.undertow.core@2.2.17.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.core@2.2.17.Final//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      	at io.undertow.core@2.2.17.Final//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      	at org.wildfly.security.elytron-web.undertow-server-servlet@2.0.0.Beta3//org.wildfly.elytron.web.undertow.server.servlet.CleanUpHandler.handleRequest(CleanUpHandler.java:38)
      	at io.undertow.core@2.2.17.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      	at io.undertow.core@2.2.17.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
      	at io.undertow.core@2.2.17.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
      	at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
      	at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
      	at org.wildfly.extension.undertow@27.0.0.Alpha2-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
      	at io.undertow.servlet@2.2.17.Final//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
      	at io.undertow.core@2.2.17.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
      	at io.undertow.core@2.2.17.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      	at org.jboss.xnio@3.8.7.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      
      
          </body>
      </html>
      

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: