Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: Sprint 4.1.3
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:Data
-
HD-Enabler:CEP
Description
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://
: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
Regards,
–
Pedro Alves
pgalves@onesource.pt <joagonca@onesource.pt>
[image: OneSource]
http://onesource.pt
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-tech-help
Thank you.
You correctly understand the problem.
As part of the installation and configuration, the user need to set the location of the definitions repository:
https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_the_administration_application
If this is not done, the default definition repository is used, and probably the repository related operations will fail.
The UI should give indication that the operation was failed.
I will open a bug report for it.
Thank you,
Tali Yatzkar Haham