WebSphere应用程序无法以JMS Queue启动

时间:2014-01-16 17:52:54

标签: jms websphere

我有一个在JBoss AS7上运行的应用程序,但我们有一个运行WAS的客户端,并且过去运行过“端口”,现在是时候再次在WAS上验证EAR并启动应用程序炸弹了以下错误:

[1/16/14 11:04:29:209 EST] 0000000b ActivationSpe E   J2CA0138E: The Message Endpoint activation failed for ActivationSpec jms/TRECS_INVC_ESCROW_ANALYSIS_ActivationSpec    (com.ibm.ws.sib.api.jmsra.impl.JmsJcaActivationSpecImpl) and MDB application TRecsEnterprise#lib/tee-invoicing.jar#EscrowAnalysisConsumer due to the following exception: javax.resource.NotSupportedException: CWSIV0757E: The destination TRECS_INVC_ESCROW_ANALYSIS_QUEUE) on bus TRecsBus was not found.
    at com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.validateDestination(SibRaCommonEndpointActivation.java:1657)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.access$800(SibRaCommonEndpointActivation.java:122)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation$PointToPointStrategy.connectToLocalMEs(SibRaCommonEndpointActivation.java:1947)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.connectToLocalMEs(SibRaCommonEndpointActivation.java:532)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaColocatingEndpointActivation.connectToLocalMEs(SibRaColocatingEndpointActivation.java:148)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.connect(SibRaCommonEndpointActivation.java:482)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.checkMEs(SibRaCommonEndpointActivation.java:367)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.timerLoop(SibRaCommonEndpointActivation.java:326)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.<init>(SibRaCommonEndpointActivation.java:284)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaColocatingEndpointActivation.<init>(SibRaColocatingEndpointActivation.java:88)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaResourceAdapterImpl.endpointActivation(SibRaResourceAdapterImpl.java:369)
    at com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateUnderRAClassLoaderContext(ActivationSpecWrapperImpl.java:642)
    at com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateEndpoint(ActivationSpecWrapperImpl.java:358)
    at com.ibm.ejs.j2c.RAWrapperImpl.activateEndpoint(RAWrapperImpl.java:1097)
    at com.ibm.ejs.j2c.RALifeCycleManagerImpl.activateEndpoint(RALifeCycleManagerImpl.java:1742)
    at com.ibm.ejs.container.MessageEndpointFactoryImpl.activateEndpoint(MessageEndpointFactoryImpl.java:296)
    at com.ibm.ws.runtime.component.EJBContainerImpl.startMDBs(EJBContainerImpl.java:5370)
    at com.ibm.ws.runtime.component.WASEJBRuntimeImpl.startMDBs(WASEJBRuntimeImpl.java:297)
    at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:878)
    at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3588)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1163)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1369)
    at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:967)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:769)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2160)
    at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5468)
    at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5594)
    at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2165)
    at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:446)
    at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
    at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)
    at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:117)
    at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:995)
    at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:496)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1700)
Caused by: com.ibm.ws.sib.admin.SIBExceptionDestinationNotFound: TRECS_INVC_ESCROW_ANALYSIS_QUEUE)
    at com.ibm.ws.sib.admin.impl.JsDestinationCache.getSIBDestination(JsDestinationCache.java:555)
    at com.ibm.ws.sib.admin.impl.BaseMessagingEngineImpl.getSIBDestination(BaseMessagingEngineImpl.java:1524)
    at com.ibm.ws.sib.ra.inbound.impl.SibRaCommonEndpointActivation.validateDestination(SibRaCommonEndpointActivation.java:1581)
    ... 36 more

这表明队列不在总线上,但是当我查看管理控制台和服务器配置时它就在那里。以下是sib-destinations.xml的相关行:

  <sibresources:SIBQueue xmi:id="SIBQueue_1389887701656" identifier="TRECS_INVC_ESCROW_ANALYSIS_QUEUE" uuid="0485391EEB9BFABAC23D25E8" overrideOfQOSByProducerAllowed="true" exceptionDestination="$DEFAULT_EXCEPTION_DESTINATION" sendAllowed="true" receiveAllowed="true">
<localizationPointRefs xmi:id="SIBLocalizationPointRef_1389887701661" node="devredhat58-01Node01" server="server1" engineUuid="11CD8C2A94C906C7"/>

我查看了FFDC,它们实际上只是堆栈跟踪,没有真正的帮助。

我很确定这是一个配置问题,只是无法弄清楚在哪里看。

1 个答案:

答案 0 :(得分:1)

WebSphere AS中的队列或主题必须与SiBus目标相关联。 您需要为队列创建目的地:

  1. 查找/创建目的地的SiBus
  2. 选择设计
  3. 创建新的队列目的地
  4. 创建目的地后,您必须将其与您的JMS队列关联:

    1. 打开JMS资源
    2. 找到你的队列
    3. 选择SiBus
    4. 选择已创建的目的地