code: public void unload() throws Exception {
          if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) // 306998.15
              logger.entering(CLASS_NAME, "unload className-->[" + servletConfig.getClassName() + "], servletName[" + servletConfig.getServletName()
                      + "]"); // 569469
          // logger.logp(Level.FINE, CLASS_NAME,"unload",
          // "entry className-->["+servletConfig.getClassName()+"], servletName["+servletConfig.getServletName()+"]");
          // // PK26183
  
          if (state == UNINITIALIZED_STATE) {
              return;
          }
  
          try {
              doDestroy();
          } catch (Throwable th) {
              com.ibm.wsspi.webcontainer.util.FFDCWrapper.processException(th, "com.ibm.ws.webcontainer.servlet.ServletWrapper.unload", "1511", this);
              logger.logp(Level.SEVERE, CLASS_NAME, "unload", "Exception.occured.during.servlet.unload", th);
          } finally {
              /*
               * 125087: Do not explicitly null out the servlet instance or its classloader.  These should
               * be GCed when the wrapper itself is garbage collected.
               */ 
              //target = null;
              //targetLoader = null;
              invalidateCacheWrappers();
              state = UNINITIALIZED_STATE;
          }
  
          if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) // 306998.15
              logger.exiting(CLASS_NAME, "unload"); // 569469
  
      }
docs: /*
  Method unload