directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r379564 - /directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
Date Tue, 21 Feb 2006 19:49:43 GMT
Author: akarasulu
Date: Tue Feb 21 11:49:40 2006
New Revision: 379564

URL: http://svn.apache.org/viewcvs?rev=379564&view=rev
Log:
fixed class cast exception with wrong config object

Modified:
    directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java

Modified: directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java?rev=379564&r1=379563&r2=379564&view=diff
==============================================================================
--- directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
(original)
+++ directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
Tue Feb 21 11:49:40 2006
@@ -100,7 +100,8 @@
 
     public void afterShutdown( DirectoryService service )
     {
-        ServerStartupConfiguration cfg = ( ServerStartupConfiguration ) service.getConfiguration();
+        ServerStartupConfiguration cfg = ( ServerStartupConfiguration ) 
+            service.getConfiguration().getStartupConfiguration();
         
         if ( ldapStarted )
         {



Mime
View raw message