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

FIWARE.Question.Tech.Data.OrionContextBroker.OrionHasIssuesRunningAlongsideApacheTomCat7

    Details

      Description

      Created in FIWARE Q/A platform on 16-09-2015 at 19:09
      Answer this issue at http://stackoverflow.com/questions/32615073/orion-has-issues-running-alongside-apache-tomcat-7

      Question:
      Orion has issues running alongside Apache Tomcat 7
      Description:
      I've installed Orion 0.24 on a server, alongside with Apache Tomcat 7, where I deployed ProtonCEP GE (4x WAR files deployed).

      The issue is that Orion unswers only to half of the requests it gets (independent of request) in an alternate fashion, like so:

      $ curl http://localhost:1026/version -H "Content-Type: application/json"
      <orion>
      <version>0.24.0</version>
      <uptime>0 d, 0 h, 8 m, 39 s</uptime>
      <git_hash>ed11a3307c7050857ef398ee3e4cd04042a0cc01</git_hash>
      <compile_time>Mon Sep 14 17:52:44 CEST 2015</compile_time>
      <compiled_by>fermin</compiled_by>
      <compiled_in>centollo</compiled_in>
      </orion>
      $ curl http://localhost:1026/version -H "Content-Type: application/json"
      curl: (52) Empty reply from server
      $ curl http://localhost:1026/version -H "Content-Type: application/json"
      <orion>
      <version>0.24.0</version>
      <uptime>0 d, 0 h, 8 m, 42 s</uptime>
      <git_hash>ed11a3307c7050857ef398ee3e4cd04042a0cc01</git_hash>
      <compile_time>Mon Sep 14 17:52:44 CEST 2015</compile_time>
      <compiled_by>fermin</compiled_by>
      <compiled_in>centollo</compiled_in>
      </orion>
      $ curl http://localhost:1026/version -H "Content-Type: application/json"
      curl: (52) Empty reply from server

      If I stop Tomcat, by running CATALINA_HOME/bin/shutdown.sh script, Orion works fine. If Tomcat is running, Orion behaves as described.

      This is happening in a fresh install on CentOS 6.7. Both GEs have dependencies, so MongoDB 2.6.11 and Java jdk 8 where also installed.

      This same behaviour seemed to have happened to someone else, as asked in another post, but with no mentioned relation to Tomcat then. The solution provided there (to add the option '-ipv4' to the orion's starter command) doesn't solve the issue in this case.

      I hope it's a simple issue.

      If more information is needed, please let me know.

      Thank you

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        27m 34s 1 Fermín Galán 18/Sep/15 3:52 PM
        In Progress In Progress Impeded Impeded
        1s 1 Fermín Galán 18/Sep/15 3:52 PM
        Impeded Impeded In Progress In Progress
        19d 7h 15m 1 Fermín Galán 07/Oct/15 11:07 PM
        In Progress In Progress Answered Answered
        14s 1 Fermín Galán 07/Oct/15 11:07 PM
        Answered Answered Closed Closed
        3s 1 Fermín Galán 07/Oct/15 11:08 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler Orion [ 10875 ]
        HD-Chapter Data [ 10838 ]
        oriondev TID Orion Developer made changes -
        Summary FIWARE.Question.Lab.Orion has issues running alongside Apache Tomcat 7 FIWARE.Question.Tech.Data.OrionContextBroker.OrionHasIssuesRunningAlongsideApacheTomCat7
        fermin Fermín Galán made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fermin Fermín Galán made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fermin Fermín Galán made changes -
        Status Impeded [ 10004 ] In Progress [ 3 ]
        fermin Fermín Galán made changes -
        Status In Progress [ 3 ] Impeded [ 10004 ]
        fermin Fermín Galán made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        fermin Fermín Galán added a comment -

        User input requested (see SOF comments for details). Until that input arrives, this issue is impeded.

        Show
        fermin Fermín Galán added a comment - User input requested (see SOF comments for details). Until that input arrives, this issue is impeded.
        mev Manuel Escriche made changes -
        Assignee Fermín Galán [ fermin ]
        mev Manuel Escriche made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: