JBoss Community

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

created by mshimpi in JBoss Microcontainer Development - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development at Community