admin@glassfish.java.net

use of schema2beans in GFv3

From: Dies Koper <diesk_at_fast.au.fujitsu.com>
Date: Sat, 13 Mar 2010 10:14:43 +1100

Hi,

I remember someone saying at the Admin meeting that the code that deals
updating/reading the domain.xml file has been completely rewritten in GFv3.
I believe in GFv2.x schema2beans is used to do this. We noticed a number
of issues with it because schema2beans is not thread-safe. (e.g., run
the deploy command in two shells at the same time and domain.xml can get
corrupted, or lead to infinite loops.)

Has this code been replaced in GFv3? And do we now have some locking
(maybe in the MBeans?) to prevent issues when running operation commands
simultaneously?

Thanks,
Dies