IBM BS029ML Self Help Guide - Page 177

Some common problems and workarounds, Failed installations, LDAP security problems

Page 177 highlights

which is owned by: Thread "DeadLockThread 0" (0x41DAAD00) which is waiting for: sys_mon_t:0x00039B40 infl_mon_t: 0x00039B80: java/lang/Integer@004B22A0/004B22AC: which is owned by: Thread "DeadLockThread 1" (0x41DAB100) The process has become caught in an infinite loop. If there is no deadlock between threads, consider other reasons why threads are not carrying out useful work.Usually, this state occurs for one of the following reasons: - Threads are in a '"wait" state waiting to be "notified" of work to be done. - Threads are in explicit sleep cycles. - Threads are in I/O calls waiting to do work. The first two reasons imply a fault in the Java code, either that of the application, or that of the standard class files included in the SDK. The third reason, where threads are waiting (for example, on sockets) for I/O, requires further investigation. It will be worth checking to see if the process at the other end of the I/O failed or there are any network problems. The process is running very slowly. If no infinite loop is occurring, look at the process that is working, but having bad performance. In this case, change your focus from what individual threads are doing to what the process as a whole is doing. Refer to Appendix A, "Using IBM tools to find solutions and promote customer self-help" on page 169 for more information about using tools to analyze hangs and crashes. 5.3.3 Some common problems and workarounds There is ample information in the above mentioned IBM Redbooks publication and the InfoCenter about the problems and troubleshooting techniques. However, we will discuss some issues we faced in our environment and the solutions. Failed installations On a UNIX machine, after running the install.sh command, nothing happens. No logs are updated in the /tmp directory, and the process also does not seem to be running. This machine had a previous failed installation of WebSphere Portal Server. The uninstallation steps were not thoroughly followed and we later noticed that the VPD.properties file still existed on the file system and this file had the Portal entries for the previously failed Portal installation. Make sure to follow the uninstallation steps completely for each environment. Most of the installations fail because there is not enough space in the /tmp space, so be sure that you have enough space before you start the installation. LDAP security problems Most of the enable-security task failures occur because of incorrect parameters, which are often overlooked. Once you have entered all the values for the properties in the configuration file (wpconfig.properties), we recommend that you use an LDAP client and try to do a simple connect to the LDAP server with the parameters that you just entered in the configuration file. That way, we can debug the LDAP server connection problems and see if there are any problems with the "Bind" account permissions. Chapter 5. WebSphere Portal runtime and services 163

  • 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 5. WebSphere Portal runtime and services
163
which is owned by:
Thread "DeadLockThread 0" (0x41DAAD00)
which is waiting for:
sys_mon_t:0x00039B40 infl_mon_t: 0x00039B80:
java/lang/Integer@004B22A0/004B22AC:
which is owned by:
Thread "DeadLockThread 1" (0x41DAB100)
±
The process has become caught in an infinite loop.
If there is no deadlock between threads, consider other reasons why threads are not
carrying out useful work.Usually, this state occurs for one of the following reasons:
Threads are in a '”wait” state waiting to be “notified” of work to be done.
Threads are in explicit sleep cycles.
Threads are in I/O calls waiting to do work.
The first two reasons imply a fault in the Java code, either that of the application, or that of
the standard class files included in the SDK.
The third reason, where threads are waiting (for example, on sockets) for I/O, requires
further investigation. It will be worth checking to see if the process at the other end of the
I/O failed or there are any network problems.
±
The process is running very slowly.
If no infinite loop is occurring, look at the process that is working, but having bad
performance. In this case, change your focus from what individual threads are doing to
what the process as a whole is doing.
Refer to Appendix A, “Using IBM tools to find solutions and promote customer self-help” on
page 169 for more information about using tools to analyze hangs and crashes.
5.3.3
Some common problems and workarounds
There is ample information in the above mentioned IBM Redbooks publication and the
InfoCenter about the problems and troubleshooting techniques. However, we will discuss
some issues we faced in our environment and the solutions.
Failed installations
±
On a UNIX machine, after running the
install.sh
command, nothing happens. No logs
are updated in the /tmp directory, and the process also does not seem to be running. This
machine had a previous failed installation of WebSphere Portal Server.
The uninstallation steps were not thoroughly followed and we later noticed that the
VPD.properties file still existed on the file system and this file had the Portal entries for the
previously failed Portal installation.
Make sure to follow the uninstallation steps completely for each environment.
±
Most of the installations fail because there is not enough space in the /tmp space, so be
sure that you have enough space before you start the installation.
LDAP security problems
±
Most of the enable-security task failures occur because of incorrect parameters, which are
often overlooked. Once you have entered all the values for the properties in the
configuration file (wpconfig.properties), we recommend that you use an LDAP client and
try to do a simple connect to the LDAP server with the parameters that you just entered in
the configuration file. That way, we can debug the LDAP server connection problems and
see if there are any problems with the “Bind” account permissions.