on 11-30-2005 1:47 PM
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
Hi!
I have the same Problem!
Regards!
Waldemar
Message was edited by: Waldemar Schäfer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.