Problem deploying LoginHandler extension (classpath issue?)

Chad La Joie lajoie at itumi.biz
Wed Nov 30 23:24:03 GMT 2011


You mentioned the spring.handlers file being in the META-INF
directory.  Is the spring.schemas file also there?

On Wed, Nov 30, 2011 at 17:46, Mark Frazier <mark.frazier at sri.com> wrote:
> yes.
>
> On Nov 30, 2011, at 2:42 PM, Chad La Joie wrote:
>
>> Okay.  The most common cause of the issue is Tomcat's broken caching
>> mechanism.  But if you're using deployment descriptor as described in
>> the Shib wiki that isn't the issue.  On to the next possibility...
>>
>> When you shut Tomcat down, did you check your process list to make
>> sure it actually shutdown all the way?
>>
>> On Wed, Nov 30, 2011 at 17:38, Mark Frazier <mark.frazier at sri.com> wrote:
>>> Per the shib example:
>>>
>>> install.sh to generate a shib installed location
>>>
>>> pointed to it with idp.xml in the tomcat instance
>>>
>>>
>>> On Nov 30, 2011, at 2:32 PM, Chad La Joie wrote:
>>>
>>>> Did you deploy exactly as the Shib documentation said or did you copy
>>>> the WAR file or use some other Tomcat-specific mechanism?
>>>>
>>>> On Wed, Nov 30, 2011 at 17:28, Mark Frazier <mark.frazier at sri.com> wrote:
>>>>> tomcat 6
>>>>>
>>>>> On Nov 30, 2011, at 2:17 PM, Chad La Joie wrote:
>>>>>
>>>>>> What Servlet container are you using?
>>>>>>
>>>>>> On Wed, Nov 30, 2011 at 17:12, Mark Frazier <mark.frazier at sri.com> wrote:
>>>>>>> Greetings.
>>>>>>>
>>>>>>> I'm trying to deploy a LoginHandler extention to shib 2.3.5.
>>>>>>>
>>>>>>>
>>>>>>> I'm getting the following error during startup in the idp-process.log:
>>>>>>>
>>>>>>> 13:20:59.726 - ERROR [edu.internet2.middleware.shibboleth.common.config.SpringConfigurationUtils:174] - Unable to locate NamespaceHandler for namespace [http://www.example.org/NTERLoginHandlerSchema]
>>>>>>>
>>>>>>> I've triple checked my configuration and it seems to be correct, I can only think this is a classpath issue where my extension jar is NOT getting on to the cp.
>>>>>>>
>>>>>>> I've built the Jar and placed it into the shib lib directory before running install.sh. I can verify that my new jar is being placed into WEB-INF/lib in the idp.war file, and that the
>>>>>>> spring.handlers file is also correctly placed in META-INF.
>>>>>>>
>>>>>>> Here is some more information:
>>>>>>>
>>>>>>> from the spring.handlers file:
>>>>>>>        http\://www.example.org/NTERLoginHandlerSchema = org.nter.usermgmt.service.NTERNamespaceHandler
>>>>>>>
>>>>>>>
>>>>>>> the referenced class is correctly package in my jar file.
>>>>>>>
>>>>>>> I'm thinking that the spring.handlers file is not being located. I found several references to problems with spring.handlers, but none of the situations fit the context of what I'm doing.
>>>>>>> Is there another config step that must be performed to get my new jar file loaded onto the classpath for shib? (aside from being in WEB-INF/lib?).
>>>>>>>
>>>>>>> Any ideas?
>>>>>>>
>>>>>>>
>>>>>>> Mark Frazier
>>>>>>> Sr. Software Engineer
>>>>>>> SRI International
>>>>>>> mark.frazier at sri.com
>>>>>>> 805-542-9330 x122
>>>>>>> 805-462-7265 (cell)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Chad La Joie
>>>>>> www.itumi.biz
>>>>>> trusted identities, delivered
>>>>>> --
>>>>>> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
>>>>>
>>>>> Mark Frazier
>>>>> Sr. Software Engineer
>>>>> SRI International
>>>>> mark.frazier at sri.com
>>>>> 805-542-9330 x122
>>>>> 805-462-7265 (cell)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Chad La Joie
>>>> www.itumi.biz
>>>> trusted identities, delivered
>>>> --
>>>> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
>>>
>>> Mark Frazier
>>> Sr. Software Engineer
>>> SRI International
>>> mark.frazier at sri.com
>>> 805-542-9330 x122
>>> 805-462-7265 (cell)
>>>
>>>
>>>
>>>
>>> --
>>> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
>>>
>>
>>
>>
>> --
>> Chad La Joie
>> www.itumi.biz
>> trusted identities, delivered
>> --
>> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
>
> Mark Frazier
> Sr. Software Engineer
> SRI International
> mark.frazier at sri.com
> 805-542-9330 x122
> 805-462-7265 (cell)
>
>
>
>
> --
> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
>



-- 
Chad La Joie
www.itumi.biz
trusted identities, delivered


More information about the dev mailing list