Skip to Content.
Sympa Menu

shibboleth-dev - Re: IdP 2: Next try ...

Subject: Shibboleth Developers

List archive

Re: IdP 2: Next try ...


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: IdP 2: Next try ...
  • Date: Mon, 07 Jan 2008 11:27:48 +0100
  • Organization: SWITCH

Well, I don't think RC1 is going to fix the problem you're seeing. It's not in our code, it's a missing method exception on Xalan. The only time I've seen that is when a modestly older (2-3 years) version hanging around.

The only thing I can think of, that I changed, that is even remotely related to this is a parser feature. In the IdP's internal.xml file, comment out the <property name="builderFeatures"> element and try a restart.

Franck Borel wrote:
Hmm... the error looks like you don't have all of Xalan endorsed, or if you do, maybe it's an older version. Certainly nothing in our code is going to cause missing method exceptions inside of the Xalan code.

Nope, I use the endorsed Xalan libraries included in the shib dist after checkout svn:

xalan-2.7.1.jar
xalan-2.7.1-serializer.jar
xerces-2.9.1-xercesImpl.jar
xerces-2.9.1-xml-apis.jar

seems to be the last ones...
But don't worry about it, I wait for RC1...


-- Franck


Franck Borel wrote:


Franck Borel schrieb:
> Hi Chad,
>
> I take a next try to install the IdP 2. But I get similar errors like
> last friday.

Error log: idp-proccess.log
===========================

11:02:02.592 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.OpensamlConfig' defined in URL [file:/opt/shibboleth-idp/conf/internal.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.xml.serializer.Encodings.isRecognizedEncoding(Ljava/lang/String;)Z
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1362)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:413)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:251)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: org.apache.xml.serializer.Encodings.isRecognizedEncoding(Ljava/lang/String;)Z
at org.apache.xml.serializer.dom3.LSSerializerImpl.write(LSSerializerImpl.java:926)
at org.opensaml.xml.util.XMLHelper.writeNode(XMLHelper.java:796)
at org.opensaml.xml.util.XMLHelper.nodeToString(XMLHelper.java:751)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:141)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:125)
at org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:135)
at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:75)
at edu.internet2.middleware.shibboleth.common.config.OpensamlConfigBean.afterPropertiesSet(OpensamlConfigBean.java:50)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1390)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359)
... 30 common frames omitted
--
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