Workflow : "ant remotconfigtest"

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:bfcc19506634e3092e70133f8c28ddb5' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>Dans le module repository, fichier conf/properties/repository-filters.xml :<br />\ndans la balise<br />\n<property name=\"commonFiltersList\">, j\'ai mis<br />\n<entry key=\"md-ori-oai-repository\"></p>\n<list>\n <value>CEL - ©HAL</value><br />\n </list>\n</entry><br />\npour n\'exposer que les fiches provenant de l\'entrepôt CEL - ©HAL (CEL -<br />\n[caractère copyright]HAL).</p>\n</div>\n', created = 1507750122, expire = 1507836522, headers = '', serialized = 0 WHERE cid = '4:bfcc19506634e3092e70133f8c28ddb5' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:bfcc19506634e3092e70133f8c28ddb5' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>Dans le module repository, fichier conf/properties/repository-filters.xml :<br />\ndans la balise<br />\n<property name=\"commonFiltersList\">, j\'ai mis<br />\n<entry key=\"md-ori-oai-repository\"></p>\n<list>\n <value>CEL - ©HAL</value><br />\n </list>\n</entry><br />\npour n\'exposer que les fiches provenant de l\'entrepôt CEL - ©HAL (CEL -<br />\n[caractère copyright]HAL).</p>\n</div>\n', created = 1507750122, expire = 1507836522, headers = '', serialized = 0 WHERE cid = '4:bfcc19506634e3092e70133f8c28ddb5' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:4952076b57f49671186581c9344abfc0' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour à tous,<br />\nJe transfère une question de Michel Bouloc du Cines !</p>\n<p>Serait-il possible de rapeller brièvement ce que sont censés faire les<br />\ntests du \"ant remotconfigtest\" ?<br />\n(testGetVocabulariesId, testSearchIndexingServices, ...)</p>\n<p>Merci,</p>\n<p>Jacques</p>\n<p>Michel Bouloc a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> bonjour Jacques,<br />\n> (ou rebonjour)<br />\n><br />\n> j\'ai une nouvelle erreur à l\'étape de test : \"ant remotconfigtest\" :<br />\n><br />\n> une idée de piste pour corriger ?<br />\n><br />\n> __________________________________________________________________________________<br />\n> # ant remoteconfigtest<br />\n> Buildfile: build.xml<br />\n><br />\n> prepare:<br />\n><br />\n> compile-java:<br />\n><br />\n> compile-web:<br />\n> [copy] Copying 231 files to<br />\n> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes<br />\n> [copy] Copying 4 files to<br />\n> /usr/local/ori/src/ori-oai-workflow-svn/buildant<br />\n><br />\n> compile:<br />\n><br />\n> compile-test-java:<br />\n> [javac] Compiling 18 source files to<br />\n> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes<br />\n> [javac] Note:<br />\n> /usr/local/ori/src/ori-oai-workflow-svn/test/org/orioai/workflow/services/remote/TestIndexingServices.java<br />\n> uses unchecked or unsafe operations.<br />\n> [javac] Note: Recompile with -Xlint:unchecked for details.<br />\n><br />\n> remoteconfigtest:<br />\n> [junit] Testsuite: org.orioai.workflow.RemoteConfigTest<br />\n> [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 10,243 sec<br />\n> [junit] ------------- Standard Output ---------------<br />\n> [junit] Retrieving document at \'null\'.<br />\n> [junit] Retrieving document at \'null\'.<br />\n> [junit] ------------- ---------------- ---------------<br />\n> [junit]<br />\n> [junit] Testcase: testGetVocabulariesId took 9,484 sec<br />\n> [junit] Testcase: testSearchIndexingServices took 0,634 sec<br />\n> [junit] Testcase: testInitialDirContextFactory took 0,039 sec<br />\n> [*junit] Testcase: testConnectUrls took 0,045 sec<br />\n> [junit] Caused an ERROR<br />\n> [junit] no protocol: /ori-md-editor/lom-full/remote*<br />\n> [junit] java.net.MalformedURLException: no protocol:<br />\n> /ori-md-editor/lom-full/remote<br />\n> [junit] at java.net.URL.<init>(URL.java:567)<br />\n> [junit] at java.net.URL.<init>(URL.java:464)<br />\n> [junit] at java.net.URL.<init>(URL.java:413)<br />\n> [junit] at<br />\n> org.orioai.workflow.services.remote.TestMdEditorFormsUrls$1.doFilter(TestMdEditorFormsUrls.java:30)<br />\n> [junit] at<br />\n> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)<br />\n> [junit] at<br />\n> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)<br />\n> [junit] at<br />\n> org.esupportail.commons.batch.WebApplicationFilter.run(WebApplicationFilter.java:70)<br />\n> [junit] at<br />\n> org.orioai.workflow.services.remote.TestMdEditorFormsUrls.testConnectUrls(TestMdEditorFormsUrls.java:22)<br />\n> [junit] at<br />\n> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)<br />\n> [junit]<br />\n> [junit] Testcase: testSmtp took 0,032 sec<br />\n> [junit] Test org.orioai.workflow.RemoteConfigTest FAILED<br />\n><br />\n> BUILD SUCCESSFUL<br />\n> Total time: 15 seconds<br />\n> ____________________________________________________________<br />\n><br />\n><br />\n> A+<br />\n><br />\n><br />\n> ------------------------<br />\n> Michel BOULOC<br />\n><br />\n> <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#98;&#111;&#117;&#108;&#111;&#99;&#64;&#99;&#105;&#110;&#101;&#115;&#46;&#102;&#114;\">&#98;&#111;&#117;&#108;&#111;&#99;&#64;&#99;&#105;&#110;&#101;&#115;&#46;&#102;&#114;</a><br />\n> 04-67-14-14-18<br />\n> ------------------------<br />\n><br />\n><br />\n></div>\n</blockquote>\n<p>--<br />\nJacques Brassart<br />\nUNR Nord-Pas de Calais<br />\nUniversité de Valenciennes et du Hainaut-Cambrésis<br />\nTél : 03 27 51 17 70</p>\n</div>\n', created = 1507750123, expire = 1507836523, headers = '', serialized = 0 WHERE cid = '4:4952076b57f49671186581c9344abfc0' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:771231c482d567fbafbdaaa8fe35871d' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>En fait la solution : il fallait mettre une valeur au paramètre</p>\n<p>PUBLIC_URL_MD_EDITOR dans le fichier \"commons-parameters.properties\"<br />\n(du répertoire : \"/usr/local/ori/src/ori-oai-commons-quick-install-svn\").</p>\n<p>du style : \"http://localhost:8186/ori-oai-md-editor\".</p>\n<p>mais la réponse à la question de Jacques Brassart reste intéressante ...</p>\n<p>A+</p>\n<p>------------------------<br />\nMichel BOULOC</p>\n<p><a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#98;&#111;&#117;&#108;&#111;&#99;&#64;&#99;&#105;&#110;&#101;&#115;&#46;&#102;&#114;\">&#98;&#111;&#117;&#108;&#111;&#99;&#64;&#99;&#105;&#110;&#101;&#115;&#46;&#102;&#114;</a><br />\n04-67-14-14-18<br />\n------------------------</p>\n<p>Jacques Brassart a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour à tous,<br />\n> Je transfère une question de Michel Bouloc du Cines !<br />\n><br />\n> Serait-il possible de rapeller brièvement ce que sont censés faire les<br />\n> tests du \"ant remotconfigtest\" ?<br />\n> (testGetVocabulariesId, testSearchIndexingServices, ...)<br />\n><br />\n> Merci,<br />\n><br />\n> Jacques<br />\n><br />\n><br />\n> Michel Bouloc a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> bonjour Jacques,<br />\n>> (ou rebonjour)<br />\n>><br />\n>> j\'ai une nouvelle erreur à l\'étape de test : \"ant remotconfigtest\" :<br />\n>><br />\n>> une idée de piste pour corriger ?<br />\n>><br />\n>> <u>________________________________________________________________________________</u><br />\n>><br />\n>> # ant remoteconfigtest<br />\n>> Buildfile: build.xml<br />\n>><br />\n>> prepare:<br />\n>><br />\n>> compile-java:<br />\n>><br />\n>> compile-web:<br />\n>> [copy] Copying 231 files to<br />\n>> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes<br />\n>> [copy] Copying 4 files to<br />\n>> /usr/local/ori/src/ori-oai-workflow-svn/buildant<br />\n>><br />\n>> compile:<br />\n>><br />\n>> compile-test-java:<br />\n>> [javac] Compiling 18 source files to<br />\n>> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes<br />\n>> [javac] Note:<br />\n>> /usr/local/ori/src/ori-oai-workflow-svn/test/org/orioai/workflow/services/remote/TestIndexingServices.java<br />\n>> uses unchecked or unsafe operations.<br />\n>> [javac] Note: Recompile with -Xlint:unchecked for details.<br />\n>><br />\n>> remoteconfigtest:<br />\n>> [junit] Testsuite: org.orioai.workflow.RemoteConfigTest<br />\n>> [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed:<br />\n>> 10,243 sec<br />\n>> [junit] ------------- Standard Output ---------------<br />\n>> [junit] Retrieving document at \'null\'.<br />\n>> [junit] Retrieving document at \'null\'.<br />\n>> [junit] ------------- ---------------- ---------------<br />\n>> [junit]<br />\n>> [junit] Testcase: testGetVocabulariesId took 9,484 sec<br />\n>> [junit] Testcase: testSearchIndexingServices took 0,634 sec<br />\n>> [junit] Testcase: testInitialDirContextFactory took 0,039 sec<br />\n>> [*junit] Testcase: testConnectUrls took 0,045 sec<br />\n>> [junit] Caused an ERROR<br />\n>> [junit] no protocol: /ori-md-editor/lom-full/remote*<br />\n>> [junit] java.net.MalformedURLException: no protocol:<br />\n>> /ori-md-editor/lom-full/remote<br />\n>> [junit] at java.net.URL.<init>(URL.java:567)<br />\n>> [junit] at java.net.URL.<init>(URL.java:464)<br />\n>> [junit] at java.net.URL.<init>(URL.java:413)<br />\n>> [junit] at<br />\n>> org.orioai.workflow.services.remote.TestMdEditorFormsUrls$1.doFilter(TestMdEditorFormsUrls.java:30)<br />\n>><br />\n>> [junit] at<br />\n>> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)<br />\n>><br />\n>> [junit] at<br />\n>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)<br />\n>><br />\n>> [junit] at<br />\n>> org.esupportail.commons.batch.WebApplicationFilter.run(WebApplicationFilter.java:70)<br />\n>><br />\n>> [junit] at<br />\n>> org.orioai.workflow.services.remote.TestMdEditorFormsUrls.testConnectUrls(TestMdEditorFormsUrls.java:22)<br />\n>><br />\n>> [junit] at<br />\n>> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)<br />\n>><br />\n>> [junit]<br />\n>> [junit] Testcase: testSmtp took 0,032 sec<br />\n>> [junit] Test org.orioai.workflow.RemoteConfigTest FAILED<br />\n>><br />\n>> BUILD SUCCESSFUL<br />\n>> Total time: 15 seconds<br />\n>> ____________________________________________________________<br />\n>><br />\n>><br />\n>> A+<br />\n>><br />\n>><br />\n>> ------------------------<br />\n>> Michel BOULOC<br />\n>><br />\n>> <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#98;&#111;&#117;&#108;&#111;&#99;&#64;&#99;&#105;&#110;&#101;&#115;&#46;&#102;&#114;\">&#98;&#111;&#117;&#108;&#111;&#99;&#64;&#99;&#105;&#110;&#101;&#115;&#46;&#102;&#114;</a><br />\n>> 04-67-14-14-18<br />\n>> ------------------------<br />\n>><br />\n>><br />\n>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>></div>\n</blockquote>\n</div>\n', created = 1507750124, expire = 1507836524, headers = '', serialized = 0 WHERE cid = '4:771231c482d567fbafbdaaa8fe35871d' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:f49257c945922174e53216d211fff2f1' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_1\"><p>>><br />\n>> Serait-il possible de rapeller brièvement ce que sont censés faire<br />\n>> les tests du \"ant remotconfigtest\" ?<br />\n>> (testGetVocabulariesId, testSearchIndexingServices, ...)<br />\n>></div>\n</blockquote>\n<p>Il est vrai que des messages de retour de ces tests pourraient être plus<br />\nexplicites...<br />\nLa suite de test definie par remotconfigtest est composée des tests<br />\nsuivants :</p>\n<p>1. verifie que les paramètres de connexions à distance aux autres<br />\nmodules ou services sont corrects<br />\n suite.addTestSuite(TestVocabularyService.class);<br />\n suite.addTestSuite(TestIndexingServices.class);<br />\n suite.addTestSuite(TestLdap.class);<br />\n suite.addTestSuite(TestSmtp.class);</p>\n<p>2. vérifie que les Web services offerts par le module par Web services<br />\naux autres modules répondent correctement.<br />\n suite.addTestSuite(TestMdEditorFormsUrls.class); ici c\'est un<br />\ntest pour un des WS appelés par le md-editor</p>\n<p>Cette deuxième catégorie va sans doute être augmentée des nouveaux<br />\nservices dans la version 1.5</p>\n<p>François<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_1\"><p>>> Merci,<br />\n>><br />\n>> Jacques<br />\n>><br />\n>><br />\n>> Michel Bouloc a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_2\"><p>>>> bonjour Jacques,<br />\n>>> (ou rebonjour)<br />\n>>><br />\n>>> j\'ai une nouvelle erreur à l\'étape de test : \"ant remotconfigtest\" :<br />\n>>><br />\n>>> une idée de piste pour corriger ?<br />\n>>><br />\n>>> <u>________________________________________________________________________________</u><br />\n>>><br />\n>>> # ant remoteconfigtest<br />\n>>> Buildfile: build.xml<br />\n>>><br />\n>>> prepare:<br />\n>>><br />\n>>> compile-java:<br />\n>>><br />\n>>> compile-web:<br />\n>>> [copy] Copying 231 files to<br />\n>>> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes<br />\n>>> [copy] Copying 4 files to<br />\n>>> /usr/local/ori/src/ori-oai-workflow-svn/buildant<br />\n>>><br />\n>>> compile:<br />\n>>><br />\n>>> compile-test-java:<br />\n>>> [javac] Compiling 18 source files to<br />\n>>> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes<br />\n>>> [javac] Note:<br />\n>>> /usr/local/ori/src/ori-oai-workflow-svn/test/org/orioai/workflow/services/remote/TestIndexingServices.java<br />\n>>> uses unchecked or unsafe operations.<br />\n>>> [javac] Note: Recompile with -Xlint:unchecked for details.<br />\n>>><br />\n>>> remoteconfigtest:<br />\n>>> [junit] Testsuite: org.orioai.workflow.RemoteConfigTest<br />\n>>> [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed:<br />\n>>> 10,243 sec<br />\n>>> [junit] ------------- Standard Output ---------------<br />\n>>> [junit] Retrieving document at \'null\'.<br />\n>>> [junit] Retrieving document at \'null\'.<br />\n>>> [junit] ------------- ---------------- ---------------<br />\n>>> [junit]<br />\n>>> [junit] Testcase: testGetVocabulariesId took 9,484 sec<br />\n>>> [junit] Testcase: testSearchIndexingServices took 0,634 sec<br />\n>>> [junit] Testcase: testInitialDirContextFactory took 0,039 sec<br />\n>>> [*junit] Testcase: testConnectUrls took 0,045 sec<br />\n>>> [junit] Caused an ERROR<br />\n>>> [junit] no protocol: /ori-md-editor/lom-full/remote*<br />\n>>> [junit] java.net.MalformedURLException: no protocol:<br />\n>>> /ori-md-editor/lom-full/remote<br />\n>>> [junit] at java.net.URL.<init>(URL.java:567)<br />\n>>> [junit] at java.net.URL.<init>(URL.java:464)<br />\n>>> [junit] at java.net.URL.<init>(URL.java:413)<br />\n>>> [junit] at<br />\n>>> org.orioai.workflow.services.remote.TestMdEditorFormsUrls$1.doFilter(TestMdEditorFormsUrls.java:30)<br />\n>>><br />\n>>> [junit] at<br />\n>>> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)<br />\n>>><br />\n>>> [junit] at<br />\n>>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)<br />\n>>><br />\n>>> [junit] at<br />\n>>> org.esupportail.commons.batch.WebApplicationFilter.run(WebApplicationFilter.java:70)<br />\n>>><br />\n>>> [junit] at<br />\n>>> org.orioai.workflow.services.remote.TestMdEditorFormsUrls.testConnectUrls(TestMdEditorFormsUrls.java:22)<br />\n>>><br />\n>>> [junit] at<br />\n>>> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)<br />\n>>><br />\n>>> [junit]<br />\n>>> [junit] Testcase: testSmtp took 0,032 sec<br />\n>>> [junit] Test org.orioai.workflow.RemoteConfigTest FAILED<br />\n>>><br />\n>>> BUILD SUCCESSFUL<br />\n>>> Total time: 15 seconds<br />\n>>> ____________________________________________________________<br />\n>>><br />\n>>><br />\n>>> A+<br />\n>>><br />\n>>><br />\n>>> ------------------------<br />\n>>> Michel BOULOC<br />\n>>><br />\n>>> <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#98;&#111;&#117;&#108;&#111;&#99;&#64;&#99;&#105;&#110;&#101;&#115;&#46;&#102;&#114;\">&#98;&#111;&#117;&#108;&#111;&#99;&#64;&#99;&#105;&#110;&#101;&#115;&#46;&#102;&#114;</a><br />\n>>> 04-67-14-14-18<br />\n>>> ------------------------<br />\n>>><br />\n>>><br />\n>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>></div>\n</blockquote>\n</div>\n', created = 1507750124, expire = 1507836524, headers = '', serialized = 0 WHERE cid = '4:f49257c945922174e53216d211fff2f1' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
3 messages / 0 nouveaux
Dernière contribution
jbrassar
Workflow : "ant remotconfigtest"
Bonjour à tous,
Je transfère une question de Michel Bouloc du Cines !

