注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

mylotustips的博客

IBM Lotus协作产品家族经验分享

 
 
 

日志

 
 
关于我

欢迎大家使用SR向IBM800提交问题http://www.ibm.com/support/servicerequest 可以随时查看问题状态,上传文件

网易考拉推荐

修改OpenSocial-Config.xml之后,用户无法登陆Connections  

2017-04-02 15:47:19|  分类: SocialBusiness |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

问题:在 Linux服务器 Shutdown -r now 重启后,用户无法登陆 Connections

环境:Connections 4.5 CR4,SuSE Linux Enterprise Server 11 SP3

诊断:

在 SystemOut.log from

app3Cell01\app3Node01\InfraCluster_server1日志中看到大量与 OpenSocial 相关的错误:

 

[4/2/17 10:26:13:642 SGT] 00000090 LotusConnecti E Filter [authFilter]: could not be initialized

javax.servlet.ServletException: Filter [authFilter]: could not be initialized

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:159)

    at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:568)

    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:475)

    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:308)

    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:380)

    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:892)

    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)

    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)

    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)

    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)

    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:277)

    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1049)

    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:643)

    at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)

    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:166)

    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691)

Caused by: javax.servlet.UnavailableException: Guice Injector not found! Make sure you registered org.apache.shindig.common.servlet.GuiceServletContextListener as a listener

    at org.apache.shindig.common.servlet.InjectedFilter.init(InjectedFilter.java:42)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:145)

    ... 25 more

 

[4/2/17 12:24:55:737 SGT] 0000008f TKRemoteServi E CLFRO0982E: Attempt to call unregistered service class ([Qualifier: + null]: com.ibm.lconn.core.services.cre.remote.widget.WidgetLayoutServiceRemote.isTabEnabled()) against TK service. Known services are: []

[4/2/17 12:24:55:737 SGT] 0000008f BusinessExcep E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "invokeRemoteService" on bean "BeanId(News#tk.rproxysvc.transport.ejb.jar#TKRemoteProxySvc, null)". Exception data: com.ibm.tk.rproxysvc.service.exception.TKRemoteServiceNotFoundException: CLFRO0982E: Attempt to call unregistered service class ([Qualifier: + null]: com.ibm.lconn.core.services.cre.remote.widget.WidgetLayoutServiceRemote.isTabEnabled()) against TK service. Known services are: []

    at com.ibm.tk.rproxysvc.internal.spi.TKRemoteServiceInvocationHelper$1.invokeRemoteService(TKRemoteServiceInvocationHelper.java:100)

    at com.ibm.tk.rproxysvc.internal.transport.ejb.TKRemoteServiceEndpointEjbRemoteImpl.invokeRemoteService(TKRemoteServiceEndpointEjbRemoteImpl.java:43)

    at com.ibm.tk.rproxysvc.internal.transport.ejb.EJSRemote0SLTKRemoteProxySvc_a16067c2.invokeRemoteService(EJSRemote0SLTKRemoteProxySvc_a16067c2.java)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

    at java.lang.reflect.Method.invoke(Method.java:611)

    at com.ibm.CORBA.iiop.ClientDelegate$3.run(ClientDelegate.java:1262)

    at java.security.AccessController.doPrivileged(AccessController.java:280)

    at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1259)

    at com.sun.proxy.$Proxy217.invokeRemoteService(Unknown Source)

    at com.ibm.tk.rproxysvc.internal.transport.ejb._TKRemoteServiceEndpointEjbRemote_Stub.invokeRemoteService(_TKRemoteServiceEndpointEjbRemote_Stub.java)

    at com.ibm.tk.rproxysvc.internal.transport.AbstractTKRemoteProxyCallRouter.invokeRemoteService(AbstractTKRemoteProxyCallRouter.java:63)

    at com.ibm.tk.rproxysvc.internal.proxy.TKRemoteServiceInvocationHandler.invoke(TKRemoteServiceInvocationHandler.java:91)

    at com.sun.proxy.$Proxy104.isTabEnabled(Unknown Source)

    at com.ibm.lconn.homepage.services.impl.TabServicesImpl.isTabEnabled(TabServicesImpl.java:459)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

    at java.lang.reflect.Method.invoke(Method.java:611)

    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)

    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)

    at com.sun.proxy.$Proxy111.isTabEnabled(Unknown Source)

    at com.ibm.lconn.homepage.web.interceptor.TabInfoInterceptor.setWidgetTabAvailable(TabInfoInterceptor.java:78)

    at com.ibm.lconn.homepage.web.interceptor.TabInfoInterceptor.interceptInternal(TabInfoInterceptor.java:196)

    at com.ibm.lconn.homepage.web.interceptor.AbstractHomepageInterceptor.intercept(AbstractHomepageInterceptor.java:60)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

    at com.ibm.lconn.homepage.web.interceptor.UserInfoInterceptor.interceptInternal(UserInfoInterceptor.java:160)

    at com.ibm.lconn.homepage.web.interceptor.AbstractHomepageInterceptor.intercept(AbstractHomepageInterceptor.java:60)

    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

    at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)

    at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:563)

    at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)

    at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    at com.ibm.lconn.core.web.auth.LCBasicAuthFilter.doFilter(LCBasicAuthFilter.java:102)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    at com.ibm.lconn.core.web.auth.LCUserDataConstraintFilter.doFilter(LCUserDataConstraintFilter.java:84)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    at com.ibm.lconn.core.web.util.lang.I18NFilter.doFilter(I18NFilter.java:267)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    at com.ibm.lconn.homepage.web.filter.Utf8CharsetFilter.doFilter(Utf8CharsetFilter.java:43)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    at com.ibm.lconn.core.web.request.HttpRequestFilter.doFilter(HttpRequestFilter.java:184)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    at com.ibm.lconn.core.web.cache.NoCacheFilter.doFilter(NoCacheFilter.java:51)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    at com.ibm.lconn.core.web.customization.CustomizationFilter.doFilter(CustomizationFilter.java:142)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    at com.ibm.lconn.core.web.atom.CSRFFilter.doFilter(CSRFFilter.java:105)

    at com.ibm.lconn.core.web.atom.CSRFFilter.doFilter(CSRFFilter.java:50)

    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)

    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)

    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3763)

    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)

    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:975)

    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)

    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)

    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)

    at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)

    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:166)

    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691)

 

了解到管理员最近为了禁用匿名访问文件,曾经修改过OpenSocial-Config.xml文件。

 

解决方法:

 

按以下步骤操作:

cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

1) ./wsadmin.sh -lang jython -username wasadmin -password waspassword -port 8879

 

2) execfile("connectionsConfig.py")

 

3) LCConfigService.checkOutOpensocialConfig("/linshi","App3Cell01")

Checked out 2 files:

opensocial-config.xml

opensocial-config.xsd

注:Cell名可以通过命令 print AdminControl.getCell() 获取

 

4) 还原对 OpenSocial-config.xml 的修改,移除之前增加的参数 isAnonymousAllowed="false"

 

5) LCConfigService.checkInOpensocialConfig("/linshi","App3Cell01")

Copied the service-location.xsd file to /linshi/ from

/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/app3Cell01/Lot

usConnections-config

 

Loading schema file for validation: /linshi/opensocial-config.xsd

Loading schema file for validation: /linshi/service-location.xsd

/linshi/opensocial-config.xml is valid

Connections opensocial configuration file successfully checked in

6) synchAllNodes()

Nodes synchronized

7) 停止 Websphere Application Server

8) 删除 temp 和 wstemp 目录

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/

9) 启动 Websphere Application Server

 

问题解决。建议下次重启OS之前,务必依次关闭Connections应用所在的WAS服务器、NodeAgent和Dmgr。

  评论这张
 
阅读(36)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017