Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
AddDcoument and CreateObjectEx function
ELPASOUser2_(Delete)_2549571
Hello,I am trying to add a document to Livelink by using the AddDocument method of the Livelink Java API. For some documents I get a LLIOException with the following error message: "Could not write bytes to socket". This seems to be the case for all documents larger than 150KB. Does anybody ever experienced something similar or does know how to solve this? Also,When I use CreateObjectEx function, for the first time it is not working.If the document already exists,then size doesn't matter at all,LAPI function loads the file to livelink.Please help me.THanksRavi
Find more posts tagged with
Comments
Kevin_Campbell
We're getting the same error when using AddDocument method in LAPI v9.1 with IPlanet 6.0 app server. Here's a partial traceback:, root cause: com.opentext.api.LLIOException: Could not write bytes to socket at com.opentext.api.LLFileUtils.streamReader(LLFileUtils.java:138) at com.opentext.api.LLConnect.sendFileUpload(LLConnect.java:742) at com.opentext.api.LLConnect.executeTraditional(LLConnect.java:1510) at com.opentext.api.LLConnect.execute(LLConnect.java:341) at com.opentext.api.LAPI_DOCUMENTS.AddDocument(LAPI_DOCUMENTS.java:191) at mil.atc.vision.vdls.f3953.ProcessMREContractData.storeFilesInVDL(ProcessMREContractData.java:799)Have you been able to resolve this issue?Thanks,Loren