Serait-il possible de rapeller brièvement ce que sont censés faire les
tests du "ant remotconfigtest" ?
(testGetVocabulariesId, testSearchIndexingServices, ...)

Merci,

Jacques

Michel Bouloc a écrit :

> bonjour Jacques,
> (ou rebonjour)
>
> j'ai une nouvelle erreur à l'étape de test : "ant remotconfigtest" :
>
> une idée de piste pour corriger ?
>
> __________________________________________________________________________________
> # ant remoteconfigtest
> Buildfile: build.xml
>
> prepare:
>
> compile-java:
>
> compile-web:
> [copy] Copying 231 files to
> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes
> [copy] Copying 4 files to
> /usr/local/ori/src/ori-oai-workflow-svn/buildant
>
> compile:
>
> compile-test-java:
> [javac] Compiling 18 source files to
> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes
> [javac] Note:
> /usr/local/ori/src/ori-oai-workflow-svn/test/org/orioai/workflow/services/remote/TestIndexingServices.java
> uses unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
>
> remoteconfigtest:
> [junit] Testsuite: org.orioai.workflow.RemoteConfigTest
> [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 10,243 sec
> [junit] ------------- Standard Output ---------------
> [junit] Retrieving document at 'null'.
> [junit] Retrieving document at 'null'.
> [junit] ------------- ---------------- ---------------
> [junit]
> [junit] Testcase: testGetVocabulariesId took 9,484 sec
> [junit] Testcase: testSearchIndexingServices took 0,634 sec
> [junit] Testcase: testInitialDirContextFactory took 0,039 sec
> [*junit] Testcase: testConnectUrls took 0,045 sec
> [junit] Caused an ERROR
> [junit] no protocol: /ori-md-editor/lom-full/remote*
> [junit] java.net.MalformedURLException: no protocol:
> /ori-md-editor/lom-full/remote
> [junit] at java.net.URL.(URL.java:567)
> [junit] at java.net.URL.(URL.java:464)
> [junit] at java.net.URL.(URL.java:413)
> [junit] at
> org.orioai.workflow.services.remote.TestMdEditorFormsUrls$1.doFilter(TestMdEditorFormsUrls.java:30)
> [junit] at
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)
> [junit] at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
> [junit] at
> org.esupportail.commons.batch.WebApplicationFilter.run(WebApplicationFilter.java:70)
> [junit] at
> org.orioai.workflow.services.remote.TestMdEditorFormsUrls.testConnectUrls(TestMdEditorFormsUrls.java:22)
> [junit] at
> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
> [junit]
> [junit] Testcase: testSmtp took 0,032 sec
> [junit] Test org.orioai.workflow.RemoteConfigTest FAILED
>
> BUILD SUCCESSFUL
> Total time: 15 seconds
> ____________________________________________________________
>
>
> A+
>
>
> ------------------------
> Michel BOULOC
>
> bouloc@cines.fr
> 04-67-14-14-18
> ------------------------
>
>
>

