ForgeRock / openam-community-edition

Access Management - AuthN, AuthZ, SSO, Fedaration
https://forgerock.github.io/openam-community-edition/
123 stars 60 forks source link

SSO Error - HTTP Status 500 - AMSetupFilter.doFilter #33

Closed JarredAxsen closed 7 years ago

JarredAxsen commented 7 years ago

After creating an SSO setup, and after the user logs in, instead of being redirected to the correct site they are given this error. I have rolled back to older java versions trying to see if this method was removed somewhere in Java 7's life.

We have tried with Java 1.7.0.10 and Java 1.7.0.80. We are using Tomcat 7. We installed using the downloaded war file. We are sure everything is configured correctly and have tried this 3 times on 3 different machines, all with the same result.

Anyone have any insight into how to fix this?

javax.servlet.ServletException: AMSetupFilter.doFilter com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:136) org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoSuchMethodError: com.sun.org.apache.xml.internal.security.utils.Constants.setSignatureSpecNSprefix(Ljava/lang/String;)V org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:556) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:462) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44) com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:100)

JarredAxsen commented 7 years ago

My tomcat JAVA_HOME path was bad