Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Not able to connect to Teamsite Search using CSSDK
SPrakash
OS: Linux
Teamsite: 721
Search: 71
I have Teamsite and Search installed in different servers. I am trying to connect to the search server using cssdk. I was able to establish a connection with the CSClient. From the CSClient i am not able get the connection to the SearchEngine(). I am attaching the sample program which i have tried.
When i am trying to access the search from the teamsite UI, its working absolutely fine.
I have tried the users iwmaster, iwui and iwts to connect to the cssdk. I am getting the same exception with all the users.
I have verified the cssdk.cfg for the search configurations and everything looks fine. I have tried doing a telnet to the search server with the default port 6720, the connection is established successfully.
I am getting the below exception.
Please let me know if any one know has an idea on how to resolve this issue.
com.interwoven.cssdk.common.CSException: (Could not borrow a SearchSocket from the SearchConnection pool : java.lang.Exception: Could not open connection to Search Server.)
at com.interwoven.cssdk.sci.search.CSSearchUtil.executeCommand(CSSearchUtil.java:95)
at com.interwoven.cssdk.sci.search.SearchServiceSciImpl.executeSearchUtilCommand(SearchServiceSciImpl.java:158)
at com.interwoven.cssdk.sci.search.SearchServiceSciImpl.search(SearchServiceSciImpl.java:540)
at com.interwoven.cssdk.sci.search.SearchServiceSciImpl.searchBranch(SearchServiceSciImpl.java:782)
at com.interwoven.cssdk.search.java.SearchServiceAdapterImpl.searchBranch(SearchServiceAdapterImpl.java:65)
at com.interwoven.cssdk.search.impl.CSSearchEngineImpl.search(CSSearchEngineImpl.java:224)
at Sample1.main(Sample1.java:65)
Root cause:
com.interwoven.cssdk.common.CSException: (Could not borrow a SearchSocket from the SearchConnection pool : java.lang.Exception: Could not open connection to Search Server.)
at com.interwoven.cssdk.sci.search.CSSearchUtil.exec(CSSearchUtil.java:147)
at com.interwoven.cssdk.sci.search.CSSearchUtil.executeCommand(CSSearchUtil.java:89)
at com.interwoven.cssdk.sci.search.SearchServiceSciImpl.executeSearchUtilCommand(SearchServiceSciImpl.java:158)
at com.interwoven.cssdk.sci.search.SearchServiceSciImpl.search(SearchServiceSciImpl.java:540)
at com.interwoven.cssdk.sci.search.SearchServiceSciImpl.searchBranch(SearchServiceSciImpl.java:782)
at com.interwoven.cssdk.search.java.SearchServiceAdapterImpl.searchBranch(SearchServiceAdapterImpl.java:65)
at com.interwoven.cssdk.search.impl.CSSearchEngineImpl.search(CSSearchEngineImpl.java:224)
at Sample1.main(Sample1.java:65)
CSSearchEngine cs = client.getSearchEngine();
Find more posts tagged with
Comments
saaya
Hi,
Can you please let me know how this issue was resolved?
Thanks,
Sayabanna
nipper
Hi,
Can you please let me know how this issue was resolved?
Thanks,
Sayabanna
Probably by something like starting the search server.
If you have an issue, start a new thread, post (truncated) error logs/stack trace and all relevant data (TS version, OS, etc)