Bug#308745: Tomcat 4 fails to start with Kaffe; Security Manager issue

Michael Koch Michael Koch <konqueror@gmx.de>, 308745@bugs.debian.org
Mon May 16 10:10:01 2005


On Sun, May 15, 2005 at 09:58:15PM +0200, Koos Vriezen wrote:
> Hi,
> 
> FWIW, using kaffe for kjas, the KDE applet server for konqueror, I get
> this same error:
> 
> java -Djava.version=1.3 -classpath /opt/kde-cvs/kde3/share/apps/kjava/kjava.jar -Djava.security.manager=org.kde.kjas.server.KJASSecurityManager -Dkjas.debug=1 -Dkjas.useKio org.kde.kjas.server.Main
> Internal error: caught an unexpected exception.
> Please check your CLASSPATH and your installation.
> java/lang/ArrayIndexOutOfBoundsException
>         at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:766)

Helmer Kramer has a patch for this and he promised to commit it into
CVS this week.

> W/o the security manager it somewhat works on simple applets (that is not
> on sites like map24.com).
> Note the -Djava.version=1.3 switch (which can be set in the 'Additional
> java arguments' edit box), that prevents a Frame.setUndecorated(true)
> call. Kaffe claims v1.4.2, but doesn't support this (error is
>    java.awt.IllegalComponentStateException
>    at java.awt.Frame.setUndecorated (Frame.java:596)
> )

This one is afaik fixed in current kaffe CVS and will be part of next release.


Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/