[Fiware-tech-help] CEP GE: Error on Unit Test 7, Case 2 - Export to external repository

Pedro Alves pgalves at onesource.pt
Thu Oct 16 18:29:49 CEST 2014


Hi,

An error is presented in the Tomcat logs when performing the Unit Test 7
Case 2. When executing the action "Save and Export command and
selectingExport to external repository (enter the name UnitTest for the
definition and the URL as follows
http://{host}:8080/ProtonOnWebServerAdmin/resources/definitions"
Tomcat logs shows the error below, albeit the UI shows a dialog indicating
a successful export (as shown in the picture in attachment):

SEVERE: Could not create new definition file, reason: java.io.IOException:
No such file or directory, message: No such file or directory

Full log in attachment.

It seems that Proton tries to export the definition file to the repository
path. This path is defined in the file
./webapps/ProtonOnWebServerAdmin/ProtonAdmin.properties, by default, as
"definitions-repository=D:\\Proton\\ProtonDefinitions". There is no such
path, furthermore, it is a Windows path format and the tests were performed
in a Linux system.

Testing setup:
OS: Linux OpenSUSE 13.1
Tomcat: 7.0.26
Browser: Google Chrome

[0]
https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan#Test_Description_7

Regards,
-- 
*Pedro Alves*
pgalves at onesource.pt <joagonca at onesource.pt>

[image: OneSource]
http://onesource.pt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141016/4ed827b1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cepge_unittest7_case1_save_to_def_repo.log
Type: text/x-log
Size: 16905 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141016/4ed827b1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cepge_unittest7_case1_save_to_def_repo.png
Type: image/png
Size: 59101 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141016/4ed827b1/attachment.png>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy