2 Replies Latest reply on Feb 22, 2010 10:30 PM by Prathamesh Gaddam

    JBoss 6: Dynamic Jars +Reflection!

    Prathamesh Gaddam Novice

      Hi,

       

           I'm aware than some of my query are not directly realted to this forum category. So regret any inconvenience caused.

       

      1. I'm willing to dynamically add the jars [only core java code, programming] to the JBoss 6.1 lib. So that I can initialize using reflection on the fly. Is it feasible? Presently I'm forced to restart the server and added jars in \WEB-INF\lib.

       

      2. When I try to add jars to \WEB-INF\lib\MyFolder the Java Reflection throws ClassNotFoundException. Why? How to handle it?

       

      3. Can I specify the my jars location other than \WEB-INF\lib?

       

      Thank you in advance!