Search code examples
glassfishglassfish-3

Can one change the domain xml configuration file of glassfish 3.1.2.2 while the server is running?


I changed the domain.xml while the server was running and it seems like old configuration has been restored later again. Is it not allowed to change the file directly while the server is running? Does one need to use the admin console in this case?


Solution

  • One is not allowed to edit this configuration file manually at all:

    http://docs.oracle.com/cd/E19798-01/821-1751/gjjrl/index.html

    Note –

    Changes are automatically applied to the appropriate configuration file. Do not edit the configuration files directly. Manual editing is prone to error and can have unexpected results.