首页 > 解决方案 > LoggedInSessionBean 参考

问题描述

尝试使用 wso2 获取 travelocity.com 的 SAML,但由于此错误而无法显示 SAML 返回的声明:

HTTP Status 500 – Internal Server Error
Type Exception Report

Message javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
Exception

javax.servlet.ServletException: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
Root Cause

javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
`
Jar file xercesImpl-2.8.1.jar is in lib folder under travelocity.com application but seems it is not able to read it.  

I saw that in the runtime tomcat : HTTP Session created without LoggedInSessionBean and the page getting the 500 error is using this reference:  <%@ page import="org.wso2.carbon.identity.sso.agent.bean.LoggedInSessionBean" %>

任何线索为什么得到这个?

标签: wso2samlwso2is

解决方案


此处已报告了此类似问题,可以在将xercesimpl-2.8.1.jar复制到 tomcat 实例中的 /usr/share/tomcat7/lib 并重新启动 tomcat 服务器时解决。

请尝试jira中提到的解决方法


推荐阅读