Buildfile: /home/huehner/work/ob_branches/pi/build.xml set.code.rev: code.rev: init: run.webservice.tests: copy.srcClient: sqlc: [sql] Executing commands [sql] 2 of 2 SQL statements executed successfully [java] 0 [main] INFO org.openbravo.data.Sqlc - strFileProperties: /home/huehner/work/ob_branches/pi/config/Openbravo.properties [java] 967 [main] INFO org.openbravo.data.Sqlc - javaDateFormat: dd-MM-yyyy [java] 998 [main] INFO org.openbravo.data.Sqlc - directory source: . [java] 1008 [main] INFO org.openbravo.data.Sqlc - directory destiny: /home/huehner/work/ob_branches/pi/build/javasqlc/src [java] 1012 [main] INFO org.openbravo.data.Sqlc - file termination: .xsql [java] 1016 [main] INFO org.openbravo.data.Sqlc - file connection: /home/huehner/work/ob_branches/pi/config/Openbravo.properties [java] 1021 [main] INFO org.openbravo.data.Sqlc - Write TXT Files: false [java] 1026 [main] INFO org.openbravo.data.Sqlc - QueryExecutionStrategy: optimized [java] 1030 [main] INFO org.openbravo.data.Sqlc - Loading driver: org.postgresql.Driver [java] 1034 [main] INFO org.openbravo.data.Sqlc - Driver loaded [java] 1043 [main] INFO org.openbravo.data.Sqlc - connect made [java] 0 [main] INFO org.openbravo.data.Sqlc - strFileProperties: /home/huehner/work/ob_branches/pi/config/Openbravo.properties [java] 391 [main] INFO org.openbravo.data.Sqlc - javaDateFormat: dd-MM-yyyy [java] 397 [main] INFO org.openbravo.data.Sqlc - directory source: /home/huehner/work/ob_branches/pi/modules [java] 412 [main] INFO org.openbravo.data.Sqlc - directory destiny: /home/huehner/work/ob_branches/pi/build/javasqlc/src [java] 421 [main] INFO org.openbravo.data.Sqlc - file termination: .xsql [java] 425 [main] INFO org.openbravo.data.Sqlc - file connection: /home/huehner/work/ob_branches/pi/config/Openbravo.properties [java] 428 [main] INFO org.openbravo.data.Sqlc - Write TXT Files: false [java] 441 [main] INFO org.openbravo.data.Sqlc - QueryExecutionStrategy: traditional [java] 444 [main] INFO org.openbravo.data.Sqlc - Loading driver: org.postgresql.Driver [java] 448 [main] INFO org.openbravo.data.Sqlc - Driver loaded [java] 457 [main] INFO org.openbravo.data.Sqlc - connect made buildAD: [java] 0 [main] INFO org.openbravo.data.Sqlc - strFileProperties: /home/huehner/work/ob_branches/pi/config/Openbravo.properties [java] 276 [main] INFO org.openbravo.data.Sqlc - javaDateFormat: dd-MM-yyyy [java] 281 [main] INFO org.openbravo.data.Sqlc - directory source: ../srcAD [java] 285 [main] INFO org.openbravo.data.Sqlc - directory destiny: /home/huehner/work/ob_branches/pi/build/javasqlc/src [java] 288 [main] INFO org.openbravo.data.Sqlc - file termination: .xsql [java] 293 [main] INFO org.openbravo.data.Sqlc - file connection: /home/huehner/work/ob_branches/pi/config/Openbravo.properties [java] 297 [main] INFO org.openbravo.data.Sqlc - Write TXT Files: false [java] 301 [main] INFO org.openbravo.data.Sqlc - QueryExecutionStrategy: traditional [java] 304 [main] INFO org.openbravo.data.Sqlc - Loading driver: org.postgresql.Driver [java] 308 [main] INFO org.openbravo.data.Sqlc - Driver loaded [java] 318 [main] INFO org.openbravo.data.Sqlc - connect made compileSqlc: [sql] Executing commands [sql] 2 of 2 SQL statements executed successfully [javac] /home/huehner/work/ob_branches/pi/src/build.xml:318: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 2 source files to /home/huehner/work/ob_branches/pi/build/classes [javac] /home/huehner/work/ob_branches/pi/src/build.xml:322: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds init: calculate.version: calculate.version.from.hg: calculate.version.from.file: calculate.instance.version: [sql] Executing commands [sql] 1 of 1 SQL statements executed successfully init: compile.src.gen: [javac] /home/huehner/work/ob_branches/pi/src/build.xml:362: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] /home/huehner/work/ob_branches/pi/src/build.xml:373: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds generate.entities.quick: [javac] /home/huehner/work/ob_branches/pi/src/build.xml:268: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] /home/huehner/work/ob_branches/pi/src/build.xml:271: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds run.webservice.tests: [junit] Running org.openbravo.test.AllWebserviceTests [junit] Testsuite: org.openbravo.test.AllWebserviceTests [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 435.701 sec [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 435.701 sec [junit] ------------- Standard Output --------------- [junit] 0 [main] WARN org.openbravo.dal.core.OBContext - The user 100 does not have write access to its current organization repairing that [junit] 387756 [main] ERROR org.openbravo.base.exception.OBException - Exception when executing ws: /ws/dal/City/TEST808127E36CEF0127E37352590002 [junit] java.io.FileNotFoundException: http://localhost:8080/openbravo/ws/dal/City/TEST808127E36CEF0127E37352590002 [junit] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1267) [junit] at org.openbravo.test.webservice.BaseWSTest.doTestGetRequest(BaseWSTest.java:199) [junit] at org.openbravo.test.webservice.BaseWSTest.doTestGetRequest(BaseWSTest.java:174) [junit] at org.openbravo.test.webservice.WSUpdateTest.testReadAddDeleteCity(WSUpdateTest.java:175) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.lang.reflect.Method.invoke(Method.java:616) [junit] at junit.framework.TestCase.runTest(TestCase.java:168) [junit] at org.openbravo.test.base.BaseTest.runTest(BaseTest.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:134) [junit] at junit.framework.TestResult$1.protect(TestResult.java:110) [junit] at junit.framework.TestResult.runProtected(TestResult.java:128) [junit] at junit.framework.TestResult.run(TestResult.java:113) [junit] at junit.framework.TestCase.run(TestCase.java:124) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:232) [junit] at junit.framework.TestSuite.run(TestSuite.java:227) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:232) [junit] at junit.framework.TestSuite.run(TestSuite.java:227) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1339) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:807) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1794) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:761) [junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [junit] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.lang.reflect.Method.invoke(Method.java:616) [junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [junit] at org.apache.tools.ant.Task.perform(Task.java:348) [junit] at org.apache.tools.ant.Target.execute(Target.java:390) [junit] at org.apache.tools.ant.Target.performTasks(Target.java:411) [junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) [junit] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1212) [junit] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441) [junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [junit] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.lang.reflect.Method.invoke(Method.java:616) [junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [junit] at org.apache.tools.ant.Task.perform(Task.java:348) [junit] at org.apache.tools.ant.Target.execute(Target.java:390) [junit] at org.apache.tools.ant.Target.performTasks(Target.java:411) [junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) [junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1329) [junit] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1212) [junit] at org.apache.tools.ant.Main.runBuild(Main.java:801) [junit] at org.apache.tools.ant.Main.startAnt(Main.java:218) [junit] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) [junit] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) [junit] ------------- ---------------- --------------- [junit] ------------- Standard Error ----------------- [junit] org.openbravo.base.exception.OBException: Exception when executing ws: /ws/dal/City/TEST808127E36CEF0127E37352590002 [junit] at org.openbravo.test.webservice.BaseWSTest.doTestGetRequest(BaseWSTest.java:225) [junit] at org.openbravo.test.webservice.BaseWSTest.doTestGetRequest(BaseWSTest.java:174) [junit] at org.openbravo.test.webservice.WSUpdateTest.testReadAddDeleteCity(WSUpdateTest.java:175) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.lang.reflect.Method.invoke(Method.java:616) [junit] at junit.framework.TestCase.runTest(TestCase.java:168) [junit] at org.openbravo.test.base.BaseTest.runTest(BaseTest.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:134) [junit] at junit.framework.TestResult$1.protect(TestResult.java:110) [junit] at junit.framework.TestResult.runProtected(TestResult.java:128) [junit] at junit.framework.TestResult.run(TestResult.java:113) [junit] at junit.framework.TestCase.run(TestCase.java:124) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:232) [junit] at junit.framework.TestSuite.run(TestSuite.java:227) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:232) [junit] at junit.framework.TestSuite.run(TestSuite.java:227) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1339) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:807) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1794) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:761) [junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [junit] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.lang.reflect.Method.invoke(Method.java:616) [junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [junit] at org.apache.tools.ant.Task.perform(Task.java:348) [junit] at org.apache.tools.ant.Target.execute(Target.java:390) [junit] at org.apache.tools.ant.Target.performTasks(Target.java:411) [junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) [junit] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1212) [junit] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441) [junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [junit] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.lang.reflect.Method.invoke(Method.java:616) [junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [junit] at org.apache.tools.ant.Task.perform(Task.java:348) [junit] at org.apache.tools.ant.Target.execute(Target.java:390) [junit] at org.apache.tools.ant.Target.performTasks(Target.java:411) [junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) [junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1329) [junit] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1212) [junit] at org.apache.tools.ant.Main.runBuild(Main.java:801) [junit] at org.apache.tools.ant.Main.startAnt(Main.java:218) [junit] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) [junit] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) [junit] Caused by: java.io.FileNotFoundException: http://localhost:8080/openbravo/ws/dal/City/TEST808127E36CEF0127E37352590002 [junit] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1267) [junit] at org.openbravo.test.webservice.BaseWSTest.doTestGetRequest(BaseWSTest.java:199) [junit] ... 50 more [junit] 27 [junit] ------------- ---------------- --------------- [junit] [junit] Testcase: testSchemaWebService took 38.418 sec [junit] Testcase: testTypesWebService took 0.124 sec [junit] Testcase: testWhereClause took 7.213 sec [junit] Testcase: testPagedWhereClause took 5.48 sec [junit] Testcase: testAllToXML took 368.959 sec [junit] Testcase: testACreateCity took 1.78 sec [junit] Testcase: testReadUpdateCity took 2.267 sec [junit] Testcase: testIncorrectRootTag took 1.251 sec [junit] Testcase: testReadAddDeleteCity took 8.461 sec [junit] Testcase: testReadAddCityWrongMethodError took 1.306 sec [junit] Testcase: testZRemoveCity took 0.052 sec [junit] Testcase: testPerformance took 0.243 sec BUILD SUCCESSFUL Total time: 7 minutes 48 seconds