Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Bedienungsanleitung Seite 107

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 124
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 106
jvm12.conf Parameter Reference
Appendix C JVM Configuration 107
In the myprogram.java file, the following line retrieves the system property set
above:
System.out.println("org.omg.CORBA.ORBClass="+System.getProperty("org.omg.CORBA.ORBClass"));
If you want to do the same thing for servlets in iPlanet Web Server, you need to put
the following line in the
jvm12.conf file:
org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB
Do not use jvm.option settings such as the following:
jvm.option=-Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB
or
jvm.option=org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB
In the servlet or JSP, you can use the following line to retrieve the system property
set above:
out.println("org.omg.CORBA.ORBClass="+System.getProperty("org.omg.CORBA.ORBClass"));
jvm12.conf Parameter Reference
The JVM parameters you can set in the jvm12.conf file are listed in Table C-1.
Table C-1 jvm12.conf settings
Setting Allowed Values Default Value Description
jvm.minHeapSize 1048576
(1 MB)
The minimum heap size
allocated to Java.
For Solaris, change this value to
3145278 (3 MB). For HPUX,
change this value to 4194304
(4 MB). For all other operating
systems, 1 MB is ideal.
jvm.maxHeapSize 16777216
(16 MB)
The maximum heap size
allocated to Java.
jvm.enableClassGC 0 (off), 1 (on) 0 Enables or disables class
garbage collection.
Use instead of -Xnoclassgc.
Seitenansicht 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 123 124

Kommentare zu diesen Handbüchern

Keine Kommentare