【问题标题】:WebSphere SIBus failing to create subscription for an anonymous userWebSphere SIBus 未能为匿名用户创建订阅
【发布时间】:2013-06-11 16:01:21
【问题描述】:

抱歉,如果这不是应有的清晰,但这对我来说是全新的。

我在本地运行 WebSphere 8.5,并已将 SIBus 配置为服务器作为总线成员。对本地数据库上的消息使用持久存储。看起来正在创建、插入表等。SIBus 正在使用 WS-Notification 服务和端点。

目前没有使用 JAX-WS 处理程序。

当我通过 SOAPUI 发送消息时,我在 WAS 中得到以下信息:

     SibMessage    W   [:] CWSII0228W: The bus XYZSIBus denied an anonymous user
     access to receive messages from the destination xyz.

     SibMessage    W   [:] CWSJN1073E: An attempt was made to create a 
subscription on WPM topic space xyz under username  but this could not be 
completed as the user is not authorized to subscribe to that WPM topic space 
using the specified topic expressions. The consumer's endpoint reference was 
<xml message snip/>. The exception was 
com.ibm.wsspi.sib.core.exception.SINotAuthorizedException: CWSIP0309E: Receive 
access from destination xyz was denied for user with subject ..

然后是堆栈跟踪:

WebServiceExc E org.apache.axis2.jaxws.WebServiceExceptionLogger log A javax.xml.ws.soap.SOAPFaultException throwable was caught.  The detail message is:   at com.ibm.ws.sib.wsn.webservices.utils.WSNMarshallerImpl.createException(WSNMarshallerImpl.java:799)
    at com.ibm.ws.sib.wsn.webservices.utils.WSNMarshallerImpl.createSOAPFaultException(WSNMarshallerImpl.java:473)
    at com.ibm.ws.sib.wsn.webservices.impl.inbound.provider.NBInvokerImpl.invoke(NBInvokerImpl.java:236)
    at com.ibm.ws.sib.wsn.webservices.impl.inbound.provider.NBProviderImpl.invokeTargetService(NBProviderImpl.java:142)
    at com.ibm.ws.sib.wsn.webservices.impl.inbound.provider.WSNProviderImpl.invoke(WSNProviderImpl.java:140)
    at com.ibm.ws.sib.wsn.webservices.impl.inbound.provider.NBProviderImpl.invoke(NBProviderImpl.java:108)
    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.apache.axis2.jaxws.server.dispatcher.JavaDispatcher.invokeTargetOperation(JavaDispatcher.java:101)
    at org.apache.axis2.jaxws.server.dispatcher.ProviderDispatcher.invoke(ProviderDispatcher.java:138)
    at org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:111)
    at org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:161)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:198)
    at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
    at com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost(WASAxis2Servlet.java:1544)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1214)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1027)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
    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:458)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:522)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:311)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:282)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    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:1783)

【问题讨论】:

    标签: websphere jax-ws websphere-8 ws-notification


    【解决方案1】:

    Here 是您在错误前收到的错误警告消息的解释

    CWSII0228W: 总线 {0} 拒绝匿名用户访问以接收 来自目标 {1} 的消息。

    说明 Everyone 组不是 目的地。操作 如果您希望匿名用户从 目的地,将所有人组添加到接收者角色 目的地。

    您似乎为 SIBUS 启用了安全性(集成安全性),但尚未配置必要的授权。尝试将Everyone 组添加到receiver 角色,如Adding users and groups to destination roles 所述。

    【讨论】:

    • 我明天试试!谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-09-12
    • 2015-01-16
    • 1970-01-01
    • 2014-04-08
    • 1970-01-01
    相关资源
    最近更新 更多