Thursday, June 9, 2011

WebSphere Application Server 7.0 Administration Guide






Table of Contents
Preface 1
Chapter 1: Installing WebSphere Application Server 7
Installation planning 8
Installation scenarios 9
Profile types 10
Preparation and prerequisites 10
Graphical installation 10
Installing the base binaries 11
Downloading the WAS for Linux trial 11
Uploading the trial install to your Linux server 13
Installing as root 16
Running the launchpad 17
Installation wizard welcome screen 18
Software license agreement 18
System prerequisites check 19
Optional features 20
Installation directory 21
WebSphere Application Server environments 21
Profile creation 25
Installation registry files 38
Installation logs 39
Profile manager logs and files 40
Logs 40
Files 40
Admin console 40
Silent installation 43
Creating a response file 44
Editing a response file 45
Running the installer silently 45
Examining installation logs 45
Summary 45
Chapter 2: Deploying your Applications 47
Inside the Application Server 48
JVM 49
Web container 49
Virtual hosts 49
Environment settings 49
Resources 50
JNDI 50
Application file types 50
Deploying an application 52
Starting and stopping your applications 58
Data access applications 61
Data sources 61
Preparing our sample database 62
JDBC providers 66
Creating a JDBC provider 66
Creating a J2C alias 70
Creating a data source 72
Deploying a data access application 75
Selecting installation options 76
Mapping modules to servers 77
Providing JSP reloading options for web modules 77
Mapping shared libraries 77
Mapping resource references to resources 78
Mapping virtual hosts for web modules 78
Mapping context roots for web modules 79
Reviewing the deployment steps 79
Using the application 80
Summary 81
Chapter 3: Security 83
J2EE security 83
Global security 84
Global security registry types 84
Turning on global security 85
Standalone custom registry 87
Local operating system 92
Creating a Linux user 92
Standalone LDAP 94
Download OpenLDAP 94
Installing OpenLDAP 95
Configuring OpenLDAP 95
Adding a user to LDAP 99
Configuring an LDAP registry in WebSphere 104
Administrative roles 108
Mapping users and groups to administrative roles 110
Summary 113
Chapter 4: Administrative Scripting 115
Automation 116
The ws_ant tool 116
Deploying an application using ws_ant 118
The wsadmin tool 123
Interactive commands 124
Individual commands 126
Profile scripts 128
Command script files 128
Listing installed applications with Jython 129
Installing an application using Jython 129
Querying application status 132
Summary 139
Chapter 5: WebSphere Configuration 141
File structure 141
The WebSphere file system 142
The product binaries file structure 142
The profile file structure 143
XML configuration files 144
Cell level XML files 145
Node level XML files 146
Server level XML files 146
Impotant properties files 147
The soap.client.props file 147
The sas.client.props file 147
Logs 148
JVM logs 148
Configuring logs 150
Changing log file locations 151
Changing log styles 153
FFDC logs 153
Viewing JVM logs 154
Viewing logs in the admin console 154
Viewing logs on the file system 154
Linux tail command 154
Linux grep command 156
JVM settings 157
Changing JVM settings using the admin console 158
Class loaders 159
Class loading basics 160
WebSphere class loaders 161
Application server class loader 161
Configuring server class loaders 162
Application class loader 163
Configuring application class loaders 163
Web module class loader 164
Configuring module class loading 165
Class loading isolation 165
Summary 166
Chapter 6: WebSphere Messaging 167
Java messaging 168
Java Message Service 168
JMS features 170
JMS concepts 170
JMS API 172
WebSphere messaging 173
Default JMS provider 173
WebSphere SIB 174
Creating a SIB 175
Configuring JMS 177
Creating queue connection factories 177
Creating queue destinations 179
Installing the JMS demo application 180
JMS Test Tool application 183
WebSphere MQ overview 185
Overview of WebSphere MQ example 185
Installing WebSphere MQ 185
Running the WMQ installer 187
Creating a queue manager 188
Creating a WMQ connection factory 192
Creating a WMQ queue destination 195
Reconfiguring the JMS demo application 196
Summary 198
Chapter 7: Monitoring and Tuning 199
Tivoli Performance Viewer 200
Enabling Tivoli Performance Viewer 201
Key TPV categories 205
Summary Reports 206
Key performance modules 206
Starting Tivoli Performance Viewer 208
PMI for external monitoring 215
Request metrics 216
Enabling request metrics 217
Components to be instrumented 218
Trace level 218
Request metrics destination 218
Request metrics in SystemOut.log 219
Retrieving performance data with PerfServlet 220
Dynamic caching 222
JVM tuning 223
JVM core and heap dumps 224
Requesting a Java core dump using Jython 224
Requesting a heap dump using Jython 225
Requesting a Java core dump using the kill command 225
JVM-triggered heap dump 226
Analysing a Java core (thread) dump 229
IBM Thread and Monitor Dump Analyzer for Java 230
Installing the JCA tool 230
Generate a Java core dump to view the thread lock 231
Other analysis tools 235
Setting the initial and maximum heap sizes 236
Tuning your heap size 236
Summary 237
Chapter 8: Administrative Features 239
The administrative agent 240
Creating an administration profile 241
Profile Management Tool 241
Starting the administrative agent 245
Administrative agent console 246
Registering an application server node 247
Creating a second application server node 250
Removing the administrative agent 255
IBM HTTP Server 257
Starting IBM HTTP Server 261
The WebSphere plugin 262
Installing the WebSphere plugin 263
Manual configuration of the plugin 265
Generate plugin 269
Summary 270
Chapter 9: Administration Tools 271
Dumping namespaces 272
Example name space dump 274
EAR expander 275
Oveview of the WebSphere Application Server toolkit 277
Installing the WebSphere Application Server toolkit 278
Running the Application Server toolkit 278
Log analysis using the ASTK 279
Creating a new project 280
Impoting log files 281
Applying filters 284
Selecting columns 285
Loading symptom databases 286
Inspecting J2EE applications 289
Summary 293
Chapter 10: Product Maintenance 295
Understanding updates 296
Update process overview 296
Product update types 297
Preparing for updates 299
Locating updates 300
Fix Central 300
Update installers 303
Creating a backup 303
Installing a new Update Installer 304
Downloading the Update Installer 304
Installing the graphical Update Installer 305
Applying an update using the Update Installer 307
Silent updates 311http://www.blogger.com/img/blank.gif
Logs 312http://www.blogger.com/img/blank.gif
Troubleshooting tips 313
Summary 315
Index 317

Another Web Programming Books
Download

No comments:

Post a Comment

Related Posts with Thumbnails

Put Your Ads Here!