wso2 - 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" %>
任何线索为什么得到这个?
解决方案
此处已报告了此类似问题,可以在将xercesimpl-2.8.1.jar复制到 tomcat 实例中的 /usr/share/tomcat7/lib 并重新启动 tomcat 服务器时解决。
请尝试jira中提到的解决方法
推荐阅读
- c# - c# - 如何将字节转换为短裤
- python - 从大表 pandas 中获取特定数据
- python-3.x - 如何创建自定义 skimage.future.graph.rag 作为 cut_normalized 和 ncut 的输入?
- php - 未捕获的 Symfony\Component\Debug\Exception\ClassNotFoundException:尝试从命名空间“UserBundle\UserBundle”加载类“Use rBundle”
- chapel - Chapel多语言环境程序中对语言环境间行分布的细粒度控制
- android - BottomSheet 图像选择器
- javascript - 根据 mysql 连接查询的结果过滤 v-for
- python - 如何在 Python 中使用正则表达式来提取字符串?
- python - 在不使用 len() 和 sort() 的情况下查找列表中的第三大元素
- javascript - Javascript - 使用布尔值显示表数据以追加或创建新表