directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <>
Subject [jira] Created: (DIREVE-89) Better exception handling on Modify ops
Date Sat, 27 Nov 2004 17:12:18 GMT
Better exception handling on Modify ops

         Key: DIREVE-89
     Project: Directory Eve
        Type: Improvement
  Components: jndi-provider, protocol  
    Reporter: Alex Karasulu
 Assigned to: Alex Karasulu 

Modifications where we have an unknown attribute should throw the right Attribute unknow or
whatever exception as required by the LDAP JNDI provider implementers guide.  Here's an example
of a cryptic modification exception:

12:04:42 PM: Failed to read entry uid=admin, ou=system
Root error: [LDAP: error code 54 - failed on search operation:
javax.naming.NamingException: OID for name 'blah' was not found within the OID registry
	at org.apache.eve.schema.GlobalOidRegistry.getOid(
	at org.apache.eve.schema.GlobalAttributeTypeRegistry.lookup(
	at org.apache.eve.jndi.ibs.SchemaService$BinaryAttributeFilter.doFilter(
	at org.apache.eve.jndi.ibs.SchemaService$BinaryAttributeFilter.accept(
	at org.apache.eve.jndi.ibs.FilterServiceImpl.accept(
	at org.apache.eve.jndi.ibs.FilterServiceImpl.access$0(
	at org.apache.eve.jndi.ibs.FilterServiceImpl$2.accept(
	at org.apache.eve.db.ResultFilteringEnumeration.prefetch(
	at org.apache.eve.db.ResultFilteringEnumeration.<init>(
	at org.apache.eve.jndi.BaseInterceptor.invoke(
	at org.apache.eve.jndi.FailFastPipeline.invoke(
	at org.apache.eve.jndi.EveJndiProvider.invoke(
	at $ Source)
	at org.apache.eve.protocol.SearchHandler.handle(
	at org.apache.seda.protocol.DefaultRequestProcessor.reply(
	at org.apache.seda.protocol.DefaultRequestProcessor.access$200(
	at org.apache.seda.protocol.DefaultRequestProcessor$ProcessorStageHandler.handleEvent(
	at org.apache.seda.stage.DefaultStage$
	at org.apache.seda.thread.AbstractThreadPool$

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message