System Out for MainTest

[DEBUG] Initializing org.apache.fulcrum.yaafi.cli.Main
[DEBUG] Looking for ./src/test/TestYaafiContainerConfig.xml in the root directory
[DEBUG] Found ./src/test/TestYaafiContainerConfig.xml as /Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi/./src/test/TestYaafiContainerConfig.xml
[DEBUG] Successfully located ./src/test/TestYaafiContainerConfig.xml
[DEBUG] Successfully located null
[DEBUG] Loading the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Instantiating the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Using the following configuration : <?xml version="1.0" encoding="UTF-8"?>
<fulcrum-yaafi><reconfigurationDelay>0</reconfigurationDelay><hasDynamicProxies>true</hasDynamicProxies><componentRoles><location>./src/test/TestRoleConfig.xml</location></componentRoles><componentConfiguration><location>./src/test/TestComponentConfig.xml</location></componentConfiguration><componentConfigurationProperties><resolver>org.apache.fulcrum.yaafi.framework.configuration.ComponentConfigurationPropertiesResolverImpl</resolver><location>./src/test/TestComponentConfig.properties</location></componentConfigurationProperties><parameters><location>./src/test/TestParameters.properties</location></parameters><interceptors><interceptor>org.apache.fulcrum.yaafi.interceptor.jamon.JamonInterceptorService</interceptor><interceptor>org.apache.fulcrum.yaafi.interceptor.performance.PerformanceInterceptorService</interceptor><interceptor>org.apache.fulcrum.yaafi.interceptor.logging.LoggingInterceptorService</interceptor></interceptors></fulcrum-yaafi>
[DEBUG] Using the following container type : yaafi
[DEBUG] Using the following default interceptor service : org.apache.fulcrum.yaafi.interceptor.jamon.JamonInterceptorService
[DEBUG] Using the following default interceptor service : org.apache.fulcrum.yaafi.interceptor.performance.PerformanceInterceptorService
[DEBUG] Using the following default interceptor service : org.apache.fulcrum.yaafi.interceptor.logging.LoggingInterceptorService
[DEBUG] YAAFI Service Framework is starting up
[DEBUG] Setting applicationRootDir to /Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi
[DEBUG] Setting tempRootDir to /tmp
[DEBUG] Looking for ./src/test/TestRoleConfig.xml in the root directory
[DEBUG] Found ./src/test/TestRoleConfig.xml as /Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi/./src/test/TestRoleConfig.xml
[DEBUG] Successfully located ./src/test/TestRoleConfig.xml
[DEBUG] Successfully located null
[DEBUG] Looking for ./src/test/TestComponentConfig.xml in the root directory
[DEBUG] Found ./src/test/TestComponentConfig.xml as /Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi/./src/test/TestComponentConfig.xml
[DEBUG] Successfully located ./src/test/TestComponentConfig.xml
[DEBUG] Successfully located null
[DEBUG] Looking for ./src/test/TestComponentConfig.properties in the root directory
[DEBUG] Found ./src/test/TestComponentConfig.properties as /Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi/./src/test/TestComponentConfig.properties
[DEBUG] Successfully located ./src/test/TestComponentConfig.properties
[DEBUG] Successfully located null
[DEBUG] Using the following componentConfigurationProperties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, urn:avalon:temp=/tmp, sun.boot.library.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries, java.vm.version=1.4.2-76, vendor-url=http://xml.apache.org/xalan-j, awt.nativeDoubleBuffering=true, urn:avalon:home=/Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi, gopherProxySet=false, java.vm.vendor="Apple Computer, Inc.", java.vendor.url=http://apple.com/, path.separator=:, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.java.launcher=SUN_STANDARD, sun.os.patch.level=unknown, urn:avalon:name=fulcrum-yaafi, java.vm.specification.name=Java Virtual Machine Specification, user.dir=/Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi, org.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl, urn:avalon:partition=root, java.runtime.version=1.4.2_12-269, java.awt.graphicsenv=apple.awt.CGraphicsEnvironment, basedir=/Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi, java.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/endorsed, os.arch=i386, java.io.tmpdir=/tmp, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., os.name=Mac OS X, sun.java2d.fontpath=, vendor=Apache Software Foundation, testComponent.FOO=FOO, reconfigurationService.interval=5000, java.library.path=.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.MacOSXPreferencesFactory, os.version=10.4.10, user.home=/Users/siegfriedgoeschl, user.timezone=, java.awt.printerjob=apple.awt.CPrinterJob, java.specification.version=1.4, file.encoding=MacRoman, user.name=siegfriedgoeschl, java.class.path=/Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi/target/test-classes:/Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi/target/classes:/Users/siegfriedgoeschl/.maven/repository/jamon/jars/jamon-2.6.jar:/Users/siegfriedgoeschl/.maven/repository/avalon-framework/jars/avalon-framework-api-4.3.jar:/Users/siegfriedgoeschl/.maven/repository/avalon-framework/jars/avalon-framework-impl-4.3.jar:/Users/siegfriedgoeschl/.maven/repository/junit/jars/junit-3.8.2.jar:/Users/siegfriedgoeschl/.maven/repository/xml-apis/jars/xml-apis-1.3.03.jar:/Users/siegfriedgoeschl/.maven/repository/xerces/jars/xercesImpl-2.8.0.jar:/Users/siegfriedgoeschl/.maven/repository/xml-resolver/jars/xml-resolver-1.1.jar:/usr/java/maven-1.1/lib/ant-launcher-1.6.5.jar:/usr/java/maven-1.1/lib/ant-1.6.5.jar:/usr/java/maven-1.1/lib/ant-junit-1.6.5.jar, java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home, java.specification.vendor=Sun Microsystems Inc., user.language=en, awt.toolkit=apple.awt.CToolkit, java.vm.info=mixed mode, java.version=1.4.2_12, java.ext.dirs=/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/ext, sun.boot.class.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/charsets.jar, java.vendor=Apple Computer, Inc., file.separator=/, java.vendor.url.bug=http://developer.apple.com/java/, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, version=2.4.1, mrj.version=269, sun.cpu.isalist=}
[DEBUG] Looking for ./src/test/TestParameters.properties in the root directory
[DEBUG] Found ./src/test/TestParameters.properties as /Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi/./src/test/TestParameters.properties
[DEBUG] Successfully located ./src/test/TestParameters.properties
[DEBUG] Successfully located null
[DEBUG] Configuring the service component LoggingInterceptorService
[DEBUG] Configuring the service component PerformanceInterceptorService
[DEBUG] Configuring the service component JamonInterceptorService
[DEBUG] Configuring the service component org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Configuring the service component AdviceService
[DEBUG] Configuring the service component SystemPropertyService
[DEBUG] Configuring the service component ReconfigurationService
[DEBUG] Configuring the service component ShutdownService
[DEBUG] Configuring the service component DependentTestComponent
[DEBUG] Configuring the service component TestComponent
[DEBUG] Configuring the service component DerivedService
[DEBUG] Incarnating the service LoggingInterceptorService
[DEBUG] Instantiating the implementation class for LoggingInterceptorService
[DEBUG] Incarnating the service LoggingInterceptorService
[DEBUG] LogEnabled.enableLogging() for LoggingInterceptorService
[DEBUG] Contextualizable.contextualize() for LoggingInterceptorService
[DEBUG] Configurable.configure() for LoggingInterceptorService
[DEBUG] Initializable.initialize() for LoggingInterceptorService
[DEBUG] Incarnating the service PerformanceInterceptorService
[DEBUG] Instantiating the implementation class for PerformanceInterceptorService
[DEBUG] Incarnating the service PerformanceInterceptorService
[DEBUG] LogEnabled.enableLogging() for PerformanceInterceptorService
[DEBUG] Contextualizable.contextualize() for PerformanceInterceptorService
[DEBUG] Configurable.configure() for PerformanceInterceptorService
[DEBUG] Incarnating the service JamonInterceptorService
[DEBUG] Instantiating the implementation class for JamonInterceptorService
[DEBUG] Incarnating the service JamonInterceptorService
[DEBUG] LogEnabled.enableLogging() for JamonInterceptorService
[DEBUG] Contextualizable.contextualize() for JamonInterceptorService
[DEBUG] Configurable.configure() for JamonInterceptorService
[DEBUG] Initializable.initialize() for JamonInterceptorService
[DEBUG] The JamonInterceptorService is enabled
[DEBUG] Incarnating the service org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Instantiating the implementation class for org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Incarnating the service org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] LogEnabled.enableLogging() for org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Contextualizable.contextualize() for org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Serviceable.service() for org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Parameterizable.parametrize() for org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Creating a dynamic proxy for org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Incarnating the service AdviceService
[DEBUG] Instantiating the implementation class for AdviceService
[DEBUG] Incarnating the service AdviceService
[DEBUG] LogEnabled.enableLogging() for AdviceService
[DEBUG] Contextualizable.contextualize() for AdviceService
[DEBUG] Serviceable.service() for AdviceService
[DEBUG] Configurable.configure() for AdviceService
[DEBUG] Creating a dynamic proxy for AdviceService
[DEBUG] Incarnating the service SystemPropertyService
[DEBUG] Instantiating the implementation class for SystemPropertyService
[DEBUG] Incarnating the service SystemPropertyService
[DEBUG] LogEnabled.enableLogging() for SystemPropertyService
[DEBUG] Configurable.configure() for SystemPropertyService
[DEBUG] Setting the value of FOO to BAR
[DEBUG] Processed the following number of properties : 1
[DEBUG] Creating a dynamic proxy for SystemPropertyService
[DEBUG] Incarnating the service ReconfigurationService
[DEBUG] Incarnating the service ShutdownService
[DEBUG] Instantiating the implementation class for ShutdownService
[DEBUG] Incarnating the service ShutdownService
[DEBUG] LogEnabled.enableLogging() for ShutdownService
[DEBUG] Contextualizable.contextualize() for ShutdownService
[DEBUG] Serviceable.service() for ShutdownService
[DEBUG] Configurable.configure() for ShutdownService
[DEBUG] Monitoring the resources every 5000 ms
[DEBUG] Using a shutdown entry : ./src/test/shutdown.txt
[DEBUG] Initializable.initialize() for ShutdownService
[DEBUG] Startable.start() for ShutdownService
[DEBUG] Starting worker thread ...
[DEBUG] Creating a dynamic proxy for ShutdownService
[DEBUG] Incarnating the service DependentTestComponent
[DEBUG] Instantiating the implementation class for DependentTestComponent
[DEBUG] Incarnating the service DependentTestComponent
[DEBUG] LogEnabled.enableLogging() for DependentTestComponent
[DEBUG] Serviceable.service() for DependentTestComponent
[DEBUG] Instantiating the implementation class for TestComponent
[DEBUG] Incarnating the service TestComponent
[DEBUG] LogEnabled.enableLogging() for TestComponent
[DEBUG] Contextualizable.contextualize() for TestComponent
[DEBUG] Configurable.configure() for TestComponent
[DEBUG] Parameterizable.parametrize() for TestComponent
[DEBUG] Initializable.initialize() for TestComponent
[DEBUG] initialize() was called
[DEBUG] Creating a dynamic proxy for TestComponent
[DEBUG] Creating a dynamic proxy for DependentTestComponent
[DEBUG] Incarnating the service TestComponent
[DEBUG] Incarnating the service DerivedService
[DEBUG] YAAFI Avalon Service Container is up and running
[DEBUG] Registering shutdown hook
[DEBUG] Terminating org.apache.fulcrum.yaafi.cli.Main
[DEBUG] Waiting for shutdown handler thread to terminate
[DEBUG] Shutdown handler thread is terminated
[DEBUG] Disposing all services
[DEBUG] Decommision the service DerivedService
[DEBUG] Decommisioning the service DerivedService
[DEBUG] Decommision the service TestComponent
[DEBUG] Decommisioning the service TestComponent
[DEBUG] Disposable.dispose() for TestComponent
[DEBUG] dispose() was called
[DEBUG] Decommision the service DependentTestComponent
[DEBUG] Decommisioning the service DependentTestComponent
[DEBUG] Decommision the service ShutdownService
[DEBUG] Decommisioning the service ShutdownService
[DEBUG] Startable.stop() for ShutdownService
[DEBUG] Stopping worker thread ...
[DEBUG] Storing SHA-1 digest of ./src/test/shutdown.txt
[DEBUG] Disposable.dispose() for ShutdownService
[DEBUG] Decommision the service ReconfigurationService
[DEBUG] Decommisioning the service ReconfigurationService
[DEBUG] Decommision the service SystemPropertyService
[DEBUG] Decommisioning the service SystemPropertyService
[DEBUG] Decommision the service AdviceService
[DEBUG] Decommisioning the service AdviceService
[DEBUG] Decommision the service org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Decommisioning the service org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Disposable.dispose() for org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Decommision the service JamonInterceptorService
[DEBUG] Decommisioning the service JamonInterceptorService
[DEBUG] Disposable.dispose() for JamonInterceptorService
[DEBUG] Writing JAMOM report to /Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi/./temp/jamon.html
[DEBUG] Decommision the service PerformanceInterceptorService
[DEBUG] Decommisioning the service PerformanceInterceptorService
[DEBUG] Decommision the service LoggingInterceptorService
[DEBUG] Decommisioning the service LoggingInterceptorService
[DEBUG] Disposing the service DerivedService
[DEBUG] Disposing the service TestComponent
[DEBUG] Disposing the service DependentTestComponent
[DEBUG] Disposing the service ShutdownService
[DEBUG] Disposing the service ReconfigurationService
[DEBUG] Disposing the service SystemPropertyService
[DEBUG] Disposing the service AdviceService
[DEBUG] Disposing the service org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService
[DEBUG] Disposing the service JamonInterceptorService
[DEBUG] Disposing the service PerformanceInterceptorService
[DEBUG] Disposing the service LoggingInterceptorService
[DEBUG] All services are disposed
org.apache.fulcrum.yaafi.cli.Main@898587[workingDir=/Users/siegfriedgoeschl/work/asf/turbine/fulcrum/tags/FULCRUM_YAAFI_1_0_5/yaafi,args=--yaafi.cli.applicationHome . --yaafi.cli.config ./src/test/TestYaafiContainerConfig.xml,applicationName=main,applicationHome=.,tempHome=/tmp,logger=org.apache.avalon.framework.logger.ConsoleLogger,isBlocking=false,hasShutdownHook=true,containerConfigValue=./src/test/TestYaafiContainerConfig.xml]
[DEBUG] Initializing org.apache.fulcrum.yaafi.cli.Main
[DEBUG] Looking for  ./src/test/foo.xml in the root directory
[DEBUG] Looking for  ./src/test/foo.xml as absolute file location
[WARNING] Unable to locate  ./src/test/foo.xml
[DEBUG] Looking for /foo.xml using the class loader
[WARNING] Unable to locate /foo.xml
[ERROR] Unable to locate the containerConfiguration file :  ./src/test/foo.xml
[ERROR] Failed to run org.apache.fulcrum.yaafi.cli.Main
java.io.IOException: Unable to locate the containerConfiguration file :  ./src/test/foo.xml
	at org.apache.fulcrum.yaafi.framework.factory.ServiceContainerConfiguration.loadContainerConfiguration(ServiceContainerConfiguration.java:668)
	at org.apache.fulcrum.yaafi.cli.Main.initialize(Main.java:574)
	at org.apache.fulcrum.yaafi.cli.Main.run(Main.java:254)
	at org.apache.fulcrum.yaafi.cli.MainTest.testInvlidContainerConfiguration(MainTest.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)