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

(-)container/catalina/src/share/org/apache/catalina/core/NamingContextListener.java (-1 / +2 lines)
Lines 223-228 Link Here
223
                    (sm.getString("naming.namingContextCreationFailed", e));
223
                    (sm.getString("naming.namingContextCreationFailed", e));
224
            }
224
            }
225
225
226
            namingResources.addPropertyChangeListener(this);
227
226
            // Binding the naming context to the class loader
228
            // Binding the naming context to the class loader
227
            if (container instanceof Context) {
229
            if (container instanceof Context) {
228
                // Setting the context in read only mode
230
                // Setting the context in read only mode
Lines 237-243 Link Here
237
            }
239
            }
238
240
239
            if (container instanceof Server) {
241
            if (container instanceof Server) {
240
                namingResources.addPropertyChangeListener(this);
241
                org.apache.naming.factory.ResourceLinkFactory.setGlobalContext
242
                org.apache.naming.factory.ResourceLinkFactory.setGlobalContext
242
                    (namingContext);
243
                    (namingContext);
243
                try {
244
                try {

Return to bug 47997