[keycloak-user] Error while loading the application
Pulkit Gupta
pulgupta at redhat.com
Thu Dec 15 05:12:25 EST 2016
Hi Bruno,
I am consistently able to reproduce the issue if I am using any version of
Xalan.
However if I exclude this transitive dependency then everything works fine.
I tried overriding the version of xalan to 2.7.2 but still getting the same
error.
*jar tf xxMyJarxx-SNAPSHOT.war | grep xalan*
*WEB-INF/lib/xalan-2.7.2.jar*
Not sure if I should open this as a bug with keycloak or there is some
other work around for this.
Regards,
Pulkit
On Tue, Dec 13, 2016 at 12:34 AM, Bruno Oliveira <bruno at abstractj.org>
wrote:
> What google told me was that is the problem[1]. But you said that nothing
> has changed, which is odd.
>
> If you restart the server everything returns back to normal? Do you have
> any idea about the steps to reproduce this issue?
>
>
> [1] - http://stackoverflow.com/questions/18493541/invalid-
> jaxp-api-when-unmarshaling-jaxb
>
> On 2016-12-09, Pulkit Gupta wrote:
> > Hi All,
> >
> > We are using Keycloak SAML adapters to authenticate our applications with
> > Keyclaok.
> > The setup was working fine and the applications were able to authenticate
> > the users.
> >
> > However since today we are getting the below error while loading the
> > application and this is resulting in a black page for the client.
> >
> > Can you please check in case anyone has seen this issue before. Is this
> > related to java versions as I have not changed anything in the
> environments
> > recently.
> >
> > 2016-12-09 08:08:08,875 [ajp-/10.7.24.224:8009-2] ERROR
> > [org.apache.catalina.connector] JBWEB001018: An exception or error
> occurred
> > in the container during the request processing:
> > java.lang.AbstractMethodError:
> > javax.xml.transform.TransformerFactory.setFeature(Ljava/lang/String;Z)V
> > at
> > __redirected.__TransformerFactory.setFeature(
> __TransformerFactory.java:161)
> > at
> > org.keycloak.saml.common.util.TransformerUtil.getTransformerFactory(
> TransformerUtil.java:113)
> > at
> > org.keycloak.saml.common.util.TransformerUtil.getTransformer(
> TransformerUtil.java:81)
> > at
> > org.keycloak.saml.common.util.DocumentUtil.getDocumentAsString(
> DocumentUtil.java:238)
> > at
> > org.keycloak.saml.common.util.DocumentUtil.asString(
> DocumentUtil.java:454)
> > at
> > org.keycloak.saml.processing.core.util.XMLSignatureUtil.
> sign(XMLSignatureUtil.java:340)
> > at
> > org.keycloak.saml.processing.api.saml.v2.sig.SAML2Signature.sign(
> SAML2Signature.java:143)
> > at
> > org.keycloak.saml.processing.api.saml.v2.sig.SAML2Signature.
> signSAMLDocument(SAML2Signature.java:160)
> > at
> > org.keycloak.saml.BaseSAML2BindingBuilder.signDocument(
> BaseSAML2BindingBuilder.java:266)
> > at
> > org.keycloak.saml.BaseSAML2BindingBuilder$BasePostBindingBuilder.<init>(
> BaseSAML2BindingBuilder.java:145)
> > at
> > org.keycloak.saml.BaseSAML2BindingBuilder.postBinding(
> BaseSAML2BindingBuilder.java:208)
> > at org.keycloak.adapters.saml.SamlUtil.sendSaml(SamlUtil.java:38)
> > at
> > org.keycloak.adapters.saml.profile.AbstractSamlAuthenticationHand
> ler$5.sendAuthnRequest(AbstractSamlAuthenticationHandler.java:463)
> > at
> > org.keycloak.adapters.saml.AbstractInitiateLogin.challenge(
> AbstractInitiateLogin.java:60)
> > at
> > org.keycloak.adapters.saml.AbstractSamlAuthenticatorValve
> .executeAuthenticator(AbstractSamlAuthenticatorValve.java:247)
> > at
> > org.keycloak.adapters.saml.AbstractSamlAuthenticatorValve
> .authenticateInternal(AbstractSamlAuthenticatorValve.java:222)
> > at
> > org.keycloak.adapters.saml.jbossweb.SamlAuthenticatorValve.authenticate(
> SamlAuthenticatorValve.java:41)
> > at
> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java:465)
> > at
> > org.keycloak.adapters.saml.AbstractSamlAuthenticatorValve.invoke(
> AbstractSamlAuthenticatorValve.java:184)
> > at
> > org.jboss.as.web.security.SecurityContextAssociationValve.invoke(
> SecurityContextAssociationValve.java:169)
> > at
> > org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:145)
> > at
> > org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:97)
> > at
> > org.jboss.as.web.sso.ClusteredSingleSignOn.invoke(
> ClusteredSingleSignOn.java:384)
> > at org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:559)
> > at
> > org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:102)
> > at com.redhat.container.UTF8Valve.invoke(UTF8Valve.java:26)
> > at
> > com.redhat.container.redirect.RedirectToInternalValve.invoke(
> RedirectToInternalValve.java:61)
> > at
> > org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:336)
> > at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:490)
> > at
> > org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(
> AjpProtocol.java:420)
> > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> JIoEndpoint.java:926)
> > at java.lang.Thread.run(Thread.java:745)
> >
> >
> > --
> > Thanks,
> > Pulkit
> > AMS
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>
> --
>
> abstractj
> PGP: 0x84DC9914
>
--
Thanks,
Pulkit
AMS
More information about the keycloak-user
mailing list