The problem was most definately in the ESB code. <br>The ESB got into a state where it didn&#39;t handle any messages anymore (deadlock).<br>It also didn&#39;t handle any other messages for _other_ backends anymore.<br>Only restarting the ESB worked.<br>
<br>Meanwhile the backend (running on a separate tomcat) the was still working. (without any restart).<br><br><b>workaround</b><br>whenever I fooled the ESB that the backend was running on a different machine the ESB ran fine.(it really was still running on the same machine (but rather then accessing it via &#39;localhost&#39;   rerouting the traffic really through an other machine, where apache routing the traffic back) <br>
(so: ESB configuration has an endpoint on <a href="http://someotherhost/.">http://someotherhost/.</a>..   on someother host apache proxies the traffic back to the ESB host.)<br><br>Note: maybe this ticket has nothing to do with the original question on WSAS/ESB on the same machine. I&#39;m not sure.<br>
<br>Regards,<br>Harm<br><br><div class="gmail_quote">On Wed, Feb 25, 2009 at 1:31 PM, Ruwan Linton <span dir="ltr">&lt;<a href="mailto:ruwan@wso2.com">ruwan@wso2.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Harm,<br>
<br>
This shouldn&#39;t be due to running on the same machine, but rather due to<br>
some issue on the back end. Have you tried to running on different<br>
machines to narrow down the problem?<br>
<br>
Thanks,<br>
Ruwan<br>
<div class="Ih2E3d"><br>
Harm Verhagen wrote:<br>
&gt; ..<br>
&gt; I had troubles running ESB and the backend on the same machine due to<br>
&gt; some lowlevel http bugs.<br>
&gt; <a href="https://issues.apache.org/jira/browse/SYNAPSE-452" target="_blank">https://issues.apache.org/jira/browse/SYNAPSE-452</a><br>
&gt;<br>
&gt; maybe its unrelated...<br>
&gt; Maybe this is no issue anymore with ESB &gt;= v2<br>
&gt;<br>
&gt; Regards,<br>
&gt; Harm<br>
&gt;<br>
&gt; On Wed, Feb 25, 2009 at 1:04 PM, Ruwan Linton &lt;<a href="mailto:ruwan@wso2.com">ruwan@wso2.com</a><br>
</div><div><div></div><div class="Wj3C7c">&gt; &lt;mailto:<a href="mailto:ruwan@wso2.com">ruwan@wso2.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Paul Fremantle wrote:<br>
&gt;     &gt; Takahiro<br>
&gt;     &gt;<br>
&gt;     &gt; Have you considered the &quot;co-hosting&quot; option where they both run<br>
&gt;     in the<br>
&gt;     &gt; same OSGi JVM? We are going to launch the feature pack downloads<br>
&gt;     in 2<br>
&gt;     &gt; days time.<br>
&gt;     &gt;<br>
&gt;     Yes, you could actually compose a server with both WSAS and ESB<br>
&gt;     capabilities so that you can run a single application (process) on the<br>
&gt;     same directory with both capabilities.<br>
&gt;<br>
&gt;     We will be releasing an article on how to do this soon (in 3-4 hours)<br>
&gt;     and you will be able to understand how you can do this.<br>
&gt;<br>
&gt;     Thanks,<br>
&gt;     Ruwan<br>
&gt;     &gt; Paul<br>
&gt;     &gt;<br>
&gt;     &gt; Takahiro OGAWA wrote:<br>
&gt;     &gt;<br>
&gt;     &gt;&gt; Hi Asanka and Rajika.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Asanka Abeysinghe wrote:<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;&gt; Hi Takahiro,<br>
&gt;     &gt;&gt;&gt; You can refer the wiki page [1] to find detailed information on<br>
&gt;     &gt;&gt;&gt; configuration.<br>
&gt;     &gt;&gt;&gt; - Asanka<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; [1]<br>
&gt;     <a href="http://wso2.org/wiki/display/carbon/same+host+as+standalone+servers" target="_blank">http://wso2.org/wiki/display/carbon/same+host+as+standalone+servers</a><br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt; This page is that almost I have needed!<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; According to your replies, it seems that<br>
&gt;     &gt;&gt;   2) would be the practical solution, I think.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;  &gt;&gt; 2)Operate WSAS on same machine but another directory and<br>
&gt;     process.<br>
&gt;     &gt;&gt;  &gt;&gt;<br>
&gt;     &gt;&gt;  &gt;&gt; In this case, WSAS and ESB are installed into different<br>
&gt;     directories.<br>
&gt;     &gt;&gt;  &gt;&gt; It is possible by changing the ports of management console,<br>
&gt;     axis2<br>
&gt;     &gt;&gt;  &gt;&gt;  and so on, but carbon-core and axis2 will be doubly started.<br>
&gt;     &gt;&gt;  &gt; yes you can change the ports and run WSAS and ESB on the<br>
&gt;     same machine.<br>
&gt;     &gt;&gt;  &gt; Have a look at the transport.xml in WSAS distribution.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Thank you for your kind and quick replies.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; ----<br>
&gt;     &gt;&gt; Takahiro OGAWA<br>
&gt;     &gt;&gt; <a href="http://www.brainsellers.com/" target="_blank">http://www.brainsellers.com/</a><br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt; Esb-java-user mailing list<br>
</div></div>&gt;     &gt;&gt; <a href="mailto:Esb-java-user@wso2.org">Esb-java-user@wso2.org</a> &lt;mailto:<a href="mailto:Esb-java-user@wso2.org">Esb-java-user@wso2.org</a>&gt;<br>
<div class="Ih2E3d">&gt;     &gt;&gt; <a href="https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user" target="_blank">https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user</a><br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Esb-java-user mailing list<br>
</div>&gt;     <a href="mailto:Esb-java-user@wso2.org">Esb-java-user@wso2.org</a> &lt;mailto:<a href="mailto:Esb-java-user@wso2.org">Esb-java-user@wso2.org</a>&gt;<br>
<div><div></div><div class="Wj3C7c">&gt;     <a href="https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user" target="_blank">https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Esb-java-user mailing list<br>
&gt; <a href="mailto:Esb-java-user@wso2.org">Esb-java-user@wso2.org</a><br>
&gt; <a href="https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user" target="_blank">https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
Esb-java-user mailing list<br>
<a href="mailto:Esb-java-user@wso2.org">Esb-java-user@wso2.org</a><br>
<a href="https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user" target="_blank">https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user</a><br>
</div></div></blockquote></div><br>