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
Search, Java, Threads and forcing a timeout...
Goldman_Opentext_KC_Generic_#1_(GOLSAC02User1_(Del
LAPI has some issues when it comes to blocking in Java. In particular, if the remote server is hung, it never times out. Example: a search call to a Livelink instance with a hosed admserv.There are some strategies for forcing a timeout in Java:a. Close the socket in a seperate thread. That would involve having access to LAPI's sockets. Any way to do this? Any undocumented API's?b. Call the deprecated stop method on Thread. Of course, it's deprecated for a reason.c. Get LAPI to set some timeout settings for it's sockets. Any way to do this?An updated LAPI that handles these issues would be appreciated.
Find more posts tagged with
Comments
There are no comments yet