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

          FIWARE-TECH-HELP FIWARE-TECH-HELP created issue -
          sergg Sergio Garcia Gomez made changes -
          Field Original Value New Value
          Assignee Tali Yatzkar Haham [ tali ]
          mev Manuel Escriche made changes -
          Component/s FIWARE-TECH-HELP [ 10278 ]
          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
          TALI Fabiana Fournier made changes -
          Status To Do [ 10001 ] In Progress [ 3 ]
          TALI Fabiana Fournier made changes -
          Resolution Done [ 10000 ]
          Status In Progress [ 3 ] Done [ 10000 ]
          mev Manuel Escriche made changes -
          Workflow Basic Workflow [ 15676 ] FW eRequest Workflow [ 16074 ]
          Issue Type Question [ 10004 ] eRequest [ 10101 ]
          FI-WARE Environment FI-LAB [ 10100 ]
          Resolution Done [ 10000 ]
          mev Manuel Escriche made changes -
          Resolution Done [ 10000 ]
          mev Manuel Escriche made changes -
          Workflow FW eRequest Workflow [ 16074 ] eRequest Workflow-2 [ 16638 ]
          mev Manuel Escriche made changes -
          Status Done [ 10000 ] In Progress [ 3 ]
          mev Manuel Escriche made changes -
          Status In Progress [ 3 ] Done [ 10000 ]
          mev Manuel Escriche made changes -
          Workflow eRequest Workflow-2 [ 16638 ] FW eRequest Workflow [ 16911 ]
          mev Manuel Escriche made changes -
          Fix Version/s Sprint 4.1.1 [ 10737 ]
          mev Manuel Escriche made changes -
          Reporter FIWARE-TECH-HELP [ fiware-tech-help ] FW External User [ fw.external.urser ]
          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)
          pgalves Pedro Alves made changes -
          Link This issue relates to HELP-518 [ HELP-518 ]
          TALI Fabiana Fournier made changes -
          Link This issue relates to HELP-1149 [ HELP-1149 ]
          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 ().
          mev Manuel Escriche made changes -
          Reporter FW External User [ fw.external.urser ] Pedro Alves [ pgalves ]
          TALI Fabiana Fournier made changes -
          Summary [Fiware-tech-help] CEP GE: Unexpected result/error on Unit Test 7, Case 1, Step 5 FIWARE.Request.Lab.Data.CEP.Unexpected result/error on Unit Test 7, Case 1, Step 5
          mev Manuel Escriche made changes -
          Summary FIWARE.Request.Lab.Data.CEP.Unexpected result/error on Unit Test 7, Case 1, Step 5 FIWARE.Request.Tech.Data.CEP.Unexpected result/error on Unit Test 7, Case 1, Step 5
          mev Manuel Escriche made changes -
          Workflow FW eRequest Workflow [ 16911 ] FW extRequest Workflow-II [ 40720 ]
          Status Done [ 10000 ] Closed [ 6 ]
          Issue Type eRequest [ 10101 ] extRequest [ 10104 ]
          mev Manuel Escriche made changes -
          HD-Enabler CEP [ 10869 ]
          HD-Chapter Data [ 10838 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          To Do To Do In Progress In Progress
          4d 20h 16m 1 Fabiana Fournier 21/Oct/14 1:06 PM
          Done Done In Progress In Progress
          1d 9h 23m 1 Manuel Escriche 22/Oct/14 10:30 PM
          In Progress In Progress Done Done
          1m 48s 2 Manuel Escriche 22/Oct/14 10:31 PM
          Done Done Closed Closed
          446d 11h 37m 1 Manuel Escriche 12/Jan/16 9:08 AM

            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: