Hi prasad,

      Following blog [1] will help you fix the issue. There is a comment
regarding the exception above with a way to resolve the issue.
[1]
http://sureshatt.blogspot.com/2012/11/how-to-read-saml-20-response-with.html

Regards



On Mon, Jul 7, 2014 at 9:46 AM, Prasad Tissera <pras...@wso2.com> wrote:

> Hi,
>
> I go the following exception when calling DefaultBootstrap.bootstrap()
> method from org.wso2.carbon.identity.sso.saml.util.SAMLSSOUtil. Do you have
> any idea?
>
> ERROR {org.wso2.carbon.identity.sso.saml.util.SAMLSSOUtil} -  Error in
> bootstrapping the OpenSAML2 library
> org.opensaml.xml.ConfigurationException: Unable to read XMLTooling
> configuration schema
>         at org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:98)
>         at org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:73)
>         at
> org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:182)
>         at
> org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:87)
>         at
> org.wso2.carbon.identity.sso.saml.util.SAMLSSOUtil.doBootstrap(SAMLSSOUtil.java:439)
>
> Caused by: org.xml.sax.SAXParseException: schema_reference.4: Failed to
> read schema document 'null', because 1) could not find the document; 2) the
> document could not be read; 3) the root element of the document is not
> <xsd:schema>.
>
> ERROR {org.wso2.carbon.identity.sso.saml.util.SAMLSSOUtil} -  Error in
> bootstrapping the OpenSAML2 library
> org.opensaml.xml.ConfigurationException: Unable to read XMLTooling
> configuration schema
>         at org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:98)
>         at org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:73)
>         at
> org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:182)
>         at
> org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:87)
>         at
> org.wso2.carbon.identity.sso.saml.util.SAMLSSOUtil.doBootstrap(SAMLSSOUtil.java:439)
>
>
> --
> Prasad Tissera
> Software Engineer.
> Mobile : +94777223444
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isura Dilhara Karunaratne
Software Engineer

Mob +94 772 254 810
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to