tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Brittain <>
Subject Re: Tomcat and APR
Date Mon, 25 Apr 2005 17:05:48 GMT
Remy Maucherat wrote:
> This has been hinted for a while ;) The purpose of this email is to
> propose using APR (Apache Portable Runtime) as the network IO used by
> Tomcat, instead of the JVM's IO.
> Which will allow:
> - (likely) better performance and reliability on free JVMs

This sounds as though you're implying that Tomcat already runs on one or
more free JVM.  Which ones?  And, any particular version?

All of them that I have tried can't run Tomcat.  Before, it was just that
they each used the GNU Classpath core classes, which were (still are?) too
incomplete, and even though the required classes were found and loaded, they
were either incomplete (missing some methods for instance), or they were wrong
somehow and caused random fatal startup problems.  Most of the problems seemed
to have to do with either reflection or JMX or both.  Here's how my last attempt
went (SableVM Version 1.1.10):

[root@localhost jakarta-tomcat-5.5.8-with-compat]# java-sablevm -Djava.endorsed.dirs=/home/jbrittain/jakarta-tomcat-5.5.8-with-compat/common/endorsed
-classpath :/home/jbrittain/jakarta-tomcat-5.5.8-with-compat/bin/bootstrap.jar:/home/jbrittain/jakarta-tomcat-5.5.8-with-compat/bin/commons-logging-api.jar
-Dcatalina.base=/home/jbrittain/jakarta-tomcat-5.5.8-with-compat -Dcatalina.home=/home/jbrittain/jakarta-tomcat-5.5.8-with-compat org.apache.catalina.startup.Bootstrap
start Created MBeanServer with ID: [UID: 8594076,1109751203829,-32768]:localhost.localdomain:1
java.lang.IllegalArgumentException: argument of incorrect type
    at java.lang.reflect.Method.invoke (
    at org.apache.catalina.startup.Bootstrap.setAwait (
    at org.apache.catalina.startup.Bootstrap.main (
    at java.lang.VirtualMachine.invokeMain (
    at java.lang.VirtualMachine.main (

So, I'm still looking for even one free/OSS JVM that is capable of
running Tomcat.

Jason Brittain

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message