[JBoss JIRA] (ELY-2023) Elytron ClientCertAuthenticationMechanism does not work when using a web proxy
by Ricardo Martin Camarero (Jira)
Ricardo Martin Camarero created ELY-2023:
--------------------------------------------
Summary: Elytron ClientCertAuthenticationMechanism does not work when using a web proxy
Key: ELY-2023
URL: https://issues.redhat.com/browse/ELY-2023
Project: WildFly Elytron
Issue Type: Bug
Components: Authentication Server
Affects Versions: 1.10.9.Final
Reporter: Ricardo Martin Camarero
Assignee: Ricardo Martin Camarero
When configuring a certificate login setup with elytron it doesn't work if the certificate is sent using the {{certificate-forwarding}} and {{proxy-address-forwarding}}. When there is an web proxy in front of the EAP server and forwarding is activated the following exception is received:
{noformat}
2020-09-14 16:46:37,998 TRACE [org.wildfly.security] (default task-1) CLIENT_CERT: org.wildfly.security.http.HttpAuthenticationException: ELY05053: Callback handler failed for unknown reason
at org.wildfly.security.mechanism._private.MechanismUtil.handleCallbacks(MechanismUtil.java:160)
at org.wildfly.security.http.cert.ClientCertAuthenticationMechanism.attemptAuthentication(ClientCertAuthenticationMechanism.java:151)
at org.wildfly.security.http.cert.ClientCertAuthenticationMechanism.evaluateRequest(ClientCertAuthenticationMechanism.java:94)
at org.wildfly.security.http.util.SetMechanismInformationMechanismFactory$1.evaluateRequest(SetMechanismInformationMechanismFactory.java:119)
at org.wildfly.security.auth.server.SecurityIdentityServerMechanismFactory$1.evaluateRequest(SecurityIdentityServerMechanismFactory.java:85)
at org.wildfly.security.http.HttpAuthenticator$AuthenticationExchange.authenticate(HttpAuthenticator.java:270)
at org.wildfly.security.http.HttpAuthenticator$AuthenticationExchange.access$800(HttpAuthenticator.java:249)
at org.wildfly.security.http.HttpAuthenticator.authenticate(HttpAuthenticator.java:97)
at org.wildfly.elytron.web.undertow.server.SecurityContextImpl.authenticate(SecurityContextImpl.java:96)
...
Caused by: java.lang.IllegalStateException: ELY01000: Authentication name was already set on this context
at org.wildfly.security.auth.server.ServerAuthenticationContext$NameAssignedState.setPrincipal(ServerAuthenticationContext.java:2025)
at org.wildfly.security.auth.server.ServerAuthenticationContext.setAuthenticationPrincipal(ServerAuthenticationContext.java:409)
at org.wildfly.security.auth.server.ServerAuthenticationContext.setAuthenticationName(ServerAuthenticationContext.java:383)
at org.wildfly.security.auth.server.ServerAuthenticationContext.setAuthenticationName(ServerAuthenticationContext.java:367)
at org.wildfly.security.auth.server.ServerAuthenticationContext$1.handleOne(ServerAuthenticationContext.java:870)
at org.wildfly.security.auth.server.ServerAuthenticationContext$1.handle(ServerAuthenticationContext.java:851)
at org.wildfly.security.auth.server.SecurityIdentityServerMechanismFactory$SecurityIdentityCallbackHandler.handle(SecurityIdentityServerMechanismFactory.java:121)
at org.wildfly.security.mechanism._private.MechanismUtil.handleCallbacks(MechanismUtil.java:156)
... 44 more
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13875) Resolve missing dependency jboss.naming.context.java.jboss.DefaultJMSConnectionFactory
by Scott Marlow (Jira)
Scott Marlow created WFLY-13875:
-----------------------------------
Summary: Resolve missing dependency jboss.naming.context.java.jboss.DefaultJMSConnectionFactory
Key: WFLY-13875
URL: https://issues.redhat.com/browse/WFLY-13875
Project: WildFly
Issue Type: Sub-task
Components: JMS
Reporter: Scott Marlow
Assignee: Emmanuel Hugonnet
server.log output from running Jakarta EE 9 Platform TCK JACC tests against Brian's WildFly ee-9 branch:
{code}
020-09-15 15:48:46,120 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "greenmail-jboss-service.sar")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.DefaultJMSConnectionFactory"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.\"greenmail-jboss-service.sar\".\"greenmail-jboss-service.sar\".DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]
}
...
2020-09-15 15:49:21,610 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jacc_util.ear")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.DefaultJMSConnectionFactory"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.jacc_util.jacc_util_web.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]
}
...
2020-09-15 15:49:27,418 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jacc_ejb_methodperm.ear")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.DefaultJMSConnectionFactory"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.naming.context.java.module.jacc_ejb_methodperm.jacc_ejb_methodperm_ejb.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]",
"jboss.naming.context.java.module.jacc_ejb_methodperm.jacc_ejb_methodperm_client.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]",
"jboss.naming.context.java.comp.jacc_ejb_methodperm.jacc_ejb_methodperm_ejb.jacc_ejb_methodperm_MethodPermBean.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"
]
}
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13837) Undertow WebParsingDeploymentProcessor needs to also handle Jakarta EE 9 web-app_5_0.xsd
by Scott Marlow (Jira)
[ https://issues.redhat.com/browse/WFLY-13837?page=com.atlassian.jira.plugi... ]
Scott Marlow updated WFLY-13837:
--------------------------------
Summary: Undertow WebParsingDeploymentProcessor needs to also handle Jakarta EE 9 web-app_5_0.xsd (was: Undertow WebParsingDeploymentProcessor )
> Undertow WebParsingDeploymentProcessor needs to also handle Jakarta EE 9 web-app_5_0.xsd
> ----------------------------------------------------------------------------------------
>
> Key: WFLY-13837
> URL: https://issues.redhat.com/browse/WFLY-13837
> Project: WildFly
> Issue Type: Sub-task
> Components: EE
> Reporter: Scott Marlow
> Assignee: Flavia Rainone
> Priority: Major
> Labels: EE9
>
> I'm not exactly sure yet where the reference to "DTD Web Application 2.2" is coming from in the follow deployment error that occurring during JSP TCK testing:
> {quote}
> 2020-09-09 16:48:42,512 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "jsp_arrayelresolver_web.war" (runtime-name: "jsp_arrayelresolver_web.war")
> 2020-09-09 16:48:42,625 ERROR [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN: org.xml.sax.SAXParseException; systemId: file:///mnt/hudson_workspace/customWorkspaceName/wildfly/bin/-//Sun%20Microsystems,%20Inc.//DTD%20Web%20Application%202.2//EN; lineNumber: 81; columnNumber: 3; The markup in the document preceding the root element must be well-formed.
> at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:201)
> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:175)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:398)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:282)
> at org.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1496)
> at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:784)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:623)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:679)
> at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(SchemaDOMParser.java:527)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2168)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:558)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:580)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:547)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:513)
> at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(XMLSchemaFactory.java:234)
> at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:638) [rt.jar:1.8.0_191]
> at __redirected.__SchemaFactory.newSchema(__SchemaFactory.java:115) [jboss-modules.jar:1.10.2.Final]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.getSchemaForLocation(XMLSchemaValidator.java:117) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.validate(XMLSchemaValidator.java:85) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.wildfly.extension.undertow.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:117)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_191]
> 2020-09-09 16:48:42,631 WARN [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=tsharness, specificationVersion=1.4, title=tsharness] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=cts, specificationVersion=1.4, title=cts] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:43,243 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jsp_arrayelresolver_web.war")]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.DefaultJMSConnectionFactory"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.jsp_arrayelresolver_web.jsp_arrayelresolver_web.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]
> {quote}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13837) Undertow WebParsingDeploymentProcessor#deploy needs to also handle Jakarta EE 9 web-app_5_0.xsd
by Scott Marlow (Jira)
[ https://issues.redhat.com/browse/WFLY-13837?page=com.atlassian.jira.plugi... ]
Scott Marlow updated WFLY-13837:
--------------------------------
Summary: Undertow WebParsingDeploymentProcessor#deploy needs to also handle Jakarta EE 9 web-app_5_0.xsd (was: Undertow WebParsingDeploymentProcessor needs to also handle Jakarta EE 9 web-app_5_0.xsd)
> Undertow WebParsingDeploymentProcessor#deploy needs to also handle Jakarta EE 9 web-app_5_0.xsd
> -----------------------------------------------------------------------------------------------
>
> Key: WFLY-13837
> URL: https://issues.redhat.com/browse/WFLY-13837
> Project: WildFly
> Issue Type: Sub-task
> Components: EE
> Reporter: Scott Marlow
> Assignee: Flavia Rainone
> Priority: Major
> Labels: EE9
>
> I'm not exactly sure yet where the reference to "DTD Web Application 2.2" is coming from in the follow deployment error that occurring during JSP TCK testing:
> {quote}
> 2020-09-09 16:48:42,512 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "jsp_arrayelresolver_web.war" (runtime-name: "jsp_arrayelresolver_web.war")
> 2020-09-09 16:48:42,625 ERROR [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN: org.xml.sax.SAXParseException; systemId: file:///mnt/hudson_workspace/customWorkspaceName/wildfly/bin/-//Sun%20Microsystems,%20Inc.//DTD%20Web%20Application%202.2//EN; lineNumber: 81; columnNumber: 3; The markup in the document preceding the root element must be well-formed.
> at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:201)
> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:175)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:398)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:282)
> at org.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1496)
> at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:784)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:623)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:679)
> at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(SchemaDOMParser.java:527)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2168)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:558)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:580)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:547)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:513)
> at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(XMLSchemaFactory.java:234)
> at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:638) [rt.jar:1.8.0_191]
> at __redirected.__SchemaFactory.newSchema(__SchemaFactory.java:115) [jboss-modules.jar:1.10.2.Final]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.getSchemaForLocation(XMLSchemaValidator.java:117) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.validate(XMLSchemaValidator.java:85) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.wildfly.extension.undertow.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:117)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_191]
> 2020-09-09 16:48:42,631 WARN [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=tsharness, specificationVersion=1.4, title=tsharness] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=cts, specificationVersion=1.4, title=cts] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:43,243 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jsp_arrayelresolver_web.war")]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.DefaultJMSConnectionFactory"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.jsp_arrayelresolver_web.jsp_arrayelresolver_web.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]
> {quote}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13837) Investigate JSP (Jakarta EE 9 Platform) TCK failures
by Scott Marlow (Jira)
[ https://issues.redhat.com/browse/WFLY-13837?page=com.atlassian.jira.plugi... ]
Scott Marlow reassigned WFLY-13837:
-----------------------------------
Assignee: Flavia Rainone (was: Scott Marlow)
> Investigate JSP (Jakarta EE 9 Platform) TCK failures
> ----------------------------------------------------
>
> Key: WFLY-13837
> URL: https://issues.redhat.com/browse/WFLY-13837
> Project: WildFly
> Issue Type: Sub-task
> Components: EE
> Reporter: Scott Marlow
> Assignee: Flavia Rainone
> Priority: Major
> Labels: EE9
>
> I'm not exactly sure yet where the reference to "DTD Web Application 2.2" is coming from in the follow deployment error that occurring during JSP TCK testing:
> {quote}
> 2020-09-09 16:48:42,512 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "jsp_arrayelresolver_web.war" (runtime-name: "jsp_arrayelresolver_web.war")
> 2020-09-09 16:48:42,625 ERROR [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN: org.xml.sax.SAXParseException; systemId: file:///mnt/hudson_workspace/customWorkspaceName/wildfly/bin/-//Sun%20Microsystems,%20Inc.//DTD%20Web%20Application%202.2//EN; lineNumber: 81; columnNumber: 3; The markup in the document preceding the root element must be well-formed.
> at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:201)
> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:175)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:398)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:282)
> at org.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1496)
> at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:784)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:623)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:679)
> at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(SchemaDOMParser.java:527)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2168)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:558)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:580)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:547)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:513)
> at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(XMLSchemaFactory.java:234)
> at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:638) [rt.jar:1.8.0_191]
> at __redirected.__SchemaFactory.newSchema(__SchemaFactory.java:115) [jboss-modules.jar:1.10.2.Final]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.getSchemaForLocation(XMLSchemaValidator.java:117) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.validate(XMLSchemaValidator.java:85) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.wildfly.extension.undertow.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:117)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_191]
> 2020-09-09 16:48:42,631 WARN [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=tsharness, specificationVersion=1.4, title=tsharness] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=cts, specificationVersion=1.4, title=cts] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:43,243 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jsp_arrayelresolver_web.war")]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.DefaultJMSConnectionFactory"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.jsp_arrayelresolver_web.jsp_arrayelresolver_web.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]
> {quote}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13837) Undertow WebParsingDeploymentProcessor
by Scott Marlow (Jira)
[ https://issues.redhat.com/browse/WFLY-13837?page=com.atlassian.jira.plugi... ]
Scott Marlow updated WFLY-13837:
--------------------------------
Summary: Undertow WebParsingDeploymentProcessor (was: Investigate JSP (Jakarta EE 9 Platform) TCK failures)
> Undertow WebParsingDeploymentProcessor
> ---------------------------------------
>
> Key: WFLY-13837
> URL: https://issues.redhat.com/browse/WFLY-13837
> Project: WildFly
> Issue Type: Sub-task
> Components: EE
> Reporter: Scott Marlow
> Assignee: Flavia Rainone
> Priority: Major
> Labels: EE9
>
> I'm not exactly sure yet where the reference to "DTD Web Application 2.2" is coming from in the follow deployment error that occurring during JSP TCK testing:
> {quote}
> 2020-09-09 16:48:42,512 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "jsp_arrayelresolver_web.war" (runtime-name: "jsp_arrayelresolver_web.war")
> 2020-09-09 16:48:42,625 ERROR [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN: org.xml.sax.SAXParseException; systemId: file:///mnt/hudson_workspace/customWorkspaceName/wildfly/bin/-//Sun%20Microsystems,%20Inc.//DTD%20Web%20Application%202.2//EN; lineNumber: 81; columnNumber: 3; The markup in the document preceding the root element must be well-formed.
> at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:201)
> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:175)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:398)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:282)
> at org.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1496)
> at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:784)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:623)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:679)
> at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(SchemaDOMParser.java:527)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2168)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:558)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:580)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:547)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:513)
> at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(XMLSchemaFactory.java:234)
> at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:638) [rt.jar:1.8.0_191]
> at __redirected.__SchemaFactory.newSchema(__SchemaFactory.java:115) [jboss-modules.jar:1.10.2.Final]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.getSchemaForLocation(XMLSchemaValidator.java:117) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.validate(XMLSchemaValidator.java:85) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.wildfly.extension.undertow.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:117)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_191]
> 2020-09-09 16:48:42,631 WARN [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=tsharness, specificationVersion=1.4, title=tsharness] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=cts, specificationVersion=1.4, title=cts] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:43,243 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jsp_arrayelresolver_web.war")]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.DefaultJMSConnectionFactory"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.jsp_arrayelresolver_web.jsp_arrayelresolver_web.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]
> {quote}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13837) Investigate JSP (Jakarta EE 9 Platform) TCK failures
by Scott Marlow (Jira)
[ https://issues.redhat.com/browse/WFLY-13837?page=com.atlassian.jira.plugi... ]
Scott Marlow commented on WFLY-13837:
-------------------------------------
[~brian.stansberry] yes, thanks! WebParsingDeploymentProcessor does not yet support the [web-app_5_0.xsd|https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd].
> Investigate JSP (Jakarta EE 9 Platform) TCK failures
> ----------------------------------------------------
>
> Key: WFLY-13837
> URL: https://issues.redhat.com/browse/WFLY-13837
> Project: WildFly
> Issue Type: Sub-task
> Components: EE
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Priority: Major
> Labels: EE9
>
> I'm not exactly sure yet where the reference to "DTD Web Application 2.2" is coming from in the follow deployment error that occurring during JSP TCK testing:
> {quote}
> 2020-09-09 16:48:42,512 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "jsp_arrayelresolver_web.war" (runtime-name: "jsp_arrayelresolver_web.war")
> 2020-09-09 16:48:42,625 ERROR [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN: org.xml.sax.SAXParseException; systemId: file:///mnt/hudson_workspace/customWorkspaceName/wildfly/bin/-//Sun%20Microsystems,%20Inc.//DTD%20Web%20Application%202.2//EN; lineNumber: 81; columnNumber: 3; The markup in the document preceding the root element must be well-formed.
> at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:201)
> at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:175)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:398)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:282)
> at org.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1496)
> at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:784)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:623)
> at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:679)
> at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(SchemaDOMParser.java:527)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2168)
> at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:558)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:580)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:547)
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:513)
> at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(XMLSchemaFactory.java:234)
> at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:638) [rt.jar:1.8.0_191]
> at __redirected.__SchemaFactory.newSchema(__SchemaFactory.java:115) [jboss-modules.jar:1.10.2.Final]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.getSchemaForLocation(XMLSchemaValidator.java:117) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.jboss.metadata.parser.util.XMLSchemaValidator.validate(XMLSchemaValidator.java:85) [jboss-metadata-common-14.0.0.Alpha1.jar:14.0.0.Alpha1]
> at org.wildfly.extension.undertow.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:117)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_191]
> 2020-09-09 16:48:42,631 WARN [org.jboss.metadata.parser.util.XMLSchemaValidator] (MSC service thread 1-1) Cannot get schema for location: -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=tsharness, specificationVersion=1.4, title=tsharness] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:42,896 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0047: Could not find Extension-List entry ExtensionListEntry [implementationVendorId=com.sun, implementationVersion=1.4, name=cts, specificationVersion=1.4, title=cts] referenced from ResourceRoot [root="/content/jsp_arrayelresolver_web.war"]
> 2020-09-09 16:48:43,243 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jsp_arrayelresolver_web.war")]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.DefaultJMSConnectionFactory"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.jsp_arrayelresolver_web.jsp_arrayelresolver_web.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]
> {quote}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months