IdP status page returns “HTTP Status 404”

喜夏-厌秋 提交于 2019-12-12 02:55:04

问题


I am using shibboleth idp to use sso for my project, but in the configurations like idp.xml i am using relative paths instead of absolute path(E:\SRDM2.3.0.6904.10\SRDM\Svr\IdP\IdPserver\idp)

<Context docBase="../../Idp/IdpServer/idp"  // relative path
         privileged="true"
         antiResourceLocking="false"
         antiJARLocking="false"
         unpackWAR="false" />

I have the following folders under E:\SRDM2.3.0.6904.10\SRDM\Svr a)tomcat b)Idp -- >Idpserver-->idp -->WEB-INF->service.xml Idp -- >Idpserver-->conf->attribute-resolver.xml

I have the service.xml like below

<srv:Service id="shibboleth.AttributeResolver" xsi:type="attribute-resolver:ShibbolethAttributeResolver">
        <srv:ConfigurationResource file="../../Idp/IdPserver/conf/attribute-resolver.xml" xsi:type="resource:FilesystemResource"/>
</srv:Service>   

If i use the above code i am getting following error if run tomcat. HTTP Status 404 type Status report message description The requested resource is not available. Apache Tomcat/6.0.41

Please find my below logs regarding error: catalina2014.log

INFO: Deploying configuration descriptor idp.xml Nov 12, 2014 11:51:06 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Nov 12, 2014 11:51:06 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/idp] startup failed due to previous errors

localhost.log:

SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener 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.

My above log i am thinking that the path given in the service.xml file="../../Idp/IdPserver/conf/attribute-resolver.xml" is not proper.

Please look into my above explained folder structure and give me some suggestions. thank your for patience.

来源:https://stackoverflow.com/questions/26887190/idp-status-page-returns-http-status-404

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!