Notes on updating a Shibboleth 1.2 IdP to software version 1.2.1.
- Acquire the new software and unpack it into a directory called
shibboleth-origin-1.2.1. - Pick out the new
shibboleth.warfrom thedist/subdirectory. - Take a copy of your old
shibbolethwebapp, which is to say a copy of the directory treewebapps/shibbolethfrom your Tomcat installation:
mkdir save cp -r webapps/shibboleth save/shibboleth
- In most cases, you really only need the
webapps/shibboleth/WEB-INF/classes/confsubtree in the previous step. Better to be safe than sorry, though. - Undeploy the old
shibbolethwebapp. One way to do this is to stop Tomcat and remove bothwebapps/shibboleth.war(if there is one) and thewebapps/shibbolethtree. You can do this without halting Tomcat if you use the Tomcat Web Application Manager GUI (normally on port 8080) and poke the "undeploy" link on the application. - Deploy the new version by copying the new
shibboleth.warinto thewebappsdirectory. You should make sure thatshibboleth.waris readable by thetomcat4user, either by changing its group totomcat4or setting it world-readable. You will know you've done the right thing when you look in thewebappsdirectory and see that there is ashibbolethsubdirectory again. - Refresh the application list in the Tomcat Web Application Manager GUI and observe that
shibbolethhas reappeared, and is running. - Stop the
shibbolethwebapp. - Copy the old configuration over the default one, saying "y" when it asks about overwriting:
cp -r save/shibboleth/WEB-INF/classes/conf webapps/shibboleth/WEB-INF/classes
- Start the
shibbolethwebapp using the Tomcat Web Application Manager GUI. - You're done!