users@glassfish.java.net

Re: domain.xml suddenly empty

From: Sven Hafner <sven.hafner_at_gmx.de>
Date: Wed, 27 Jan 2010 09:14:03 +0800

- Glassfish V3 (last release build)
- diskspace was available.

Hard to simulate, I will try again.
The problem is, you get error messages while connecting to admin console
that not necessary point to a totally missing configuration (but
experienced user will look at server.log and domain.xml anyway while
hunting for problems).

Thanks
Sven

Sam Crawford wrote:
> I've had this when the servers disk filled up. It may be worth
> checking to see if you're ever touching 100% usage.
>
> Thanks,
>
> Sam
>
>
> 2010/1/26 Kedar Mhaswade <Kedar.Mhaswade_at_sun.com>:
>
>> Sven Hafner wrote:
>>
>>> Hi !
>>> not sure how to reproduce this, but the domain.xml file (plus the bak
>>> file) are wiped out (0 bytes) suddenly.
>>> Is Glassfish during runtime writing into the file ? I had a power-failure
>>> on this server, so the domain was not stopped properly.
>>> Thanks
>>> Sven
>>>
>>>
>> GlassFish v2/v3?
>> Yes, GlassFish definitely writes to domain.xml during runtime.
>>
>>