Hi all,
I'm new to Red5 and somewhat new to Java. I'm writing a Red5
application that needs to load configuration items from a
ResourceBundle. The properties file resides in
WEB-INF/conf/config.properties. In
WEB-INF/classes/path/to/package/myClass.class I'm calling
ResourceBundle.getBundle("config"). I get a
"java.util.MissingResourceException: Can't find bundle for base name
config, locale en_US".
My understanding is that the config.properties file must be in the
classpath, so, assuming that WEB-INF/conf isn't in the classpath, I
tried moving the config.properties file to
WEB-INF/classes/path/to/package/, but that didn't help. So my questions
are:
1. Am I correct in stating that the config.properties must be in the
classpath?
2. How do I modify the classpath of my Red5 application to include the
conf directory?
Or am I totally on the wrong track?
Thanks,
-David
--
David van Geest
Software Engineer
SpinDance, Inc. <
http://www.spindance.com>
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org