Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ClassCastException while calling ejb module

Hello everybody!

I have error when trying to call SOAP module. The initial context returns $Proxy514 object instead of ModuleHome

Object obj = initialContext.lookup( "localejbs/" );

I noticed that this module ( XISOAPAdapterBean has 2 interfaces:

Interface : [0] =

Interface : [1] =

This is what I get if pass just "" and than output this this object.toString into file.

I discovered that this is classloader issue, but didn't find any solution how to solve it. In NetWeaver Admin I can see this module and it's interfaces and they are Module, ModuleLocal, ModuleHome etc. But when I call lookup it gives me following class instance:

Need any help.

PS: run PI 7.11EP6

Former Member
Not what you were looking for? View more on this topic or Ask a question