{ super.init(config); try {  CertTools.installBCProvider();   signhome = (ISignSessionLocalHome)ServiceLocator.getInstance().getLocalHome(ISignSessionLocalHome.COMP_NAME); } catch (Exception e) { throw new ServletException(e);
{ super.init(config); try {  CertTools.installBCProvider();   signhome = (ISignSessionLocalHome)ServiceLocator.getInstance().getLocalHome(ISignSessionLocalHome.COMP_NAME); } catch (Exception e) { throw new ServletException(e); }
  public void init(ServletConfig config)    throws ServletException  {    super.init(config);    try {        // Install BouncyCastle provider        CertTools.installBCProvider();                // Get EJB context and home interfaces        signhome = (ISignSessionLocalHome)ServiceLocator.getInstance().getLocalHome(ISignSessionLocalHome.COMP_NAME);    } catch (Exception e) {        throw new ServletException(e);    }  }