Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10956

org.jboss.test.jmx.test.JMXInvokerUnitTestCase often fails on Hudson

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • EAP_EWP 5.3.0.GA
    • EAP_EWP 5.2.0, EAP_EWP 5.3.0.ER3
    • Testsuite
    • None
    • NEW

      JMXInvokerUnitTestCase/SecureJMXInvokerUnitTestCase often fails on testNotificationWithBadListener() method.

      Here is the stacktrace:

      javax.management.ListenerNotFoundException: No listener matches: RMIListener_Stub[UnicastRef [liveRef: [endpoint:[10.19.181.248:37030](remote),objID:[fd43d62:1438c8a1f95:-7ff0, 9077761005157030473]]]]
      	at org.jboss.jmx.connector.invoker.InvokerAdaptorService.removeNotificationListener(InvokerAdaptorService.java:322)
      	at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:258)
      	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
      	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
      	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
      	at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
      	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
      	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      	at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
      	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      	at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:855)
      	at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:422)
      	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
      	at sun.rmi.transport.Transport$1.run(Transport.java:177)
      	at sun.rmi.transport.Transport$1.run(Transport.java:174)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
      	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:722)
      

      and the test output:

      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=0
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=1
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=2
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=3
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=4
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=5
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=6
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=7
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=8
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=9
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=0
      BadListener handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=0
      Sleeping 30 seconds...
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=1
      BadListener handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=1
      Sleeping 30 seconds...
      BadListener handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=2
      Sleeping 30 seconds...
      handleNotification, event: javax.management.Notification[source=jboss.test:service=InvokerTest,secured=true][type=InvokerTest.timer][message=], count=2
      

      The output is weird as the message handleNotification, event:.* goes from org.jboss.test.jmx.invoker.Listener, but the test uses RMIListener and the Listener is involved in JMXConnectorUnitTestCase which is excluded right now.

              istudens@redhat.com Ivo Studensky
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: