Sun Microsystems 820434310 Server User Manual


 
To Enable Java Serialization
You must set this property on all servers that you want to use JSG.
In the tree component, expand theCongurations node.
Expand the desired node.
Select the JVM Settings node
In the JVMSettingspage, choose the JVMOptions tab.
Click AddJVM Option, and enter thefollowing value:
-Dcom.sun.CORBA.encoding.ORBEnableJavaSerialization=true
Click Save
Restart the Application Server.
Using JSG for Application Clients
If an application uses standalone non-web clients (application clients), and you want to use JSG,
you must also set a system property for the client applications. A common way to do this is to
add the property to the Java command line used to start the client application, for example:
java -Dcom.sun.CORBA.encoding.ORBEnableJavaSerialization=true
-Dorg.omg.CORBA.ORBInitialHost=gollum
-Dorg.omg.CORBA.ORBInitialPort=35309
MyClientProgram
Thread Pool Settings
You can both monitor and tune thread pool settings through the Admin Console. To congure
monitoring with the Admin Console, open the page Congurations > cong-name >
Monitoring. To view monitoring information with the Admin Console, open the page
Stand-Alone Instances > instance-name (Monitor).
Tuning Thread Pools (Unix /Linux only)
Congure thread pool settings through the Admin Console at Congurations > cong-name >
Thread Pools.
Since threads on Unix/Linux are always operating system (OS)-scheduled, as opposed to
user-scheduled, Unix/Linux users do not need to use native thread pools. Therefore, this option
1
2
3
4
5
6
7
ThreadPoolSettings
SunGlassFishEnterpriseServer2.1PerformanceTuningGuide January200976