loaAddDoc exception

Previous topic - Next topic

hmed

We are using ODWek and ARSSOCKD 9.5.0.12 and are trying to store a document via
odServer.loadInit();
odServer.loadAddDoc(1, idxs, file);
odServer.loadCommit("SERVICETEST-V01", "SERVICETEST-V01");

We see message #441 - File Transfer: Name(SERVICETEST-V01.SERVICETEST-V01.APPCOD) Bytes(7531565) Time(1.570) Location(/ars/tmp/tenv2/cmod/import/SERVICETEST-V01.SERVICETEST-V01.APPCOD.20200814.191319467372.3113218795536179863.ARD)
in the system log

and afterwards, an exception thrown by loadCommit(),
com.highmark.appcod.cmod.ImageODException: Failed to commit Load. Please consult the System Log for additional information.
RC = 2096
Message = The server failed while storing a document

We need help determining what the issue is.  No other messages are in the System Log or in ARSSOCKD

by the way, ars.cfg is configured with the following parameters
ARS_DOWNLOAD_DIR=/ars/tmp/tenv2/cmod/import
ARS_DOWNLOAD_TMP_DIR=/ars/tmp/tenv2/cmod/import
with permissions of 777 on those directories.

as per
https://www.ibm.com/support/pages/using-load-capabilities-through-odwek-v95

When watching that directory, we can see a document show up and then disappear.

Justin Derrick

Seems like a bad config on the Storage Management side of the AG config.

Are you able to load documents into this AG with arsload?

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

hmed

Yes, we have already loaded a document to this AG using ARSLOAD and the generic indexer.

Manikandan

Does the issue resolved? I have the same error so trying to resolve.

ODException: com.ibm.edms.od.ODException: Failed to commit Load. Please consult the System Log for additional information.
RC = 2096
Message = The server failed while storing a document
  id = 0
  msg = Failed to commit Load. Please consult the System Log for additional information.
RC = 2096
Message = The server failed while storing a document
com.ibm.edms.od.ODException: Failed to commit Load. Please consult the System Log for additional information.
RC = 2096
Message = The server failed while storing a document
        at com.ibm.edms.od.ODServer.loadCommit(ODServer.java:3225)
        at com.poc.test.PocTest.main(PocTest.java:148)

I can see the below error from ARSOCKDT.

ARS0442E ONDMDB2 File Transfer failed:  Name(TGBMSE01.TGBMSE01.ONDMDB2)

spond

@hmed

There was a (server-side) defect - PH38422 - that may be applicable to your issue. The APAR was included in 10.5.0.3/10.1.0.9. Is your server really at 9.5.0.12? If you can get to a supported version and you still have the issue, I would recommend opening a case with CMOD support.

@Manikandan

This one sounds to me like you have not added ARS_DOWNLOAD_TMP_DIR and ARS_DOWNLOAD_DIR in your ars.cfg. Please see the 'Server setup' section of https://www.ibm.com/support/pages/node/252987

Manikandan

@Spond - Thanks for the update.

I have updated the ars.cfg which resolved the issue.

/usr/lpp/ars/V10R1M0/config/ars.cfg
ARS_DOWNLOAD_DIR=/ars/tmp
ARS_DOWNLOAD_TMP_DIR=/ars/tmp