[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[upki-fed:292] Re: [upki-fed:291] Re: 接続テストにおけるエラー
- Subject: [upki-fed:292] Re: [upki-fed:291] Re: 接続テストにおけるエラー
- Date: Fri, 3 Dec 2010 18:24:01 +0900
- From: Toyokazu Akiyama <xxxxxxx@xxxxxxxxxxxxxxxxxx>
京都産業大学の秋山と申します.
ざっとエラーログをみたところ,xerces のライブラリがインストールされていないように見えます.
Apache Tomcat がインストールされたディレクトリを /opt/apache-tomcat-5.5.31 とすると
/opt/shibboleth-idp/lib/endorsed
以下にある jar ファイルを ,
/opt/apache-tomcat-5.5.31/common/endorsed
以下にコピーして,tomcat を再起動したらうまく行くかもしれません.
# 流し読みなので間違ってたらすみません.
以上です.
2010年12月3日17:23 <xxx@xxxxxxxxxxxxxxxxxxxxx>:
> 森田です。ご助言、ありがとうございます。
> 以下が/opt/shibboleth-idp/logs/idp-process.logの中身になります。
> 少々長いですが、よろしくお願いします。
>
> 11:35:45.621 - 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.OpensamlConfig' defined in URL
> [file:/opt/shibboleth-idp/conf/internal.xml]: Cannot resolve reference to
> bean 'shibboleth.ParserPool' while setting bean property 'parserPool';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'shibboleth.ParserPool' defined in URL
> [file:/opt/shibboleth-idp/conf/internal.xml]: Cannot create inner bean
> 'shibboleth.XercesSecurityManager' of type
> [org.apache.xerces.util.SecurityManager] while setting bean property
> 'builderAttributes' with key [TypedStringValue: value
> [http://apache.org/xml/properties/security-manager], target type [null]];
> nested exception is
> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
> find class [org.apache.xerces.util.SecurityManager] for bean with name
> 'shibboleth.XercesSecurityManager' defined in URL
> [file:/opt/shibboleth-idp/conf/internal.xml]; nested exception is
> java.lang.ClassNotFoundException: org.apache.xerces.util.SecurityManager
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ~[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: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'shibboleth.ParserPool' defined in URL
> [file:/opt/shibboleth-idp/conf/internal.xml]: Cannot create inner bean
> 'shibboleth.XercesSecurityManager' of type
> [org.apache.xerces.util.SecurityManager] while setting bean property
> 'builderAttributes' with key [TypedStringValue: value
> [http://apache.org/xml/properties/security-manager], target type [null]];
> nested exception is
> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
> find class [org.apache.xerces.util.SecurityManager] for bean with name
> 'shibboleth.XercesSecurityManager' defined in URL
> [file:/opt/shibboleth-idp/conf/internal.xml]; nested exception is
> java.lang.ClassNotFoundException: org.apache.xerces.util.SecurityManager
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:320)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:134)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ~[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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> ... 42 common frames omitted
> Caused by: org.springframework.beans.factory.CannotLoadBeanClassException:
> Cannot find class [org.apache.xerces.util.SecurityManager] for bean with
> name 'shibboleth.XercesSecurityManager' defined in URL
> [file:/opt/shibboleth-idp/conf/internal.xml]; nested exception is
> java.lang.ClassNotFoundException: org.apache.xerces.util.SecurityManager
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1141)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1105)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:386)
> ~[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.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> ... 57 common frames omitted
> Caused by: java.lang.ClassNotFoundException:
> org.apache.xerces.util.SecurityManager
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1438)
> ~[catalina.jar:na]
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1284)
> ~[catalina.jar:na]
> at
> org.springframework.util.ClassUtils.forName(ClassUtils.java:211)
> ~[spring-core-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:385)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1138)
> ~[spring-beans-2.5.6.SEC02.jar:2.5.6.SEC02]
> ... 62 common frames omitted
>
> ===========================================
> 大阪教育大学
> 情報科学専攻 佐藤研究室
> 森田 亮
> ===========================================
>
>
--
Toyokazu AKIYAMA
Faculty of Computer Science and Engineering,
Kyoto Sangyo University
TEL/FAX: +81-75-705-1531