Fabien Renaud wrote:
Hello,

I still use kaffe 1.1.4 on my ARM box. I want to run a little server. ( http://java.sun.com/developer/technicalArticles/Networking/Webserver/WebServer.java )

When I run it no problem :
kaffe-bin WebServer logging to stdout
root=/home/java/tests
timeout=5000
workers=5


but if I want to get a page ( with my other pc) I have this :

 From 153.92.64.55: GET /home/java/tests//index.html-->200
java.lang.StackOverflowError
  at java.lang.Class.forName (Class.java)
  at java.util.ResourceBundle.loadClass (ResourceBundle.java:105)
  at java.util.ResourceBundle.instantiate (ResourceBundle.java:132)
  at java.util.ResourceBundle.getBundle (ResourceBundle.java:50)
  at java.util.ResourceBundle.getBundle (ResourceBundle.java:36)
  at java.util.Calendar.getBundle (Calendar.java:379)
  at java.util.Calendar.getInstance (Calendar.java:447)
  at java.util.Calendar.getInstance (Calendar.java:415)
  at java.util.Date.toString (Date.java:270)
  at java.lang.StringBuffer.append (StringBuffer.java:281)
  at Worker.printHeaders (WebServer.java:306)
  at Worker.handleClient (WebServer.java:275)
  at Worker.run (WebServer.java:167)
  at java.lang.Thread.run (Thread.java:307)

Someome has an idea ( maybe a patch from CVS version ? ) ?

It appears that our default stack size is not sufficient for doing that much on arm-linux. Kero had more success running his AWT applications on arm-linux after increasing stack size [1] to 48k, afaik. If that fixes it for you, too, maybe we should bump up the default stack size in general.


cheers,
dalibor topic

[1] kaffe -help should list the option name, -ss I believe:)

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to