Hi again. Due to lack of documentation, can somebody present me some piece of code for usage of Fortress. I want nothing fancy, just basic usage (I guess it should be something similar to ECM) so I could experiment with it. I tries with something like following ...
DefaultContainer container = new DefaultContainer(); container.enableLogging(new ConsoleLogger()); container.contextualize(ContextBuilder.createDefaultContext()); Configuration configuration = new DefaultConfigurationBuilder().buildFromFile("system.xconf"); container.configure(configuration); container.initialize(); Foo foo = (Foo) container.getServiceManager().lookup(Foo.ROLE); It raises exception in contextualize() saying it cannot find some settings ('container.logManager' etc..) ?! Regards, Vjeran -- To unsubscribe, e-mail: <mailto:avalon-users-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:avalon-users-help@;jakarta.apache.org>