Shibboleth IDP startup issue
Chaitana Tigadi
ctigadi at gmail.com
Wed Jun 13 10:24:46 BST 2012
Hi All,
I am using IDP 2.3.6 on Debian 6 with kernel version 2.6.32.49 and Java
version details as below
java version "1.7.0_147-icedtea"
OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-1)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
I did the basic installation of IDP and tried to deploy it in Jetty
7.3.1.v20110307. I ended up with the following error in idp logs while
running jetty. I have followed Jetty Preparation steps given in Shibboleth
site.
14:44:02.045 - INFO
[edu.internet2.middleware.shibboleth.common.config.security.AbstractX509CredentialBeanDefinitionParser:63]
- Parsing configuration for X509Filesystem credential with id: IdPCredential
14:44:02.047 - DEBUG
[edu.internet2.middleware.shibboleth.common.config.security.AbstractCredentialBeanDefinitionParser:91]
- Parsing credential key names
14:44:02.048 - DEBUG
[edu.internet2.middleware.shibboleth.common.config.security.AbstractCredentialBeanDefinitionParser:121]
- Parsing credential private key
14:44:02.143 - DEBUG
[edu.internet2.middleware.shibboleth.common.config.security.AbstractX509CredentialBeanDefinitionParser:89]
- Parsing x509 credential certificates
14:44:02.153 - ERROR
[edu.internet2.middleware.shibboleth.common.config.BaseService:188] -
Configuration was not loaded for
shibboleth.RelyingPartyConfigurationManager service, error creating
components. The root cause of this error was:
java.lang.NullPointerException: null
14:44:02.159 - TRACE
[edu.internet2.middleware.shibboleth.common.config.BaseService:191] - Full
stacktrace is:
org.opensaml.util.resource.ResourceException: Unable to load Spring bean
registry with configuration resources
at
edu.internet2.middleware.shibboleth.common.config.SpringConfigurationUtils.populateRegistry(SpringConfigurationUtils.java:87)
~[shibboleth-common-1.3.5.jar:na]
at
edu.internet2.middleware.shibboleth.common.config.BaseService.loadContext(BaseService.java:170)
~[shibboleth-common-1.3.5.jar:na]
at
edu.internet2.middleware.shibboleth.common.config.BaseReloadableService.initialize(BaseReloadableService.java:148)
[shibboleth-common-1.3.5.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.7.0_147-icedtea]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
~[na:1.7.0_147-icedtea]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.7.0_147-icedtea]
at java.lang.reflect.Method.invoke(Method.java:601)
~[na:1.7.0_147-icedtea]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
.
.
.
at
edu.internet2.middleware.shibboleth.common.config.BaseSpringNamespaceHandler.parse(BaseSpringNamespaceHandler.java:92)
~[shibboleth-common-1.3.5.jar:na]
at
edu.internet2.middleware.shibboleth.common.config.SpringConfigurationUtils.createBeanDefinition(SpringConfigurationUtils.java:177)
~[shibboleth-common-1.3.5.jar:na]
at
edu.internet2.middleware.shibboleth.common.config.SpringConfigurationUtils.parseInnerCustomElement(SpringConfigurationUtils.java:101)
~[shibboleth-common-1.3.5.jar:na]
at
edu.internet2.middleware.shibboleth.common.config.SpringConfigurationUtils.parseInnerCustomElements(SpringConfigurationUtils.java:117)
~[shibboleth-common-1.3.5.jar:na]
at
edu.internet2.middleware.shibboleth.common.config.relyingparty.RelyingPartyGroupBeanDefinitionParser.parseSecurityConfiguration(RelyingPartyGroupBeanDefinitionParser.java:102)
~[shibboleth-common-1.3.5.jar:na]
at
edu.internet2.middleware.shibboleth.common.config.relyingparty.RelyingPartyGroupBeanDefinitionParser.doParse(RelyingPartyGroupBeanDefinitionParser.java:63)
~[shibboleth-common-1.3.5.jar:na]
at
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:84)
~[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
at
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:56)
~[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
at
edu.internet2.middleware.shibboleth.common.config.BaseSpringNamespaceHandler.parse(BaseSpringNamespaceHandler.java:92)
~[shibboleth-common-1.3.5.jar:na]
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
~[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
~[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:141)
~[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
~[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
~[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
~[spring-beans-2.5.6.SEC03.jar:2.5.6.SEC03]
... 57 common frames omitted
Caused by: java.lang.NullPointerException: null
at
org.apache.commons.ssl.TrustMaterial.<init>(TrustMaterial.java:127)
~[not-yet-commons-ssl-0.3.9.jar:na]
at
org.apache.commons.ssl.TrustMaterial.<init>(TrustMaterial.java:118)
~[not-yet-commons-ssl-0.3.9.jar:na]
at
org.apache.commons.ssl.TrustMaterial.<clinit>(TrustMaterial.java:108)
~[not-yet-commons-ssl-0.3.9.jar:na]
... 78 common frames omitted
I have not changed the relying-party file nor the certificates which have
been generated during IDP installation. It runs without issues in another
setup with openjdk1.6 on Debian 6 and jdk1.7 on ubuntu. Am I missing
anything here?
--
Regards,
Chaitana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20120613/2b420a0b/attachment.html
More information about the users
mailing list