Hi,
After spending some time with the xwork/oscore code, I find that what you say is not wrong, but it
is broken in this case. The problem is in FileManager, which stores a reference to the file and its
last modified timestamp as you say, to check if it needs reloading later. Before storing
Hello again,
Since my whole system was behaving like crazy, I decided to reboot the
computer (Microsoft #1 solution to problems). Now WebWork is NOT throwing
java.lang.RuntimeException: Fallback must be an instance of
DefaultConfigurationManager any longer, but it still can't find
Jason Carreira schrieb:
Well, that code is really there for the case where you do have exploded
war files, you're editing them, and you want the changes to be picked
up...
Tell me, will each redeployment get its own classloader? I'm planning on
refactoring so that the configuration is not a
Sounds like a classloader issue... What server? What are today's changes that broke
things? Make sure all of the temporary exploded files are deleted when redeploying...
-Original Message-
From: Vítor Souza [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 1:32 PM
To: [EMAIL
Does File.canWrite() work for this case?
--- Jason Carreira [EMAIL PROTECTED] wrote:
Do you know if there's a way to tell if it's in a jar file?
-Original Message-
From: Hani Suleiman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 12:40 PM
To: [EMAIL PROTECTED]
Herzlichen Glückwunsch !
Ihre Regestrierung auf www.ianta-ki.de war Erfolgreich !
Benützername : Amander
Passwort : 8274148
Sie können sich ab sofort unter www.ianta-ki.de mit ihren Daten einloggen .
Mit Freundlichen Grüssen
[EMAIL PROTECTED]
Each redeployment does get its own classloader. I am using Jboss' separate loader repositories
feature to acheive this.
While I fully support what you are going to do in removing the static singleton configuration ( I
filed the issue for that one :) ), it will unfortunately not help here.
Jason Carreira wrote:
Do you know if there's a way to tell if it's in a jar file?
Not reliably, AFAIK. While you could get the CodeSource for a Class, a file is a different matter.
My solution would be even simpler. If a file cannot be read or written, it should not be able to
change, at least