Sun GlassFish Enterprise Server v2.1.1 Performance Tuning Guide

ProcedureTo Enable Java Serialization

You must set this property on all servers that you want to use JSG.

  1. In the tree component, expand the Configurations node.

  2. Expand the desired node.

  3. Select the JVM Settings node

  4. In the JVM Settings page, choose the JVM Options tab.

  5. Click Add JVM Option, and enter the following value:

  6. Click Save

  7. Restart the Application Server.