V3.2 how is idp.home set

Stefan Santesson stefan at aaa-sec.com
Tue Dec 22 10:50:11 EST 2015


I have installations where I run more than one IdP on the server, and thus I also had a need to use an alternate folder.

Running ubuntu and tomcat and the folder shibboleth321-idp, this is how I got it to work:

In web.xml I added:
    <context-param>
        <param-name>idp.home</param-name>
        <param-value>/opt/shibboleth321-idp</param-value>
    </context-param>



In my tomcat bin folder I added/edited the file setenv.sh to include the following line:
export JAVA_OPTS="-Didp.home=/opt/shibboleth321-idp"


I’m still not sure the web.xml edit is needed. I tried that first but it was not sufficient. I then added the setenv.sh line and it worked.

For other containers, I don’t know the answer.

/Stefan







On 22/12/15 16:25, "users on behalf of Cantor, Scott" <users-bounces at shibboleth.net on behalf of cantor.2 at osu.edu> wrote:

>On 12/22/15, 10:22 AM, "users on behalf of Vignesh, Vanna G." <users-bounces at shibboleth.net on behalf of vignesh at musc.edu> wrote:
>
>
>
>>In which file, idp.home is set? I could see it referenced in many places but not sure where it is
>> set.
>
>You should use the default install location and not set it. If you have to set it, that depends on the container and OS. It'a a Java system property. Jetty can get them set in start.ini for example.
>
>-- Scott
>
>-- 
>To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net



More information about the users mailing list