Hi All,
I have created a bug for the same as we are now facing this for each
application having xalan on its classpath.
Please share your thoughts on the same.
Regards,
Pulkit
On Thu, Dec 15, 2016 at 3:42 PM, Pulkit Gupta <pulgupta(a)redhat.com> wrote:
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(a)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.getTransformer
> Factory(TransformerUtil.java:113)
> > at
> > org.keycloak.saml.common.util.TransformerUtil.getTransformer
> (TransformerUtil.java:81)
> > at
> > org.keycloak.saml.common.util.DocumentUtil.getDocumentAsStri
> ng(DocumentUtil.java:238)
> > at
> > org.keycloak.saml.common.util.DocumentUtil.asString(Document
> Util.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(BaseS
> AML2BindingBuilder.java:266)
> > at
> > org.keycloak.saml.BaseSAML2BindingBuilder$BasePostBindingBui
> lder.<init>(BaseSAML2BindingBuilder.java:145)
> > at
> > org.keycloak.saml.BaseSAML2BindingBuilder.postBinding(BaseSA
> ML2BindingBuilder.java:208)
> > at org.keycloak.adapters.saml.SamlUtil.sendSaml(SamlUtil.java:38)
> > at
> > org.keycloak.adapters.saml.profile.AbstractSamlAuthenticatio
> nHandler$5.sendAuthnRequest(AbstractSamlAuthenticationHandler.java:463)
> > at
> > org.keycloak.adapters.saml.AbstractInitiateLogin.challenge(A
> bstractInitiateLogin.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.a
> uthenticate(SamlAuthenticatorValve.java:41)
> > at
> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
> uthenticatorBase.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(StandardHo
> stValve.java:145)
> > at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:97)
> > at
> > org.jboss.as.web.sso.ClusteredSingleSignOn.invoke(ClusteredS
> ingleSignOn.java:384)
> > at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
> lve.java:559)
> > at
> > org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.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(CoyoteAd
> apter.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(JIoEndpoin
> t.java:926)
> > at java.lang.Thread.run(Thread.java:745)
> >
> >
> > --
> > Thanks,
> > Pulkit
> > AMS
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/keycloak-user
>
> --
>
> abstractj
> PGP: 0x84DC9914
>
--
Thanks,
Pulkit
AMS