java - Endorsed directory isn't working in Tomcat6 -
even though seems endorsed directory configured properly, keep getting following message.
opensaml requires xml parser supports jaxp 1.3 , dom3. jvm configured use sun xml parser, known buggy , can not used opensaml. please endorse functional jaxp library(ies) such xerces , xalan. instructions on how endorse new parser see http://java.sun.com/j2se/1.5.0/docs/guide/standards/index.html
in tomcat6.conf
have following:
catalina_opts = "... -djava.endorsed.dirs=/etc/tomcat6/endorsed ..."
in endorsed
folder, have following files:
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
i've restarted tomcat6, redeployed war file , keep getting aforementioned error message.
update 1
i ran following command jps -v
gave me this:
3786 jps -dapplication.home=/usr/java/jdk1.6.0_45 -xms8m
within web application print endorsed dirs out console
system.out.println("-djava.endorsed.dirs = " + system.getproperty("java.endorsed.dirs"));
check directory listed correctly , there no other locations adding conflicting jars.
Comments
Post a Comment