Hello EveryBody ,
Iam New to this Community and ofcourse new to JbossMessaging as well..:)) Iam facing Small Problem while adding topics / Queues In Jboss...
I have created a topic in *-service.xml and kept it in deploy folder....... Topic Created Successfully and the MDB's those are listening to Topic also receiving the messages and processing them . But the problem is When I Open Admin Console to view the list of Topics & Queues , The Topic status which i have created is down(Status Unavailable) and as soon as i click on that node , i can see the big list of exceptions in console............
like
Caused by: javax.management.AttributeNotFoundException: not found: AllSubscripti
onsCount
at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanIn
voker.java:335)
at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java
:565)
at org.jboss.system.microcontainer.ServiceControllerContext.get(ServiceC
ontrollerContext.java:176)
at org.jboss.kernel.plugins.registry.basic.BasicKernelBus$1.dispatch(Bas
icKernelBus.java:63)
at org.jboss.kernel.plugins.registry.basic.BasicKernelBus$1.dispatch(Bas
& I have Created Topic like this way :
<mbean
code="org.jboss.jms.server.destination.TopicService"
name="jboss.messaging.destination:service=Topic,name=ReceivingTopic"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<attribute name="JNDIName">MessageBeanTopic</attribute>
<depends optional-attribute-name="ServerPeer">
jboss.messaging:service=ServerPeer
</depends>
<depends>
jboss.messaging:service=PostOffice
</depends>
</mbean>
Pls help me as i have to give demo on this ............Is there any Problem with Topic Creation ?? If so why MDB's Receiving Messages???