View | Details | Raw Unified | Return to bug 57977
Collapse All | Expand All

(-)java/org/apache/catalina/valves/PersistentValve.java (+6 lines)
Lines 76-81 Link Here
76
            return;
76
            return;
77
        }
77
        }
78
78
79
        ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
80
81
        try {
79
        // Bind the context CL to the current thread
82
        // Bind the context CL to the current thread
80
        Thread.currentThread().setContextClassLoader
83
        Thread.currentThread().setContextClassLoader
81
            (context.getLoader().getClassLoader());
84
            (context.getLoader().getClassLoader());
Lines 172-178 Link Here
172
                }
175
                }
173
            }
176
            }
174
        }
177
        }
178
        } finally {
179
            Thread.currentThread().setContextClassLoader(oldClassLoader);
175
    }
180
    }
181
    }
176
182
177
    /**
183
    /**
178
     * Indicate whether the session has been idle for longer
184
     * Indicate whether the session has been idle for longer

Return to bug 57977