Orion has issues running alongside Apache Tomcat 7

馋奶兔 提交于 2019-12-23 15:55:24

问题


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


回答1:


I apologize for forgeting to mention that, by chance, we ended up switching to a VM with more RAM memory and the issue went away. The memory on the faulty VM was short but didn't seem critical. Also, the only service failing was Orion and no other process was malfunctioning, which contributed to the difficulty in diagnosing the issue.

No more tests were conducted on the faulty VM and Orion and CEP/Tomcat are working fine on the new VM, alongside other processes.

The faulty VM was running at 0.6 GB. The new VM runs at 3.75 GB

Thank you



来源:https://stackoverflow.com/questions/32615073/orion-has-issues-running-alongside-apache-tomcat-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!