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

FIWARE.Request.Tech.Data.CEP.Testing

    Details

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

      Description

      Hi Ignacio,

      Your definition file seems fine.
      Please be aware that the CEP can run one definition project at a time. So
      if you succeed to send it a TrafficReport evemt, it means that it run the
      example project definition and not your definition file.
      When you export a definition from the UI to the engine, it means that the
      definition is kept in the definition repository.
      If you want the engine to run with it, you need to change the CEP engine
      status to run with the new definition and to stop and start the CEP
      engine.
      All can be done through REST commands, as described in the api doc.

      I added cc to the FI-WARE issue tracking system to document this issue.

      Regards,
      Tali

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

      From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
      To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
      Date: 12/02/2015 03:40 PM
      Subject: RE: FISTAR : FIWARE CEP GE testing

      Dear Tali

      I have tried with this json "

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

      "
      (event "TrafficReport" of project DoSAttack) in the REST request and it
      worked OK

      It seems that my problem is related to my new Project "FISTARDEMO" created
      with AuthoringTool. Maybe be some missed step configuration?

      I hope this tip can help you to know where the problem is located.

      Many thanks in advance for your support

      Best Regards

      Nacho
      De: Ignacio Lázaro
      Enviado el: jueves, 12 de febrero de 2015 12:56
      Para: Tali Yatzkar-Haham
      Asunto: RE: FISTAR : FIWARE CEP GE testing

      Hi

      I have download from github https://github.com/ishkin/Proton

      Do you need the war files I have?

      Best Regards

      Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com]
      Enviado el: jueves, 12 de febrero de 2015 10:06
      Para: Ignacio Lázaro
      Asunto: RE: FISTAR : FIWARE CEP GE testing

      Did you take the CEP code from the open source?
      Regards,
      Tali

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

      From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
      To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
      Date: 12/02/2015 10:51 AM
      Subject: RE: FISTAR : FIWARE CEP GE testing

      Dear Tali

      I have reviewed the paameter names but I don´t find the error

      Attached you can get the export file

      Many thanks in advance

      Best Regards

      Nacho

      Ignacio Lazaro Llorente
      Informazio-Sistema Adimendunen Unitatea
      Unidad de Sistemas de Información Inteligentes
      Intelligent Information System Unit
      ilazaro@tekniker.es

      De: Tali Yatzkar-Haham [TALI@il.ibm.com]
      Enviado el: miércoles, 11 de febrero de 2015 18:51
      Para: Ignacio Lázaro
      Asunto: Re: FISTAR : FIWARE CEP GE testing

      Dear Ignacio,

      Usually this error is due to an issue with the format of the input event.
      Please make you defined the event with exactly the same name and that it
      has one attribute called score.

      If you did not find the problem, please send me your definition file
      (using export to a file).
      Regards,
      Tali

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

      From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
      To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
      Date: 11/02/2015 04:32 PM
      Subject: FISTAR : FIWARE CEP GE testing

      Dear Tali

      I am working at FISTAR Project (https://www.fi-star.eu/fi-star.html) and
      for our use case we want to use the CEP GE.

      I have installed CEP in a Ubuntu server 12.04 with Apache Tomcat 7.0.50

      I am testing the CEP capabilities baed on information at
      http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification
      and when I try to execute the following REST request

      http://10.1.22.131:8080/ProtonOnWebServer/rest/events

      Method: POST
      Header : Content-Type : application/json

      Data
      {
      "Name": "QuestionnaireResult",
      "score": "1"
      }

      I get the following response

      "Could not parse json event java.lang.NullPointerException, reason: null"

      I am reviewing the tomcat logs but I don´t find any advice that can help
      me to know what is wrong

      Any tip is wellcome

      Many thanks in advance

      Best Regards

      Nacho

      Ignacio Lazaro Llorente
      Informazio-Sistema Adimendunen Unitatea
      Unidad de Sistemas de Información Inteligentes
      Intelligent Information System Unit
      ilazaro@tekniker.es

      Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
      legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
      berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
      La información de este correo puede ser confidencial y está protegida por
      la legislación vigente. Si ha recibido este correo por error, reenvíelo a
      su emisor y elimínelo. Gracias por su ayuda.
      This e-mail may contain confidential information that is protected by our
      laws. If you have received this e-mail by mistake, please, notify the
      sender and delete it. Thank you for your help.

      Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
      legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
      berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
      La información de este correo puede ser confidencial y está protegida por
      la legislación vigente. Si ha recibido este correo por error, reenvíelo a
      su emisor y elimínelo. Gracias por su ayuda.
      This e-mail may contain confidential information that is protected by our
      laws. If you have received this e-mail by mistake, please, notify the
      sender and delete it. Thank you for your help.[attachment
      "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM]

      Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
      legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
      berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
      La información de este correo puede ser confidencial y está protegida por
      la legislación vigente. Si ha recibido este correo por error, reenvíelo a
      su emisor y elimínelo. Gracias por su ayuda.
      This e-mail may contain confidential information that is protected by our
      laws. If you have received this e-mail by mistake, please, notify the
      sender and delete it. Thank you for your help.

      1. catalina.2015-02-26.log
        6 kB
        FW External User
      1. TOMCATLOG.png
        30 kB

        Activity

        Hide
        TALI Fabiana Fournier added a comment -

        Hi Ignacio,

        It seems like you need to set the permissions.
        Please follow instructions at the CEP installation guide

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 13/02/2015 12:52 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        I have executed the rest service
        ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer and I get the
        following message

        "Could not read instance state, message: Error activating jmx proxy"

        It seems that something in my machine is not right configured

        I have defined at file /etc/init.d/tomcat7.sh

        CATALINA_OPTS=-Dcom.sun.management.jmxremote
        -Dcom.sun.management.jmxremote.port=8686
        -Dcom.sun.management.jmxremote.ssl=false
        -Dcom.sun.management.jmxremote.authenticate=false
        JRE_HOME=/opt/jdk1.7.0._72/jre
        Any idea is wellcome?

        Many thanks for your support

        Best regards

        Nacho
        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: viernes, 13 de febrero de 2015 4:40
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        Your definition file seems fine.
        Please be aware that the CEP can run one definition project at a time. So
        if you succeed to send it a TrafficReport evemt, it means that it run the
        example project definition and not your definition file.
        When you export a definition from the UI to the engine, it means that the
        definition is kept in the definition repository.
        If you want the engine to run with it, you need to change the CEP engine
        status to run with the new definition and to stop and start the CEP
        engine.
        All can be done through REST commands, as described in the api doc.

        I added cc to the FI-WARE issue tracking system to document this issue.

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/02/2015 03:40 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Dear Tali

        I have tried with this json "

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

        "
        (event "TrafficReport" of project DoSAttack) in the REST request and it
        worked OK

        It seems that my problem is related to my new Project "FISTARDEMO" created
        with AuthoringTool. Maybe be some missed step configuration?

        I hope this tip can help you to know where the problem is located.

        Many thanks in advance for your support

        Best Regards

        Nacho
        De: Ignacio Lázaro
        Enviado el: jueves, 12 de febrero de 2015 12:56
        Para: Tali Yatzkar-Haham
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi

        I have download from github https://github.com/ishkin/Proton

        Do you need the war files I have?

        Best Regards

        Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: jueves, 12 de febrero de 2015 10:06
        Para: Ignacio Lázaro
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Did you take the CEP code from the open source?
        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/02/2015 10:51 AM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Dear Tali

        I have reviewed the paameter names but I don´t find the error

        Attached you can get the export file

        Many thanks in advance

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: miércoles, 11 de febrero de 2015 18:51
        Para: Ignacio Lázaro
        Asunto: Re: FISTAR : FIWARE CEP GE testing

        Dear Ignacio,

        Usually this error is due to an issue with the format of the input event.
        Please make you defined the event with exactly the same name and that it
        has one attribute called score.

        If you did not find the problem, please send me your definition file
        (using export to a file).
        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 11/02/2015 04:32 PM
        Subject: FISTAR : FIWARE CEP GE testing

        Dear Tali

        I am working at FISTAR Project (https://www.fi-star.eu/fi-star.html) and
        for our use case we want to use the CEP GE.

        I have installed CEP in a Ubuntu server 12.04 with Apache Tomcat 7.0.50

        I am testing the CEP capabilities baed on information at
        http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification
        and when I try to execute the following REST request

        http://10.1.22.131:8080/ProtonOnWebServer/rest/events

        Method: POST
        Header : Content-Type : application/json

        Data
        {
        "Name": "QuestionnaireResult",
        "score": "1"
        }

        I get the following response

        "Could not parse json event java.lang.NullPointerException, reason: null"

        I am reviewing the tomcat logs but I don´t find any advice that can help
        me to know what is wrong

        Any tip is wellcome

        Many thanks in advance

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.[attachment
        "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM]

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Show
        TALI Fabiana Fournier added a comment - Hi Ignacio, It seems like you need to set the permissions. Please follow instructions at the CEP installation guide Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 13/02/2015 12:52 PM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali I have executed the rest service ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer and I get the following message "Could not read instance state, message: Error activating jmx proxy" It seems that something in my machine is not right configured I have defined at file /etc/init.d/tomcat7.sh CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8686 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false JRE_HOME=/opt/jdk1.7.0._72/jre Any idea is wellcome? Many thanks for your support Best regards Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: viernes, 13 de febrero de 2015 4:40 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, Your definition file seems fine. Please be aware that the CEP can run one definition project at a time. So if you succeed to send it a TrafficReport evemt, it means that it run the example project definition and not your definition file. When you export a definition from the UI to the engine, it means that the definition is kept in the definition repository. If you want the engine to run with it, you need to change the CEP engine status to run with the new definition and to stop and start the CEP engine. All can be done through REST commands, as described in the api doc. I added cc to the FI-WARE issue tracking system to document this issue. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/02/2015 03:40 PM Subject: RE: FISTAR : FIWARE CEP GE testing Dear Tali I have tried with this json " {"Name":"TrafficReport", "volume":"30"} " (event "TrafficReport" of project DoSAttack) in the REST request and it worked OK It seems that my problem is related to my new Project "FISTARDEMO" created with AuthoringTool. Maybe be some missed step configuration? I hope this tip can help you to know where the problem is located. Many thanks in advance for your support Best Regards Nacho De: Ignacio Lázaro Enviado el: jueves, 12 de febrero de 2015 12:56 Para: Tali Yatzkar-Haham Asunto: RE: FISTAR : FIWARE CEP GE testing Hi I have download from github https://github.com/ishkin/Proton Do you need the war files I have? Best Regards Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: jueves, 12 de febrero de 2015 10:06 Para: Ignacio Lázaro Asunto: RE: FISTAR : FIWARE CEP GE testing Did you take the CEP code from the open source? Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/02/2015 10:51 AM Subject: RE: FISTAR : FIWARE CEP GE testing Dear Tali I have reviewed the paameter names but I don´t find the error Attached you can get the export file Many thanks in advance Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: miércoles, 11 de febrero de 2015 18:51 Para: Ignacio Lázaro Asunto: Re: FISTAR : FIWARE CEP GE testing Dear Ignacio, Usually this error is due to an issue with the format of the input event. Please make you defined the event with exactly the same name and that it has one attribute called score. If you did not find the problem, please send me your definition file (using export to a file). Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 11/02/2015 04:32 PM Subject: FISTAR : FIWARE CEP GE testing Dear Tali I am working at FISTAR Project ( https://www.fi-star.eu/fi-star.html ) and for our use case we want to use the CEP GE. I have installed CEP in a Ubuntu server 12.04 with Apache Tomcat 7.0.50 I am testing the CEP capabilities baed on information at http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification and when I try to execute the following REST request http://10.1.22.131:8080/ProtonOnWebServer/rest/events Method: POST Header : Content-Type : application/json Data { "Name": "QuestionnaireResult", "score": "1" } I get the following response "Could not parse json event java.lang.NullPointerException, reason: null" I am reviewing the tomcat logs but I don´t find any advice that can help me to know what is wrong Any tip is wellcome Many thanks in advance Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help.[attachment "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM] Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help.
        Hide
        fw.ext.user FW External User added a comment -

        Hi Tali

        Please I sent you an screenshot of the message I get at catalina log file.

        I have defined the CATALINA_HOME but it seems that it is not enough

        I don´t find what is missing

        Many thanks for your help

        Best Regards

        Nacho

        Show
        fw.ext.user FW External User added a comment - Hi Tali Please I sent you an screenshot of the message I get at catalina log file. I have defined the CATALINA_HOME but it seems that it is not enough I don´t find what is missing Many thanks for your help Best Regards Nacho
        Hide
        TALI Fabiana Fournier added a comment -

        Hi Ignacio,

        Glad to hear that the previous issue was solved.
        I looked at your json and it seems to be fine.

        The header you are sending is different than the standard json header. Is
        it a language issue?
        Please try to use the header:
        Content-Type: application/json

        If this doesn't help,
        Please look at the log file (under tomcat installation /logs directory
        usually the file called Catalina.out) to see if there is error indication.
        If you don't understand the error, please send me this log

        As for actually debugging, the source is open, you are welcome to see what
        actually happen if you feel comfortable with it.

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org>
        Date: 25/02/2015 03:04 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        At new server was missing this step. I have defined it and now the
        ChangeState works OK

        More test I did are th following:

        1- Get definitions : OK
        [

        { "name": "/opt/CEP_Proton/ProtonDefinitions/FISTARdemo.json", "url": "/ProtonOnWebServerAdmin/resources/definitions/FISTARdemo" }

        ]

        2- send value

        Method POST
        URL http://10.1.22.84:8080/ProtonOnWebServer/rest/events
        Headers Content-Tyep aplicación/json
        Data

        {"Name":"QuestionnaireResult", "Score":"30"}

        I get an error when I execute the REST command : "Could not parse json
        event java.lang.NullPointerException, reason: null"

        Attached the json file of the Project I am using

        Is there any other missing step?

        How can I test what is wrong?

        Once again, many thanks in advance

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: miércoles, 25 de febrero de 2015 9:02
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        It seems that the CEP repository directory was not define.
        Please make sure you defined it - as described in the installation
        document:
        https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuration

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org>
        Date: 25/02/2015 09:42 AM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        I have reviewed the log file and I found the following message after
        execute the REST changestate action
        (

        {"action":"ChangeState","state":"start"}

        )

        "INFO: Properties are :
        metadatFile = null/FISTARdemo.json"

        I can not find the FISTARdemo.json in any folder in the server.

        Best Regards

        Nacho

        De: Ignacio Lázaro
        Enviado el: martes, 24 de febrero de 2015 17:03
        Para: Tali Yatzkar-Haham
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        Finally I reinstalled the CEP GE in other server and the CATALINA_HOME
        problem is fixed.

        Anyway I have another ones

        Now I list the steps done:

        1- I have created at http://10.1.22.55:8080/AuthoringTool/ a new Project
        FISTARdemo

        2- Set FISTARdemo as instance

        Method PUT
        URL
        http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer

        Headers Content-Tyep aplicación/json
        Data

        {"action":"ChangeDefinitions","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/FISTARdemo"}

        3- Get instance

        Method GET
        URL
        http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer

        Headers Content-Tyep aplicación/json

        {
        "state": "started",
        "definitions-url":
        "/ProtonOnWebServerAdmin/resources/definitions/FISTARdemo"
        }

        4- send value

        Method POST
        URL http://10.1.22.55:8080/ProtonOnWebServer/rest/events
        Headers Content-Tyep aplicación/json
        Data

        {"Name":"QuestionnaireResult", "Score":"30"}

        I get an error when I execute the REST command : "Could not parse json
        event java.lang.NullPointerException, reason: null"

        5- Get definitions
        Method GET
        URL http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/definitions

        java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        java.lang.String.substring(String.java:1911)
        com.ibm.hrl.proton.admin.webapp.resources.DefinitionsResource.getAllDefinitions(DefinitionsResource.java:80)

        Maybe some step is missing?

        Many thanks in advance for your comments

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: martes, 24 de febrero de 2015 12:18
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        Yes, the error you see seems to be related to an undefined CATALINA_HOME,
        and I see in the screenshot that it is defined... Since I'm not a
        Tomcat/Linux expert, I don't know why you have this problem.

        The content of my Tomcat activation script is below:

        JAVA_HOME=/opt/jdk1.6.0_33
        export JAVA_HOME
        PATH=$JAVA_HOME/bin:$PATH
        export PATH
        export CATALINA_HOME=/opt/tomcat10

        case $1 in
        start)
        /bin/su tomcat $CATALINA_HOME/bin/startup.sh
        ;;
        stop)
        /bin/su tomcat $CATALINA_HOME/bin/shutdown.sh
        ;;
        restart)
        /bin/su tomcat $CATALINA_HOME/bin/shutdown.sh
        /bin/su tomcat $CATALINA_HOME/bint/startup.sh
        ;;
        esac
        exit 0

        Hope it can help

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org>
        Date: 19/02/2015 04:34 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        Please I sent you an screenshot of the message I get at catalina log
        file.

        I have defined the CATALINA_HOME but it seems that it is not enough

        I don´t find what is missing

        Many thanks for your help

        Best Regards

        Nacho
        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: domingo, 15 de febrero de 2015 8:21
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        It seems like you need to set the permissions.
        Please follow instructions at the CEP installation guide

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 13/02/2015 12:52 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        I have executed the rest service
        ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer and I get the
        following message

        "Could not read instance state, message: Error activating jmx proxy"

        It seems that something in my machine is not right configured

        I have defined at file /etc/init.d/tomcat7.sh

        CATALINA_OPTS=-Dcom.sun.management.jmxremote
        -Dcom.sun.management.jmxremote.port=8686
        -Dcom.sun.management.jmxremote.ssl=false
        -Dcom.sun.management.jmxremote.authenticate=false
        JRE_HOME=/opt/jdk1.7.0._72/jre
        Any idea is wellcome?

        Many thanks for your support

        Best regards

        Nacho
        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: viernes, 13 de febrero de 2015 4:40
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        Your definition file seems fine.
        Please be aware that the CEP can run one definition project at a time. So
        if you succeed to send it a TrafficReport evemt, it means that it run the
        example project definition and not your definition file.
        When you export a definition from the UI to the engine, it means that the
        definition is kept in the definition repository.
        If you want the engine to run with it, you need to change the CEP engine
        status to run with the new definition and to stop and start the CEP
        engine.
        All can be done through REST commands, as described in the api doc.

        I added cc to the FI-WARE issue tracking system to document this issue.

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/02/2015 03:40 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Dear Tali

        I have tried with this json "

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

        "
        (event "TrafficReport" of project DoSAttack) in the REST request and it
        worked OK

        It seems that my problem is related to my new Project "FISTARDEMO" created
        with AuthoringTool. Maybe be some missed step configuration?

        I hope this tip can help you to know where the problem is located.

        Many thanks in advance for your support

        Best Regards

        Nacho
        De: Ignacio Lázaro
        Enviado el: jueves, 12 de febrero de 2015 12:56
        Para: Tali Yatzkar-Haham
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi

        I have download from github https://github.com/ishkin/Proton

        Do you need the war files I have?

        Best Regards

        Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: jueves, 12 de febrero de 2015 10:06
        Para: Ignacio Lázaro
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Did you take the CEP code from the open source?
        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/02/2015 10:51 AM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Dear Tali

        I have reviewed the paameter names but I don´t find the error

        Attached you can get the export file

        Many thanks in advance

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: miércoles, 11 de febrero de 2015 18:51
        Para: Ignacio Lázaro
        Asunto: Re: FISTAR : FIWARE CEP GE testing

        Dear Ignacio,

        Usually this error is due to an issue with the format of the input event.
        Please make you defined the event with exactly the same name and that it
        has one attribute called score.

        If you did not find the problem, please send me your definition file
        (using export to a file).
        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 11/02/2015 04:32 PM
        Subject: FISTAR : FIWARE CEP GE testing

        Dear Tali

        I am working at FISTAR Project (https://www.fi-star.eu/fi-star.html) and
        for our use case we want to use the CEP GE.

        I have installed CEP in a Ubuntu server 12.04 with Apache Tomcat 7.0.50

        I am testing the CEP capabilities baed on information at
        http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification
        and when I try to execute the following REST request

        http://10.1.22.131:8080/ProtonOnWebServer/rest/events

        Method: POST
        Header : Content-Type : application/json

        Data
        {
        "Name": "QuestionnaireResult",
        "score": "1"
        }

        I get the following response

        "Could not parse json event java.lang.NullPointerException, reason: null"

        I am reviewing the tomcat logs but I don´t find any advice that can help
        me to know what is wrong

        Any tip is wellcome

        Many thanks in advance

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.[attachment
        "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM]

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.[attachment "TOMCATLOG.png"
        deleted by Tali Yatzkar-Haham/Haifa/IBM]

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.[attachment
        "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM]

        Show
        TALI Fabiana Fournier added a comment - Hi Ignacio, Glad to hear that the previous issue was solved. I looked at your json and it seems to be fine. The header you are sending is different than the standard json header. Is it a language issue? Please try to use the header: Content-Type: application/json If this doesn't help, Please look at the log file (under tomcat installation /logs directory usually the file called Catalina.out) to see if there is error indication. If you don't understand the error, please send me this log As for actually debugging, the source is open, you are welcome to see what actually happen if you feel comfortable with it. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org> Date: 25/02/2015 03:04 PM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali At new server was missing this step. I have defined it and now the ChangeState works OK More test I did are th following: 1- Get definitions : OK [ { "name": "/opt/CEP_Proton/ProtonDefinitions/FISTARdemo.json", "url": "/ProtonOnWebServerAdmin/resources/definitions/FISTARdemo" } ] 2- send value Method POST URL http://10.1.22.84:8080/ProtonOnWebServer/rest/events Headers Content-Tyep aplicación/json Data {"Name":"QuestionnaireResult", "Score":"30"} I get an error when I execute the REST command : "Could not parse json event java.lang.NullPointerException, reason: null" Attached the json file of the Project I am using Is there any other missing step? How can I test what is wrong? Once again, many thanks in advance Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: miércoles, 25 de febrero de 2015 9:02 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, It seems that the CEP repository directory was not define. Please make sure you defined it - as described in the installation document: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuration Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org> Date: 25/02/2015 09:42 AM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali I have reviewed the log file and I found the following message after execute the REST changestate action ( {"action":"ChangeState","state":"start"} ) "INFO: Properties are : metadatFile = null/FISTARdemo.json" I can not find the FISTARdemo.json in any folder in the server. Best Regards Nacho De: Ignacio Lázaro Enviado el: martes, 24 de febrero de 2015 17:03 Para: Tali Yatzkar-Haham CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Tali Finally I reinstalled the CEP GE in other server and the CATALINA_HOME problem is fixed. Anyway I have another ones Now I list the steps done: 1- I have created at http://10.1.22.55:8080/AuthoringTool/ a new Project FISTARdemo 2- Set FISTARdemo as instance Method PUT URL http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer Headers Content-Tyep aplicación/json Data {"action":"ChangeDefinitions","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/FISTARdemo"} 3- Get instance Method GET URL http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer Headers Content-Tyep aplicación/json { "state": "started", "definitions-url": "/ProtonOnWebServerAdmin/resources/definitions/FISTARdemo" } 4- send value Method POST URL http://10.1.22.55:8080/ProtonOnWebServer/rest/events Headers Content-Tyep aplicación/json Data {"Name":"QuestionnaireResult", "Score":"30"} I get an error when I execute the REST command : "Could not parse json event java.lang.NullPointerException, reason: null" 5- Get definitions Method GET URL http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/definitions java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.String.substring(String.java:1911) com.ibm.hrl.proton.admin.webapp.resources.DefinitionsResource.getAllDefinitions(DefinitionsResource.java:80) Maybe some step is missing? Many thanks in advance for your comments Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: martes, 24 de febrero de 2015 12:18 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, Yes, the error you see seems to be related to an undefined CATALINA_HOME, and I see in the screenshot that it is defined... Since I'm not a Tomcat/Linux expert, I don't know why you have this problem. The content of my Tomcat activation script is below: JAVA_HOME=/opt/jdk1.6.0_33 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH export CATALINA_HOME=/opt/tomcat10 case $1 in start) /bin/su tomcat $CATALINA_HOME/bin/startup.sh ;; stop) /bin/su tomcat $CATALINA_HOME/bin/shutdown.sh ;; restart) /bin/su tomcat $CATALINA_HOME/bin/shutdown.sh /bin/su tomcat $CATALINA_HOME/bint/startup.sh ;; esac exit 0 Hope it can help Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org> Date: 19/02/2015 04:34 PM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali Please I sent you an screenshot of the message I get at catalina log file. I have defined the CATALINA_HOME but it seems that it is not enough I don´t find what is missing Many thanks for your help Best Regards Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: domingo, 15 de febrero de 2015 8:21 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, It seems like you need to set the permissions. Please follow instructions at the CEP installation guide Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 13/02/2015 12:52 PM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali I have executed the rest service ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer and I get the following message "Could not read instance state, message: Error activating jmx proxy" It seems that something in my machine is not right configured I have defined at file /etc/init.d/tomcat7.sh CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8686 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false JRE_HOME=/opt/jdk1.7.0._72/jre Any idea is wellcome? Many thanks for your support Best regards Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: viernes, 13 de febrero de 2015 4:40 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, Your definition file seems fine. Please be aware that the CEP can run one definition project at a time. So if you succeed to send it a TrafficReport evemt, it means that it run the example project definition and not your definition file. When you export a definition from the UI to the engine, it means that the definition is kept in the definition repository. If you want the engine to run with it, you need to change the CEP engine status to run with the new definition and to stop and start the CEP engine. All can be done through REST commands, as described in the api doc. I added cc to the FI-WARE issue tracking system to document this issue. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/02/2015 03:40 PM Subject: RE: FISTAR : FIWARE CEP GE testing Dear Tali I have tried with this json " {"Name":"TrafficReport", "volume":"30"} " (event "TrafficReport" of project DoSAttack) in the REST request and it worked OK It seems that my problem is related to my new Project "FISTARDEMO" created with AuthoringTool. Maybe be some missed step configuration? I hope this tip can help you to know where the problem is located. Many thanks in advance for your support Best Regards Nacho De: Ignacio Lázaro Enviado el: jueves, 12 de febrero de 2015 12:56 Para: Tali Yatzkar-Haham Asunto: RE: FISTAR : FIWARE CEP GE testing Hi I have download from github https://github.com/ishkin/Proton Do you need the war files I have? Best Regards Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: jueves, 12 de febrero de 2015 10:06 Para: Ignacio Lázaro Asunto: RE: FISTAR : FIWARE CEP GE testing Did you take the CEP code from the open source? Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/02/2015 10:51 AM Subject: RE: FISTAR : FIWARE CEP GE testing Dear Tali I have reviewed the paameter names but I don´t find the error Attached you can get the export file Many thanks in advance Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: miércoles, 11 de febrero de 2015 18:51 Para: Ignacio Lázaro Asunto: Re: FISTAR : FIWARE CEP GE testing Dear Ignacio, Usually this error is due to an issue with the format of the input event. Please make you defined the event with exactly the same name and that it has one attribute called score. If you did not find the problem, please send me your definition file (using export to a file). Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 11/02/2015 04:32 PM Subject: FISTAR : FIWARE CEP GE testing Dear Tali I am working at FISTAR Project ( https://www.fi-star.eu/fi-star.html ) and for our use case we want to use the CEP GE. I have installed CEP in a Ubuntu server 12.04 with Apache Tomcat 7.0.50 I am testing the CEP capabilities baed on information at http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification and when I try to execute the following REST request http://10.1.22.131:8080/ProtonOnWebServer/rest/events Method: POST Header : Content-Type : application/json Data { "Name": "QuestionnaireResult", "score": "1" } I get the following response "Could not parse json event java.lang.NullPointerException, reason: null" I am reviewing the tomcat logs but I don´t find any advice that can help me to know what is wrong Any tip is wellcome Many thanks in advance Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help.[attachment "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM] Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help.[attachment "TOMCATLOG.png" deleted by Tali Yatzkar-Haham/Haifa/IBM] Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help.[attachment "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM]
        Hide
        fw.ext.user FW External User added a comment -

        Hi Tali

        The value of "Content-Type" is "application/json", the traslator chaged the value to spanish

        At log appears the following lines

        "
        com.ibm.hrl.proton.webapp.providers.EventJSONMessageReader readFrom
        INFO: started event message body reader
        INFO: name value : QuestionnaireResult looking for : Name
        INFO: Could not parse json event java.lang.NullPointerException, reason: null
        "

        With this log, do you know what is wrong?

        Many thanks in advance

        Best Regards

        Nacho

        Show
        fw.ext.user FW External User added a comment - Hi Tali The value of "Content-Type" is "application/json", the traslator chaged the value to spanish At log appears the following lines " com.ibm.hrl.proton.webapp.providers.EventJSONMessageReader readFrom INFO: started event message body reader INFO: name value : QuestionnaireResult looking for : Name INFO: Could not parse json event java.lang.NullPointerException, reason: null " With this log, do you know what is wrong? Many thanks in advance Best Regards Nacho
        Hide
        TALI Fabiana Fournier added a comment -

        Hi Ignacio,

        I open a general issue for us to improve the error message.

        Could you please send me the full log file, maybe this is related to
        another problem.

        Thanks,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org>
        Date: 26/02/2015 11:06 AM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        The value of "Content-Type" is "application/json", the traslator chaged
        the value to spanish

        At log appears the following lines

        "
        com.ibm.hrl.proton.webapp.providers.EventJSONMessageReader readFrom
        INFO: started event message body reader
        INFO: name value : QuestionnaireResult looking for : Name
        INFO: Could not parse json event java.lang.NullPointerException, reason:
        null
        "

        With this log, do you know what is wrong?

        Many thanks in advance

        Best Regards

        Nacho

        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: jueves, 26 de febrero de 2015 8:17
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        Glad to hear that the previous issue was solved.
        I looked at your json and it seems to be fine.

        The header you are sending is different than the standard json header. Is
        it a language issue?
        Please try to use the header:
        Content-Type: application/json

        If this doesn't help,
        Please look at the log file (under tomcat installation /logs directory
        usually the file called Catalina.out) to see if there is error indication.

        If you don't understand the error, please send me this log

        As for actually debugging, the source is open, you are welcome to see what
        actually happen if you feel comfortable with it.

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org>
        Date: 25/02/2015 03:04 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        At new server was missing this step. I have defined it and now the
        ChangeState works OK

        More test I did are th following:

        1- Get definitions : OK
        [

        { "name": "/opt/CEP_Proton/ProtonDefinitions/FISTARdemo.json", "url": "/ProtonOnWebServerAdmin/resources/definitions/FISTARdemo" }

        ]

        2- send value

        Method POST
        URL http://10.1.22.84:8080/ProtonOnWebServer/rest/events
        Headers Content-Tyep aplicación/json
        Data

        {"Name":"QuestionnaireResult", "Score":"30"}

        I get an error when I execute the REST command : "Could not parse json
        event java.lang.NullPointerException, reason: null"

        Attached the json file of the Project I am using

        Is there any other missing step?

        How can I test what is wrong?

        Once again, many thanks in advance

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: miércoles, 25 de febrero de 2015 9:02
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        It seems that the CEP repository directory was not define.
        Please make sure you defined it - as described in the installation
        document:
        https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuration

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org>
        Date: 25/02/2015 09:42 AM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        I have reviewed the log file and I found the following message after
        execute the REST changestate action
        (

        {"action":"ChangeState","state":"start"}

        )

        "INFO: Properties are :
        metadatFile = null/FISTARdemo.json"

        I can not find the FISTARdemo.json in any folder in the server.

        Best Regards

        Nacho

        De: Ignacio Lázaro
        Enviado el: martes, 24 de febrero de 2015 17:03
        Para: Tali Yatzkar-Haham
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        Finally I reinstalled the CEP GE in other server and the CATALINA_HOME
        problem is fixed.

        Anyway I have another ones

        Now I list the steps done:

        1- I have created at http://10.1.22.55:8080/AuthoringTool/ a new Project
        FISTARdemo

        2- Set FISTARdemo as instance

        Method PUT
        URL
        http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer

        Headers Content-Tyep aplicación/json
        Data

        {"action":"ChangeDefinitions","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/FISTARdemo"}

        3- Get instance

        Method GET
        URL
        http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer

        Headers Content-Tyep aplicación/json

        {
        "state": "started",
        "definitions-url":
        "/ProtonOnWebServerAdmin/resources/definitions/FISTARdemo"
        }

        4- send value

        Method POST
        URL http://10.1.22.55:8080/ProtonOnWebServer/rest/events
        Headers Content-Tyep aplicación/json
        Data

        {"Name":"QuestionnaireResult", "Score":"30"}

        I get an error when I execute the REST command : "Could not parse json
        event java.lang.NullPointerException, reason: null"

        5- Get definitions
        Method GET
        URL http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/definitions

        java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        java.lang.String.substring(String.java:1911)
        com.ibm.hrl.proton.admin.webapp.resources.DefinitionsResource.getAllDefinitions(DefinitionsResource.java:80)

        Maybe some step is missing?

        Many thanks in advance for your comments

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: martes, 24 de febrero de 2015 12:18
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        Yes, the error you see seems to be related to an undefined CATALINA_HOME,
        and I see in the screenshot that it is defined... Since I'm not a
        Tomcat/Linux expert, I don't know why you have this problem.

        The content of my Tomcat activation script is below:

        JAVA_HOME=/opt/jdk1.6.0_33
        export JAVA_HOME
        PATH=$JAVA_HOME/bin:$PATH
        export PATH
        export CATALINA_HOME=/opt/tomcat10

        case $1 in
        start)
        /bin/su tomcat $CATALINA_HOME/bin/startup.sh
        ;;
        stop)
        /bin/su tomcat $CATALINA_HOME/bin/shutdown.sh
        ;;
        restart)
        /bin/su tomcat $CATALINA_HOME/bin/shutdown.sh
        /bin/su tomcat $CATALINA_HOME/bint/startup.sh
        ;;
        esac
        exit 0

        Hope it can help

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org>
        Date: 19/02/2015 04:34 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        Please I sent you an screenshot of the message I get at catalina log
        file.

        I have defined the CATALINA_HOME but it seems that it is not enough

        I don´t find what is missing

        Many thanks for your help

        Best Regards

        Nacho
        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: domingo, 15 de febrero de 2015 8:21
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        It seems like you need to set the permissions.
        Please follow instructions at the CEP installation guide

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 13/02/2015 12:52 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Hi Tali

        I have executed the rest service
        ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer and I get the
        following message

        "Could not read instance state, message: Error activating jmx proxy"

        It seems that something in my machine is not right configured

        I have defined at file /etc/init.d/tomcat7.sh

        CATALINA_OPTS=-Dcom.sun.management.jmxremote
        -Dcom.sun.management.jmxremote.port=8686
        -Dcom.sun.management.jmxremote.ssl=false
        -Dcom.sun.management.jmxremote.authenticate=false
        JRE_HOME=/opt/jdk1.7.0._72/jre
        Any idea is wellcome?

        Many thanks for your support

        Best regards

        Nacho
        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: viernes, 13 de febrero de 2015 4:40
        Para: Ignacio Lázaro
        CC: jira-help-desk@fi-ware.org
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi Ignacio,

        Your definition file seems fine.
        Please be aware that the CEP can run one definition project at a time. So
        if you succeed to send it a TrafficReport evemt, it means that it run the
        example project definition and not your definition file.
        When you export a definition from the UI to the engine, it means that the
        definition is kept in the definition repository.
        If you want the engine to run with it, you need to change the CEP engine
        status to run with the new definition and to stop and start the CEP
        engine.
        All can be done through REST commands, as described in the api doc.

        I added cc to the FI-WARE issue tracking system to document this issue.

        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/02/2015 03:40 PM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Dear Tali

        I have tried with this json "

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

        "
        (event "TrafficReport" of project DoSAttack) in the REST request and it
        worked OK

        It seems that my problem is related to my new Project "FISTARDEMO" created
        with AuthoringTool. Maybe be some missed step configuration?

        I hope this tip can help you to know where the problem is located.

        Many thanks in advance for your support

        Best Regards

        Nacho
        De: Ignacio Lázaro
        Enviado el: jueves, 12 de febrero de 2015 12:56
        Para: Tali Yatzkar-Haham
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Hi

        I have download from github https://github.com/ishkin/Proton

        Do you need the war files I have?

        Best Regards

        Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: jueves, 12 de febrero de 2015 10:06
        Para: Ignacio Lázaro
        Asunto: RE: FISTAR : FIWARE CEP GE testing

        Did you take the CEP code from the open source?
        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/02/2015 10:51 AM
        Subject: RE: FISTAR : FIWARE CEP GE testing

        Dear Tali

        I have reviewed the paameter names but I don´t find the error

        Attached you can get the export file

        Many thanks in advance

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        De: Tali Yatzkar-Haham [TALI@il.ibm.com]
        Enviado el: miércoles, 11 de febrero de 2015 18:51
        Para: Ignacio Lázaro
        Asunto: Re: FISTAR : FIWARE CEP GE testing

        Dear Ignacio,

        Usually this error is due to an issue with the format of the input event.
        Please make you defined the event with exactly the same name and that it
        has one attribute called score.

        If you did not find the problem, please send me your definition file
        (using export to a file).
        Regards,
        Tali

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

        From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 11/02/2015 04:32 PM
        Subject: FISTAR : FIWARE CEP GE testing

        Dear Tali

        I am working at FISTAR Project (https://www.fi-star.eu/fi-star.html) and
        for our use case we want to use the CEP GE.

        I have installed CEP in a Ubuntu server 12.04 with Apache Tomcat 7.0.50

        I am testing the CEP capabilities baed on information at
        http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification
        and when I try to execute the following REST request

        http://10.1.22.131:8080/ProtonOnWebServer/rest/events

        Method: POST
        Header : Content-Type : application/json

        Data
        {
        "Name": "QuestionnaireResult",
        "score": "1"
        }

        I get the following response

        "Could not parse json event java.lang.NullPointerException, reason: null"

        I am reviewing the tomcat logs but I don´t find any advice that can help
        me to know what is wrong

        Any tip is wellcome

        Many thanks in advance

        Best Regards

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.[attachment
        "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM]

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.[attachment "TOMCATLOG.png"
        deleted by Tali Yatzkar-Haham/Haifa/IBM]

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.[attachment
        "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM]

        Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
        legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
        berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
        La información de este correo puede ser confidencial y está protegida por
        la legislación vigente. Si ha recibido este correo por error, reenvíelo a
        su emisor y elimínelo. Gracias por su ayuda.
        This e-mail may contain confidential information that is protected by our
        laws. If you have received this e-mail by mistake, please, notify the
        sender and delete it. Thank you for your help.

        Show
        TALI Fabiana Fournier added a comment - Hi Ignacio, I open a general issue for us to improve the error message. Could you please send me the full log file, maybe this is related to another problem. Thanks, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org> Date: 26/02/2015 11:06 AM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali The value of "Content-Type" is "application/json", the traslator chaged the value to spanish At log appears the following lines " com.ibm.hrl.proton.webapp.providers.EventJSONMessageReader readFrom INFO: started event message body reader INFO: name value : QuestionnaireResult looking for : Name INFO: Could not parse json event java.lang.NullPointerException, reason: null " With this log, do you know what is wrong? Many thanks in advance Best Regards Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: jueves, 26 de febrero de 2015 8:17 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, Glad to hear that the previous issue was solved. I looked at your json and it seems to be fine. The header you are sending is different than the standard json header. Is it a language issue? Please try to use the header: Content-Type: application/json If this doesn't help, Please look at the log file (under tomcat installation /logs directory usually the file called Catalina.out) to see if there is error indication. If you don't understand the error, please send me this log As for actually debugging, the source is open, you are welcome to see what actually happen if you feel comfortable with it. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org> Date: 25/02/2015 03:04 PM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali At new server was missing this step. I have defined it and now the ChangeState works OK More test I did are th following: 1- Get definitions : OK [ { "name": "/opt/CEP_Proton/ProtonDefinitions/FISTARdemo.json", "url": "/ProtonOnWebServerAdmin/resources/definitions/FISTARdemo" } ] 2- send value Method POST URL http://10.1.22.84:8080/ProtonOnWebServer/rest/events Headers Content-Tyep aplicación/json Data {"Name":"QuestionnaireResult", "Score":"30"} I get an error when I execute the REST command : "Could not parse json event java.lang.NullPointerException, reason: null" Attached the json file of the Project I am using Is there any other missing step? How can I test what is wrong? Once again, many thanks in advance Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: miércoles, 25 de febrero de 2015 9:02 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, It seems that the CEP repository directory was not define. Please make sure you defined it - as described in the installation document: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuration Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org> Date: 25/02/2015 09:42 AM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali I have reviewed the log file and I found the following message after execute the REST changestate action ( {"action":"ChangeState","state":"start"} ) "INFO: Properties are : metadatFile = null/FISTARdemo.json" I can not find the FISTARdemo.json in any folder in the server. Best Regards Nacho De: Ignacio Lázaro Enviado el: martes, 24 de febrero de 2015 17:03 Para: Tali Yatzkar-Haham CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Tali Finally I reinstalled the CEP GE in other server and the CATALINA_HOME problem is fixed. Anyway I have another ones Now I list the steps done: 1- I have created at http://10.1.22.55:8080/AuthoringTool/ a new Project FISTARdemo 2- Set FISTARdemo as instance Method PUT URL http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer Headers Content-Tyep aplicación/json Data {"action":"ChangeDefinitions","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/FISTARdemo"} 3- Get instance Method GET URL http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer Headers Content-Tyep aplicación/json { "state": "started", "definitions-url": "/ProtonOnWebServerAdmin/resources/definitions/FISTARdemo" } 4- send value Method POST URL http://10.1.22.55:8080/ProtonOnWebServer/rest/events Headers Content-Tyep aplicación/json Data {"Name":"QuestionnaireResult", "Score":"30"} I get an error when I execute the REST command : "Could not parse json event java.lang.NullPointerException, reason: null" 5- Get definitions Method GET URL http://10.1.22.55:8080/ProtonOnWebServerAdmin/resources/definitions java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.String.substring(String.java:1911) com.ibm.hrl.proton.admin.webapp.resources.DefinitionsResource.getAllDefinitions(DefinitionsResource.java:80) Maybe some step is missing? Many thanks in advance for your comments Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: martes, 24 de febrero de 2015 12:18 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, Yes, the error you see seems to be related to an undefined CATALINA_HOME, and I see in the screenshot that it is defined... Since I'm not a Tomcat/Linux expert, I don't know why you have this problem. The content of my Tomcat activation script is below: JAVA_HOME=/opt/jdk1.6.0_33 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH export CATALINA_HOME=/opt/tomcat10 case $1 in start) /bin/su tomcat $CATALINA_HOME/bin/startup.sh ;; stop) /bin/su tomcat $CATALINA_HOME/bin/shutdown.sh ;; restart) /bin/su tomcat $CATALINA_HOME/bin/shutdown.sh /bin/su tomcat $CATALINA_HOME/bint/startup.sh ;; esac exit 0 Hope it can help Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Cc: "jira-help-desk@fi-ware.org" <jira-help-desk@fi-ware.org> Date: 19/02/2015 04:34 PM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali Please I sent you an screenshot of the message I get at catalina log file. I have defined the CATALINA_HOME but it seems that it is not enough I don´t find what is missing Many thanks for your help Best Regards Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: domingo, 15 de febrero de 2015 8:21 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, It seems like you need to set the permissions. Please follow instructions at the CEP installation guide Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 13/02/2015 12:52 PM Subject: RE: FISTAR : FIWARE CEP GE testing Hi Tali I have executed the rest service ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer and I get the following message "Could not read instance state, message: Error activating jmx proxy" It seems that something in my machine is not right configured I have defined at file /etc/init.d/tomcat7.sh CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8686 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false JRE_HOME=/opt/jdk1.7.0._72/jre Any idea is wellcome? Many thanks for your support Best regards Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: viernes, 13 de febrero de 2015 4:40 Para: Ignacio Lázaro CC: jira-help-desk@fi-ware.org Asunto: RE: FISTAR : FIWARE CEP GE testing Hi Ignacio, Your definition file seems fine. Please be aware that the CEP can run one definition project at a time. So if you succeed to send it a TrafficReport evemt, it means that it run the example project definition and not your definition file. When you export a definition from the UI to the engine, it means that the definition is kept in the definition repository. If you want the engine to run with it, you need to change the CEP engine status to run with the new definition and to stop and start the CEP engine. All can be done through REST commands, as described in the api doc. I added cc to the FI-WARE issue tracking system to document this issue. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/02/2015 03:40 PM Subject: RE: FISTAR : FIWARE CEP GE testing Dear Tali I have tried with this json " {"Name":"TrafficReport", "volume":"30"} " (event "TrafficReport" of project DoSAttack) in the REST request and it worked OK It seems that my problem is related to my new Project "FISTARDEMO" created with AuthoringTool. Maybe be some missed step configuration? I hope this tip can help you to know where the problem is located. Many thanks in advance for your support Best Regards Nacho De: Ignacio Lázaro Enviado el: jueves, 12 de febrero de 2015 12:56 Para: Tali Yatzkar-Haham Asunto: RE: FISTAR : FIWARE CEP GE testing Hi I have download from github https://github.com/ishkin/Proton Do you need the war files I have? Best Regards Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: jueves, 12 de febrero de 2015 10:06 Para: Ignacio Lázaro Asunto: RE: FISTAR : FIWARE CEP GE testing Did you take the CEP code from the open source? Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/02/2015 10:51 AM Subject: RE: FISTAR : FIWARE CEP GE testing Dear Tali I have reviewed the paameter names but I don´t find the error Attached you can get the export file Many thanks in advance Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es De: Tali Yatzkar-Haham [TALI@il.ibm.com] Enviado el: miércoles, 11 de febrero de 2015 18:51 Para: Ignacio Lázaro Asunto: Re: FISTAR : FIWARE CEP GE testing Dear Ignacio, Usually this error is due to an issue with the format of the input event. Please make you defined the event with exactly the same name and that it has one attribute called score. If you did not find the problem, please send me your definition file (using export to a file). Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Ignacio Lázaro <ignacio.lazaro@tekniker.es> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 11/02/2015 04:32 PM Subject: FISTAR : FIWARE CEP GE testing Dear Tali I am working at FISTAR Project ( https://www.fi-star.eu/fi-star.html ) and for our use case we want to use the CEP GE. I have installed CEP in a Ubuntu server 12.04 with Apache Tomcat 7.0.50 I am testing the CEP capabilities baed on information at http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification and when I try to execute the following REST request http://10.1.22.131:8080/ProtonOnWebServer/rest/events Method: POST Header : Content-Type : application/json Data { "Name": "QuestionnaireResult", "score": "1" } I get the following response "Could not parse json event java.lang.NullPointerException, reason: null" I am reviewing the tomcat logs but I don´t find any advice that can help me to know what is wrong Any tip is wellcome Many thanks in advance Best Regards Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help.[attachment "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM] Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help.[attachment "TOMCATLOG.png" deleted by Tali Yatzkar-Haham/Haifa/IBM] Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help. Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help.[attachment "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM] Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik. La información de este correo puede ser confidencial y está protegida por la legislación vigente. Si ha recibido este correo por error, reenvíelo a su emisor y elimínelo. Gracias por su ayuda. This e-mail may contain confidential information that is protected by our laws. If you have received this e-mail by mistake, please, notify the sender and delete it. Thank you for your help.
        Hide
        fw.ext.user FW External User added a comment -

        Hi Tali

        Attached you can find the log file

        Many thanks for your support

        Nacho

        Ignacio Lazaro Llorente
        Informazio-Sistema Adimendunen Unitatea
        Unidad de Sistemas de Información Inteligentes
        Intelligent Information System Unit
        ilazaro@tekniker.es<ilazaro@tekniker.es>

        http://www.tekniker.es/logo/LogoTEK-Posta.gif<http://www.tekniker.es/>

        Show
        fw.ext.user FW External User added a comment - Hi Tali Attached you can find the log file Many thanks for your support Nacho Ignacio Lazaro Llorente Informazio-Sistema Adimendunen Unitatea Unidad de Sistemas de Información Inteligentes Intelligent Information System Unit ilazaro@tekniker.es< ilazaro@tekniker.es > http://www.tekniker.es/logo/LogoTEK-Posta.gif < http://www.tekniker.es/ >
        Hide
        fw.ext.user FW External User added a comment -

        Hi Tali

        I have tried also with the CEP global instance (130.206.81.23) with the project DemoTek

        I have done the same steps, with the same result

        1- Create Project DemoTek at http://130.206.81.23:8080/AuthoringTool/Main.html and save

        2- PUT definition

        {"action":"ChangeDefinitions","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/DemoTek"}

        3- Change state stop and start

        {"action":"ChangeState","state":"stop"} {"action":"ChangeState","state":"start"}

        4- Get Definition

        {
        "state": "started",
        "definitions-url": "/ProtonOnWebServerAdmin/resources/definitions/DemoTek"
        }

        5- POST data

        {"Name":"QuestionnaireResult", "Score":"30"}

        Message error
        Could not parse json event java.lang.NullPointerException, reason: null

        It is posible test at global instance my case

        Best Regards

        Nacho

        Show
        fw.ext.user FW External User added a comment - Hi Tali I have tried also with the CEP global instance (130.206.81.23) with the project DemoTek I have done the same steps, with the same result 1- Create Project DemoTek at http://130.206.81.23:8080/AuthoringTool/Main.html and save 2- PUT definition {"action":"ChangeDefinitions","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/DemoTek"} 3- Change state stop and start {"action":"ChangeState","state":"stop"} {"action":"ChangeState","state":"start"} 4- Get Definition { "state": "started", "definitions-url": "/ProtonOnWebServerAdmin/resources/definitions/DemoTek" } 5- POST data {"Name":"QuestionnaireResult", "Score":"30"} Message error Could not parse json event java.lang.NullPointerException, reason: null It is posible test at global instance my case Best Regards Nacho
        Hide
        TALI Fabiana Fournier added a comment -

        I opened a bug issue to investigate this:
        FIWARE.Bug.Data.CEP.InputEventProccessing.SolveError

        Show
        TALI Fabiana Fournier added a comment - I opened a bug issue to investigate this: FIWARE.Bug.Data.CEP.InputEventProccessing.SolveError

          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: