IBM BS029ML Self Help Guide - Page 138

Slow login, Login phase

Page 138 highlights

Slow login When customers report a problem of slow login, usually they mean the span between the time when they submit their user ID and password, and the time when the first page is rendered. It is beneficial to understand what happens after the user ID and password are submitted. There are four stages after the user ID and password is submitted: the Portal login, WMM retrieval of group information, PAC runtime decision making, and portlet aggregation and rendering on the front page, called the login landing page sometimes. During these phases, many components are involved and any one of them can potentially become a bottleneck. To isolate the problem, it is normally an elimination process. Review the JVM runtime SystemOut.log file to find the suspected spots by inspecting the timestamps of the log entries. Based on this analysis, we recommend a set of traces to be enabled on WebSphere Application Server and WebSphere Portal. To discover whether there is a problem associated with the LDAP server, authentication, or group retrieval, Portal PUMA and WMM traces are recommended. If WebSphere Application Server authentication is suspected, then a WebSphere Application Server security trace should be enabled. If the bottleneck seems to be outside of portal system, we also suggest the traces to be enabled on other components, such as LDAP, HTTP server, and External Security Manager (ESM), such as Tivoli Access Manager (TAM). In some extreme cases, IP trace may be required. Figure 4-8 showed the "Login" process from user's experience. Login Fetch Groups (WMM) PAC Runtime Portlet Aggregation and Rendering Figure 4-8 General process of "Login" In the following sections, we give some sample log entries that would identify the start or end of some of the components. Login phase In the authentication phase, under normal conditions, the LDAP request should come back fairly fast, that is, in the milli-second range. This can be seen by comparing the timestamps between when we see the Login portlet receiving the user ID and password, and when the user's full DN is sent back to WMM for the next phase. Portal login entries usually start with lines shown in Example 4-12. Example 4-12 Portal login starting point [8/3/07 11:27:54:500 EDT] 0000003f SessionValida > com.ibm.wps.engine.commands.SessionValidator execute ENTRY [pathData = null, queryData = { PC_7_NO2UF4I118ADC026HKQ8KC2GT1__login = Log in, password wps.portlets.userid = wpsadmin }, client = Microsoft Internet Explorer 6.0, locale = en, stateMap = null] [8/3/07 11:27:54:531 EDT] 0000003f LoginUser > com.ibm.wps.engine.commands.LoginUser isAccessToPrivateArea ENTRY [pathData = null, queryData = { PC_7_NO2UF4I118ADC026HKQ8KC2GT1__login = Log in, password wps.portlets.userid = wpsadmin }, client = Microsoft Internet Explorer 6.0, locale = en, stateMap = null] 124 IBM WebSphere Portal V6 Self Help Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242

124
IBM WebSphere Portal V6 Self Help Guide
Slow login
When customers report a problem of slow login, usually they mean the span between the
time when they submit their user ID and password, and the time when the first page is
rendered. It is beneficial to understand what happens after the user ID and password are
submitted.
There are four stages after the user ID and password is submitted: the Portal login, WMM
retrieval of group information, PAC runtime decision making, and portlet aggregation and
rendering on the front page, called the
login landing page
sometimes. During these phases,
many components are involved and any one of them can potentially become a bottleneck. To
isolate the problem, it is normally an elimination process.
Review the JVM runtime SystemOut.log file to find the suspected spots by inspecting the
timestamps of the log entries. Based on this analysis, we recommend a set of traces to be
enabled on WebSphere Application Server and WebSphere Portal. To discover whether there
is a problem associated with the LDAP server, authentication, or group retrieval, Portal PUMA
and WMM traces are recommended. If WebSphere Application Server authentication is
suspected, then a WebSphere Application Server security trace should be enabled.
If the bottleneck seems to be outside of portal system, we also suggest the traces to be
enabled on other components, such as LDAP, HTTP server, and External Security Manager
(ESM), such as Tivoli Access Manager (TAM). In some extreme cases, IP trace may be
required.
Figure 4-8 showed the “Login” process from user’s experience.
Figure 4-8
General process of “Login”
In the following sections, we give some sample log entries that would identify the start or end
of some of the components.
Login phase
In the authentication phase, under normal conditions, the LDAP request should come back
fairly fast, that is, in the milli-second range. This can be seen by comparing the timestamps
between when we see the Login portlet receiving the user ID and password, and when the
user’s full DN is sent back to WMM for the next phase.
Portal login entries usually start with lines shown in Example 4-12.
Example 4-12
Portal login starting point
[8/3/07 11:27:54:500 EDT] 0000003f SessionValida >
com.ibm.wps.engine.commands.SessionValidator execute ENTRY [pathData = null,
queryData = { PC_7_NO2UF4I118ADC026HKQ8KC2GT1__login = Log in, password =
********, wps.portlets.userid = wpsadmin }, client = Microsoft Internet Explorer
6.0, locale = en, stateMap = null]
[8/3/07 11:27:54:531 EDT] 0000003f LoginUser
>
com.ibm.wps.engine.commands.LoginUser isAccessToPrivateArea ENTRY [pathData =
null, queryData = { PC_7_NO2UF4I118ADC026HKQ8KC2GT1__login = Log in, password =
********, wps.portlets.userid = wpsadmin }, client = Microsoft Internet Explorer
6.0, locale = en, stateMap = null]
Portlet
Aggregation
and Rendering
Login
PAC
Runtime
Fetch
Groups
(WMM)