Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Orion
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
- All
- Comments
- History
- Activity
- Transitions
User input requested (see SOF comments for details). Until that input arrives, this issue is impeded.