简体   繁体   中英

FiWare CEP (Proton) doesn't response via REST

I have some problems with CEP and I hope someone can help. I have a CEP instance in the FiWare Cloud, with the default setup. I have an event with 3 parameters, a temporal context which defines that starts at startup and never ends and nothing else special. If this event come in, CEP should response with a REST output. Everything worked fine for a few hours, but the next day it stopped working. Tried restart the server, and the definition as well.

Any ideas?

We need yo know your environment and the json description of your rules. My hunch is that the server crashed due to memory overflow since contexts that do not end can exhaust the machine resources. Also, depending on the rate of events. You can read more on the rules in the users guide: http://proactive-technology-online.readthedocs.org/en/latest/ProtonUserGuide_FI_WAREv4_4_1/index.html - Uri

The problem might be with the server itself or with the publishing of your input event as output to the RESTful service. I suggest the following : Proton publishes console output while initializing. The Tomcat's log file (catalina.log) should contain information re the initialization of Proton web application. It will also contain any kind of error messages. You should also see there if Proton receives any input events at all - they are printed out to the log as well. Please share this log file. Additionally you can try something out- you can add a file consumer (example of how to do that can be found in Proton documentation), and see if the DiscountReport event gets published to that file. This will help determine if the problem might be with your RESTful consumer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM