Hi Mike, The issue is that I auto-generate some java code on the fly, compile that code and try to load those classes at runtime and this is when I get in issues. The classloader is not able to find the classes and hence is not able to load them.
Below is a detailed description of the setup on my JBoss server: The application is deployed in JBoss in an exploded ear format. So under my JBoss server you would see this (remember that all the .*ar are folder names and not real archives): <Jboss config>\deploy\myApp.ear The myApp.ear itself has a META-INF, web.war and serverCode.jar Now what happens at runtime is that inside the serverCode.jar folder I generate some java code on-the-fly, compile the code and then try to load it. But as I told u before this loading fails. On of the issues is that the classloader used is the system classloader and hence I wanted to put this auto-generated classes on the system classpath (which I assume is the one specified in the run.bat that comes with JBoss). The solution you suggested would not work for me because the code would not be generated at runtime in the local-lib folder but inside my serverCode.jar folder. Thanks. Aalap. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840816#3840816 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840816 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user