shibboleth-dev - SIDP-280 effect, java-idp/branches/REL_2@2833
Subject: Shibboleth Developers
List archive
- From: Peter Schober <>
- To:
- Subject: SIDP-280 effect, java-idp/branches/REL_2@2833
- Date: Wed, 4 Mar 2009 15:06:28 +0100
- Organization: Vienna University Computer Center
With this recent change (see below) my test IdP built from the REL_2
branch does not start anymore:
$ svn log --limit 1
./java-idp-main/java-idp/src/installer/resources/conf-tmpl/internal.xml
------------------------------------------------------------------------
r2833 | lajoie | 2009-03-02 19:12:20 +0100 (Mon, 02 Mar 2009) | 1 line
Remove reference to external schema file so that the IdP does not try
to contact SpringSource when it starts up - SIDP-280
My catalina.out had the following to offer (full stack attached, just
in case):
14:26:21.680 [main] ERROR o.s.web.context.ContextLoader - Context
initialization failed
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 4 in XML document from URL [file:/opt/shibboleth-idp//conf/internal.xml]
is invalid; nested
exception is org.xml.sax.SAXParseExceptio n: cvc-elt.1: Cannot find the
declaration of element 'beans'.
Simply re-adding the xsi:schemaLocation let's the IdP starts up ok.
I don't consider this related to issue SIDP-280 itself, only to the
fix, so I didn't attach this to jira. If (things like) this should
have gone to jira let me know.
-peter
--
- vienna university computer center
Universitaetsstrasse 7, A-1010 Wien, Austria/Europe
Tel. +43-1-4277-14155, Fax. +43-1-4277-9140
14:26:21.680 [main] ERROR o.s.web.context.ContextLoader - Context
initialization failed
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 4
in XML document from URL [file:/opt/shibboleth-idp//conf/internal.xml] is
invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot
find the declaration of element 'beans'.
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404)
[spring-beans-2.5.5.jar:2.5.5]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
[spring-beans-2.5.5.jar:2.5.5]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
[spring-beans-2.5.5.jar:2.5.5]
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
[spring-beans-2.5.5.jar:2.5.5]
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
[spring-beans-2.5.5.jar:2.5.5]
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
[spring-beans-2.5.5.jar:2.5.5]
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
[spring-web-2.5.5.jar:2.5.5]
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
[spring-web-2.5.5.jar:2.5.5]
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
[spring-context-2.5.5.jar:2.5.5]
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
[spring-context-2.5.5.jar:2.5.5]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
[spring-context-2.5.5.jar:2.5.5]
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
[spring-web-2.5.5.jar:2.5.5]
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
[spring-web-2.5.5.jar:2.5.5]
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
[spring-web-2.5.5.jar:2.5.5]
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
[catalina.jar:na]
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
[catalina.jar:na]
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
[catalina.jar:na]
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
[catalina.jar:na]
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
[catalina.jar:na]
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
[catalina.jar:na]
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
[catalina.jar:na]
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
[catalina.jar:na]
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
[catalina.jar:na]
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
[catalina.jar:na]
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
[catalina.jar:na]
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
[catalina.jar:na]
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
[catalina.jar:na]
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
[catalina.jar:na]
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
[catalina.jar:na]
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
[catalina.jar:na]
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
[catalina.jar:na]
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
[catalina.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[na:1.6.0_11]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[na:1.6.0_11]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[na:1.6.0_11]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11]
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
[bootstrap.jar:na]
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
[bootstrap.jar:na]
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the
declaration of element 'beans'.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source) [na:na]
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
[na:na]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source) [na:na]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source) [na:na]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source) [na:na]
at
org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown
Source) [na:na]
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown
Source) [na:na]
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source) [na:na]
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source) [na:na]
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source) [na:na]
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source) [na:na]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[na:na]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[na:na]
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [na:na]
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) [na:na]
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
[na:na]
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
[spring-beans-2.5.5.jar:2.5.5]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
[spring-beans-2.5.5.jar:2.5.5]
... 37 common frames omitted
- SIDP-280 effect, java-idp/branches/REL_2@2833, Peter Schober, 03/04/2009
Archive powered by MHonArc 2.6.16.