Search code examples
javaglassfishglassfish-3

How do I set a system property from the admin console in Glassfish 3?


I found this this article on how to do it on the command line, but I'd like to set it from the admin console (the GUI) or modifying the domain.xml. In glassfish v2, this was as simple as modifying the domain.xml and adding a <jvm-options>. But, I did the same thing in glassfish v3, and my war doesn't seem to have access to this property.


Solution

  • This can be changed by going to

    server -> properties
    

    Then adding a system property by pressing the "Add Property" button.