users@glassfish.java.net

Re: domain.xml suddenly empty

From: Sven Hafner <sven.hafner_at_gmx.de>
Date: Sat, 30 Jan 2010 10:47:37 +0800

Will do so. I try to replicate the problem first.

Wonder how and when the domain.xml.bak is created. If it is copied
whenever the domain.xml gets touched its useless (!?) in a way.

Sven


Kedar Mhaswade wrote:
> Sven Hafner wrote:
>> - 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).
>
> Can you please file a bug? Please enter as much information as you can.
> Both domain.xml_bak and domain.xml getting deleted is pretty serious.
>
> -Kedar
>>
>> 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.
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>