Added init() call, better exception display.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 13 Jun 2002 04:22:34 +0000 (04:22 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 13 Jun 2002 04:22:34 +0000 (04:22 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@98 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/shire/ShireServlet.java

index c1cc36c..ab6911c 100755 (executable)
@@ -75,6 +75,8 @@ public class ShireServlet extends HttpServlet
     public void init()
         throws ServletException
     {
+        edu.internet2.middleware.shibboleth.common.Init.init();
+
         ServletConfig conf = getServletConfig();
 
         cookieName = conf.getInitParameter("cookie-name");
@@ -137,7 +139,7 @@ public class ShireServlet extends HttpServlet
         }
         catch (org.xml.sax.SAXException e)
         {
-            throw new ServletException("ShireServlet.init() unable to load origin site registry");
+            throw new ServletException("ShireServlet.init() unable to load origin site registry: " + e.getMessage());
         }
     }