[jboss-user] [Installation, Configuration & Deployment] - URL Classloading in Jboss

jagath do-not-reply at jboss.com
Tue Oct 10 04:53:37 EDT 2006


Hi,

   I have a jar file which i am trying to load from outside the application context, which i am trying to load using URL Classloader, i am getting an exception if i try to cast to my application specific object, it's throwing ClassCastException.

One strange thing is when load the class without any URLClassloader, like using Class.forName, by placing the class in the deploy folder then it's working fine, can you please suggest some solution incase if you have come across the same problem.

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

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



More information about the jboss-user mailing list