[jboss-dev-forums] [JBoss Microcontainer Development] - How to retrieve the relative classpath for Web app from classloader?

mshimpi do-not-reply at jboss.com
Wed Jun 26 08:45:49 EDT 2013


mshimpi [https://community.jboss.org/people/mshimpi] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/824990#824990

--------------------------------------------------------------
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
[https://community.jboss.org/message/824990#824990]

Start a new discussion in JBoss Microcontainer Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2115]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130626/7e9190f2/attachment.html 


More information about the jboss-dev-forums mailing list