Examples of ModuleStats


Examples of org.apache.geronimo.tomcat.stats.ModuleStats

        if (resources == null) {
            throw new IllegalStateException("JNDI environment was not set up correctly due to previous error");
        }
        DirContextURLStreamHandler.bind(classLoader, resources);
        if (context instanceof StandardContext)
            statsProvider =  new ModuleStats((StandardContext)context);

        log.debug("TomcatWebAppContext started for " + path);
    }
View Full Code Here

Examples of org.apache.geronimo.tomcat.stats.ModuleStats

        if (resources == null) {
            throw new IllegalStateException("JNDI environment was not set up correctly due to previous error");
        }
        DirContextURLStreamHandler.bind(classLoader, resources);
        if (context instanceof StandardContext)
            statsProvider =  new ModuleStats((StandardContext)context);

        log.debug("TomcatWebAppContext started for " + path);
    }
View Full Code Here

Examples of org.apache.geronimo.tomcat.stats.ModuleStats

        if (resources == null) {
            throw new IllegalStateException("JNDI environment was not set up correctly due to previous error");
        }
        DirContextURLStreamHandler.bind(classLoader, resources);
        if (context instanceof StandardContext)
            statsProvider =  new ModuleStats((StandardContext)context);

        log.debug("TomcatWebAppContext started for " + path);
    }
View Full Code Here

Examples of org.apache.geronimo.tomcat.stats.ModuleStats

            if (resources == null) {
                throw new IllegalStateException("JNDI environment was not set up correctly due to previous error");
            }
            DirContextURLStreamHandler.bind(classLoader, resources);
            if (context instanceof StandardContext)
                statsProvider = new ModuleStats((StandardContext) context);
            log.debug("TomcatWebAppContext started for " + contextPath);
        } finally {
            Thread.currentThread().setContextClassLoader(cl);
        }
    }
View Full Code Here

Examples of org.apache.geronimo.tomcat.stats.ModuleStats

            // See the note of TomcatContainer::addContext
            container.addContext(this);
            // Is it necessary - doesn't Tomcat Embedded take care of it?
            // super.start();
            if (context instanceof StandardContext) {
                statsProvider = new ModuleStats((StandardContext) context);
            }
            if (log.isDebugEnabled()) {
                log.debug("TomcatWebAppContext started for " + contextPath);
            }
        } finally {
View Full Code Here

Examples of org.apache.geronimo.tomcat.stats.ModuleStats

        if (resources == null) {
            throw new IllegalStateException("JNDI environment was not set up correctly due to previous error");
        }
        DirContextURLStreamHandler.bind(classLoader, resources);
        if (context instanceof StandardContext)
            statsProvider =  new ModuleStats((StandardContext)context);

        log.debug("TomcatWebAppContext started for " + path);
    }
View Full Code Here

Examples of org.apache.geronimo.tomcat.stats.ModuleStats

        if (resources == null) {
            throw new IllegalStateException("JNDI environment was not set up correctly due to previous error");
        }
        DirContextURLStreamHandler.bind(classLoader, resources);
        if (context instanceof StandardContext)
            statsProvider =  new ModuleStats((StandardContext)context);

        log.debug("TomcatWebAppContext started for " + path);
    }
View Full Code Here

Examples of org.apache.geronimo.tomcat.stats.ModuleStats

        if (resources == null) {
            throw new IllegalStateException("JNDI environment was not set up correctly due to previous error");
        }
        DirContextURLStreamHandler.bind(classLoader, resources);
        if (context instanceof StandardContext)
            statsProvider =  new ModuleStats((StandardContext)context);

        log.debug("TomcatWebAppContext started for " + path);
    }
View Full Code Here

Examples of org.apache.geronimo.tomcat.stats.ModuleStats

            if (resources == null) {
                throw new IllegalStateException("JNDI environment was not set up correctly due to previous error");
            }
            DirContextURLStreamHandler.bind(classLoader, resources);
            if (context instanceof StandardContext)
                statsProvider = new ModuleStats((StandardContext) context);
            log.debug("TomcatWebAppContext started for " + contextPath);
        } finally {
            Thread.currentThread().setContextClassLoader(cl);
        }
    }
View Full Code Here

Examples of org.apache.geronimo.tomcat.stats.ModuleStats

        // super.start();
        //register the classloader <> dir context association so that tomcat's jndi based getResources works.
        DirContext resources = context.getResources();
        DirContextURLStreamHandler.bind(classLoader, resources);
        if (context instanceof StandardContext)
            statsProvider =  new ModuleStats((StandardContext)context);

        log.debug("TomcatWebAppContext started for " + path);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.