Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Open SAML 2 Libaries

Subject: OpenSAML user discussion

List archive

Re: Open SAML 2 Libaries


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: Open SAML 2 Libaries
  • Date: Wed, 09 Jan 2008 08:08:33 +0100
  • Organization: SWITCH

Yes, as Scott said, that's the error you get when Xercers and Xalan are not endorsed. The stack trace specifically indicates that its using Sun's parser: "com.sun.org.apache.xerces.internal..."

Peter Gambino wrote:
I’m having an issue getting my code working with the Open SAML2 Libraries. It seems to be failing out when the Bootstrap Classes initialized the XMLTooling Libraries. Following is the debug Statement. I think this may be related to endorsed jars however I’ve followed the instructions from OpenSAML1 libraries and can’t seem to get this working. I’m certain the Xalan and Xerces Jars are in my endorsed folder for JBoss.

(FYI… I’ve validated the Config File against the Schema Manually and it works fine. One change I tried to get it to validate was to change the original reference to the schema from ../../src/schema/xmltooling-config.xsd to ./schema/xmltooling-condig.xsd, and it didn’t make a difference)



Any ideas would be much appreciated.


2008-01-08 15:41:53,324 DEBUG [org.opensaml.xml.Configuration] VM using JAXP parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

2008-01-08 15:41:53,528 DEBUG [org.opensaml.xml.Configuration] VM using JAXP parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

2008-01-08 15:41:53,653 DEBUG [org.opensaml.DefaultBootstrap] Loading XMLTooling configuration /default-config.xml

2008-01-08 15:41:53,731 DEBUG [org.opensaml.xml.XMLConfigurator] Loading configuration from XML Document

2008-01-08 15:41:53,793 DEBUG [org.opensaml.xml.XMLConfigurator]

<?xml version="1.0" encoding="UTF-8"?>

<XMLTooling xmlns="http://www.opensaml.org/xmltooling-config"; xmlns:ds="http://www.w3.org/2000/09/xmldsig#"; xmlns:saml1p="urn:oasis:names:tc:SAML:1.0:protocol" xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xt="http://www.opensaml.org/xmltooling-config"; xsi:schemaLocation="http://www.opensaml.org/xmltooling-config ./schema/xmltooling-config.xsd"><ObjectProviders><ObjectProvider qualifiedName="xt:DEFAULT"><BuilderClass className="org.opensaml.xml.ElementProxyBuilder"/><MarshallingClass className="org.opensaml.xml.ElementProxyMarshaller"/><UnmarshallingClass className="org.opensaml.xml.ElementProxyUnmarshaller"/></ObjectProvider></ObjectProviders></XMLTooling>

2008-01-08 15:41:53,793 DEBUG [org.opensaml.xml.XMLConfigurator] Schema validating configuration Document

2008-01-08 15:41:53,809 ERROR [STDERR] ERROR: 'UndeclaredPrefix: Cannot resolve 'xt:DEFAULT' as a QName: the prefix 'xt' is not declared.'

2008-01-08 15:41:53,809 ERROR [org.opensaml.xml.XMLConfigurator] Configuration file does not validate against schema

org.xml.sax.SAXParseException: UndeclaredPrefix: Cannot resolve 'xt:DEFAULT' as a QName: the prefix 'xt' is not declared.

at com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException(Util.java:109)

at com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdaptor.error(ErrorHandlerAdaptor.java:104)

at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)

at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)

at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429)

at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185)

at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processOneAttribute(XMLSchemaValidator.java:2799)

at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processAttributes(XMLSchemaValidator.java:2735)

at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2094)

at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)

at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:335)

at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:205)

at com.sun.org.apache.xml.internal.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:291)

at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.startElement(ToXMLSAXHandler.java:646)

at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.startElement(ToXMLSAXHandler.java:501)

at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:138)

at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:215)

at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:215)

at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:215)

at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:121)

at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:85)

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:596)

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:642)

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:281)

at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.process(ValidatorImpl.java:220)

at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:141)

at javax.xml.validation.Validator.validate(Validator.java:82)

at org.opensaml.xml.XMLConfigurator.validateConfiguration(XMLConfigurator.java:388)

at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:156)

at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:129)

at org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:134)

at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:67)

at net.clareitysecurity.websso.sp.RecvResponse.<init>(RecvResponse.java:134)

at com.kronos.wfc.kss.logon.SAMLSSOPlugin.process(SAMLSSOPlugin.java:233)

at com.kronos.wfc.kss.logon.SAMLSSOPlugin.process(SAMLSSOPlugin.java:202)

at com.kronos.wfc.platform.security.business.authentication.WFPAuthenticationService.authenticate(WFPAuthenticationService.java:1525)

at com.kronos.wfc.platform.security.business.authentication.WFPAuthenticationService.authenticateHTTPRequest(WFPAuthenticationService.java:1099)

at com.kronos.wfc.platform.security.business.authentication.WFPAuthenticationService.authenticateSSORequest(WFPAuthenticationService.java:985)

at com.kronos.wfc.platform.security.business.authentication.filters.WFPAuthenticationFilter.doFilter(WFPAuthenticationFilter.java:221)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at com.kronos.wfc.platform.security.business.authentication.filters.WFPSystemOnlyFilter.doFilter(WFPSystemOnlyFilter.java:127)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at com.kronos.wfc.platform.security.business.authentication.filters.WFPLoggingFilter.doFilter(WFPLoggingFilter.java:151)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at com.kronos.wfc.platform.security.business.authentication.filters.WFPContentTypeFilter.doFilter(WFPContentTypeFilter.java:310)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at com.kronos.wfc.platform.security.business.authentication.filters.WFPPageCachingFilter.doFilter(WFPPageCachingFilter.java:178)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at com.kronos.wfc.platform.security.business.authentication.filters.WFPSessionManagementFilter.doFilter(WFPSessionManagementFilter.java:122)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at com.kronos.wfc.platform.security.business.authentication.filters.WFPSystemInitializationFilter.doFilter(WFPSystemInitializationFilter.java:143)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)

at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)

at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)

at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)

at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)

at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

at java.lang.Thread.run(Thread.java:595)

2008-01-08 15:41:54,387 DEBUG [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for tlds in: file:/D:/Kronos/jboss/server/wfc/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar


--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch




Archive powered by MHonArc 2.6.16.

Top of Page