Hi, 

  Can I use the JDBC-LDAP driver(JdbcLdap.jar) from octetstring 
  with EJB container JBOSS for deploying CMP entity Beans? 

  I am using jboss-3.2.1_tomcat-4.1.24,openLDAP 3.0 and 
  JDBC-LDAP driver(JdbcLdap.jar). 

  I have written a EJB CMP entity bean to store/retrieve data from 
  LDAP, tried to deploy it in JBOSS, but could not. 

  I have put the JDBCLdap.jar in appropriate jboss lib directory. 
  I made changes to the  *Jaws.xml and services.xml file in jboss 
  as done for other datastores. 
  ( I am using the jdbc-ldap driver since CMP entity bean will configure 
   to anything which supports JDBC.Hence cannot use JNDI api directly in 
  CMP beans to store/retrieve data to LDAP). 

  The error in the server.log file shows, 

  =========================== 
  2003-06-23 18:16:41,811 INFO  [STDOUT] javax.naming.NameNotFoundException:

  [LDAP: error code 32 - No Such Object]; remaining name
'cn=CIMOM,o=WSSPL,c=INDIA' 
  =========================== 

  I do not get this error when i am trying to query LDAP outside the jboss
conatiner, 
  using different application written in c++ to query LDAP(with the same DN
as above). 
    
  I have attached the server.log file which shows the error. 

  Please let me know what could be the problem. 

  Thanks  & Regards 

Attachment: server.log
Description: Binary data

Reply via email to