Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB n classloading ..  RSS feed

 
Sab Giri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I m trying to load different versions of ejb-client jar files into different ClassLoaders ..

I am actually able to load the versioned valueobjects from jars, but when I invoke a method on the bean ( using reflection ) passing the valueobjects I loaded, I get a 'NoSuchMethodException'.

I think its because: the bean is loaded ( during home.create() ) by some network ( RMI ) ClassLoader and the valueobjects are actually loaded by my custom ClassLoader from jar file .. need to somehow make the valueobjects visible to the network ( RMI ) classloader. Any help is greatly appreciated ..

EJB container: Weblogic8
JDK: 1.4.2_10

Thanks in advance,
Girish.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!