[kaffe] StackOverflowError with web servers

Fabien Renaud renaud at nentec.de
Wed Jun 2 06:17:03 PDT 2004


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 ? ) ?

Fabien

 > kaffe-bin WebServer
logging to stdout
root=/home/java/tests
timeout=5000
workers=5
 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)






More information about the kaffe mailing list