即使我的认可目录似乎配置正确,我仍然收到以下消息。
OpenSAML requires an xml parser that supports JAXP 1.3 and DOM3.
The JVM is currently configured to use the Sun XML parser, which is known
to be buggy and can not be used with OpenSAML. Please endorse a functional
JAXP library(ies) such as Xerces and Xalan. For instructions on how to endorse
a new parser see http://java.sun.com/j2se/1.5.0/docs/guide/standards/index.html
在我的tomcat6.conf
我有以下内容:
CATALINA_OPTS = "... -Djava.endorsed.dirs=/etc/tomcat6/endorsed ..."
在endorsed
文件夹中,我有以下文件:
resolver-2.9.1.jar xalan-2.7.1.jar xml-apis-2.9.1.jar
serializer-2.9.1.jar xercesImpl-2.9.1.jar
我重新启动了 Tomcat6,重新部署了我的 war 文件,并且不断收到上述错误消息。
更新 1
我运行了以下命令jps -v
,它给了我这个:
第3786章 -Dapplication.home=/usr/java/jdk1.6.0_45 -Xms8m