glassfish
  1. glassfish
  2. GLASSFISH-6703

Durable subscriber Topic test failed against IBM MQ

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: v2.1
    • Fix Version/s: 4.0_b71
    • Component/s: jms
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      6,703

      Description

      OS: soarlis
      build: promoted build 58
      This is a GRA test failiure.
      summary: Durable subscriber Topic test failed to deploy against IBM MQ. However,
      with the same setup/configuration, all other GRA test cases passed. Only the
      durable subscriber test had the problem.
      Test description:
      Servlet calls EJB method which sends a message to a topic that is a durable
      subscriber. Server is restarted and servlet checks that the message is received.
      Steps to reproduce the bug:
      1. Install V2 promoted build 56. start domain
      2. Checkout SQE workspace cvs co -r SJSAS911_FCS_BRANCH appserver-sqe/boostrap.xml
      (CVSROOT: :pserver:<user>@redcvs.red.iplanet.com:/m/jws)
      cd appserver-sqe
      ant -f bootstrap.xml -Dtag=SJSAS911_FCS_BRANCH co-gra
      3.set env. variables
      S1AS_HOME <as install dir>
      SPS_HOME <appserver-sqe>
      ANT_HOME
      JAVA_HOME
      4. cd appserver-sqe/pe/, open file config.properties, modify admin.user,
      admin.password, admin.port... values based on your AS install information
      5. follow the following README file to setup IBM MQ to run GRA test:
      http://server-rel.red.iplanet.com/h/nimitz.red.iplanet.com/export2/GRA/GRA2.0/GRA_IBMMQ_Readme.html
      5. cd appserver-sqe/pe/genericra/test15, run command
      ant build deploy run
      The test failed to deploy the test application. The server.log shows the
      following error:
      [#|2008-11-03T14:52:18.110-0800|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=14;_ThreadName=httpSSLWorkerThread-4848-0;_RequestID=c72cb32f-3716-4de3-bc63-775b5e305ecb;|
      javax.resource.ResourceException: MQJMS5053: *** No broker response. Please
      ensure that the broker is running. If you are using the WebSphere MQ broker
      check that your brokerVersion is set to V1 ***
      at
      com.sun.genericra.util.ExceptionUtils.newResourceException(ExceptionUtils.java:73)
      at
      com.sun.genericra.inbound.async.EndpointConsumer._start(EndpointConsumer.java:131)
      at com.sun.genericra.inbound.async.EndpointConsumer.start(EndpointConsumer.java:83)
      at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:216)
      at
      com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:252)
      at
      com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:209)
      at
      com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:280)
      at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:537)
      at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:191)
      at
      com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)
      at
      com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)
      at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:245)
      at
      com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
      at
      com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)
      at
      com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
      at
      com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:958)
      at
      com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:942)
      at
      com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)
      at
      com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
      at
      com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
      at
      com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:230)
      at
      com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
      at
      com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
      at
      com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
      at
      com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:934)
      at
      com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:605)
      at
      com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:649)
      at
      com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
      at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
      at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
      at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
      at $Proxy1.invoke(Unknown Source)
      at
      com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
      at
      com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
      at
      com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
      at
      com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
      at
      com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
      at
      com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:292)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:325)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:208)
      at
      org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:420)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
      at
      org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      at
      com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      at
      com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:440)
      at
      com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:228)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      at
      com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      Caused by: com.ibm.mq.jms.NoBrokerResponseException: MQJMS5053: *** No broker
      response. Please ensure that the broker is running. If you are using the
      WebSphere MQ broker check that your brokerVersion is set to V1 ***
      at
      com.ibm.mq.jms.MQBrokerSubscriptionEngine.getBrokerResponse(MQBrokerSubscriptio|#]

      [#|2008-11-03T14:52:18.114-0800|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=14;_ThreadName=httpSSLWorkerThread-4848-0;_RequestID=c72cb32f-3716-4de3-bc63-775b5e305ecb;|nEngine.java:3041)
      at
      com.ibm.mq.jms.MQBrokerSubscriptionEngine.openDurableSubscription(MQBrokerSubscriptionEngine.java:1058)
      at
      com.ibm.mq.jms.MQMigrateSubscriptionEngine.openDurableSubscription(MQMigrateSubscriptionEngine.java:547)
      at com.ibm.mq.jms.MQConnectionBrowser.pubSubSetup(MQConnectionBrowser.java:440)
      at
      com.ibm.mq.jms.MQConnectionBrowser.MQConnectionBrowserInit(MQConnectionBrowser.java:306)
      at com.ibm.mq.jms.MQConnectionBrowser.<init>(MQConnectionBrowser.java:155)
      at
      com.ibm.mq.jms.MQConnection.createDurableConnectionBrowser(MQConnection.java:3470)
      at com.ibm.mq.jms.MQConnectionConsumer.<init>(MQConnectionConsumer.java:461)
      at
      com.ibm.mq.jms.MQConnection.createDurableConnectionConsumer(MQConnection.java:3364)
      at
      com.sun.genericra.inbound.async.InboundJmsResourcePool.createDurableConnectionConsumer(InboundJmsResourcePool.java:139)
      at
      com.sun.genericra.inbound.async.EndpointConsumer._start(EndpointConsumer.java:112)
      ... 85 more

      #]
      ---------------------- Attached server.log --------------

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            jigang
            Reporter:
            sonialiu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: