cancel
Showing results for 
Search instead for 
Did you mean: 

weblogic ejb remote ClassCastException

AntonioSanz
Active Participant
0 Kudos

Hi all,

I have developed a Java application in SAP WAS which needs to consume services in form of EJBs deployed on a BEA Weblogic Server.

But when I try to do the lookup my application seems to load a generic stub class insted of the Stub which implements the interface EJBHome which I need. (I try to get the stub class from remote EJB server).

The error I get is the next:

org.omg.CORBA_2_3.portable.ObjectImpl objetoCorba = (org.omg.CORBA_2_3.portable.ObjectImpl)objeto;

org.omg.CORBA_2_3.portable.Delegate delegate = objetoCorba._get_delegate();????????????

com.sap.engine.services.iiop.CORBA.portable.DelegateImpl delegateImpl = (com.sap.engine.services.iiop.CORBA.portable.DelegateImpl)delegate;

com.sap.engine.services.iiop.CORBA.IOR ior = delegateImpl.getIOR();

com.sap.engine.services.iiop.CORBA.Profile profile = ior.getProfile();

Do I need a special configuration of SAP WAS to work with WebLogix EJBs?

Sould I place a local copy of Stub class en SAP WAS in order to all works fine?

Thanks for all.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185029
Active Contributor
0 Kudos

Hi Antonio,

there is no need to do any settings for that.

Have you tested your webservices on WebLogic first?

Are you able to consume these services in any other application deployed on the Weblogic server?

Ashutosh

Answers (0)