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

FIWARE.Request.Tech.Data.CEP.Stand alone instance

    Details

      Description

      Hi tech support,

      I have downloaded the IBM Proactive Online at
      https://github.com/ishkin/Proton. I've set it up fine and am going through
      the unit tests (
      https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan
      ).

      Unfortunately, in Unit Test 7, Case 2 (and thus, Unit Test 9, too), I am
      unable to submit POST requests to:
      http://

      {host}:8080/ProtonOnWebServerAdmin/resources/definitions,
      where {host}

      is my localhost (127.0.0.1).

      With the sample 'DoSAttack.json' file, I get the following error:
      com.ibm.hrl.proton.admin.webapp.resources.DefinitionsResource.createNewDefinition(DefinitionsResource.java:139).

      How can I solve this?

      All other tests run fine.

      With thanks,

      Chris

      _______________________________________________
      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: Chris Paton <chrispaton2005@gmail.com>]

        Activity

        Hide
        TALI Fabiana Fournier added a comment -

        Hi Chris,

        Thank you for posting your issue through the mailing list.
        Could you please attach the log file (
        <tomcat-installation-dir>/logs/catalina.out)
        Thank you,

        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Henar Muñoz (JIRA) <jira-help-desk@fi-ware.org>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 11/18/2014 08:54 AM
        Subject: [FI-WARE-JIRA] (HELP-1394) [Fiware-tech-help] IBM CEP
        stand alone instance

        [
        http://jira.fi-ware.org/browse/HELP-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
        ]

        Henar Muñoz updated HELP-1394:
        -------------------------------

        Assignee: Tali Yatzkar Haham

        through
        https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan

        com.ibm.hrl.proton.admin.webapp.resources.DefinitionsResource.createNewDefinition(DefinitionsResource.java:139).
        <chrispaton2005@gmail.com>]


        This message was sent by Atlassian JIRA
        (v6.1.7#6163)

        Show
        TALI Fabiana Fournier added a comment - Hi Chris, Thank you for posting your issue through the mailing list. Could you please attach the log file ( <tomcat-installation-dir>/logs/catalina.out) Thank you, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Henar Muñoz (JIRA) <jira-help-desk@fi-ware.org> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 11/18/2014 08:54 AM Subject: [FI-WARE-JIRA] ( HELP-1394 ) [Fiware-tech-help] IBM CEP stand alone instance [ http://jira.fi-ware.org/browse/HELP-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henar Muñoz updated HELP-1394 : ------------------------------- Assignee: Tali Yatzkar Haham through https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan com.ibm.hrl.proton.admin.webapp.resources.DefinitionsResource.createNewDefinition(DefinitionsResource.java:139). <chrispaton2005@gmail.com>] – This message was sent by Atlassian JIRA (v6.1.7#6163)
        Hide
        TALI Fabiana Fournier added a comment -

        Hi Chris,

        Thank you for posting your issue through the mailing list.
        Could you please attach the log file ( <tomcat-installation-dir>/logs/catalina.out)
        Thank you,

        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        Show
        TALI Fabiana Fournier added a comment - Hi Chris, Thank you for posting your issue through the mailing list. Could you please attach the log file ( <tomcat-installation-dir>/logs/catalina.out) Thank you, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320
        Hide
        TALI Fabiana Fournier added a comment -

        Log file sent via e-mail by the external user

        Show
        TALI Fabiana Fournier added a comment - Log file sent via e-mail by the external user
        Hide
        TALI Fabiana Fournier added a comment -

        Hi Chris,

        Thank you for sending the log.
        In the log file there is a message:

        SEVERE: Could not create new definition file, reason:
        com.ibm.hrl.proton.admin.webapp.exceptions.ResponseException: Definitions
        with given name already exist, message: Definitions with given name
        already exist

        As you said, you first exported the definition file through the Authoring
        Tool. Then the POST failed, since it can be used to post new definition
        only. If the definition is already in the repository you can use PUT (see
        [0]).
        I add a comment in the Unit Test 7 (see [1]) to explain this.

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

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Chris Paton <chrispaton2005@gmail.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 11/18/2014 05:00 PM
        Subject: Re: [FI-WARE-JIRA] (HELP-1394) [Fiware-tech-help] IBM CEP
        stand alone instance

        Hi Tali,

        There was no *.out file in the log folder, but I have attached the log
        file for the work I was doing yesterday. Please let me know if it is of
        any use, or if there is more information that I can provide.

        With thanks,

        Chris

        On Tue, Nov 18, 2014 at 7:35 AM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        Hi Chris,

        Thank you for posting your issue through the mailing list.
        Could you please attach the log file (
        <tomcat-installation-dir>/logs/catalina.out)
        Thank you,

        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Henar Muñoz (JIRA) <jira-help-desk@fi-ware.org>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 11/18/2014 08:54 AM
        Subject: [FI-WARE-JIRA] (HELP-1394) [Fiware-tech-help] IBM CEP
        stand alone instance

        [
        http://jira.fi-ware.org/browse/HELP-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
        ]

        Henar Muñoz updated HELP-1394:
        -------------------------------

        Assignee: Tali Yatzkar Haham

        through
        https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan

        com.ibm.hrl.proton.admin.webapp.resources.DefinitionsResource.createNewDefinition(DefinitionsResource.java:139).


        This message was sent by Atlassian JIRA
        (v6.1.7#6163)

        [attachment "catalina.2014-11-17.log" deleted by Tali
        Yatzkar-Haham/Haifa/IBM]

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

        Show
        TALI Fabiana Fournier added a comment - Hi Chris, Thank you for sending the log. In the log file there is a message: SEVERE: Could not create new definition file, reason: com.ibm.hrl.proton.admin.webapp.exceptions.ResponseException: Definitions with given name already exist, message: Definitions with given name already exist As you said, you first exported the definition file through the Authoring Tool. Then the POST failed, since it can be used to post new definition only. If the definition is already in the repository you can use PUT (see [0] ). I add a comment in the Unit Test 7 (see [1] ) to explain this. [0] http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification#Managing_the_Definitions_Repository [1] https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan#Test_Description_7 Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Chris Paton <chrispaton2005@gmail.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 11/18/2014 05:00 PM Subject: Re: [FI-WARE-JIRA] ( HELP-1394 ) [Fiware-tech-help] IBM CEP stand alone instance Hi Tali, There was no *.out file in the log folder, but I have attached the log file for the work I was doing yesterday. Please let me know if it is of any use, or if there is more information that I can provide. With thanks, Chris On Tue, Nov 18, 2014 at 7:35 AM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: Hi Chris, Thank you for posting your issue through the mailing list. Could you please attach the log file ( <tomcat-installation-dir>/logs/catalina.out) Thank you, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Henar Muñoz (JIRA) <jira-help-desk@fi-ware.org> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 11/18/2014 08:54 AM Subject: [FI-WARE-JIRA] ( HELP-1394 ) [Fiware-tech-help] IBM CEP stand alone instance [ http://jira.fi-ware.org/browse/HELP-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henar Muñoz updated HELP-1394 : ------------------------------- Assignee: Tali Yatzkar Haham through https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan com.ibm.hrl.proton.admin.webapp.resources.DefinitionsResource.createNewDefinition(DefinitionsResource.java:139). – This message was sent by Atlassian JIRA (v6.1.7#6163) [attachment "catalina.2014-11-17.log" deleted by Tali Yatzkar-Haham/Haifa/IBM] _______________________________________________ Fiware-tech-help mailing list Fiware-tech-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-tech-help
        Hide
        TALI Fabiana Fournier added a comment -

        Hi Chris,

        Thank you for sending the log.
        In the log file there is a message:

        SEVERE: Could not create new definition file, reason: com.ibm.hrl.proton.admin.webapp.exceptions.ResponseException: Definitions with given name already exist, message: Definitions with given name already exist

        As you said, you first exported the definition file through the Authoring Tool. Then the POST failed, since it can be used to post new definition only. If the definition is already in the repository you can use PUT (see [0]).
        I add a comment in the Unit Test 7 (see [1]) to explain this.

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

        Show
        TALI Fabiana Fournier added a comment - Hi Chris, Thank you for sending the log. In the log file there is a message: SEVERE: Could not create new definition file, reason: com.ibm.hrl.proton.admin.webapp.exceptions.ResponseException: Definitions with given name already exist, message: Definitions with given name already exist As you said, you first exported the definition file through the Authoring Tool. Then the POST failed, since it can be used to post new definition only. If the definition is already in the repository you can use PUT (see [0] ). I add a comment in the Unit Test 7 (see [1] ) to explain this. [0] http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification#Managing_the_Definitions_Repository [1] https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan#Test_Description_7
        Hide
        TALI Fabiana Fournier added a comment -

        Unit test was not clear enough. FIxed

        Show
        TALI Fabiana Fournier added a comment - Unit test was not clear enough. FIxed

          People

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

            Dates

            • Created:
              Updated:
              Resolved: