我在Domino数据库中有一个Java代理,使用Social Business Tooklit SKD从内部部署的IBM Connections 4.5安装中阅读博客文章。 java代理能够访问多个测试博客并检索博客帖子列表,但同一环境中的其他博客产生以下错误:
HTTP JVM:com.ibm.sbt.services.client.ClientServicesException:未为请求初始化SBT上下文
错误发生在以下行:
Blog bo = blogService.getBlog(bRef.getId());
所有博客都可以通过浏览器直接访问,Java代理可以访问某些博客,但在尝试获取其他人的句柄时始终会抛出此错误。我无法确定博客的设置或访问限制方面的任何差异。有没有人对哪里有什么想法?
以下是错误的堆栈跟踪:
02/24/2015 12:05:17 AM HTTP JVM::: syncBlog(a8db5539-6187-40e9-9d87-d182b5b3280c) 02/24/2015 12:05:17 AM HTTP JVM:com.ibm.sbt.services.client.ClientServicesException:未为请求初始化SBT上下文 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.base.BaseService.getEntity(BaseService.java:204) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.connections.blogs.BlogService.getBlogEntity(BlogService.java:667) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.connections.blogs.BlogService.getBlog(BlogService.java:393) 02/24/2015 12:05:17 AM HTTP JVM:at com.triloggroup.connections.filesync.SynchronizationEngine.syncBlog(SynchronizationEngine.java:555) 02/24/2015 12:05:17 AM HTTP JVM:at com.triloggroup.connections.filesync.SynchronizationEngine.syncBlogs(SynchronizationEngine.java:453) 02/24/2015 12:05:17 AM HTTP JVM:at com.triloggroup.connections.filesync.SynchronizationEngine.run(SynchronizationEngine.java:229) 02/24/2015 12:05:17 AM HTTP JVM:at JavaAgent.NotesMain(JavaAgent.java:17) 02/24/2015 12:05:17 AM HTTP JVM:at lotus.domino.AgentBase.runNotes(Unknown Source) 02/24/2015 12:05:17 AM HTTP JVM:at lotus.domino.NotesThread.run(Unknown Source) 02/24/2015 12:05:17 AM HTTP JVM:引起: 02/24/2015 12:05:17 AM HTTP JVM:java.lang.IllegalStateException:未为请求初始化SBT上下文 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.commons.runtime.Context.get(Context.java:57) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.endpoints.BasicEndpoint.authenticate(BasicEndpoint.java:151) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.ClientService.forceAuthentication(ClientService.java:314) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.ClientService.processResponse(ClientService.java:1311) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.ClientService._xhr(ClientService.java:1229) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.ClientService.execRequest(ClientService.java:1194) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.ClientService.xhr(ClientService.java:1151) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.ClientService.get(ClientService.java:1012) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.ClientService.get(ClientService.java:1008) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.base.BaseService.retrieveData(BaseService.java:391) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.base.BaseService.retrieveData(BaseService.java:414) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.base.BaseService.retrieveData(BaseService.java:367) 02/24/2015 12:05:17 AM HTTP JVM:at com.ibm.sbt.services.client.base.BaseService.getEntity(BaseService.java:201) 02/24/2015 12:05:17 AM HTTP JVM:......还有8个 02/24/2015 12:05:17 AM HTTP JVM::: term()