fyi : java-idp-testbed with -Pendorsed fails
Rod Widdowson
rdw at steadingsoftware.com
Fri Apr 25 09:57:56 EDT 2014
> >An orthogonal question - My dev machine is in some manner screwed up in
> >that
> >I can only get the tests to pass by saying that I have endorsed Xerces.
>
> It doesn't actually require endorsement anymore.
Yes, I lied. What I actually meant was "setting idp.xml.securityManager to
be org.apache.xerces.util.SecurityManager". Since apparently my chosen
parser is Xerces...
> Which tests are failing?
I never get as far as running any tests. The setup fails:
Caused by: java.lang.IllegalArgumentException:
com.sun.org.apache.xerces.internal.util.SecurityManager cannot be cast to
org.apache.xerces.util.SecurityManager
When it tries to create the ParserPool.
I understand the cause, but I'm interested to know how what I have done to
select xerces. I'm assuming that it has got ahead of the sun implementation
in my classpath (DLL hell by another name).
It is not a big deal, it causes a few OpenSAML tests to fail in hash
calculations, but I'd like to understand what I did to make that happen....
/Rod
More information about the dev
mailing list