eLink RERE com.opentext.api.LLIOException Could not access server issue Posted by kbailey (Bailey, Kevin) on2009/07/29 10:07 In reply to: REcom.opentext.api.LLIOException Could not access server issue Posted by cwebster(Webster, Chris) on 2009/07/29 09:56 Message from Kevin Bailey <kbailey@opentext.com>via eLink Igenerally put a couple of retries in to get over the problem. This codesnippet is for add version: // zealousCreateVersion // // If the client file system is very slow responding, theCreateVersion // call can fail because the server socket closes (it gives upwaiting). // Optical jukeboxes can be slow when switching discs, for example. // To work around this particular problem, we retry a couple oftimes. // If it still isn't doing it, we give up and throw theLLIOException. // Otherwise we return the status of the version creation. privateint zealousCreateVersion( int volumeID, int objectID, String path, LLValue versionInfo ) { int status = - 1; int retries = 4; while( retries >= 0 )// Should be while(true) { try { status = llDocs.CreateVersion( volumeID, objectID, path, versionInfo ); break; } catch( LLIOException e ) { if( e.getMessage().startsWith( "Could not write bytes to socket" ) ) { if( retries > 0 ) { System.err.println( "Warning: Socket write error - retrying!" ); retries--; } else status = - 1; // Enough retries already! } else throw e; // Unhandled IO exception } } return status; } From:eLink Discussion: LAPI Discussion [mailto:lapi@elinkkc.opentext.com] Sent: Wednesday, July 29, 2009 9:56 AMTo: eLink RecipientSubject: RE com.opentext.api.LLIOException Could notaccess server issue REcom.opentext.api.LLIOException Could not access server issue Postedby cwebster(Webster, Chris) on 2009/07/29 09:56 Inreply to: com.opentext.api.LLIOExceptionCould not access server issue Posted by istiaque_hussain@infosys.com(Hussain, Istiaque ) on 2009/07/29 01:49 Message from Chris Webster <cwebster@opentext.com>via eLinkHi Istiaque, I suspect the following KBarticle is applicable to your situation: https://knowledge.opentext.com/knowledge/livelink.exe/open/3500936 -chris From:eLink Discussion: LAPI Discussion [mailto:lapi@elinkkc.opentext.com] Sent: Wednesday, July 29, 2009 12:53 AMTo: eLink RecipientSubject: com.opentext.api.LLIOException Could not accessserver issue com.opentext.api.LLIOExceptionCould not access server issue Postedby istiaque_hussain@infosys.com(Hussain, Istiaque ) on 2009/07/29 01:49 hi,In our application we have installed Live Link enterprise server 9.7.1in windows 16 CPU IBM X series m/c. Our application is java based. Ituses LAPI to loging to LiveLink and gets a document from LiveLivelink.During our performance testing while the number of concurrent used isincreased to more then 100 thread we are getting exception like hi,In our application we have installed Live Link enterprise server 9.7.1in windows 16 CPU IBM X series m/c. Our application is java based. Ituses LAPI to loging to LiveLink and gets a document from LiveLivelink.During our performance testing while the number of concurrent used isincreased to more then 100 thread we are getting exception like com.opentext.api.LLIOException: Could not access serverat com.opentext.api.LLConnect.createSocket(Unknown Source)at com.opentext.api.LLConnect.executeTraditional(Unknown Source)at com.opentext.api.LLConnect.execute(Unknown Source)at com.opentext.api.LAPI_DOCUMENTS.ListObjects(Unknown Source)please help us.rat com.opentext.api.LLConnect.createSocket(Unknown Source)at com.opentext.api.LLConnect.executeTraditional(Unknown Source)at com.opentext.api.LLConnect.execute(Unknown Source)at com.opentext.api.LAPI_DOCUMENTS.ListObjects(Unknown Source)please help us.