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
LLIOException when adding documents
Philip_Schneider_(x-kpmgbe011_-_(deleted))
Hi,I am trying to add a bunch of documents 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 300 KB. Does anybody ever experienced something similar or does know how to solve this? Thanks a lot.
Find more posts tagged with
Comments
ELPASOUser2_(Delete)_2549571
Did you find any answer for your question??..I am also facing the same problem "Could not write bytes to socket". when tried to load documents larger than 150KB.Please helpRavi
mdc
I am getting a very similar problem. It's very odd because I have a java program that creates livelink tasks and can also add attachments to that task. When I create a brand new task and add attachments, it works fine, BUT when I go back and udate the task with new attachments, still calling the addDocument function, I get a LLIOExcpetion: Could not access server. IT's very odd and I have been trying to trouble shoot it for a couple days now, with no luck. Does anyone have any ideas?I know that this particular IOException means that I am not hitting the LL server and that there must be something wrong with my session, but as I said earlier, I am using the same session with no problems when I create a new task and add docs to that. It also can be a volumeId/nodeId issue because I would at least be able to hit the LL server if one of those were screwed up. I would just get a different error. Any suggestions would be greatly appreciated. Thanks,Greg
eLink User
Message from chris meyer via eLinkHi Greg,Try increasing the 'timeout' parameter located in the [sockserv] section ofthe opentext.ini file.cheers, chris----- Original Message -----From: "eLink Discussion: LAPI Discussion" To: "eLink Recipient" Sent: Friday, June 21, 2002 5:43 PMSubject: I am getting a very similar problem. It's very odd because I have ajava...> I am getting a very similar problem. It's very odd because I have ajava...> Posted by BaeAdmin on 06/21/2002 11:37 AM>> I am getting a very similar problem. It's very odd because I have a javaprogram that creates livelink tasks and can also add attachments to thattask. When I create a brand new task and add attachments, it works fine,BUT when I go back and udate the task with new attachments, still callingthe addDocument function, I get a LLIOExcpetion: Could not access server.IT's very odd and I have been trying to trouble shoot it for a couple daysnow, with no luck. Does anyone have any ideas?>> I know that this particular IOException means that I am not hitting the LLserver and that there must be something wrong with my session, but as I saidearlier, I am using the same session with no problems when I create a newtask and add docs to that. It also can be a volumeId/nodeId issue because Iwould at least be able to hit the LL server if one of those were screwed up.I would just get a different error. Any suggestions would be greatlyappreciated.>>> Thanks,> Greg>>>> [To reply to this thread, use your normal e-mail reply function.]>> ============================================================>> Topic: LLIOException when adding documents>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2705955&objAction=view>>
; Discussion: LAPI Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765428&objAction=view>>
; Livelink Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>>>
;
Kevin_Campbell
Hello,Does anyone have any clues as to why this happens? Strangely, we are getting the same error only on our production system, not on our development or intermediate test servers - of course :-). 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)We have also seen the following error at the same place (above) in the code where we call AddDocument:com.opentext.api.LLIOException: Could not flush socketWe're using LAPI v9.1 with IPlanet 6.0.Thanks in advance for any help.Loren