"Legolas Woodland" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Tomcat 5.5.15 use a native library to improve performace , i have some 
> question about it
> Thank you for reading my post.
> today i installed a newer version of tomcat (5.5.15 ) before this i used 
> 5.5.12
> but when i was installing 5.5.15 , it asks about downloading a native 
> library to improve performace.
> now i just want to know ,
> 1-how much improvement it brings to tomcat under heavy load

On Linux, it seems quite a bit from the numbers I've seen posted.  On 
Windows it depends more on your app (i.e. lots of large static files will 
see the most).  Haven't really seen many numbers for other O/Ss.  About the 
only way to tell with your app is to try it and see ;-).

> 2-how tomcat use it ? what else change in installation when we select to 
> use native library

With the default config, Tomcat simply looks for the dll at startup, and if 
it finds it, then it uses it.  If it doesn't, it falls back to the Java 
Connector.  The rest of the install is identical, so later just 
deleting/renaming the dll will give you the same install as if you selected 
not to use it.

> 3-in tomcat start-up application under start up tab ,there is a DropDown 
> box which asks about mode that tomcat will run
> there are two modes ,1-JVM , -JAVA
> is it true that
> when we select JVM it uses JRE to run tomcat
> When we use java it uses JDK to run tomcat ?
>

Not the best names, I'll grant you ;-).  When you select JVM, the service 
loads the JVM into the service process via JNI, and runs Tomcat there.  When 
you select JAVA, it spawns a seperate process that runs java.exe.  Not sure 
how well JAVA is supported; I haven't tried to use it in a very long time.

>
> Thank you 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to