camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoran Regvart <>
Subject Re: Classloader error - org.apache.xerces.util.SecurityManager not found
Date Wed, 28 Jun 2017 18:32:22 GMT
Hi Alex,

On Wed, Jun 28, 2017 at 6:53 PM, albundy <> wrote:
> One more note regarding this though - ".. tries to setup a security feature
> of Xerces ... and it is only triggered if Xerces is present on the
> classpath". I don't have Xerces in the classpath and I did not see any "if"
> in XmlConverter.createDocumentBuilderFactory() so it seems that it always
> tries to load that SecurityManager class.. or did I miss something again?

ObjectHelper::loadClass delegates to ObjectHelper::doLoadClass[1] that
will return `null` if the class cannot be loaded, so that check: `if
(smClass != null)`[2] will guard in that situation,


Zoran Regvart

View raw message