[kaffe] Resin 2.1.12 runs on Kaffe smoothly

jserv at linux2.cc.ntu.edu.tw jserv at linux2.cc.ntu.edu.tw
Sun Mar 7 23:00:06 PST 2004


Hi all,

  Recently, I attempt to use Caucho's Resin Application Server under
Kaffe 1.1.4. Fortunately, I found that Resin did work smoothly without any
tunning! The version I use is 2.1.12, and it dumps some information as
followings:

[jserv at venux bin]$ ./httpd.sh 
Resin 2.1.12 (built Tue Dec  9 14:58:25 PST 2003)
Copyright(c) 1998-2003 Caucho Technology.  All rights reserved.

Starting Resin on Mon, 08 Mar 2004 00:44:48 -0600 (CST)
WARNING Bad bytecode! Illegal exception table entry: start_pc=140650934
is not lower than end_pc=140650934 in method
com/caucho/naming/ContextImpl.dereference((Ljava/lang/Object;Ljavax/naming/Name;Lcom/caucho/naming/AbstractModel;)Ljava/lang/Object;)
See Java Virtual Machine Specification 2nd Edition $4.7.3 for details.
Please report this bug to the developers of the application you're
running on kaffe.
A simple fix might be to use another java compiler to build the
application.
WARNING Bad bytecode! Illegal exception table entry: start_pc=140650934
is not lower than end_pc=140650934 in method
com/caucho/naming/ContextImpl.dereference((Ljava/lang/Object;Ljavax/naming/Name;Lcom/caucho/naming/AbstractModel;)Ljava/lang/Object;)
See Java Virtual Machine Specification 2nd Edition $4.7.3 for details.
Please report this bug to the developers of the application you're
running on kaffe.
A simple fix might be to use another java compiler to build the
application.
[2004-03-08 00:44:48.485] initializing application
http://localhost:8080/
[2004-03-08 00:44:48.492] initializing application
http://localhost:8080/java_tut
[2004-03-08 00:44:48.493] initializing application
http://localhost:8080/examples/basic
[2004-03-08 00:44:48.493] initializing application
http://localhost:8080/examples/tags
[2004-03-08 00:44:48.493] initializing application
http://localhost:8080/examples/tictactoe
[2004-03-08 00:44:48.493] initializing application
http://localhost:8080/examples/navigation
[2004-03-08 00:44:48.493] initializing application
http://localhost:8080/examples/xsl
[2004-03-08 00:44:48.493] initializing application
http://localhost:8080/examples/templates
[2004-03-08 00:44:48.493] initializing application
http://localhost:8080/examples/login
http listening to *:8080
srun listening to 127.0.0.1:6802

Some hints might be useful:
  1. configure Resin with 
     --enable-jni \
     --with-java-home=$(KAFFE_HOME) \
     --with-jni-include=$(KAFFE_HOME)/include 
  2. while compiling, you would encounter some errors, just ignores.
  3. also, use jikes compiler instead of "internal" Java compiler in conf/resin.conf.

Jim Huang




More information about the kaffe mailing list