directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John E. Conlon" <jcon...@verticon.com>
Subject Re: [OSGi] A Spring-OSGi enabled ApacheDS in Felix
Date Thu, 14 Dec 2006 18:34:17 GMT
On Tue, 2006-12-12 at 13:58 -0500, Alex Karasulu wrote:

> Very cool this all looks too familiar.  It's good to have it up and 
> running again.

This part should look a little different...

... in the latest felix 0.9.0-incubator-SNAPSHOT with the new Felix
Framework Logger sending output (or should I say finally being able to
suppress Felix output) to our logging service bundle. 

Note the spring-osgi log messages.  Spring is assembling our objects via
IOC within the bundle/jars and then referencing and registering OSGi
services based on the spring configuration file resources within the
bundles.  

OSGi + Spring = Uber-IOC!

Bottom line: No OSGi code coupling for the main ADS modules! 



Welcome to Felix.
=================

-> org.apache.directory.osgi.services.logging.Activator: Setting log4j
configuration to: file:/tmp/main2/conf/log4j.properties

INFO  org.apache.directory.osgi.services.logging.Activator
resetLog4j.150  - Reset log configuration, with configuration:
file:/tmp/main2/conf/log4j.properties

INFO  org.springframework.osgi.context.ContextLoaderListener info.118  -
Starting bundle [apacheds-core-osgi Spring enabled bundle] with
configuration [bundle-url:bundle://20.0/0/META-INF/spring/server-
osgi.xml,bundle-url:bundle://20.0/0/META-INF/spring/server.xml]

WARN  org.apache.directory.server.core.DefaultDirectoryService
startup.208  - ApacheDS shutdown hook has NOT been registered with the
runtime.  This default setting for standalone operation has been
overriden.

WARN  org.apache.directory.server.core.DefaultDirectoryService
showSecurityWarnings.684  - You didn't change the admin password of
directory service instance 'default'.  Please update the admin password
as soon as possible to prevent a possible security breach.

INFO  org.apache.directory.osgi.backend.InitialContextFactoryImpl
init.101  - ApacheDS Backend Store offering an InitialContextFactory
Service: started in 1337 milliseconds

INFO  org.springframework.osgi.service.OsgiServiceExporter info.118  -
Publishing service [[javax.naming.spi.InitialContextFactory]]

INFO  org.springframework.osgi.context.ContextLoaderListener info.118  -
Starting bundle [apacheds-core-felix-tui Spring enabled bundle] with
configuration [bundle-url:bundle://22.0/0/META-INF/spring/server-
osgi.xml,bundle-url:bundle://22.0/0/META-INF/spring/server.xml]

INFO  org.springframework.osgi.service.OsgiServiceExporter info.118  -
Publishing service [[org.apache.felix.shell.Command]]

INFO  org.springframework.osgi.context.ContextLoaderListener info.118  -
Starting bundle [apacheds-protocol-ldap-osgi Spring enabled bundle] with
configuration [bundle-url:bundle://23.0/0/META-INF/spring/server-
osgi.xml,bundle-url:bundle://23.0/0/META-INF/spring/server.xml]

INFO  org.apache.directory.server.ldap.osgi.DefaultServerConfigurator
schedule.70  - Scheduling the configuration of a default ldap server in
5 seconds

INFO  org.apache.directory.server.ldap.osgi.LdapServer <init>.55  -
Apache LDAP Service listening on port 10389

- John


Mime
View raw message