directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r703290 - /directory/apacheds/trunk/server-jndi/src/main/java/org/apache/directory/server/configuration/ApacheDS.java
Date Thu, 09 Oct 2008 23:33:53 GMT
Author: elecharny
Date: Thu Oct  9 16:33:53 2008
New Revision: 703290

URL: http://svn.apache.org/viewvc?rev=703290&view=rev
Log:
Change an error to a warning. The message could be misleadingtoo, so it has been changed too.

Modified:
    directory/apacheds/trunk/server-jndi/src/main/java/org/apache/directory/server/configuration/ApacheDS.java

Modified: directory/apacheds/trunk/server-jndi/src/main/java/org/apache/directory/server/configuration/ApacheDS.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-jndi/src/main/java/org/apache/directory/server/configuration/ApacheDS.java?rev=703290&r1=703289&r2=703290&view=diff
==============================================================================
--- directory/apacheds/trunk/server-jndi/src/main/java/org/apache/directory/server/configuration/ApacheDS.java
(original)
+++ directory/apacheds/trunk/server-jndi/src/main/java/org/apache/directory/server/configuration/ApacheDS.java
Thu Oct  9 16:33:53 2008
@@ -34,8 +34,8 @@
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.util.StringTools;
-import org.apache.mina.common.ByteBuffer;
-import org.apache.mina.common.SimpleByteBufferAllocator;
+import org.apache.mina.core.buffer.IoBuffer;
+import org.apache.mina.core.buffer.SimpleBufferAllocator;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -101,8 +101,8 @@
         
         this.ldapService = ldapService;
         this.ldapsService = ldapsService;
-        ByteBuffer.setAllocator( new SimpleByteBufferAllocator() );
-        ByteBuffer.setUseDirectBuffers( false );
+        IoBuffer.setAllocator( new SimpleBufferAllocator() );
+        IoBuffer.setUseDirectBuffer( false );
     }
 
 
@@ -267,7 +267,7 @@
         }
         catch( Exception e )
         {
-            LOG.error( "Failure while looking up " + ServerDNConstants.LDIF_FILES_DN, e );
+            LOG.warn( "Failure while looking up {}. The entry will be created now.", ServerDNConstants.LDIF_FILES_DN,
e );
         }
 
         if ( entry == null )



Mime
View raw message