Tomcat 5.5.9 runs on Kaffe 1.1.5 (was Re: Tomcat and APR)

2005-04-28 Thread Jason Brittain
Jason Brittain wrote:
Remy Maucherat wrote:
Jason Brittain wrote:
This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing a compatibility package from the Apache Tomcat
binary download page.
means JMX wasn't found, that's all.
Okay, I confirmed at least one way to make Tomcat 5.5.9 run on Kaffe 1.1.5.
Adding the jmx.jar to the Kaffe's boot classpath works:
# export CATALINA_BASE=/home/$USER/jakarta-tomcat-5.5.9
# export CATALINA_OPTS=-Xbootclasspath/p:$CATALINA_BASE/bin/jmx.jar
# cd $CATALINA_BASE
# bin/catalina.sh start
Now, Tomcat runs.  I tried the JSP examples, and they work.  I'll see
about benchmarking it versus JDK 1.4.x and 1.5.x.  :)
Thanks for the help Remy.
--
Jason Brittain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat 5.5.9 runs on Kaffe 1.1.5 (was Re: Tomcat and APR)

2005-04-28 Thread Remy Maucherat
Jason Brittain wrote:
Jason Brittain wrote:
Remy Maucherat wrote:
Jason Brittain wrote:
This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing a compatibility package from the Apache Tomcat
binary download page.
means JMX wasn't found, that's all.

Okay, I confirmed at least one way to make Tomcat 5.5.9 run on Kaffe 1.1.5.
Adding the jmx.jar to the Kaffe's boot classpath works:
# export CATALINA_BASE=/home/$USER/jakarta-tomcat-5.5.9
# export CATALINA_OPTS=-Xbootclasspath/p:$CATALINA_BASE/bin/jmx.jar
# cd $CATALINA_BASE
# bin/catalina.sh start
Now, Tomcat runs.  I tried the JSP examples, and they work.  I'll see
about benchmarking it versus JDK 1.4.x and 1.5.x.  :)
It's really bad. APR might help a little.
With gij 4.0.0, you can do gij -jar ./bin/bootstrap.jar
gcjing select parts should make it much faster, but I'm lazy and didn't try.
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat 5.5.9 runs on Kaffe 1.1.5 (was Re: Tomcat and APR)

2005-04-28 Thread Jason Brittain
Remy Maucherat wrote:
Jason Brittain wrote:
Jason Brittain wrote:
Now, Tomcat runs.  I tried the JSP examples, and they work.  I'll see
about benchmarking it versus JDK 1.4.x and 1.5.x.  :)
It's really bad. APR might help a little.
Surprisingly, it looked reasonable when I benchmarked it today.  Here
are the results:
Kaffe 1.1.5
250  users -- 205/sec throughput, 3.3 average, 0% error
500  users -- 307/sec throughput, 11.4 average, 0% error
1000 users -- 325/sec throughput, 370.7 average, 0% error
2000 users -- 138/sec throughput, 3048.8 average, 0% error
JDK 1.5.0
250  users -- 204/sec throughput, 2.8 average, 0% error
500  users -- 307/sec throughput, 42.2 average, 0% error
1000 users -- 390/sec throughput, 124.1 average, 0% error
2000 users -- 294/sec throughput, 130.8 average, 0% error
When the concurrency was high, Kaffe was quite a bit slower.  But,
at the low end, it seems to keep up with Sun JDK 1.5.0 just fine.
I did see some problems though: several webapps I tried didn't work
due to random misc JVM problems in Kaffe.  It's still looking a bit
incompletely implemented.
For the above test, I used jmeter CVS HEAD with Peter Lin's concurrent1
test plan (from http://cvs.apache.org/~woolfel/native_testplans.zip),
modified for my box's IP address, and to request /tomcat.gif.
The tested box is a Fedora Core 2 x86 32 box (running Tocmat 5.5.9).
The tester box is a Fedora Core 3 x86 32 box (running jmeter).
Remy: Maybe the slowness you saw with kaffe is on win32?
--
Jason Brittain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]