directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: svn commit: r582428 - /directory/installers/branches/bigbang/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Date Sat, 06 Oct 2007 00:43:50 GMT
David this was working for me with the XBean stuff.  You just disabled the
use of XBean no?

Alex

On 10/5/07, djencks@apache.org <djencks@apache.org> wrote:
>
> Author: djencks
> Date: Fri Oct  5 16:51:01 2007
> New Revision: 582428
>
> URL: http://svn.apache.org/viewvc?rev=582428&view=rev
> Log:
> Not sure why the old version doesn't work but with this change the server
> starts
>
> Modified:
>
>     directory/installers/branches/bigbang/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
>
> Modified:
> directory/installers/branches/bigbang/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
> URL:
> http://svn.apache.org/viewvc/directory/installers/branches/bigbang/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java?rev=582428&r1=582427&r2=582428&view=diff
>
> ==============================================================================
> ---
> directory/installers/branches/bigbang/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
> (original)
> +++
> directory/installers/branches/bigbang/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
> Fri Oct  5 16:51:01 2007
> @@ -26,7 +26,7 @@
> import
> org.apache.directory.server.core.configuration.ShutdownConfiguration;
> import org.apache.directory.server.core.configuration.SyncConfiguration;
> import org.apache.directory.server.jndi.ServerContextFactory;
> -import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
> +import org.apache.xbean.spring.context.FileSystemXmlApplicationContext;
> import org.slf4j.Logger;
> import org.slf4j.LoggerFactory;
> import org.springframework.context.ApplicationContext;
> @@ -70,8 +70,7 @@
>          if ( args.length > 0 && new File( args[0] ).exists() ) // hack
> that takes server.xml file argument
>          {
>              log.info( "server: loading settings from ", args[0] );
> -            ApplicationContext factory = null;
> -            factory = new ClassPathXmlApplicationContext( new File(
> args[0] ).toURI().toURL().toString() );
> +            ApplicationContext factory = new
> FileSystemXmlApplicationContext( new File( args[0]
> ).toURI().toURL().toString() );
>              cfg = ( MutableServerStartupConfiguration ) factory.getBean(
> "configuration" );
>              env = ( Properties ) factory.getBean( "environment" );
>          }
>
>
>

Mime
View raw message