code: public void initTask(App application, Map<String, Object> properties)
      {
          Utility.getLogger().warning("error: initTask() can never be called for a Servlet");
          new Exception().printStackTrace();
      }
docs: If this task object was created from a class name, call init(xxx) for the task.
  You may want to put logic in here that checks to make sure this object was not already inited.
  Typically, you init a Task object and pass it to the job scheduler. The job scheduler
  will check to see if this task is owned by an application... if not, initTask() is called.