Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help required for custom classloader

 
Prashant Bhardwaj
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
It seems that WL 8.1, SP2 does not support classloading over the network
when i try to make an anonymous call to a remote ejb interface using reflection. I have attached an example you can test with, just change the look method parameter to any remote interface on your server. When i
use the same code within my deployed application (*.ear) i get
Exceptions. On v8.1 SP2 i get ClassCastException (shown in code)

When i use the code inside my application in weblogic i want to access
another Application (ear) remote interface without knowning its interfaces
through jar/class files in my application...

Do any of you have experience with this way of accessing ejb inside an
application in weblogic?
Weblogic say there server is designed in such a way, and the only way out is to use a custom class loader.

Cheers Prashant
-----------------------------------------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic