1 2 Previous Next 25 Replies Latest reply on Dec 16, 2013 11:39 AM by jbertram Go to original post
      • 15. Re: Re: Re: bridge not working, why?
        ohmygod

        Not working. I have deleted data, log, tmp folders under standalone directory and restart server but still see there are two same items for each of them.

        • 16. Re: bridge not working, why?
          ohmygod

          I am also seeing these duplicate items. Are they normal?

          5.jpg6.jpg7.jpg

          • 17. Re: Re: Re: bridge not working, why?
            ataylor

            without some sort of test or example its difficult me to really help here.

            • 18. Re: bridge not working, why?
              ohmygod

              I do not think this relates to my project. I just used a clean jboss eap 6.1.0 version and started it with standalone-full-ha.xml and also saw the same case from jconsole.

               

              Can you confirm if this is really a problem or just normal situation?

               

              8.jpg

              • 19. Re: bridge not working, why?
                ataylor

                no its not a normal situation, your not pointing both your servers at the same journal by any chance?

                • 20. Re: bridge not working, why?
                  ohmygod

                  Sorry, I am not sure what you are meaning. For the clean jboss eap 6.1.0 server, I just started it with standalone-full-ha.xml config file, without any of my project deployed in it and without chaning any configuration.

                  • 21. Re: bridge not working, why?
                    ataylor

                    you said you are running 2 servers on the same machine, are they using the same journal directory?

                    • 22. Re: bridge not working, why?
                      jbertram

                      I believe I see what is happening.  As a sanity check I started a fresh copy of EAP 6.1 using standalone-ha-full.xml and hooked up JConsole to it.  What you're looking at are the MBeans for the "messaging" subsystem and while there appear to be duplicates each of those objects is actually different even though it has the same name.  For example, if you actually inspect the two entries with the name "#" you will see that one is for security-settings and the other is for address-settings.  Likewise with the entries named "netty" - one is for the connector named "netty" the other is for the acceptor named "netty".

                       

                      So from everything I can see this is normal.

                      • 23. Re: bridge not working, why?
                        jbertram

                        I was curious so I added this to my configuration:

                         

                           <jms-destinations>

                               <jms-queue name="testQueue">

                                   <entry name="jms/queue/test"/>

                                   <entry name="java:jboss/exported/jms/queue/test"/>

                               </jms-queue>

                           </jms-destinations>

                         

                        And I also noticed 2 entries for "jms.queue.testQueue" in JConsole.  As before, both of these entries point to different resources - one for the underlying HornetQ queue and one for the underlying HornetQ address (both of which are required to implement a JMS queue in HornetQ).  If you actually inspect the MBeanInfo for the entry you'd see this.  The ObjectNames are different as well as the Descriptions.  The Description for the address even says, 'A runtime-only resource representing a HornetQ "address". Zero or more queues can be bound to a single address. When a message is routed, it is routed to the set of queues bound to the message's address.'

                        1 of 1 people found this helpful
                        • 24. Re: Re: bridge not working, why?
                          ohmygod

                          Thanks, but why is there duplicate name for the testQueue and testTopic? You can add below to check. I do not understand what the same items actually mean.

                          <jms-destinations>
                                              <jms-queue name="testQueue">
                                                  <entry name="queue/test"/>
                                                  <entry name="java:jboss/exported/jms/queue/test"/>
                                              </jms-queue>
                          </jms-destinations>
                          
                          
                          • 25. Re: Re: bridge not working, why?
                            jbertram

                            I already answered that question.  See above.

                            1 2 Previous Next