Four examples of WebSphere optimization

Source: Internet
Author: User
Tags app service server memory

WebSphere Optimization


First, Introduction environment

Name

Version

Server operating System

Centos 5.6

Application Server operating system

Windows 7

WebSphere Version

was 7.0

Database

Oracle 10g

Direction 1: Number of connections: 10-100

Idea: Resource àjdbcà data source à data source name à connection pool Properties

Reference operation, see "procedure"


Direction 2:java Virtual Machine

Purpose: Set the server memory size of the node

Reference settings Heap Size: 512-1024m (here to set according to the actual situation, there is set to: 1024-2048m)

Idea: Application Server àserver1à process definition Àjava virtual machine

Reference operation, see "procedure"


Direction 3: Port

Description: According to customer requirements on site, the default is 9080

Idea: Application Server Àserver1à port

Reference operation, see "procedure"


Direction 4: Start the servlet cache

Idea: Application Server Àserver1àweb container

Reference operation, see "procedure"


Two, the Operation Step 1, the connection number setting












2. Heap size settings for Java virtual machines

After entering the interface, find "process definition" and click to enter:




After entering, you can see the heap Size setting options as follows:


3. Modify the default port

When a customer asks to set up another port, it needs to be configured here, such as:


Click "Ports" as shown below:


You can see, the default port: 9080 settings, click to enter


Refer to the operation as follows:


4. Start cache






Third, other settings 1, modify the log information

Set the output logging information, after the relevant settings, developers often use it to find SQL records information.

Interface Overview:


Operation:






Click "All Components" and go to the level settings menu as follows:


After clicking OK, note the Save settings as follows:


Similar to the above settings, you can also set the log file information, such as prompt:


2. Data Source Statement Caching


Click the Web App service data source properties setting, as follows:




Set the area as follows:


3. Web container thread pool settings

To enter Server1, click on the "thread pool" as follows:


Click on the "Webcontainer" setting, as follows:



*********************************************** declaration ***************************************** *******

Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the source (Http://blog.csdn.net/huangyanlong).

There is an error in the statement, please leave a message, greatly appreciated.

Reminder: Click on the table of contents, more helpful to your view.

*************************************************************************************************** **
































Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.