A fix is available
APAR status
Closed as program error.
Error description
Each RAMSession object creates its own temp folder location by java.io.tmpdir'}/local_ram_store/RAMSession_{this.hashCode()}. But the session.hashcode() could be ducplicated even on different session objects which causing IO poblems such as: org.eclipse.emf.ecore.resource.impl. ResourceSetImpl$1DiagnosticWrappedException: java.io. FileNotFoundException: /home/emapbld/emap- bootstrap/tmp/ramclient/local_ram_store/com_ibm_ram_client_RAMSe ssion_12 c384b/schemas/https___assetmgr_apps_anz_ram_/assetTypesSchema.xm i (No such file or directory) OR Write access not provided for ramclient temporary cache directory /home/emapbld/emap-bootstrap/tmp/ramclient Exception: exceptions. Exception Write access not provided for ramclient temporary cache directory /home/emapbld/emap-bootstrap/tmp/ramclient
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Problem description and statement Customer is using RAM ramclient Java API to do a download from RAM. However, when multiple processes are invoked simultaneously, some downloads fail at random with errors as below. org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException: java.io.FileNotFoundException: /home/emapbld/emap-bootstrap/tmp/ramclient/local_ram_store/c om_ibm_ram_client_RAMSession_12c384b/schemas/https___assetmg r_apps_anz_ram_/assetTypesSchema.xmi (No such file or directory) OR Write access not provided for ramclient temporary cache directory /home/emapbld/emap-bootstrap/tmp/ramclient Exception: exceptions. Exception Write access not provided for ramclient temporary cache directory /home/emapbld/emap-bootstrap/tmp/ramclient Running multiple processes simultaneously means there are multiple UNIX processes, running by the same user id, each has a single thread.(in bash pseudo code) For example, java - jar download.jar asset1 1.0 ? java - jar download.jar download asset2 2.3 ? wait where download.jar is calling the Java API. Each RAMSession object creates its own temp folder location by java.io.tmpdir"}/local_ram_store/RAMSession_{this.hashCode() }. But the session.hashcode() could be ducplicated even on different session objects which causing IO poblems such as: org.eclipse.emf.ecore.resource.impl. ResourceSetImpl$1DiagnosticWrappedException: java.io. FileNotFoundException: /home/emapbld/emap- bootstrap/tmp/ramclient/local_ram_store/com_ibm_ram_client_R AMSession_12 c384b/schemas/https___assetmgr_apps_anz_ram_/assetTypesSchem a.xmi (No such file or directory) OR Write access not provided for ramclient temporary cache directory /home/emapbld/emap-bootstrap/tmp/ramclient Exception: exceptions. Exception Write access not provided for ramclient temporary cache directory /home/emapbld/emap-bootstrap/tmp/ramclient
Problem conclusion
This defect has been fixed in Defect 73280. according to Ary's testing between using RandomUUID, systemtime and Random number, the result turn out to be that Systemtime has the least cost, so we decide to use systemtime to avoid duplicate in temp folder.
Temporary fix
Comments
APAR Information
APAR number
PM61036
Reported component name
RATL ASSET MGR
Reported component ID
5724R4200
Reported release
750
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-03-22
Closed date
2013-08-13
Last modified date
2013-08-13
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL ASSET MGR
Fixed component ID
5724R4200
Applicable component levels
R750 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSUS84","label":"Rational Asset Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
28 October 2021