Skip to Content
avatar image
Former Member

JCA Error

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 28, 2006 at 09:45 AM

    Hi!

    I have the same Problem!

    Regards!

    Waldemar

    Message was edited by: Waldemar Schäfer

    Add comment
    10|10000 characters needed characters exceeded