Arun;

Are you using the JDBC-LDAP Bridge Driver ?

Can you look in your LDAP server's log and see if
there are any error messages that coincide with the
requests from your JBoss server ? This way we can
ensure that the requests are actually reaching your
LDAP server and any error messages may reveal why the
requests are failing.

Also, I wonder if the driver is able to create the
table  being requested. The bean is generating the SQL
"CREATE TABLE MusicCDBean (dn VARCHAR(255,0),cn
VARCHAR(255,0))"   It seems it cannot find that
object, since the remaining name does not include the
"table" name, implying that there was another object
further down the hierarchy that it could not find.
Hopefully, all this will be in the LDAP error log.

//Nicholas


--- Arun <[EMAIL PROTECTED]> wrote:
> 
> 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. I tried to deploy it in JBOSS , but could not.
> 
> 
> I have put the JDBCLdap.jar in appropriate jboss lib
> directory.
> I have  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 part 2 application/octet-stream
name=server.log



=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
[EMAIL PROTECTED]
Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to