Log configuration should be cleaned up : one config file, with commented log defaults for available log packages & levels, easily customized by the user & at release time, one single log file, in all execution environments (test, dev run, release run...).
In particular, the missing log folder bug should be fixed :
When checkouting and running the tests, because the folder /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log is missing, the CPU goes to 100% use and in an endless loop. When it is manually created, the test pass OK (Thanks to Stefane Fermigier). Stack trace :
T E S T S
Running org.easysoa.rest.DocumentCreationTest
WARN [EasySOAInitComponent] Failed to access default repository for initialization: null
ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.contrib.directories
ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.contrib.coretypes
ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.component.docservice
ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.component.notification
ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.component.vocabulary
ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.component.init
ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.contrib.eventlistener
ERROR [ComponentManagerImpl] Duplicate component name: service:org.nuxeo.ecm.directory.types
WARN [JettyComponent] failed org.mortbay.jetty.NCSARequestLog@f786a3c
java.io.IOException: Cannot write log directory /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log
at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:217)
at org.mortbay.util.RolloverFileOutputStream.(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:419)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:253)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:310)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:412)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:428)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:440)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:203)
at org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:151)
at org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:131)
at org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:146)
at org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:164)
at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:206)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
WARN [JettyComponent] failed RequestLogHandler@3cd0d12e
java.io.IOException: Cannot write log directory /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log
at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:217)
at org.mortbay.util.RolloverFileOutputStream.(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:419)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:253)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:310)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:412)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:428)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:440)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:203)
at org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:151)
at org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:131)
at org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:146)
at org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:164)
at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:206)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
WARN [JettyComponent] failed HandlerCollection@4883d37a
java.io.IOException: Cannot write log directory /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log
at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:217)
at org.mortbay.util.RolloverFileOutputStream.(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:419)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:253)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:310)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:412)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:428)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:440)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:203)
at org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:151)
at org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:131)
at org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:146)
at org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:164)
at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:206)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
WARN [JettyComponent] Error starting handlers
java.io.IOException: Cannot write log directory /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log
at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:217)
at org.mortbay.util.RolloverFileOutputStream.(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:419)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:253)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:310)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:412)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:428)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:440)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:203)
at org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:151)
at org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:131)
at org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:146)
at org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:164)
at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:206)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
DatabaseHelper: Database used for VCS tests: org.nuxeo.ecm.core.storage.sql.DatabaseH2
INFO [AbstractRestTest] Running test on external Nuxeo
WARN [AutomationHelper] Failed to create automation session: Connection to http://localhost:8080 refused
WARN [RestNotificationImpl] Failed to send the notification due to an external problem (Nuxeo not started?)
WARN [RestNotificationImpl] Failed to send the notification due to an external problem (Nuxeo not started?)
WARN [RestNotificationImpl] Failed to send the notification due to an external problem (Nuxeo not started?)
Log configuration should be cleaned up : one config file, with commented log defaults for available log packages & levels, easily customized by the user & at release time, one single log file, in all execution environments (test, dev run, release run...).
In particular, the missing log folder bug should be fixed :
When checkouting and running the tests, because the folder /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log is missing, the CPU goes to 100% use and in an endless loop. When it is manually created, the test pass OK (Thanks to Stefane Fermigier). Stack trace :
T E S T S
Running org.easysoa.rest.DocumentCreationTest WARN [EasySOAInitComponent] Failed to access default repository for initialization: null ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.contrib.directories ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.contrib.coretypes ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.component.docservice ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.component.notification ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.component.vocabulary ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.component.init ERROR [ComponentManagerImpl] Duplicate component name: service:org.easysoa.core.contrib.eventlistener ERROR [ComponentManagerImpl] Duplicate component name: service:org.nuxeo.ecm.directory.types WARN [JettyComponent] failed org.mortbay.jetty.NCSARequestLog@f786a3c java.io.IOException: Cannot write log directory /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:217) at org.mortbay.util.RolloverFileOutputStream.(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:419)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:253)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:310)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:412)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:428)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:440)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:203)
at org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:151)
at org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:131)
at org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:146)
at org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:164)
at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:206)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
WARN [JettyComponent] failed RequestLogHandler@3cd0d12e
java.io.IOException: Cannot write log directory /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log
at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:217)
at org.mortbay.util.RolloverFileOutputStream.(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:419)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:253)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:310)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:412)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:428)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:440)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:203)
at org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:151)
at org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:131)
at org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:146)
at org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:164)
at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:206)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
WARN [JettyComponent] failed HandlerCollection@4883d37a
java.io.IOException: Cannot write log directory /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log
at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:217)
at org.mortbay.util.RolloverFileOutputStream.(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:419)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:253)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:310)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:412)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:428)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:440)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:203)
at org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:151)
at org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:131)
at org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:146)
at org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:164)
at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:206)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
WARN [JettyComponent] Error starting handlers
java.io.IOException: Cannot write log directory /Users/fermigier/git/easysoa-model-demo/plugins/easysoa-model-demo-rest/log
at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputStream.java:217)
at org.mortbay.util.RolloverFileOutputStream.(RolloverFileOutputStream.java:164)
at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:419)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.nuxeo.runtime.jetty.JettyComponent.applicationStarted(JettyComponent.java:253)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:310)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:412)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:428)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:440)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:203)
at org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:151)
at org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:131)
at org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:146)
at org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:164)
at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:206)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
ERROR [OSGiRuntimeService] Nuxeo EP Started
= Nuxeo EP Started
= Component Loading Errors:
* Duplicate component name: service:org.nuxeo.ecm.directory.types
= Component Loading Status: Pending: 4 / Unstarted: 0 / Total: 74
* service:org.easysoa.core.contrib.layout requires [service:org.nuxeo.ecm.platform.forms.layout.WebLayoutManager]
DatabaseHelper: Database used for VCS tests: org.nuxeo.ecm.core.storage.sql.DatabaseH2 INFO [AbstractRestTest] Running test on external Nuxeo WARN [AutomationHelper] Failed to create automation session: Connection to http://localhost:8080 refused WARN [RestNotificationImpl] Failed to send the notification due to an external problem (Nuxeo not started?) WARN [RestNotificationImpl] Failed to send the notification due to an external problem (Nuxeo not started?) WARN [RestNotificationImpl] Failed to send the notification due to an external problem (Nuxeo not started?)