|
Problem |
Switching between HotSpot server and HotSpot client mode
on a Sun® Java™ 2 SDK. |
|
Cause |
|
|
Solution |
For all releases of WebSphere® Application Server V4.0
- Application Server:
Start the Administrative Console.
- Select the Application Server and click the JVM™
Settings tab.
- In the System Properties section, click the Add tab. For
client mode type:
Name: HotSpotOption
Value: client
V4.0 release Application Servers run in HotSpot server mode by default.
- Click Apply.
- Restart the Application Server for the settings to take effect.
For all releases of WebSphere Application Server V4.0 - Administrative
Server:
- From admin.config
(Install_Root/bin).
- In a text editor, add -server to the Java™ virtual machine
(JVM™) arguments at
com.ibm.ejs.sm.util.process.Nanny.adminServerJvmArgs
The default mode for the administrative server is -client.
- Save your file and restart the Administrative Server for the settings
to take effect.
For all releases of WebSphere Application Server V5.0 - Application
Server:
- Select Application Servers >
name_of_appserver> Process Definition.
- Select Java Virtual Machine under Additional Properties.
- In the Generic JVM arguments textbox, for server mode, type
-server.
The default mode for the application servers is -client.
- Click Apply.
- Restart the Application Server for the settings to take effect.
For more information regarding the difference between client and server
modes see the technote, HotSpot
VM - Difference between client and server modes
For more information regarding Java HotSpot VM Options:
http://java.sun.com/docs/hotspot/VMOptions.html |
|
|
|
|
|
|