Author Topic: loaAddDoc exception  (Read 2061 times)

hmed

  • Newbie
  • *
  • Posts: 7
    • View Profile
loaAddDoc exception
« on: August 17, 2020, 10:13:26 AM »
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

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: loaAddDoc exception
« Reply #1 on: August 18, 2020, 12:08:28 PM »
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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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

hmed

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: loaAddDoc exception
« Reply #2 on: August 18, 2020, 08:26:58 PM »
Yes, we have already loaded a document to this AG using ARSLOAD and the generic indexer.

Manikandan

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: loaAddDoc exception
« Reply #3 on: March 18, 2022, 04:35:47 PM »
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

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: loaAddDoc exception
« Reply #4 on: March 28, 2022, 09:54:30 AM »
@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

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: loaAddDoc exception
« Reply #5 on: March 30, 2022, 06:19:28 PM »
@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