--
Jacques Brassart
UNR Nord-Pas de Calais
Université de Valenciennes et du Hainaut-Cambrésis
Tél : 03 27 51 17 70

michelbouloc
Bonjour,

En fait la solution : il fallait mettre une valeur au paramètre

PUBLIC_URL_MD_EDITOR dans le fichier "commons-parameters.properties"
(du répertoire : "/usr/local/ori/src/ori-oai-commons-quick-install-svn").

du style : "http://localhost:8186/ori-oai-md-editor".

mais la réponse à la question de Jacques Brassart reste intéressante ...

A+

------------------------
Michel BOULOC

bouloc@cines.fr
04-67-14-14-18
------------------------

Jacques Brassart a écrit :

> Bonjour à tous,
> Je transfère une question de Michel Bouloc du Cines !
>
> Serait-il possible de rapeller brièvement ce que sont censés faire les
> tests du "ant remotconfigtest" ?
> (testGetVocabulariesId, testSearchIndexingServices, ...)
>
> Merci,
>
> Jacques
>
>
> Michel Bouloc a écrit :

>> bonjour Jacques,
>> (ou rebonjour)
>>
>> j'ai une nouvelle erreur à l'étape de test : "ant remotconfigtest" :
>>
>> une idée de piste pour corriger ?
>>
>> ________________________________________________________________________________
>>
>> # ant remoteconfigtest
>> Buildfile: build.xml
>>
>> prepare:
>>
>> compile-java:
>>
>> compile-web:
>> [copy] Copying 231 files to
>> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes
>> [copy] Copying 4 files to
>> /usr/local/ori/src/ori-oai-workflow-svn/buildant
>>
>> compile:
>>
>> compile-test-java:
>> [javac] Compiling 18 source files to
>> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes
>> [javac] Note:
>> /usr/local/ori/src/ori-oai-workflow-svn/test/org/orioai/workflow/services/remote/TestIndexingServices.java
>> uses unchecked or unsafe operations.
>> [javac] Note: Recompile with -Xlint:unchecked for details.
>>
>> remoteconfigtest:
>> [junit] Testsuite: org.orioai.workflow.RemoteConfigTest
>> [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed:
>> 10,243 sec
>> [junit] ------------- Standard Output ---------------
>> [junit] Retrieving document at 'null'.
>> [junit] Retrieving document at 'null'.
>> [junit] ------------- ---------------- ---------------
>> [junit]
>> [junit] Testcase: testGetVocabulariesId took 9,484 sec
>> [junit] Testcase: testSearchIndexingServices took 0,634 sec
>> [junit] Testcase: testInitialDirContextFactory took 0,039 sec
>> [*junit] Testcase: testConnectUrls took 0,045 sec
>> [junit] Caused an ERROR
>> [junit] no protocol: /ori-md-editor/lom-full/remote*
>> [junit] java.net.MalformedURLException: no protocol:
>> /ori-md-editor/lom-full/remote
>> [junit] at java.net.URL.(URL.java:567)
>> [junit] at java.net.URL.(URL.java:464)
>> [junit] at java.net.URL.(URL.java:413)
>> [junit] at
>> org.orioai.workflow.services.remote.TestMdEditorFormsUrls$1.doFilter(TestMdEditorFormsUrls.java:30)
>>
>> [junit] at
>> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)
>>
>> [junit] at
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>>
>> [junit] at
>> org.esupportail.commons.batch.WebApplicationFilter.run(WebApplicationFilter.java:70)
>>
>> [junit] at
>> org.orioai.workflow.services.remote.TestMdEditorFormsUrls.testConnectUrls(TestMdEditorFormsUrls.java:22)
>>
>> [junit] at
>> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
>>
>> [junit]
>> [junit] Testcase: testSmtp took 0,032 sec
>> [junit] Test org.orioai.workflow.RemoteConfigTest FAILED
>>
>> BUILD SUCCESSFUL
>> Total time: 15 seconds
>> ____________________________________________________________
>>
>>
>> A+
>>
>>
>> ------------------------
>> Michel BOULOC
>>
>> bouloc@cines.fr
>> 04-67-14-14-18
>> ------------------------
>>
>>
>>

