remm        02/01/03 05:31:50

  Modified:    catalina/src/share/org/apache/catalina/session
                        StandardManager.java
  Log:
  - Set the context CL of the thread used by the manager, which should fix problems
    accessing the J2EE ENC and the resources through the jndi: URLs
    (bug 5330 is caused by this, but I can't confirmed the issue is fixed yet).
  
  Revision  Changes    Path
  1.17      +5 -4      
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardManager.java
  
  Index: StandardManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardManager.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- StandardManager.java      9 Nov 2001 19:40:25 -0000       1.16
  +++ StandardManager.java      3 Jan 2002 13:31:50 -0000       1.17
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardManager.java,v
 1.16 2001/11/09 19:40:25 remm Exp $
  - * $Revision: 1.16 $
  - * $Date: 2001/11/09 19:40:25 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardManager.java,v
 1.17 2002/01/03 13:31:50 remm Exp $
  + * $Revision: 1.17 $
  + * $Date: 2002/01/03 13:31:50 $
    *
    * ====================================================================
    *
  @@ -106,7 +106,7 @@
    * <code>stop()</code> methods of this class at the correct times.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.16 $ $Date: 2001/11/09 19:40:25 $
  + * @version $Revision: 1.17 $ $Date: 2002/01/03 13:31:50 $
    */
   
   public class StandardManager
  @@ -801,6 +801,7 @@
           threadName = "StandardManager[" + container.getName() + "]";
           thread = new Thread(this, threadName);
           thread.setDaemon(true);
  +        thread.setContextClassLoader(container.getLoader().getClassLoader());
           thread.start();
   
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to