[kaffe] Resin 2.1.12 runs on Kaffe smoothly

Dalibor Topic robilad at kaffe.org
Mon Mar 8 07:40:03 PST 2004


Hi Jim,

jserv at linux2.cc.ntu.edu.tw wrote:
> 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:

Thanks a lot for the heads-up! I've added Resin to our application
compatibility page.

> 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.

Those warnings indicate that the compiler used to build Resin is buggy
;) Sun's JDK silently ignores bad exception tables, where we prefer to
tell the users that their compiler is broken wrt JVM specification.

> 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.

I've missed out on IRC on the discussion of the errors. Could you give
us some more details?

cheers,
dalibor topic




More information about the kaffe mailing list