[Fiware-tech-help] CEP GE: Issues running Unit Test 1

Pedro Alves pgalves at onesource.pt
Wed Oct 15 19:41:11 CEST 2014


Hi all,

While running CEP GE Unit test 1 [0] I found some problems. I think they
are related with the issues
reported in a previous email with subject "CEP GE: error running sample".

Procedure: installed instance of the Proton CEP GE (both the engine and the
authoring tool) as described in the IBM Proactive Technology Online
Installation and Administration Guide [1] and
copied the complete sample directory included in the install package
(extracted sample folder found in IBMProtonOnWebServer.zip file) to the
root directory of the Apache Tomcat server.
Started Tomcat, and following issues were found:

- Warning in tomcat logs: "WARNING: initializeAdapters: failed to
initialize adapter Input adapter for producer: P1, reason:
./config/input-for-dosAttack.txt (No such file or directory)"
- The engine loads DoSAttack2.json instead of the DoSAttack.json described
in [0], as shown in the logs with the info "INFO: Properties are :
 metadatFile =DoSAttack2.json"
- The expected output as described in [0] are 2
files: DoSAttack_TrafficReport.txt and DoSAttack_SteepDemand.txt with some
raw events, instead in the samples directory I
see two empty files DoSAttack_PredictedCrash.txt and
DoSAttack_TrafficReport.txt.


Test setup:
OpenSUSE 13.1
Tomcat 7.0.26
Google Chrome

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

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/20141015/0eee8ccf/attachment.html>


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