(UCMDB) Support Tip - JEE WebSphere by Shell job fails to discover Websphere
Issue : JEE WebSphere by Shell job fails to discover Websphere servers and may fail to get the EAR files that it should get.
In such cases the following error may get recorded in logs :
"/opt/IBM/BPM/v85/properties/version/*" ; echo ERROR_CODE:$?]</CMD>
<RESULT>[CDATA: Path not found
<log start="15:50:40" severity="warn">Failed to determine platform version as failed to get product files in specified root path
Traceback (most recent call last):
File "websphere_by_shell", line 723, in determineVersion
File "websphere_by_shell", line 701, in getFiles
File "file_system", line 264, in getFiles
File "file_info_discoverers", line 252, in getFiles
File "file_info_discoverers", line 176, in _UnixFileInfoDiscovererByPerl__list
Solution : This is a known issue in Linux. The result of ps command will be truncated if it's length is more than 4096 characters and uCMDB will ignore the incompleted process.
So the root cause is not related to uCMDB. On the WebSphere server, the Linux administrator must recompile the Linux kernel to change '4096' to '8192' (or even bigger).
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Click the KUDOS star to say 'Thanks'