Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6818

Invoking the "List All Subscriptions" operation from the embedded console for a Topic that has multiple subscribers results in an empty list being displayed

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.M1
    • Component/s: ProfileService
    • Labels:
      None
    • Environment:
      JBoss AS Branch_5_x r86689, embjopr r269

      Description

      Steps to reproduce:

      Create a new Topic. Create multiple subscribers for that Topic. Invoke the "List All Subscriptions" operation. Click on the "Show/Hide Details" link in the operations history table. The following gets displayed in the "Results" section:

      Viewing/editing of lists of PropertyDefinitionSimple properties is not yet supported. Here's the list's toString() value for now: []

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            ccrouch Charles Crouch added a comment -

            Farah
            What results do you get if you call the matching operation from the destinations' mbean in the jmx-console?

            Show
            ccrouch Charles Crouch added a comment - Farah What results do you get if you call the matching operation from the destinations' mbean in the jmx-console?
            Hide
            fjuma Farah Juma added a comment -

            After creating a couple of subscribers for a Topic and invoking the matching operation from the jmx-console, this was the result:

            [org.jboss.jms.server.destination.SubscriptionInfo@1e431c2, org.jboss.jms.server.destination.SubscriptionInfo@7ef926]

            Show
            fjuma Farah Juma added a comment - After creating a couple of subscribers for a Topic and invoking the matching operation from the jmx-console, this was the result: [org.jboss.jms.server.destination.SubscriptionInfo@1e431c2, org.jboss.jms.server.destination.SubscriptionInfo@7ef926]
            Hide
            ccrouch Charles Crouch added a comment -

            With Farah to retest

            Show
            ccrouch Charles Crouch added a comment - With Farah to retest
            Hide
            fjuma Farah Juma added a comment -

            After invoking the "List All Subscriptions" operation on a Topic that has multiple subscribers, the following ClassCastException now gets displayed in the operations history table (this is also described in JOPR-141):

            java.lang.ClassCastException: org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple
            at org.rhq.plugins.jbossas5.adapter.api.AbstractPropertyMapAdapter.convertToProperty(AbstractPropertyMapAdapter.java:35)
            at org.rhq.plugins.jbossas5.adapter.impl.configuration.PropertyListToCollectionValueAdapter.populatePropertyFromMetaValue(PropertyListToCollectionValueAdapter.java:88)
            at org.rhq.plugins.jbossas5.adapter.impl.configuration.PropertyListToCollectionValueAdapter.populatePropertyFromMetaValue(PropertyListToCollectionValueAdapter.java:48)
            at org.rhq.plugins.jbossas5.adapter.api.AbstractPropertyListAdapter.convertToProperty(AbstractPropertyListAdapter.java:40)
            at org.rhq.plugins.jbossas5.adapter.api.AbstractPropertyListAdapter.convertToProperty(AbstractPropertyListAdapter.java:35)
            at org.rhq.plugins.jbossas5.util.ConversionUtils.convertManagedOperationResults(ConversionUtils.java:408)
            at org.rhq.plugins.jbossas5.ManagedComponentComponent.invokeOperation(ManagedComponentComponent.java:132)
            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 org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:484)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
            at java.util.concurrent.FutureTask.run(FutureTask.java:123)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
            at java.lang.Thread.run(Thread.java:595)

            I used embjopr 367 and Branch_5_x r88068.

            Show
            fjuma Farah Juma added a comment - After invoking the "List All Subscriptions" operation on a Topic that has multiple subscribers, the following ClassCastException now gets displayed in the operations history table (this is also described in JOPR-141 ): java.lang.ClassCastException: org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple at org.rhq.plugins.jbossas5.adapter.api.AbstractPropertyMapAdapter.convertToProperty(AbstractPropertyMapAdapter.java:35) at org.rhq.plugins.jbossas5.adapter.impl.configuration.PropertyListToCollectionValueAdapter.populatePropertyFromMetaValue(PropertyListToCollectionValueAdapter.java:88) at org.rhq.plugins.jbossas5.adapter.impl.configuration.PropertyListToCollectionValueAdapter.populatePropertyFromMetaValue(PropertyListToCollectionValueAdapter.java:48) at org.rhq.plugins.jbossas5.adapter.api.AbstractPropertyListAdapter.convertToProperty(AbstractPropertyListAdapter.java:40) at org.rhq.plugins.jbossas5.adapter.api.AbstractPropertyListAdapter.convertToProperty(AbstractPropertyListAdapter.java:35) at org.rhq.plugins.jbossas5.util.ConversionUtils.convertManagedOperationResults(ConversionUtils.java:408) at org.rhq.plugins.jbossas5.ManagedComponentComponent.invokeOperation(ManagedComponentComponent.java:132) 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 org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:484) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) I used embjopr 367 and Branch_5_x r88068.
            Hide
            jason.greene Jason Greene added a comment -

            There will not be a 5.1.1, moving to 5.2 for now

            Show
            jason.greene Jason Greene added a comment - There will not be a 5.1.1, moving to 5.2 for now
            Hide
            fjuma Farah Juma added a comment -

            I'm no longer seeing this error. When invoking the "List All Subscriptions" operation on a Topic that has multiple subscribers, I'm now seeing the error described in JOPR-204.

            Show
            fjuma Farah Juma added a comment - I'm no longer seeing this error. When invoking the "List All Subscriptions" operation on a Topic that has multiple subscribers, I'm now seeing the error described in JOPR-204 .

              People

              • Assignee:
                fjuma Farah Juma
                Reporter:
                fjuma Farah Juma
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development