Hi all,

Apparently the new piece of in StandardContext that releases the DirContext breaks the 
ManagerServlet since it's messes with docBase ( when it tries to start again, docBase 
in just relative not absolute ). The following patch moves super.stop() before the 
release of DirContext and add a setResources(DirContext) of what was left of 
DirContext ( I'm not sure f this part )

*** StandardContext.java.old    Thu Mar 21 11:29:06 2002
--- StandardContext.java        Thu Mar 21 11:43:53 2002
***************
*** 3455,3458 ****
--- 3455,3463 ----
          }

+         // Normal container shutdown processing
+         if (debug >= 1)
+             log("Processing standard container shutdown");
+         super.stop();
+
          // Release our resources DirContext
          DirContext dirContext = getResources();
***************
*** 3471,3479 ****
              }
          }
!
!         // Normal container shutdown processing
!         if (debug >= 1)
!             log("Processing standard container shutdown");
!         super.stop();

          // Unbinding thread
--- 3476,3480 ----
              }
          }
!         setResources(dirContext);

          // Unbinding thread

Thanks

Renato - Brazil

 



---------------------------------
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®

Reply via email to