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

FIWARE.Request.Tech.Data.CEP.Unexpected result/error on Unit Test 7, Case 1, Step 5

    Details

    • HD-Chapter:
      Data
    • HD-Enabler:
      CEP

      Description

      Hi all,

      After executing all the steps 1 through 4 of Unit Test 7 - Case 1 [0], I
      don't observe the expected result in Step 5.
      Note: Steps 1-4 seem to be successful as ProtonUnitTest shows up in Apache
      Tomcat administrator tool as deployed and running.

      • Expected Result on step 5:
        "The new instance is running using the ports configured and the response
        from the REST API call looks as follows: {"state":"started","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/EmptyDefinition"}

        "

      In attachment i send a file with the tomcat log.

      Testing setup:
      OS: Linux OpenSUSE 13.1
      Tomcat: 7.0.26
      Browser: Google Chrome

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

      Best regards,

      Pedro Alves
      pgalves@onesource.pt <joagonca@onesource.pt>

      [image: OneSource]
      http://onesource.pt

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

        Issue Links

          Activity

          Hide
          TALI Fabiana Fournier added a comment -

          Thank you.

          Looking on the attached tomcat log, it seems that the CEP could not initialized normally. In the log the CEP reported:

          SEVERE: Could not initialize application ,reason : com.ibm.hrl.proton.server.adapter.ProtonServerException: Address already in usemessage: Address already in use

          This usually happen when the CEP is activated again when its previous instance was not terminated or not successfully terminated.
          In the log I can see that the CEP was activated again, I don't see that it was stopped in between, so this might be the reason.
          Please try to stop tomcat and start it again, and run the Unit Test again.

          Thank you,
          Tali Yatzkar Haham

          Show
          TALI Fabiana Fournier added a comment - Thank you. Looking on the attached tomcat log, it seems that the CEP could not initialized normally. In the log the CEP reported: SEVERE: Could not initialize application ,reason : com.ibm.hrl.proton.server.adapter.ProtonServerException: Address already in usemessage: Address already in use This usually happen when the CEP is activated again when its previous instance was not terminated or not successfully terminated. In the log I can see that the CEP was activated again, I don't see that it was stopped in between, so this might be the reason. Please try to stop tomcat and start it again, and run the Unit Test again. Thank you, Tali Yatzkar Haham
          Hide
          TALI Fabiana Fournier added a comment -

          Another possible cause I can think of - when you install two CEP instances, you need to make sure to configure them to use different input and output ports (as described in case 1 step 3 of this unit test)

          Show
          TALI Fabiana Fournier added a comment - Another possible cause I can think of - when you install two CEP instances, you need to make sure to configure them to use different input and output ports (as described in case 1 step 3 of this unit test)
          Hide
          TALI Fabiana Fournier added a comment -

          Thank you.
          Looking on the attached tomcat log, it seems that the CEP could not
          initialized normally. In the log the CEP reported:
          SEVERE: Could not initialize application ,reason :
          com.ibm.hrl.proton.server.adapter.ProtonServerException: Address already
          in usemessage: Address already in use
          This usually happen when the CEP is activated again when its previous
          instance was not terminated or not successfully terminated.
          In the log I can see that the CEP was activated again, I don't see that it
          was stopped in between, so this might be the reason.
          Please try to stop tomcat and start it again, and run the Unit Test again.

          Another possible cause I can think of - when you install two CEP
          instances, you need to make sure to configure them to use different input
          and output ports (as described in case 1 step 3 of this unit test)

          Regards,
          Tali

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

          From: SERGIO GARCIA GOMEZ <sergio.garciagomez@telefonica.com>
          To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
          Date: 17/10/2014 02:10 PM
          Subject: FW: [Fiware-tech-help] CEP GE: Unexpected result/error on
          Unit Test 7, Case 1, Step 5

          From: fiware-tech-help-bounces@lists.fi-ware.org [
          fiware-tech-help-bounces@lists.fi-ware.org] On Behalf Of Pedro
          Alves
          Sent: Thursday, October 16, 2014 16:47
          To: fiware-tech-help@lists.fi-ware.org
          Subject: [Fiware-tech-help] CEP GE: Unexpected result/error on Unit Test
          7, Case 1, Step 5

          Hi all,

          After executing all the steps 1 through 4 of Unit Test 7 - Case 1 [0], I
          don't observe the expected result in Step 5.

          Note: Steps 1-4 seem to be successful as ProtonUnitTest shows up in Apache
          Tomcat administrator tool as deployed and running.

          • Expected Result on step 5:

          "The new instance is running using the ports configured and the response
          from the REST API call looks as follows:

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

          "

          webpage with the following message "Could not read instance state,
          message: null/webapps/ProtonUnitTest/Proton.properties (No such file or
          directory), stack trace: [Ljava.lang.StackTraceElement;@661d3dd"

          In attachment i send a file with the tomcat log.

          Testing setup:

          OS: Linux OpenSUSE 13.1

          Tomcat: 7.0.26

          Browser: Google Chrome

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

          Best regards,

          Pedro Alves
          pgalves@onesource.pt

          http://onesource.pt

          Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario,
          puede contener información privilegiada o confidencial y es para uso
          exclusivo de la persona o entidad de destino. Si no es usted. el
          destinatario indicado, queda notificado de que la lectura, utilización,
          divulgación y/o copia sin autorización puede estar prohibida en virtud de
          la legislación vigente. Si ha recibido este mensaje por error, le rogamos
          que nos lo comunique inmediatamente por esta misma vía y proceda a su
          destrucción.

          The information contained in this transmission is privileged and
          confidential information intended only for the use of the individual or
          entity named above. If the reader of this message is not the intended
          recipient, you are hereby notified that any dissemination, distribution or
          copying of this communication is strictly prohibited. If you have received
          this transmission in error, do not read it. Please immediately reply to
          the sender that you have received this communication in error and then
          delete it.

          Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário,
          pode conter informação privilegiada ou confidencial e é para uso exclusivo
          da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário
          indicado, fica notificado de que a leitura, utilização, divulgação e/ou
          cópia sem autorização pode estar proibida em virtude da legislação
          vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o
          comunique imediatamente por esta mesma via e proceda a sua destruição

                1. cep-ge_unittest7_case1_step5.log moved to MyAttachments Repository
                  V3.8 () on 29 October 2014 by Tali Yatzkar-Haham.
                1. ATT00001.txt removed & duplicate added to MyAttachments Repository
                  V3.8 () on 29 October 2014 by Tali Yatzkar-Haham. Original attachment
                  record is here ().
          Show
          TALI Fabiana Fournier added a comment - Thank you. Looking on the attached tomcat log, it seems that the CEP could not initialized normally. In the log the CEP reported: SEVERE: Could not initialize application ,reason : com.ibm.hrl.proton.server.adapter.ProtonServerException: Address already in usemessage: Address already in use This usually happen when the CEP is activated again when its previous instance was not terminated or not successfully terminated. In the log I can see that the CEP was activated again, I don't see that it was stopped in between, so this might be the reason. Please try to stop tomcat and start it again, and run the Unit Test again. Another possible cause I can think of - when you install two CEP instances, you need to make sure to configure them to use different input and output ports (as described in case 1 step 3 of this unit test) Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: SERGIO GARCIA GOMEZ <sergio.garciagomez@telefonica.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 17/10/2014 02:10 PM Subject: FW: [Fiware-tech-help] CEP GE: Unexpected result/error on Unit Test 7, Case 1, Step 5 From: fiware-tech-help-bounces@lists.fi-ware.org [ fiware-tech-help-bounces@lists.fi-ware.org ] On Behalf Of Pedro Alves Sent: Thursday, October 16, 2014 16:47 To: fiware-tech-help@lists.fi-ware.org Subject: [Fiware-tech-help] CEP GE: Unexpected result/error on Unit Test 7, Case 1, Step 5 Hi all, After executing all the steps 1 through 4 of Unit Test 7 - Case 1 [0] , I don't observe the expected result in Step 5. Note: Steps 1-4 seem to be successful as ProtonUnitTest shows up in Apache Tomcat administrator tool as deployed and running. Expected Result on step 5: "The new instance is running using the ports configured and the response from the REST API call looks as follows: {"state":"started","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/EmptyDefinition"} " Observed Result, on step 5, when calling the following REST API with action GET http://localhost:8080/ProtonOnWebServerAdmin/resources/instances/ProtonUnitTest is a webpage with the following message "Could not read instance state, message: null/webapps/ProtonUnitTest/Proton.properties (No such file or directory), stack trace: [Ljava.lang.StackTraceElement;@661d3dd" In attachment i send a file with the tomcat log. Testing setup: OS: Linux OpenSUSE 13.1 Tomcat: 7.0.26 Browser: Google Chrome [0] https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan#Test_Description_7 Best regards, – Pedro Alves pgalves@onesource.pt http://onesource.pt Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it. Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição cep-ge_unittest7_case1_step5.log moved to MyAttachments Repository V3.8 () on 29 October 2014 by Tali Yatzkar-Haham. ATT00001.txt removed & duplicate added to MyAttachments Repository V3.8 () on 29 October 2014 by Tali Yatzkar-Haham. Original attachment record is here ().

            People

            • Assignee:
              TALI Fabiana Fournier
              Reporter:
              pgalves Pedro Alves
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: