1 Reply Latest reply on Jun 27, 2013 7:26 AM by Ales Justin

    How to retrieve the relative classpath for Web app from classloader?

    mshimpi Newbie

      Hi there,

       

      I am trying to use Java compiler API with in Web application and it requires classpath information on the classloader which loaded all the JARs from WEB-INF/lib folder of web app.

       

      JBoss 5.1.0 uses VFS internally and its classloader somehow does not extend URLClassloader.

       

      Under these circumstances, how can I get Web Apps classloaders classpath info?

       

      Is there anyway, to configure System Classloader to be used for Web App ?

       

      Appreciate any help.