On Tuesday 09 October 2001 16:06, Sebastian wrote:
> Hi Gianni, I just retried with the javax classes installed to run
> FProxy, the node dies completely with the following stack:
>
> Executing: Freenet.node.Node
> loading service: fproxy
> java.lang.ExceptionInInitializerError
>          at java.lang.Class.forName0(Native Method)
>          at java.lang.Class.forName(Class.java:135)
>          at Freenet.node.Main.loadService(Main.java:500)
>          at Freenet.node.Main.startNode(Main.java:464)
>          at Freenet.node.Main.main(Main.java:316)
>          at Freenet.node.Node.main(Node.java:559)
> Caused by: java.util.MissingResourceException: Can't find bundle for
> base name javax.servlet.http.LocalStrings, locale de_DE
>          at
> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
> ..java:807)
>          at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:776)
>          at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
>          at javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:144)
>          ... 6 more
>
> Now have fun :-),
> Sebastian
>

I looked at the code and at the documentation on how the 
java.util.ResourceBundle stuff is supposed to work, and it
looks like it should fall back to the english default bundle if
it can't find the correct locale.

As a test, I tried explicitly setting my locale to de_DE and it works on
my machine (x86RH7.1 IBM JDK1.3).  What JVM are you using?

Now that freetheneo mentions it, I'm thinking that maybe you have a bad 
freenet-ext.jar file.

Where did you get the jar files from?

if you do 
jar tf freenet-ext.jar

do you see:
javax/servlet/http/LocalStrings.properties
javax/servlet/http/LocalStrings_es.properties
javax/servlet/LocalStrings.properties

in the list?

The ancient Sept. 14 freenet-ext.jar on 
http://freenetproject.org/snapshots/freenet-ext.jar 
is broken.  You need one from inside a recent snapshot.

I hope it's this simple...

--gj

>
>
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://lists.freenetproject.org/mailman/listinfo/devl

-- 
Freesites
(0.3) freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//
(0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage//

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to