IBM BS029ML Self Help Guide - Page 133

Reading portal runtime logs, wmmWASAdmin.xml

Page 133 highlights

Note: The base (root) portal and portal admin user ("wpsadmin") must be configured in the default realm. Note: Each of the wmmnode entries in wmmur.xml must correspond to a nodeMap entry in wmm.xml. This is how WMM ties the realm definition of user populations in this file with general WMM configurations together. Make sure the location of this pointer in the cluster configuration is correct. In order for the admin user to be able to access the virtual portals configured with the realms defined, we recommend adding the admin user "wpsadmin" to every realm, as shown in the example. wmmWASAdmin.xml When the security is enabled with realm support, the normal way of controlling the access to the Administrative Console of WebSphere Application Server is through file wmmWASAdmin.xml. After a console user is added through the administrative console, you have to manually add an entry for that user into this file. This file only contains users, not groups. This means that there is no equivalent support for console groups using this file. The format of this file is shown in Example 4-11. Example 4-11 wmmWASAdmin.xml Although one can use a plain-text password in this file, we strongly recommend encrypting the password using the WMM utility called wmm_encrypt.bat/.sh. An alternative to this approach of manually modifying the file wmmWASAdmin.xml using an editor is using the utility updateWmmWASAdminRegistry.bat/.sh. IBM TechNote 1246919 had documented the usage of this utility. The second entry for the same user ID wasadmin allows using the short user ID when starting the application servers and logging in on the Administrative console. 4.3.5 Reading portal runtime logs In WebSphere Portal Version 6, the runtime activities are recorded in the application server's Java Virtual Machine (JVM) logs, that is, SystemOut.log and SystemErr.log. For any problems reported during runtime, these logs should be reviewed first. During WebSphere Portal configuration activities, when either using the configuration command-line utility (WPSconfig.sh/.bat) or the graphic configuration wizard, all the information is captured to ConfigTrace.log. When something unexpected happens, these are the files to be reviewed for clues. When diagnostics traces are enabled, trace.log should be reviewed with the reference Chapter 4. WebSphere Portal security 119

  • 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

Chapter 4. WebSphere Portal security
119
Make sure the location of this pointer in the cluster configuration is correct.
In order for the admin user to be able to access the virtual portals configured with the realms
defined, we recommend adding the admin user “wpsadmin” to every realm, as shown in the
example.
wmmWASAdmin.xml
When the security is enabled with realm support, the normal way of controlling the access to
the Administrative Console of WebSphere Application Server is through file
wmmWASAdmin.xml. After a console user is added through the administrative console, you
have to manually add an entry for that user into this file. This file only contains users, not
groups. This means that there is no equivalent support for console groups using this file. The
format of this file is shown in Example 4-11.
Example 4-11
wmmWASAdmin.xml
<?xml version="1.0" encoding="UTF-8"?>
<wmmWASAdmins>
<admin logonId="uid=wasadmin,ou=people,ou=dept,o=acme.com"
logonPassword="anvu7zPZ7jbrZLa4h89Tfg=="
uniqueUserId="uid=wasadmin,ou=people,ou=dept,o=acme.com"/>
<admin logonId="wasadmin"
logonPassword="anvu7zPZ7jbrZLa4h89Tfg=="
uniqueUserId="uid=wasadmin,ou=people,ou=dept,o=acme.com"/>
</wmmWASAdmins>
Although one can use a plain-text password in this file, we strongly recommend encrypting
the password using the WMM utility called
wmm_encrypt.bat/.sh
. An alternative to this
approach of manually modifying the file wmmWASAdmin.xml using an editor is using the
utility
updateWmmWASAdminRegistry.bat/.sh
. IBM TechNote 1246919 had documented the
usage of this utility.
The second entry for the same user ID wasadmin allows using the short user ID when
starting the application servers and logging in on the Administrative console.
4.3.5
Reading portal runtime logs
In WebSphere Portal Version 6, the runtime activities are recorded in the application server’s
Java Virtual Machine (JVM) logs, that is, SystemOut.log and SystemErr.log. For any problems
reported during runtime, these logs should be reviewed first. During WebSphere Portal
configuration activities, when either using the configuration command-line utility
(WPSconfig.sh/.bat) or the graphic configuration wizard, all the information is captured to
ConfigTrace.log. When something unexpected happens, these are the files to be reviewed for
clues. When diagnostics traces are enabled, trace.log should be reviewed with the reference
Note:
The base (root) portal and portal admin user (“wpsadmin”) must be configured in the
default realm.
Note:
Each of
the wmmnode entries in wmmur.xml must correspond to a nodeMap entry in
wmm.xml. This is how WMM ties the realm definition of user populations in this file with
general WMM configurations together.