[jboss-user] [Installation, Configuration & DEPLOYMENT] - How can packages inside JBoss use libraries outside JBoss?

vola do-not-reply at jboss.com
Mon Aug 20 15:29:48 EDT 2007


Hello all,

JBoss AS: 4.0.5.GA
JBoss AOP: 1.5.5.GA
JDK: 1.5.0.12
OS: XP
J2EE Application I am deploying: TPC-W

I have successfully deployed TPC-W on JBoss AS and it worked perfectly well. Then I tried to add a new class called "DecisionMaker" (DM) into it. The "DM" class will make some self-adaptive decisions at the run-time. Inside the "DM" class, I imported IBM ABLE library and setup the ABLE's classpath as "Environment Variable". The new TPC-W compiled and deployed with no problems. 

However, at the runtime, once the DM class needs to use ABLE library, the console will print out the "NoClassDefFoundError" exception. The JBoss didn't load the ABLE library.

I read through some documentations on the JBoss website. It seems like I got the dynamic classloading problem. What configurations should I do to make JBoss loads my external libraries? 

Thank you very much!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076006#4076006

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076006



More information about the jboss-user mailing list