directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r437262 - in /directory/branches/apacheds/1.0: core-unit/src/test/java/org/apache/directory/server/core/jndi/ core/src/main/java/org/apache/directory/server/core/ server-jndi/src/main/java/org/apache/directory/server/jndi/ server-unit/src/t...
Date Sun, 27 Aug 2006 00:54:22 GMT
Author: akarasulu
Date: Sat Aug 26 17:54:20 2006
New Revision: 437262

URL: http://svn.apache.org/viewvc?rev=437262&view=rev
Log:
changes ...

 o Fix for DIRSERVER-588
 o Fix for DIRSERVER-589
 o Fixed broken delete test after these changes 
 o Remove System.out.printlns from contributed test case


Modified:
    directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/DIRSERVER169ITest.java
    directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
    directory/branches/apacheds/1.0/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
    directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java

Modified: directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/DIRSERVER169ITest.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/DIRSERVER169ITest.java?rev=437262&r1=437261&r2=437262&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/DIRSERVER169ITest.java
(original)
+++ directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/DIRSERVER169ITest.java
Sat Aug 26 17:54:20 2006
@@ -68,7 +68,6 @@
         user.put( "sn", "Hamilton" );
 
         sysRoot.createSubcontext( "uid=bob,ou=people", user );
-        System.out.println( sysRoot.getNameInNamespace() );
     }
 
 

Modified: directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java?rev=437262&r1=437261&r2=437262&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
(original)
+++ directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Sat Aug 26 17:54:20 2006
@@ -275,10 +275,10 @@
         }
         finally
         {
+            serviceListener.afterShutdown( this );
             environment = null;
             interceptorChain = null;
             startupConfiguration = null;
-            serviceListener.afterShutdown( this );
         }
     }
 

Modified: directory/branches/apacheds/1.0/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java?rev=437262&r1=437261&r2=437262&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
(original)
+++ directory/branches/apacheds/1.0/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
Sat Aug 26 17:54:20 2006
@@ -417,6 +417,7 @@
                 ServerContextFactory.class.getClassLoader() ).getMethod( "init", new Class[]
                 { ServerStartupConfiguration.class } ).invoke( null, new Object[]
                 { cfg } );
+            ldapsStarted = true;
         }
         catch ( InvocationTargetException e )
         {
@@ -465,7 +466,8 @@
             ((SocketSessionConfig)(acceptorCfg.getSessionConfig())).setTcpNoDelay( true );
             
             tcpAcceptor.bind( new InetSocketAddress( port ), protocolProvider.getHandler(),
acceptorCfg );
-
+            ldapStarted = true;
+            
             if ( log.isInfoEnabled() )
             {
                 log.info( "Successful bind of an LDAP Service (" + port + ") is complete."
);

Modified: directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java?rev=437262&r1=437261&r2=437262&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java
(original)
+++ directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java
Sat Aug 26 17:54:20 2006
@@ -50,8 +50,8 @@
     }
 
     protected void tearDown() throws LDAPException, Exception {
-        super.tearDown();
         con.disconnect();
+        super.tearDown();
     }
 
     /**



Mime
View raw message