Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-2453

FIWARE.Request.Tech.Data.CEP.Input/output

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Dear All,

      I am facing a problem with CEP, the engine should be running normal. I am
      trying to send events using REST Post and receive the output event in a
      file.

      http://194.28.122.118:8080/ProtonOnWebServer/rest/events

      {"Name": "TrafficReport", "volume": "1000"}

      But I am not receiving any change of output in the file, although the log
      file says that the input event is passed to proton.

      Any ideas would be really helpful since I am stuck on this problem for 3
      days now.

      Attached the catalina log and the definition file.

      Best,
      Ahmed Sadek

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-tech-help

      [Created via e-mail received from: Ahmed Sadek <don1559@gmail.com>]

      1. DoSAttack4.json
        2 kB
        FW External User
      2. DoSAttack4.json
        2 kB
        System Administrator
      3. catalina.out
        141 kB
        FW External User
      4. catalina.out
        141 kB
        System Administrator
      5. ATT00001.txt
        0.2 kB
        System Administrator

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        8d 21h 26m 1 Fabiana Fournier 12/Apr/15 2:58 PM
        In Progress In Progress Answered Answered
        4s 1 Fabiana Fournier 12/Apr/15 2:58 PM
        Answered Answered Closed Closed
        15m 53s 1 Fabiana Fournier 12/Apr/15 3:14 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler CEP [ 10869 ]
        HD-Chapter Data [ 10838 ]
        mev Manuel Escriche made changes -
        Sender Email don1559@gmail.com
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Data.CEP.Input/output FIWARE.Request.Tech.Data.CEP.Input/output
        TALI Fabiana Fournier made changes -
        Summary [Fiware-tech-help] Urgent - Problem with CEP input output FIWARE.Request.Lab.Data.CEP.Input/output
        TALI Fabiana Fournier made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        TALI Fabiana Fournier made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        TALI Fabiana Fournier made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        TALI Fabiana Fournier added a comment - - edited

        Dear Ahmed,

        As you pointed out in previous communication, from the log you saw that the CEP can't open the output file:
        >>>
        Apr 3, 2015 3:58:30 PM com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters
        WARNING: initializeAdapters: failed to initialize adapter Output adapter for consumer: SysTemCrashConsumer, reason: No such file or directory
        Apr 3, 2015 3:58:30 PM com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters
        WARNING: initializeAdapters: failed to initialize adapter Output adapter for consumer: DoSAttackTRConsumer, reason: No such file or directory
        >>>

        This usually happen if the path specified as the Consumer's output file doesn't exist, or if you run on unix/linux and tomcat has no permission to write in this directory or to write to the specific file.

        I would also recommend to use an absolute path and not relative path for the output file, since in different operating systems, the Tomcat "current" directory may be different.

        So here are my recommendations:
        1. Stop tomcat
        2. Delete catalina.out
        3. Activate tomcat
        4. In the CEP web UI, change the path of the Consumers to an absolute path, save the project, export it to the repository
        5. Make sure the path you specified for the Consumers exists, and that tomcat has permission to write to the directory, and if the files exist, to this files.
        6. Change the status of the CEP engine to Stop
        7. Change the status of the CEP engine to Start
        8. Send an input event

        Make sure you don't see the warning listed above in the catalina.out
        Best regards,
        Tali

        Show
        TALI Fabiana Fournier added a comment - - edited Dear Ahmed, As you pointed out in previous communication, from the log you saw that the CEP can't open the output file: >>> Apr 3, 2015 3:58:30 PM com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters WARNING: initializeAdapters: failed to initialize adapter Output adapter for consumer: SysTemCrashConsumer, reason: No such file or directory Apr 3, 2015 3:58:30 PM com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters WARNING: initializeAdapters: failed to initialize adapter Output adapter for consumer: DoSAttackTRConsumer, reason: No such file or directory >>> This usually happen if the path specified as the Consumer's output file doesn't exist, or if you run on unix/linux and tomcat has no permission to write in this directory or to write to the specific file. I would also recommend to use an absolute path and not relative path for the output file, since in different operating systems, the Tomcat "current" directory may be different. So here are my recommendations: 1. Stop tomcat 2. Delete catalina.out 3. Activate tomcat 4. In the CEP web UI, change the path of the Consumers to an absolute path, save the project, export it to the repository 5. Make sure the path you specified for the Consumers exists, and that tomcat has permission to write to the directory, and if the files exist, to this files. 6. Change the status of the CEP engine to Stop 7. Change the status of the CEP engine to Start 8. Send an input event Make sure you don't see the warning listed above in the catalina.out Best regards, Tali
        sysadmin System Administrator made changes -
        Attachment DoSAttack4.json [ 14822 ]
        Attachment catalina.out [ 14823 ]
        Attachment ATT00001.txt [ 14824 ]
        Hide
        sysadmin System Administrator added a comment -

        From: fiware-tech-help-bounces@lists.fi-ware.org fiware-tech-help-bounces@lists.fi-ware.org On Behalf Of Ahmed Sadek
        Sent: viernes, 03 de abril de 2015 17:32
        To: Tali Yatzkar-Haham; fiware-tech-he.
        Subject: [Fiware-tech-help] Urgent - Problem with CEP input output

        Dear All,

        I am facing a problem with CEP, the engine should be running normal. I am trying to send events using REST Post and receive the output event in a file.

        http://194.28.122.118:8080/ProtonOnWebServer/rest/events

        {"Name": "TrafficReport", "volume": "1000"}

        But I am not receiving any change of output in the file, although the log file says that the input event is passed to proton.

        Any ideas would be really helpful since I am stuck on this problem for 3 days now.

        Attached the catalina log and the definition file.

        Best,
        Ahmed Sadek

        Show
        sysadmin System Administrator added a comment - From: fiware-tech-help-bounces@lists.fi-ware.org fiware-tech-help-bounces@lists.fi-ware.org On Behalf Of Ahmed Sadek Sent: viernes, 03 de abril de 2015 17:32 To: Tali Yatzkar-Haham; fiware-tech-he. Subject: [Fiware-tech-help] Urgent - Problem with CEP input output Dear All, I am facing a problem with CEP, the engine should be running normal. I am trying to send events using REST Post and receive the output event in a file. http://194.28.122.118:8080/ProtonOnWebServer/rest/events {"Name": "TrafficReport", "volume": "1000"} But I am not receiving any change of output in the file, although the log file says that the input event is passed to proton. Any ideas would be really helpful since I am stuck on this problem for 3 days now. Attached the catalina log and the definition file. Best, Ahmed Sadek
        mev Manuel Escriche made changes -
        Assignee Tali Yatzkar Haham [ tali ]
        mev Manuel Escriche made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fw.ext.user FW External User created issue -

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: