Hi,
I had deployed LDAP adapter, it is running fine.
Now, I am trying to access the this adapter.
I am getting LDAPConnectionFactory using JNDI lookup.
When I cast to IConnectoinFactory, this is giving ClassCastException.
This is code.
Object obj = initctx.lookup("deployedAdapters/DSMLFactory/shareable/DSMLFactory");
IConnectionFactory connectionFactory = (IConnectionFactory)obj;
Error:
ClassCastException.
Note: LDAPConnectionFactory implements IConnectionFactory.
Regards,
Krishna