Topic
  • No replies
land-land
land-land
12 Posts

Pinned topic RAMRuntimeException - The server failed to resume the transaction

‏2010-06-16T21:44:06Z |
Under load I get RAMRuntimeExceptions with session.put(asset,create_asis) calls. RAM writes 2 ERROR log statements as below. Then the application gets the RRE 'The server failed to resume the transaction'. If I issue an immediate retry I get another RRE 'The asset already exists', suggesting the asset was actually created.

Any ideas as to what is causing 1st RRE. ?

log4j output written by RAM API

ERROR (RAMSession.java:3103) [{......}] - Error when uploading the asset {0}.yyyy DB [1.0]
Manifest = <?xml version="1.0" encoding="UTF-8"?>
<defaultprofile:Asset xmi:version="2.0"
.......
</defaultprofile:Asset>

Archive = [no file]
ERROR (RAMSession.java:3231) - The asset yyyy DB[1.0] was not created.



1st application exception

com.ibm.ram.common.data.exception.RAMRuntimeException: Repository exception trying to submit asset - yyyy DB - ID#{....} Version#1.0: The server failed to resume the transaction. Desc:3a0000033a.DSRA0010E: SQL State = S0001, Error Code = 3,971
at com.ibm.ram.client.RAMSession.putAsset(RAMSession.java:3241)
at com.ibm.ram.client.RAMSession.put(RAMSession.java:4715)

at java.lang.Thread.run(Thread.java:735)
Caused by: com.ibm.ram.internal.client.RAMServiceException: Repository exception trying to submit asset - yyyy DB - ID#{.....} Version#1.0: The server failed to resume the transaction. Desc:3a0000033a.DSRA0010E: SQL State = S0001, Error Code = 3,971
at com.ibm.ram.internal.client.RAMClient.uploadAsset(RAMClient.java:1052)
at com.ibm.ram.client.RAMSession.putAsset(RAMSession.java:2990)
... 16 more


retry exception:

Asset already exists in repository - yyyy DB - ID#{....} Version#1.0: The asset yyyy DB [1.0] already exists. External ID is {...} and database id is 121,222.