code: public void start() throws Throwable
     {
        Context context = new InitialContext();
  
        context.bind(JNDI_NAME, this);
  
        context.close();
     }
docs: Start
  @exception Throwable Thrown if an error occurs