Fujitsu V6.0 manual J2EE Application Operation, Java VM heap area size calculation

Page 65

Notes on J2EE

Notes on J2EE

1) J2EE Application Operation

To use the following XML files while the web application or the J2EE application client is operating, add the Java VM heap area, which is calculated from the formula shown below, to the specified value for the maximum Java VM heap area size.

Target XML files during operating web application

Web application environment definition file (web.xml)

Name conversion file (FJWebebeProperties.xml).

Target XML files during operating J2EE application client

Deployment descriptor file

Name conversion file.

Java VM heap area size calculation

Use the following formula to calculate the Java VM heap area size of each XML file. Add them to find the total required area:

(((a 460) + b) / 1024) + 500) c (unit: kilobytes)

a:Number of lines in an XML file

b:XML file size (unit: bytes)

c:Number of clients accessed at the same time (when operating the Web application), or the number of threads that issue lookups (when operating the J2EE application client)

The specification method of Java VM heap area size

When operating the Web application

Specify the size for the JavaVM option at [WorkUnits] > "IJServer name" > [Settings] tab.> [WorkUnit setting[Show]] > [Java VM Options] on the Interstage Management Console

Example of specifying 512 megabytes for the maximum Java VM heap area size:

-Xmx512m

When operating the J2EE application client

Use the -Xmx option of the Java command, and specify the size as shown below:

Example of specifying 128 megabytes for the maximum Java VM heap area size:

java -Xmx128m ClientAPL

3-13

Image 65
Contents Product Notes Interstage Application Server V6.0Unix TrademarksWho Should Read this Document? Purpose of this DocumentFunctions that are not Supported by the Linux Version Organization of this DocumentTable of Contents Product Notes Table of Contents Page Index Chapter Supported Software Function Name Product Name Version Software Products Required for Application DevelopmentJ2EE Exclude Security Security Products Required for Application Development SecurityOperation / Administration Framework Products Required for Application Development FrameworkOther Functions Function Name Product Name Version Software Products Required for Application Execution Security Products Required for Application Execution Page Framework Products Required for Application Execution Portal ComponentOther Functions J2EE Exclude Security Security Interstage Apworks Chapter Restrictions Restriction Remarks Date Removal Restrictions on Interstage Http ServerRestrictions on Interstage Http Server Restrictions on InfoProvider Pro Restrictions on InfoProvider ProRestrictions on the J2EE Service Restrictions on the J2EE ServiceRestrictions on the Servlet Service Restrictions on the Servlet ServiceRestrictions on the EJB Service Restrictions on the EJB ServiceRestrictions on the EJB Service Restriction Remarks Date Removal Restriction Remarks Date Removal Page Restrictions on the Soap Service Restrictions on the Soap ServiceRestrictions Restrictions on IDL Definitions Restrictions on the Corba ServiceRestrictions on IDL Definitions Restriction Alternative Method Date RemovalRestriction Alternative Method Date Removal Example Restriction Alternative Method Date Removal Restrictions on C and C++ Programming Restrictions on IDL CompilationRestrictions on IDL Compilation Restriction Alternative Date Method Removal11 Restrictions on the Naming Service Restrictions on the Naming ServiceRestrictions on Java Programming 10 Restrictions on Java Programming12 Restrictions on the Corba Service Restrictions on the Corba Service13 Restrictions on the Event Service Restrictions on the Event Service14 Restrictions on the Component Transaction Service Restrictions on the Component Transaction Service15 Restrictions on the Locale of Languages Restrictions on the Database Linkage ServiceRestrictions on the Locale of Languages 16 Restrictions on the InfoDirectory Administration Tool Restrictions on the InfoDirectory Administration ToolRestrictions on InfoDirectory Restrictions on the Jndi18 Restrictions on JDK/JRE Restrictions on JDK/JRERestrictions on the Portal Component Restrictions on Scripts in Contents20 Restrictions on the Alternative Logon Function Restrictions on the Alternative Logon Function22 Restrictions on Using Netscape 4.6/4.7 Restrictions on Using Netscape 4.6/4.7Restrictions on the Load Distribution Environment 21 Restrictions on the Load Distribution EnvironmentRestrictions on Using the Brick Automatic Update Function Access from PC to Secure Site Https23 Restrictions on Using Web USP 24 Access from PC to Secure Site Https26 Restrictions on Other Functions Restrictions on Other FunctionsRestrictions Chapter About Netscape About the Cross-Site Scripting ProblemCommon Notes for Interstage Security Information Using the Jsse FunctionCountermeasures Applicable Functions Monitor Screen ColorsJ2EE common resources InfoDirectoryService Name Port Number Setting Location Function Name Setting Port Numbers Used for Individual ServicesServices/Functions for Which Port Numbers are Set Service Name Port Number Setting Location Function Name Service Name Port Number Setting Location Function Name Service Name Port Number Setting Location Function Name Version Level of Each Service Performing the Operation Starting and Stopping Services Dealing with Abnormal Command TerminationPage Authority to Use the Interstage Http Server Java VM heap area size calculation When operating the J2EE application clientJ2EE Application Operation Use of the J2EE Management Tool or J2EE Deployment Tool Execution Environment of Earlier Version Servlet Service Servlet Service Execution EnvironmentSession Management Cookie of Servlet Service V6.0 Servlet ServiceVersion of Java Development Kit/Java Runtime Environment Page When Operating with WorkUnits When Interstage Jdbc Driver is Used Unsupported API Stored ProcedureAPI when datetime Type is Used Page About the EJB Application Process Starting EJB ApplicationsWhen J2EE Management Tool or J2EE Deployment Tool is Used When Encryption Communication by SSL is UsedWhen Session Recovery Function of Servlet Service is Used Stopping Setting Up the EnvironmentUninstalling Page Page Page Port Number Host NameMonitoring during Interstage Operation About Corba Service Termination using the isstop CommandUse of Oracle Database by Java Server Application Using Oracle8Installation of Oracle8i8.1.6 Maximum Number of Resources for One Transaction Sample Provided with Database Linkage ServiceCorba Server Application is Operated using Multi Thread Error Messages in the Event Log Page Page Start Programs Accessories Command prompt Share folder name Directory Start Programs Command promptModification Method Processing when Network Error503 OccursProcessing when No response from service Occurs Modification Method Setting the Heap Size in the Java Execution Environment Redistributable Files Security on the InternetIndex Jndi Page USP