1 Reply Latest reply on May 10, 2011 4:45 AM by Ales Justin

    how to tell JBoss to our own classloader

    Dave Chen Master

      We have an jsf web application. In a filter, change current thread's context class loader to myClassLoader. But myClassLoader is not used to load

      subseqent classes.


      public void doFilter(ServletRequest request,

            ServletResponse response, FilterChain chain)

            throws IOException, ServletException {


      Thread currentThread = Thread.currentThread();

      MyClassLoader myClassLoader = new MyClassLoader(currentThread.getContextClassLoader());







      How to configure JBOSS to use a custom class loader for web applicaiton?

      Thanks very much.