I got this to work before but not sure what I'm doing wrong now.

I'm basically trying to invoke a session bean from my interceptor implementations. I 
get a ClassCastException when I try to cast the looked up object. I guess this is 
because of the class returned via InitialContext is not loaded by the same classloader 
as the one being casted. However I was under the impression the application server 
gets around this conflict for you, especially when you are all inside the app server.

I'm testing my interceptors in weblogic 8.1 and they are loaded using a custom 
class-loader (parent is context classloader). I'm going to experiment the same with a 
modified jboss 3.2.3 (with AOP almost working I think).

Any help or directions would be of great help.

Thanks
Rajiv 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to