For example, four aspects of Websphere Optimization

Source: Internet
Author: User

For example, four aspects of Websphere Optimization

Websphere Optimization


I. Introduction Environment

Name

Version

Server Operating System

Centos 1, 5.6

Application Server Operating System

Windows 7

Websphere version

WAS 7.0

Database

Oracle 10g

 

Direction 1: connections: 10-100

Idea: Resource à JDBC à data source name' connection pool attribute

For more information, see "operation steps"


Direction 2: Java Virtual Machine

Objective: To set the server memory size of a node

Refer to setting the heap size: 512-1024 M (you need to set it here based on the actual situation, and set it to 1024-2048 M)

Idea: Application Server à server1' process definition à Java Virtual Machine

For more information, see "operation steps"


Direction 3: Port

Note: The default value is 9080 based on requirements of on-site customers.

Idea: Application Server Port à server1'

For more information, see "operation steps"


Direction 4: Start servlet Cache

Idea: Application Server à server1' web Container

For more information, see "operation steps"


Ii. Operation Step 1. Set the number of connections












2. Set the heap size of the Java Virtual Machine

After entering the interface, find "Process Definition" and click to enter:




The heap size setting options are displayed as follows:


3. Modify the default port

If you want to set other ports, you must configure them here, for example:


Click "Port", as shown below:


You can see that the default port is 9080. Click to enter.


For more information, see:


4. Enable high-speed cache






3. Other settings 1. Modify log information

Set the output record log information. After relevant settings, developers often use it to find the SQL record information.

Interface Overview:


Operation:






Click "all components" to go to the level settings menu, as shown below:


Click OK and save the settings as follows:


You can also set the log file information, as shown in the following figure:


2. Data source statement Cache


Click "web Application Service Data Source attribute settings", as shown below:




Set the region as follows:


3. web Container thread pool settings

Go to server1 and click "Thread Pool", as shown below:


Click "WebContainer" settings, as shown below:



**************************************** *******Statement************************************************ 

Original works, from "Deep Blue blog" blog, welcome to reprint, reprint please be sure to indicate the source (http://blog.csdn.net/huangyanlong ).

Please leave a message if the statement is incorrect. Thank you very much.

Reminder: Click the directory to view the directory.

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

































What logs does websphere need to know during analysis?

WebSphere log information :.. main logs under/profiles/cmdrv01/logs/server: SystemErr. log System Error log SystemOut. trace of all active logs in the log system. the log startServer of all events tracked in the log system. log to start the server Event log stopServer. log stop Server Event log native_stderr.log Gc garbage collection log IBM Http Server (IHS) and Plugin log information: httpserver /.. if any was error occurs in related logs in/logs, first view the above log files.

How to Learn about websphere? I want to learn more about it. For example, if I want to download those tools, there are a lot of websphere software,

To learn about WEBSPHERE, go to ibm infocenter and redbooks. There are a lot of things in China that are specially made mysterious, and there is enough official IBM information.

Publishing is very simple. You can download a websphere community edition by yourself. It will be released once, and the whole WEB interface will be operated.

Related Article

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.