cancel
Showing results for 
Search instead for 
Did you mean: 

JCA Error

Former Member
0 Kudos

Hi,

When I deploy a connector using a rar file directly then there is no problem with the lookup of this connector, but when i deploy this connector using a EAR file then these is an error after lookup of the connector.

Exception is at the location when i try to cast the lookup class to IConnectionFactory

This is the code:

Context initctx = new com.sapportals.portal.prt.jndisupport.InitialContext(env);
Object obj = initctx.lookup("deployAdapters/MyFactory/shareable/MyFactory");
IConnectionFactory connectionFactory = (IConnectionFactory) obj;

Exception is ClassCastException.

Kindly help me sort this out or let me know where I'm wrong

Rgds,

Rajender

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi!

I have the same Problem!

Regards!

Waldemar

Message was edited by: Waldemar Schäfer