Highlighted
Micro Focus Expert
Micro Focus Expert
116 views

(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
ERROR_CODE:1]</RESULT>
</EXEC>
<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
PathNotFoundException
</log>

 

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).

 

 

 

“Micro Focus Support
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'
Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.