JMS with LDAP Provider

I need to send message using LDAP lookup. I have created the provider for LDAP. I am getting the below error while creating connection factories with that provider.

Error: Cannot create an object of type “”. Error: Cannot create a resource object of type “”.

Can anyone suggest, how to resolve this…