Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6748156
Votes 0
Synopsis add an new JNDI property to control the boolean flag WaitForReply (JDK5)
Category jndi:ldap
Reported Against b03
Release Fixed 5.0u19-rev(b03), 6u14(b02) (Bug ID:2168508)
State 10-Fix Delivered, request for enhancement
Priority: 2-High
Related Bugs 6759705
Submit Date 13-SEP-2008
Description
cannot cancel LDAP search operation via JNDI before the LDAP server sends the first batch of answers

The problem can be solved when changing the class com.sun.jndi.ldap.LdapCtx, method c_search(Name name, String filter, SearchControls cons, Continuation cont), row 1747. This method invokes "searchAux" with a parameter called "WaitForReply". In the original code "waitForReply" is set to true. A JNDI property is in order to allow customer to change "WaitForReply" to false in their code.
Posted Date : 2008-09-13 01:09:19.0
Work Around
N/A
Evaluation
The LDAP service provider implementation normally waits until the first reply from the server is received. The customer would like to be able to abandon a long-running search operation without having to wait for the first reply. A new boolean-valued JNDI property could be used to override the default behaviour.

*** (#1 of 1): [ UNSAVED ]   xxxxx@xxxxx  
Posted Date : 2008-10-17 14:58:38.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang