Externalize JSF bundle files ?

Hello,I would like to know if it's possible to externalize my JSF bundle files running on Weblogic 9.1 ?And if I modify them, will it be reloaded by server without start/stop ?Best regards,Arlo.
[230 byte] By [Arloa] at [2007-11-27 4:46:25]
# 1

Hello Arlo,

you probably mean to store the properties file outside the war file. I do not have experience with Weblogic but it should be similar. I have asked about that here a week ago: http://forum.java.sun.com/thread.jspa?threadID=5171120&messageID=9657852#9657852.

You can search for the file in the classpath as it is explained in the link. Or you can use a static absolute path like /home/xy/ - then you can load it directly of course - which is quite improbable.

Another possibility is to have the file somewhere outside the classpath (like /home/xy/) without direct addressing. For such a case I would use two properties files: the main file at the place you choose and the additional file which will have just one entry - the absolute path to the main file. The latter file must be in a directory accessible by the webserver (see the link above).

Jan

honzaa at 2007-7-12 9:58:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hello !

> you probably mean to store the properties file outside the war file.

Yes that's exactly what I want to do but I'm talking about the bundle JSF files. Will your method work with those files?

How the jsf bundle.properties will be loaded by server if they are outside the war?

Thanks,

Nicolas.

Arloa at 2007-7-12 9:58:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Any ideas please ?
Arloa at 2007-7-12 9:58:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...