Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-267

Change Infinispan cache manager jmx name to be hostname:<jmx-port> based

XMLWordPrintable

      <galderz> until now, i had named the CacheManager in jopr as: global-jmx-domain@address
      <galderz> this is a bit of pain because the address changes everytime you restart infinispan
      <galderz> but jopr does not realise this and considers an infinispan started in same jmx port in same address to be the same
      <galderz> so, when you restart, u see infinispan cache manager in jopr but it has the wrong name, this will be confusing
      <galderz> heiko told me this is a limitation of the jopr
      <galderz> on top of that, if u wanna do things correctly and import the new cache manager, u need to delete the old one, let auto discovery run and get the new one
      <galderz> and then you're back to your starting point, so if had tweaked any scheduling options in the previous infinispan instance, you're back to defaults
      <galderz> so, i'm gonna change this name to simply be: global-jmx-domain@InetAddress.getLocalHost().getHostName():<jmx:port>
      <galderz> that way we'll avoid this confusion and you can always get the address from the RpcManager, so not big deal

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: