idp installation on Apache Tomcat 6.0.33 that is on Microsoft Windows Server 2003 Enterprise Edition Service Pack 2

Max Pereverzev seifer118 at hotmail.com
Wed Nov 30 00:48:29 GMT 2011


The following is service.xml file that is under Shibboleth_Home\conf directory:
 
<?xml version="1.0" encoding="UTF-8"?>
<srv:Services xmlns:srv="urn:mace:shibboleth:2.0:services" xmlns:attribute-afp="urn:mace:shibboleth:2.0:afp" 
              xmlns:attribute-authority="urn:mace:shibboleth:2.0:attribute:authority" xmlns:attribute-resolver="urn:mace:shibboleth:2.0:resolver" 
              xmlns:profile="urn:mace:shibboleth:2.0:idp:profile-handler" xmlns:relyingParty="urn:mace:shibboleth:2.0:relying-party" 
              xmlns:resource="urn:mace:shibboleth:2.0:resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
              xsi:schemaLocation="urn:mace:shibboleth:2.0:services classpath:/schema/shibboleth-2.0-services.xsd
                                  urn:mace:shibboleth:2.0:afp classpath:/schema/shibboleth-2.0-afp.xsd
                                  urn:mace:shibboleth:2.0:attribute:authority classpath:/schema/shibboleth-2.0-attribute-authority.xsd
                                  urn:mace:shibboleth:2.0:resolver classpath:/schema/shibboleth-2.0-attribute-resolver.xsd
                                  urn:mace:shibboleth:2.0:idp:profile-handler classpath:/schema/shibboleth-2.0-idp-profile-handler.xsd
                                  urn:mace:shibboleth:2.0:relying-party classpath:/schema/shibboleth-2.0-relying-party.xsd
                                  urn:mace:shibboleth:2.0:resource classpath:/schema/shibboleth-2.0-resource.xsd">
    <srv:Service id="shibboleth.AttributeResolver" xsi:type="attribute-resolver:ShibbolethAttributeResolver">
        <srv:ConfigurationResource file="C:\CFAs\Shibboleth/conf/attribute-resolver.xml" xsi:type="resource:FilesystemResource"/>
    </srv:Service>
    <srv:Service id="shibboleth.AttributeFilterEngine" xsi:type="attribute-afp:ShibbolethAttributeFilteringEngine">
        <srv:ConfigurationResource file="C:\CFAs\Shibboleth/conf/attribute-filter.xml" xsi:type="resource:FilesystemResource"/>
    </srv:Service>
    
    <srv:Service id="shibboleth.SAML1AttributeAuthority" xsi:type="attribute-authority:SAML1AttributeAuthority" 
                 depends-on="shibboleth.AttributeResolver shibboleth.AttributeFilterEngine" 
                 resolver="shibboleth.AttributeResolver" filter="shibboleth.AttributeFilterEngine"/>
             
    <srv:Service id="shibboleth.SAML2AttributeAuthority" xsi:type="attribute-authority:SAML2AttributeAuthority" 
                 depends-on="shibboleth.AttributeResolver shibboleth.AttributeFilterEngine" 
                 resolver="shibboleth.AttributeResolver" filter="shibboleth.AttributeFilterEngine"/>
    <srv:Service id="shibboleth.RelyingPartyConfigurationManager" xsi:type="relyingParty:SAMLMDRelyingPartyConfigurationManager" 
                 depends-on="shibboleth.SAML1AttributeAuthority shibboleth.SAML2AttributeAuthority">
        <srv:ConfigurationResource file="C:\CFAs\Shibboleth/conf/relying-party.xml" xsi:type="resource:FilesystemResource"/>
    </srv:Service>
    <srv:Service id="shibboleth.HandlerManager" depends-on="shibboleth.RelyingPartyConfigurationManager" xsi:type="profile:IdPProfileHandlerManager">
        <srv:ConfigurationResource file="C:\CFAs\Shibboleth/conf/handler.xml" xsi:type="resource:FilesystemResource"/>
    </srv:Service>
    
    <!-- 
        A special service that exports all services upon which it depends into the ServletContext as an attribute 
        with the same name as the service's ID.
    -->
    <srv:Service id="shibboleth.ServiceServletContextAttributeExporter" xsi:type="srv:ServletContextAttributeExporter"
                 depends-on="shibboleth.AttributeResolver shibboleth.AttributeFilterEngine 
                             shibboleth.SAML1AttributeAuthority shibboleth.SAML2AttributeAuthority
                             shibboleth.RelyingPartyConfigurationManager shibboleth.HandlerManager 
                             shibboleth.StorageService" />
</srv:Services>
 
 
 
I was just trying to test if the idP was properly installed by running https://HOSTNAME/idp/profile/Status as desribed on the following page but I got the error that I already desribed below: https://wiki.shibboleth.net/confluence/display/SHIB2/IdPInstall
 
 
 
I am trying to achieve the following but instead of google apps being the assertion consumer service I will have my own consumer service (another sso): http://code.google.com/apis/apps/articles/shibboleth2.0.html
 
So basically another idP posts an assertion to my consumer service (another sso) and the user should be redirected to the application based on the available userID header attribute.
 
 
Please advise.
 
 
Thank you,
 
Max
 

 

> Date: Tue, 29 Nov 2011 19:18:58 -0500
> Subject: Re: idp installation on Apache Tomcat 6.0.33 that is on Microsoft Windows Server 2003 Enterprise Edition Service Pack 2
> From: lajoie at itumi.biz
> To: users at shibboleth.net
> 
> Sorry, the one NPE isn't the error handler missing, it's the entire
> handler manager that is missing. So that would be in the service.xml
> file.
> 
> On Tue, Nov 29, 2011 at 19:15, Chad La Joie <lajoie at itumi.biz> wrote:
> > I'm pretty sure you've messed up some of the configuration files.  The
> > error is complaining about two things being null that should never be
> > null: the storage service and the error handler.
> >
> > Did you remove the error handler from the handler.xml file?
> >
> > Did you remove the storage service definition from the internal.xml file?
> >
> > On Tue, Nov 29, 2011 at 19:11, Max Pereverzev <seifer118 at hotmail.com> wrote:
> >> Hi Chad,
> >>
> >> I am running idp 2.3.5.
> >>
> >>
> >> Regards,
> >>
> >> Max
> >>
> >>
> >>
> >>
> >>> Date: Tue, 29 Nov 2011 19:01:26 -0500
> >>> Subject: Re: idp installation on Apache Tomcat 6.0.33 that is on Microsoft
> >>> Windows Server 2003 Enterprise Edition Service Pack 2
> >>> From: lajoie at itumi.biz
> >>> To: users at shibboleth.net
> >>>
> >>> What version of the IdP are you running?
> >>>
> >>> On Tue, Nov 29, 2011 at 18:53, Max Pereverzev <seifer118 at hotmail.com>
> >>> wrote:
> >>> > Hello,
> >>> >
> >>> > The problem below has been resolved. Can you please let me know why I am
> >>> > getting the following error when
> >>> > http://localhost:8088/idp/profile/Status is
> >>> > hit to test whether idP is properly installed and running:
> >>> >
> >>> > Nov 29, 2011 7:29:05 AM org.apache.catalina.core.StandardWrapperValve
> >>> > invoke
> >>> > SEVERE: Servlet.service() for servlet ProfileRequestDispatcher threw
> >>> > exception
> >>> > java.lang.NullPointerException
> >>> >  at
> >>> >
> >>> > edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet.service(ProfileRequestDispatcherServlet.java:80)
> >>> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> >  at
> >>> >
> >>> > edu.internet2.middleware.shibboleth.idp.util.NoCacheFilter.doFilter(NoCacheFilter.java:50)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> >  at
> >>> >
> >>> > edu.internet2.middleware.shibboleth.idp.session.IdPSessionFilter.doFilter(IdPSessionFilter.java:81)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> >  at
> >>> >
> >>> > edu.internet2.middleware.shibboleth.common.log.SLF4JMDCCleanupFilter.doFilter(SLF4JMDCCleanupFilter.java:52)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
> >>> >  at
> >>> >
> >>> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> >>> >  at
> >>> >
> >>> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
> >>> >  at
> >>> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> >>> >  at java.lang.Thread.run(Unknown Source)
> >>> > Nov 29, 2011 7:29:06 AM org.apache.catalina.core.ApplicationDispatcher
> >>> > invoke
> >>> > SEVERE: Servlet.service() for servlet jsp threw exception
> >>> > java.lang.IllegalArgumentException: Storage service may not be null
> >>> >  at
> >>> >
> >>> > edu.internet2.middleware.shibboleth.idp.util.HttpServletHelper.getLoginContext(HttpServletHelper.java:312)
> >>> >  at
> >>> >
> >>> > edu.internet2.middleware.shibboleth.idp.ui.ServiceTagSupport.getSPEntityDescriptor(ServiceTagSupport.java:177)
> >>> >  at
> >>> >
> >>> > edu.internet2.middleware.shibboleth.idp.ui.ServiceContactTag.getContactFromEntity(ServiceContactTag.java:175)
> >>> >  at
> >>> >
> >>> > edu.internet2.middleware.shibboleth.idp.ui.ServiceContactTag.doEndTag(ServiceContactTag.java:197)
> >>> >  at
> >>> >
> >>> > org.apache.jsp.error_jsp._jspx_meth_idpui_005fserviceContact_005f0(error_jsp.java:144)
> >>> >  at org.apache.jsp.error_jsp._jspService(error_jsp.java:87)
> >>> >  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> >>> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>> >  at
> >>> >
> >>> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> >>> >  at
> >>> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> >>> >  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> >>> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>> >  at
> >>> >
> >>> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
> >>> >  at
> >>> >
> >>> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> >>> >  at
> >>> >
> >>> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
> >>> >  at
> >>> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> >>> >  at java.lang.Thread.run(Unknown Source)
> >>> >
> >>> >
> >>> > Thank you,
> >>> >
> >>> > Max
> >>> >
> >>> > --
> >>> > To unsubscribe from this list send an email to
> >>> > users-unsubscribe at shibboleth.net
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Chad La Joie
> >>> www.itumi.biz
> >>> trusted identities, delivered
> >>> --
> >>> To unsubscribe from this list send an email to
> >>> users-unsubscribe at shibboleth.net
> >>
> >> --
> >> To unsubscribe from this list send an email to
> >> users-unsubscribe at shibboleth.net
> >>
> >
> >
> >
> > --
> > Chad La Joie
> > www.itumi.biz
> > trusted identities, delivered
> >
> 
> 
> 
> -- 
> Chad La Joie
> www.itumi.biz
> trusted identities, delivered
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20111130/7d8cdf81/attachment-0001.html 


More information about the users mailing list