[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[upki-fed:295] Re: [upki-fed:293] Re: 接続テストにおけるエラー



京都産業大学の秋山です.

このエラーが出ることになった経緯がよくわからないのですが,NII
様のどこかのページの手順に従って作業されたのでしょうか?現在どのような情報を基にして作業を実施していて,元情報のどこまで作業が完了していて,現在の状況に至ったのかを説明していただけると,皆様からより良いアドバイスがいただけるのではないかと思います.

ちなみに,エラー自体は SAXParser が XML ファイルの構文解析時に構文に問題があることを指摘していて,おそらく xsi という
prefix の定義がないと言っているように見えます.

標準でインストールした shibboleth-idp の場合,
/opt/shibboleth-idp/conf/attribute-resolver.xml
のファイルの最初の方に以下のような記述(xmlns:xsi=...)があるはずですが,森田様のファイルにはありますか?

<?xml version="1.0" encoding="UTF-8"?>
<AttributeResolver xmlns="urn:mace:shibboleth:2.0:resolver"
  xmlns:resolver="urn:mace:shibboleth:2.0:resolver"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
...
(以下略)


2010年12月6日10:50  <xxx@xxxxxxxxxxxxxxxxxxxxx>:
> 森田です。
>
> jar ファイルを apache-tomcat-5.5.31 以下の common/endorsed にコピーしたとこ
> ろ、
> 症状事態は変わらなかったものの、idp-process.logが多少変わったのでまたお願い
> します。
>
> 18:33:04.263 - INFO
> [edu.internet2.middleware.shibboleth.common.config.BaseService:157] -
> Loading new configuration for service shibboleth.AttributeResolver
> 18:33:04.367 - ERROR
> [edu.internet2.middleware.shibboleth.common.config.BaseService:187] -
> Configuration was not loaded for shibboleth.AttributeResolver service,
> error creating components.  The root cause of this error was:
> org.xml.sax.SAXParseException: The prefix "xsi" for attribute
> "xsi:schemaLocation" associated with an element type "AttributeResolver"
> is not bound.
> 18:33:04.465 - ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[loc
> alhost].[/idp]:3799] - クラス org.springframework.web.context.ContextLoaderL
> istener のリスナインスタンスにコンテキスト初期化イベントを送信中の例外です
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'shibboleth.AttributeResolver': Invocation of init method
> failed; nested exception is
> edu.internet2.middleware.shibboleth.common.service.ServiceException:
> Configuration was not loaded for shibboleth.AttributeResolver service,
> error creating components.
>        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at java.security.AccessController.doPrivileged(Native Method)
> ~[na:1.6.0_22]
>        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> ~[spring-context-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
> ~[spring-context-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
> ~[spring-web-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
> ~[spring-web-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
> ~[spring-web-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
> [catalina.jar:na]
>        at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
> [catalina.jar:na]
>        at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
> [catalina.jar:na]
>        at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
> [catalina.jar:na]
>        at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
> [catalina.jar:na]
>        at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:884)
> [catalina.jar:na]
>        at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:737)
> [catalina.jar:na]
>        at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
> [catalina.jar:na]
>        at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
> [catalina.jar:na]
>        at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
> [catalina.jar:na]
>        at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
> [catalina.jar:na]
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
> [catalina.jar:na]
>        at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
> [catalina.jar:na]
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> [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:448)
> [catalina.jar:na]
>        at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
> [catalina.jar:na]
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> [catalina.jar:na]
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_22]
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_22]
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ~[na:1.6.0_22]
>        at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> [bootstrap.jar:na]
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> [bootstrap.jar:na]
> Caused by:
> edu.internet2.middleware.shibboleth.common.service.ServiceException:
> Configuration was not loaded for shibboleth.AttributeResolver service,
> error creating components.
>        at
> edu.internet2.middleware.shibboleth.common.config.BaseService.loadContext(BaseService.java:191)
> ~[shibboleth-common-1.2.0.jar:na]
>        at
> edu.internet2.middleware.shibboleth.common.config.BaseReloadableService.initialize(BaseReloadableService.java:147)
> ~[shibboleth-common-1.2.0.jar:na]
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_22]
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_22]
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ~[na:1.6.0_22]
>        at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
>        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        ... 39 common frames omitted
> Caused by: org.xml.sax.SAXParseException: The prefix "xsi" for attribute
> "xsi:schemaLocation" associated with an element type "AttributeResolver"
> is not bound.
>        at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source) ~[na:na]
>        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(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.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
> edu.internet2.middleware.shibboleth.common.config.SpringDocumentLoader.loadDocument(SpringDocumentLoader.java:55)
> ~[shibboleth-common-1.2.0.jar:na]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
>        at
> edu.internet2.middleware.shibboleth.common.config.SpringConfigurationUtils.populateRegistry(SpringConfigurationUtils.java:84)
> ~[shibboleth-common-1.2.0.jar:na]
>        at
> edu.internet2.middleware.shibboleth.common.config.BaseService.loadContext(BaseService.java:169)
> ~[shibboleth-common-1.2.0.jar:na]
>        ... 47 common frames omitted
>
>
> ===========================================
> 大阪教育大学 4回生
> 情報科学専攻 佐藤研究室
> 森田 亮
> ===========================================
>
>



-- 
Toyokazu AKIYAMA
Faculty of Computer Science and Engineering,
Kyoto Sangyo University
TEL/FAX: +81-75-705-1531