1 2 3 Previous Next 30 Replies Latest reply on Apr 6, 2011 1:01 PM by jaikiran Go to original post
      • 15. Re: Two jboss with hornetq
        ataylor

        you have the connector of your Business server pointing to the acceptor of the jms server so obviously this wont work. The connector defines how a client should connect to the server where it is configured.

         

        All this is in the user manual and quite clear

        • 16. Two jboss with hornetq
          techy_kans

          Its clearly given but cannot understand.

           

          According to me the web application is a client which tries to connect to the JMS server and send a message.

          Again the Business server is a client which tries to consume the message from the JMS Server.

           

          And so i have given a connector in the Business server pointing to the JMS server.

           

          Am I right?

          • 17. Two jboss with hornetq
            clebert.suconic

            2.0.0.GA? Wow.. tha'ts pretty old.

             

             

            You should go to the latest version which is 2.2.2.GA

            • 18. Two jboss with hornetq
              ataylor

              Like i say, this is all in the user manual, and there are plenty of examples demonstrating this in the distro.

              • 19. Two jboss with hornetq
                techy_kans

                Thanks Andy

                 

                But the example which suits my condition is not exactly given (As my two jboss is running in the same machine)

                 

                One example which is close to my requirement is the bridge which says that source and destination queues are different

                 

                But why to have two queues if there is a possibility of the MDB listening to a JMS server whose JNDI runs on a different port..

                • 20. Two jboss with hornetq
                  ataylor

                  you dont have to change anything, you said you already have it working on remote machines, all you need to do is change the hosts and ports in the configuration, its pretty simple stuff.

                  • 21. Two jboss with hornetq
                    techy_kans

                    Err... should i say that i failed in making you understand my problem???

                     

                    I want a similar architecture in my local system.. Though i have changed the host as localhost the consumer count for the request queue shows as 0 where as if i use only one server and change my JNDI as 1099 the consumer count shows as 15 which means a consumer (MDB listener) is up and running.

                     

                    Two jboss - one running in 8080 and another in 8180... The jndi are 1099 and 1199 respectively

                     

                    If i make use of the same configuration files in the dev/test environments and  change the host to localhost  then also it is not working...

                    • 22. Two jboss with hornetq
                      ataylor

                      you said you wanted the same architecture just on your local machine, all you need to do is change the host and port configs.

                       

                      If you dont want the same architecture then you need to tell me what you want to acheive.

                      • 23. Two jboss with hornetq
                        techy_kans
                        you said you wanted the same architecture just on your local machine, all you need to do is change the host and port configs.

                         

                        Yes i need the same architecture

                         

                        But what changes should i make.. I gave localhost and the port numbers for jndi as 1199 . The 5445 port mentioned in hornetq-configuration.xml is not changed but the host is changed to localhost

                         

                        Even then IT IS NOT WORKING. The consumer count on the first JMS JBOSS server shows as 0

                         

                        Should i change any other port in any other xml files?

                        • 24. Two jboss with hornetq
                          ataylor

                          if its the same architecture you want the change the host and ports like i said. Read the user manual and look at the examples and figure it out for yourself.

                          • 25. Two jboss with hornetq
                            techy_kans

                            Thanks for your great help. It was very much useful.

                            • 26. Two jboss with hornetq
                              clebert.suconic

                              Kannan S wrote:

                               

                              Thanks for your great help. It was very much useful.

                              why

                               

                              you still having issues?

                              • 27. Two jboss with hornetq
                                techy_kans
                                Read the user manual and look at the examples and figure it out for yourself.

                                 

                                If i am able to understand the examples and try to figure it out for myself why do i come to developer forums. I never jump directly to forums. I would go through the examples/ manuals and will try to understand. But inspite of implementing an example i found that the example ,when changed according the requirements, does not work actually and thats why the long sad face..

                                • 28. Two jboss with hornetq
                                  clebert.suconic

                                  We are having a hard time understanding what you are trying to achieve. If you can't communicate well.. you can't really demand a good answer.

                                  • 29. Two jboss with hornetq
                                    clebert.suconic

                                    Clebert Suconic wrote:

                                     

                                    We are having a hard time understanding what you are trying to achieve. If you can't communicate well.. you can't really demand a good answer.

                                     

                                     

                                    Even though we do our best ;-)