>

francoisjannin
Bonjour,

>>
>> Serait-il possible de rapeller brièvement ce que sont censés faire
>> les tests du "ant remotconfigtest" ?
>> (testGetVocabulariesId, testSearchIndexingServices, ...)
>>

Il est vrai que des messages de retour de ces tests pourraient être plus
explicites...
La suite de test definie par remotconfigtest est composée des tests
suivants :

1. verifie que les paramètres de connexions à distance aux autres
modules ou services sont corrects
suite.addTestSuite(TestVocabularyService.class);
suite.addTestSuite(TestIndexingServices.class);
suite.addTestSuite(TestLdap.class);
suite.addTestSuite(TestSmtp.class);

2. vérifie que les Web services offerts par le module par Web services
aux autres modules répondent correctement.
suite.addTestSuite(TestMdEditorFormsUrls.class); ici c'est un
test pour un des WS appelés par le md-editor

Cette deuxième catégorie va sans doute être augmentée des nouveaux
services dans la version 1.5

François

>> Merci,
>>
>> Jacques
>>
>>
>> Michel Bouloc a écrit :

>>> bonjour Jacques,
>>> (ou rebonjour)
>>>
>>> j'ai une nouvelle erreur à l'étape de test : "ant remotconfigtest" :
>>>
>>> une idée de piste pour corriger ?
>>>
>>> ________________________________________________________________________________
>>>
>>> # ant remoteconfigtest
>>> Buildfile: build.xml
>>>
>>> prepare:
>>>
>>> compile-java:
>>>
>>> compile-web:
>>> [copy] Copying 231 files to
>>> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes
>>> [copy] Copying 4 files to
>>> /usr/local/ori/src/ori-oai-workflow-svn/buildant
>>>
>>> compile:
>>>
>>> compile-test-java:
>>> [javac] Compiling 18 source files to
>>> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes
>>> [javac] Note:
>>> /usr/local/ori/src/ori-oai-workflow-svn/test/org/orioai/workflow/services/remote/TestIndexingServices.java
>>> uses unchecked or unsafe operations.
>>> [javac] Note: Recompile with -Xlint:unchecked for details.
>>>
>>> remoteconfigtest:
>>> [junit] Testsuite: org.orioai.workflow.RemoteConfigTest
>>> [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed:
>>> 10,243 sec
>>> [junit] ------------- Standard Output ---------------
>>> [junit] Retrieving document at 'null'.
>>> [junit] Retrieving document at 'null'.
>>> [junit] ------------- ---------------- ---------------
>>> [junit]
>>> [junit] Testcase: testGetVocabulariesId took 9,484 sec
>>> [junit] Testcase: testSearchIndexingServices took 0,634 sec
>>> [junit] Testcase: testInitialDirContextFactory took 0,039 sec
>>> [*junit] Testcase: testConnectUrls took 0,045 sec
>>> [junit] Caused an ERROR
>>> [junit] no protocol: /ori-md-editor/lom-full/remote*
>>> [junit] java.net.MalformedURLException: no protocol:
>>> /ori-md-editor/lom-full/remote
>>> [junit] at java.net.URL.(URL.java:567)
>>> [junit] at java.net.URL.(URL.java:464)
>>> [junit] at java.net.URL.(URL.java:413)
>>> [junit] at
>>> org.orioai.workflow.services.remote.TestMdEditorFormsUrls$1.doFilter(TestMdEditorFormsUrls.java:30)
>>>
>>> [junit] at
>>> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)
>>>
>>> [junit] at
>>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>>>
>>> [junit] at
>>> org.esupportail.commons.batch.WebApplicationFilter.run(WebApplicationFilter.java:70)
>>>
>>> [junit] at
>>> org.orioai.workflow.services.remote.TestMdEditorFormsUrls.testConnectUrls(TestMdEditorFormsUrls.java:22)
>>>
>>> [junit] at
>>> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
>>>
>>> [junit]
>>> [junit] Testcase: testSmtp took 0,032 sec
>>> [junit] Test org.orioai.workflow.RemoteConfigTest FAILED
>>>
>>> BUILD SUCCESSFUL
>>> Total time: 15 seconds
>>> ____________________________________________________________
>>>
>>>
>>> A+
>>>
>>>
>>> ------------------------
>>> Michel BOULOC
>>>
>>> bouloc@cines.fr
>>> 04-67-14-14-18
>>> ------------------------
>>>
>>>
>>>

>>

>

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur « Enregistrer les paramètres » pour activer vos changements.
Sujet clos