Salut all, I want to run some unit tests for some services. Therefor I took the default-hibernate example project, executed "keel:maven", "keel:uberjar" and after that "keel:tests". All I get is this exception:
[output] [junit] Testsuite: org.keel.services.query.QueryTests [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.535 sec [junit] ----------------------------------------- [junit] java.lang.RuntimeException: Attempting to configure the logger manager before logging configuration has been read [junit] at org.keel.core.container.KeelContainerFactory.getLoggerManager(KeelContainerFactory.java:566) [junit] ------------- Standard Error ----------------- [junit] ====> Start org.keel.services.query.QueryTests#testBasics [junit] at org.keel.core.container.KeelContainerFactory.getLogger(KeelContainerFactory.java:484) [junit] [KeelContainerFactory] Initializing Keel Container... [junit] at org.keel.core.container.KeelContainerFactory.verifyConfiguration(KeelContainerFactory.java:358) [junit] Fatal Error at Line -1, column -1 in null:Premature end of file. [junit] at org.keel.core.container.KeelContainerFactory.buildConfigs(KeelContainerFactory.java:373) [junit] at org.keel.core.container.KeelContainerFactory.getContainerManager(KeelContainerFactory.java:142) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:631) [junit] [KeelContainerFactory] Server Working directory is /var/data1/workspace/keel-example [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:614) [junit] at org.keel.util.test.AbstractKeelTest.setUp(AbstractKeelTest.java:68) [junit] [KeelContainerFactory] Logging set up in /var/data1/workspace/keel-example [junit] at junit.framework.TestCase.runBare(TestCase.java:125) [junit] at junit.framework.TestResult $1.protect(TestResult.java:106) [junit] [KeelContainerFactory] Server Working directory is /var/data1/workspace/keel-example [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] Error initializing container: [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] org.keel.core.exception.NestedException: Unable to build configurationAttempting to configure the logger manager before logging configuration has been read [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] [junit] [junit] at org.keel.core.container.KeelContainerFactory.getContainerManager(KeelContainerFactory.java:144) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:631) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:614) [junit] at org.keel.util.test.AbstractKeelTest.setUp(AbstractKeelTest.java:68) [junit] at junit.framework.TestCase.runBare(TestCase.java:125) [junit] at junit.framework.TestResult $1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] [junit] ----------------------------------------- [junit] java.lang.RuntimeException: Attempting to configure the logger manager before logging configuration has been read [junit] at org.keel.core.container.KeelContainerFactory.getLoggerManager(KeelContainerFactory.java:566) [junit] at org.keel.core.container.KeelContainerFactory.getLogger(KeelContainerFactory.java:484) [junit] at org.keel.core.container.KeelContainerFactory.verifyConfiguration(KeelContainerFactory.java:358) [junit] at org.keel.core.container.KeelContainerFactory.buildConfigs(KeelContainerFactory.java:373) [junit] at org.keel.core.container.KeelContainerFactory.getContainerManager(KeelContainerFactory.java:142) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:631) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:614) [junit] at org.keel.util.test.AbstractKeelTest.setUp(AbstractKeelTest.java:68) [junit] at junit.framework.TestCase.runBare(TestCase.java:125) [junit] at junit.framework.TestResult $1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] [junit] [junit] ------------- ---------------- --------------- [junit] [junit] Testcase: testBasics took 1.531 sec [junit] Caused an ERROR [junit] Error creating container:Unable to build configurationAttempting to configure the logger manager before logging configuration has been read [junit] org.keel.core.container.ContainerException: Error creating container:Unable to build configurationAttempting to configure the logger manager before logging configuration has been read [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:635) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:614) [junit] at org.keel.util.test.AbstractKeelTest.setUp(AbstractKeelTest.java:68) [junit] at junit.framework.TestCase.runBare(TestCase.java:125) [junit] at junit.framework.TestResult $1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] [junit] ----------------------------------------- [junit] org.keel.core.exception.NestedException: Unable to build configurationAttempting to configure the logger manager before logging configuration has been read [junit] at org.keel.core.container.KeelContainerFactory.getContainerManager(KeelContainerFactory.java:144) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:631) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:614) [junit] at org.keel.util.test.AbstractKeelTest.setUp(AbstractKeelTest.java:68) [junit] at junit.framework.TestCase.runBare(TestCase.java:125) [junit] at junit.framework.TestResult $1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] [junit] ----------------------------------------- [junit] java.lang.RuntimeException: Attempting to configure the logger manager before logging configuration has been read [junit] at org.keel.core.container.KeelContainerFactory.getLoggerManager(KeelContainerFactory.java:566) [junit] at org.keel.core.container.KeelContainerFactory.getLogger(KeelContainerFactory.java:484) [junit] at org.keel.core.container.KeelContainerFactory.verifyConfiguration(KeelContainerFactory.java:358) [junit] at org.keel.core.container.KeelContainerFactory.buildConfigs(KeelContainerFactory.java:373) [junit] at org.keel.core.container.KeelContainerFactory.getContainerManager(KeelContainerFactory.java:142) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:631) [junit] at org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:614) [junit] at org.keel.util.test.AbstractKeelTest.setUp(AbstractKeelTest.java:68) [junit] at junit.framework.TestCase.runBare(TestCase.java:125) [junit] at junit.framework.TestResult $1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] [junit] [junit] [junit] [junit] [junit] Testcase: testBasics [junit] [ERROR] TEST org.keel.services.query.QueryTests FAILED BUILD SUCCESSFUL Total time: 2 minutes 26 seconds Finished at: Wed Apr 13 23:37:57 CEST 2005 [/output] What is wrong... especially what's up with this "premature end of file" message? Thanks in advance, Aleks http://keelframework.org/documentation.shtml Keelgroup mailing list [EMAIL PROTECTED] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com