WAS平台问题鉴定书

本资料无预览

如感兴趣请 1 金币购买后下载

立即下载

资料简介:
[free]Contents
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
The team that wrote this redbook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Chapter 1. Approach to problem determination. . . . . . . . . . . . . . . . . . . . . . 1
1.1 Introduction to problem determination. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.1 Causes of problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.2 Types of problem symptoms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Preparing for and preventing problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.1 Applying WebSphere maintenance. . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.2 Checking the prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2.3 Testing the application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2.4 Setting up a test environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.5 Establishing safe operational procedures . . . . . . . . . . . . . . . . . . . . . 12
1.2.6 High availability and failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.2.7 Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.8 System documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.2.9 Diagnostic data collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.3 What to do when a problem occurs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.3.1 Revert to safe conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.3.2 Identify problem symptoms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1.3.3 Investigate and research the problem. . . . . . . . . . . . . . . . . . . . . . . . 27
1.3.4 Problem determination strategies . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
1.4 Classify the problem and determine the root cause . . . . . . . . . . . . . . . . . 31
1.4.1 Installation or migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
1.4.2 Application packaging and deployment . . . . . . . . . . . . . . . . . . . . 35
1.4.3 System management and configuration . . . . . . . . . . . . . . . . . . . . . . 37
1.4.4 Runtime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
1.5 Contacting IBM for support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
1.5.1 IBM support structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
1.5.2 Research the problem. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
1.5.3 Collect MustGather files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
1.5.4 Determine the severity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
1.5.5 Create a PMR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
1.5.6 Send data to IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Chapter 2. Diagnostic data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
2.1 JVM logs (SystemOut and SystemErr) . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
2.2 Tracing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
2.3 Collector tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
2.4 First Failure Data Capture (FFDC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
2.5 Other logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
2.5.1 Process (native) logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
2.5.2 Service log (activity.log) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
2.5.3 Installation logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
2.6 IBM HTTP Server and plug-in logs and traces . . . . . . . . . . . . . . . . . . . . . 90
2.6.1 IBM HTTP Server logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
2.6.2 Web server plug-in logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
2.6.3 Web server plug-in trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
2.6.4 Network trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
2.7 System management logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
2.7.1 Output from wsadmin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
2.7.2 Management scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
2.7.3 Profile management logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
2.8 WebSphere Rapid Deployment logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
2.9 Summary of logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Chapter 3. Installation problem determination . . . . . . . . . . . . . . . . . . . . . . 97
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
3.2 Work the problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
3.2.1 Symptom: Launchpad or installation wizard will not start or fails . . 101
3.2.2 Symptom: Installation wizard hangs . . . . . . . . . . . . . . . . . . . . . . . . 103
3.2.3 Symptom: Profile creation failure . . . . . . . . . . . . . . . . . . . . . . . . . . 105
3.2.4 Symptom: IVT fails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
3.3 Analyzing problem areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
3.3.1 Web browser requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
3.3.2 Application server startup problems . . . . . . . . . . . . . . . . . . . . . . . . 111
3.3.3 Profile creation problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
3.4 The next step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Chapter 4. System management problem determination . . . . . . . . . . . . 115
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
4.1.1 Collecting data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
4.2 Work the problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
4.2.1 High-level symptom analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
4.3 Analyzing problem areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
4.3.1 Problem: Unable to access the administrative console. . . . . . . . . . 127
4.3.2 Problem: wsadmin or management scripts can’t access server . . . 130
Contents v
4.3.3 Problem: Unable to stop a server process . . . . . . . . . . . . . . . . . . . 133
4.3.4 Problem: Unable to start a server process . . . . . . . . . . . . . . . . . . . 135
4.3.5 Problem: Unable to access a node agent . . . . . . . . . . . . . . . . . . . . 137
4.3.6 Problem: Unable to manage a Web server . . . . . . . . . . . . . . . . . . . 138
4.3.7 Problem: Unable to manage applications . . . . . . . . . . . . . . . . . . . . 141
4.3.8 Problem: Failure adding a node to a deployment manager . . . . . . 143
4.3.9 Problem: Repository synchronization . . . . . . . . . . . . . . . . . . . . . . . 145
4.3.10 Problem: Save conflicts in the administrative console . . . . . . . . . 150
4.3.11 Problem: enterprise applications missing . . . . . . . . . . . . . . . . . . . 151
4.3.12 Problem: Invalid or expired certificates . . . . . . . . . . . . . . . . . . . . . 153
4.3.13 Problem: WebSphere Rapid Deployment . . . . . . . . . . . . . . . . . . . 158
4.4 The next step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Chapter 5. Web container problem determination . . . . . . . . . . . . . . . . . . 165
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
5.1.1 Initial symptoms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
5.2 Work the problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
5.2.1 Data to collect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
5.2.2 High-level symptom analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
5.2.3 Symptom: HTTP 404 error - The page cannot be displayed. . . . . . 172
5.2.4 Symptom: HTTP 404 error - Failed to find resource . . . . . . . . . . . . 175
5.2.5 Symptom: HTTP 404 error - WebGroup/virtual host not defined . . 177
5.2.6 Symptom: HTTP 500 error - JSP processing error . . . . . . . . . . . . . 179
5.2.7 Symptom: HTTP 500 error - IllegalStateException . . . . . . . . . . . . . 181
5.3 Analyzing problem areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
5.3.1 Application URL specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
5.3.2 Static resources not displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
5.3.3 Web resources not reloading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
5.3.4 Encoding and internationalization issues . . . . . . . . . . . . . . . . . . . . 195
5.3.5 HTTP session management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
5.4 The next step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Chapter 6. JCA connection problem determination. . . . . . . . . . . . . . . . . 211
6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
6.1.1 JCA technical overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
6.2 Work the problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
6.2.1 Symptom: A JDBC call returns incorrect data . . . . . . . . . . . . . . . . . 217
6.2.2 Symptom: Failure to connect to a new data source . . . . . . . . . . . . 222
6.2.3 Symptom: Failure to connect to an existing data source . . . . . . . . 224
6.2.4 Symptom: Failure to access a resource through JDBC . . . . . . . . . 225
6.2.5 Symptom: Failure to access a non-relational resource . . . . . . . . . . 226
6.3 Analyzing problem areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
6.3.1 Configuration problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
6.3.2 Naming problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
6.3.3 Authentication problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
6.3.4 Connection leak problems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
6.3.5 Stale connection problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
6.3.6 SQLException and database errors . . . . . . . . . . . . . . . . . . . . . . . . 245
6.3.7 XAResource problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
6.3.8 Connection factory problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
6.4 The next step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Chapter 7. Web server plug-in problem determination . . . . . . . . . . . . . . 251
7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
7.2 Work the problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
7.2.1 Collect the data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
7.2.2 Analyze the high-level symptoms . . . . . . . . . . . . . . . . . . . . . . . . . . 259
7.3 Analyzing problem areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
7.3.1 Problem: Web server will not start . . . . . . . . . . . . . . . . . . . . . . . . . 261
7.3.2 Problem: Failure between the Web server and plug-in . . . . . . . . . . 263
7.3.3 Problem: Sessions are being lost . . . . . . . . . . . . . . . . . . . . . . . . . . 272
7.3.4 Problem: The application works intermittently. . . . . . . . . . . . . . . . . 277
7.3.5 Problem: Application load is not being evenly distributed . . . . . . . . 280
7.4 The next step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Chapter 8. Application server crash problem determination . . . . . . . . . 285
8.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
8.2 Work the problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
8.2.1 High-level symptom analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
8.2.2 Data to collect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
8.2.3 Analyze the data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
8.2.4 Analyze the javacore file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
8.2.5 Finding a workaround for JIT problems. . . . . . . . . . . . . . . . . . . . . . 293
8.3 Analyzing problem areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
8.3.1 Stack overflow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
8.3.2 Out of memory error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
8.4 The next step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
8.4.1 Sun Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
8.4.2 HP-UX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
Chapter 9. Default messaging provider problem determination. . . . . . . 301
9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
9.1.1 Problem categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
9.2 Work the problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
9.2.1 Collect the data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
9.2.2 Analyze the high-level symptoms . . . . . . . . . . . . . . . . . . . . . . . . . . 307
9.2.3 What to do if your symptom is not listed here . . . . . . . . . . . . . . . . . 310
Contents vii
9.3 Analyzing problem areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
9.3.1 Messaging engine startup problems . . . . . . . . . . . . . . . . . . . . . . . . 310
9.3.2 Message flow problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
9.3.3 Application configuration and resource problems . . . . . . . . . . . . . . 344
9.3.4 Product errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
9.4 The next step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
How to get IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Help from IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357[/free]

[ 本帖最后由 pupu840323 于 2009-4-28 15:01 编辑 ]
2009-04-28
浏览3218
下载92

已下载用户的评价7.38分

您还未下载该资料,不能发表评价;
查看我的 待评价资源
robert188robert188系统运维工程师keji2023-09-22
有用
不错
银狐IC银狐ICasdfxunlan2009-09-04
没用
:) 这个中文的很好啊·~
jaminwmjaminwm系统架构师PCI2009-06-10
没用
顺便放一个连接给大家,方便查找: v6的信息中心:中文 [url]http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp[/url] v6.1的信息中心:中文 [url]http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.base.doc/info/welcome_base.html[/url]
pupu840323pupu840323技术经理专业技术支持人员淘宝公司2009-04-28
没用
我以前的资料,V6.1没找到。。。还是司令强
YuLiminYuLimin资深技术顾问IBM广州2009-04-28
没用
你就扯蛋吧。。。:lol :lol :lol 而且是V6的版本 WebSphere Application Server V6 Problem Determination for Distributed Platforms 大家下载V6.1的吧,免费的红皮书: WebSphere Application Server V6.1 Problem Determination: IBM Redpaper Collection [url]http://www.redbooks.ibm.com/redbooks/pdfs/sg247461.pdf[/url] 实在要下V6.0的地址如下: [url]http://www.redbooks.ibm.com/redbooks/pdfs/sg246798.pdf[/url]

贡献者

pupu840323技术经理专业技术支持人员,淘宝公司
X社区推广