Did not get anything relevant to solve my problem. Looking for something like what threads started by my web project.<div><br></div><div><br clear="all">Regards,<br>Vijay Shanker Dubey<br><br>
<br><br><div class="gmail_quote">On Tue, Feb 23, 2010 at 11:01 PM, Mathieu Baudier <span dir="ltr"><<a href="mailto:mbaudier@argeo.org">mbaudier@argeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">>> running tomcat apps right?  Being a lil curious what is tomcat-native do<br>
>> to fix it?  I'm just curious to the fact that I'm considering using<br>
>> tomcat for message translation.<br>
><br>
> If it starts them it should stop them.  Has anyone done a comparison of<br>
> tomcat-native (looks to be tomcat6 with native APR code embedded) to the<br>
> stock centos tomcat5?  Any incompatibilities?<br>
<br>
</div>Actually tomcat-native is just a JNI (Java Native Interface) bridge<br>
with the APR library.<br>
It therefore complements standard tomcat packages and do not replace them.<br>
<br>
I assume that the one provided by EPEL is compatible with tomcat5<br>
since this is this version that ships with RHEL/CentOS.<br>
The tomcat-native in EPEL is a pretty recent version (1.1.18 whereas<br>
1.1.20 has just been released:<br>
<a href="http://tomcat.apache.org/download-native.cgi" target="_blank">http://tomcat.apache.org/download-native.cgi</a>), so they probably ensure<br>
compatibility with both Tomcat 5 and 6.<br>
<br>
On our side, we use Tomcat 6 running as an OSGi bundle within an<br>
Equinox OSGi runtime (we use the version packaged and optimized by<br>
Spring Source in their enterprise bundle repository) and it is<br>
compatible with the tomcat-native provided by EPEL.<br>
<br>
As I said, tomcat-native solved some weird issues I had on Fedora<br>
starting with Fedora 11, but that I don't have on CentOS 5.4 (I still<br>
suggested it to the OP even if I don't think that it would be the most<br>
rigorous approach)<br>
<br>
Recently, I started to have some crashes with tomcat-native on my<br>
(CentOS) development environment when under load and since I use a non<br>
standard JDK and Tomcat (from a CentOS/EPEL point of view) I did not<br>
take the time to dig further and simply removed it.<br>
<br>
The problem when it crashes (as often with JNI) is that the whole JVM crashes.<br>
The fact that a JVM rarely crashes is for me a big + of Java,<br>
especially when running in an OSGi runtime where you can dynamically<br>
correct and reload components.<br>
<br>
So, the current state of my thoughts regarding tomcat-native is that<br>
you should not assume that it will always be better to have it than<br>
not (as I tended to).<br>
It was apparently designed to bring httpd-like performances for huge<br>
deployments and is probably a great tool in such settings, but I would<br>
rather stay away from it until you are not sure that you really need<br>
it.<br>
<div><div></div><div class="h5">_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br></div>