6 Replies Latest reply on Mar 31, 2008 2:44 PM by dsun

    Multiple JVM ESB instances communication

    dsun

      1 We have multiple ESBs running in their own JVM on one Physical box. We want to have one EPR invoke a remote EPR in different JVM, is it possible?


      2 if we have multiple ESBs running within one JVM, is there any document showing how to enable the communication among EPRs ?

      Thanks

        • 1. Re: Multiple JVM ESB instances communication
          noel.rocher

          Hi,

          The way it works : invocation will ask the registry which EPRs are available for a category/service. Then choose one and send him the message. No matter where the endpoint is located (in the same JVM or in another one).

          • 2. Re: Multiple JVM ESB instances communication
            kconner

             

            "dsun" wrote:
            1 We have multiple ESBs running in their own JVM on one Physical box. We want to have one EPR invoke a remote EPR in different JVM, is it possible?

            Yes, the only requirement would be that they share the registry configuration, i.e. that the local jUDDI instances use the same database.

            "dsun" wrote:
            2 if we have multiple ESBs running within one JVM, is there any document showing how to enable the communication among EPRs ?

            If you mean multiple services then it would be done automatically through the registry.

            It is no possible to have multiple ESBs within the same JVM at present, there is no mechanism for providing the isolation. This is something that will be fixed in the next major release, ESB 5.

            • 3. Re: Multiple JVM ESB instances communication
              dsun


              "dsun" wrote:
              2 if we have multiple ESBs running within one JVM, is there any document showing how to enable the communication among EPRs ?

              If you mean multiple services then it would be done automatically through the registry.

              It is no possible to have multiple ESBs within the same JVM at present, there is no mechanism for providing the isolation. This is something that will be fixed in the next major release, ESB 5.

              • 4. Re: Multiple JVM ESB instances communication
                dsun

                I currently drop in A.esb and B.esb into deploy folder, and then use [run -c default] to kick off JVM. That what I mean multiple ESBs within one JVM. In this case, can we use the same solution, i.e. share the registry configuration?

                • 5. Re: Multiple JVM ESB instances communication
                  kconner

                  Yes, you can deploy multiple .esb artifacts into a single ESB VM. It is not necessary to make any configuration changes if you wish to do this.

                  • 6. Re: Multiple JVM ESB instances communication
                    dsun

                    I have successfully tested to have multiple *.esbs within one ESB JVM to invoke each other based on Registry and Courier API.

                    I am about to test Remote EPR communication among multiple JVMs. Should I simply have multiple servers in multiple JVMs share the same data folder? Will there be a conflic when 2 ESB try to write to the same jUDDI database?