Additional configuration information is required when running GlassFish Server 3.0.1 on HP-UX using 64–bit JDK 1.6.0.07. Specifically, the -client option must be replaced with -d64 in the <jvm-options/> section in the domain.xml file.
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.
Start the GlassFish Server domain.
as-install/bin/asadmin start-domain |
Delete the -client JVM option.
as-install/bin/asadmin delete-jvm-options "-client" |
Create the -d64 JVM option.
as-install/bin/asadmin create-jvm-options "-d64" |
Stop and restart the GlassFish Server domain.
as-install/bin/asadmin stop-domain as-install/bin/asadmin start-domain |