Oracle GlassFish Server 3.0.1 Release Notes

Workaround

You can add the -d64 JVM option directly to the domain.xml file. Alternatively, you can use the as-install/bin/asadmin command to add and remove JVM options. In both cases, after making the changes, the GlassFish Server domain must be restarted.

ProcedureTo Change JVM Options Using the asadmin Command

  1. Start the GlassFish Server domain.


    as-install/bin/asadmin start-domain
    
  2. Delete the -client JVM option.


    as-install/bin/asadmin delete-jvm-options "-client"
    
  3. Create the -d64 JVM option.


    as-install/bin/asadmin create-jvm-options "-d64"
    
  4. Stop and restart the GlassFish Server domain.


    as-install/bin/asadmin stop-domain
    as-install/bin/asadmin start-domain