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

Add a single shell script to handle cache server startup

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Rather than having separate startup scripts for memcached and hotrod, a single script should be used, which would take in a "protocol" parameter to determine which server module to start.

      From my email to infinispan-dev:

      "I notice you have a memcached.sh script to start the memcached server. I believe this should be something like startServer.sh, given that we are not actually starting memcached?

      And perhaps the script could be reused for HotRod as well ... passing in a flag to specify which protocol to speak, perhaps something like:

      $ startServer.sh -p memcached

      or

      $ startServer.sh -p hotrod

      Perhaps org.infinispan.server.memcached.Main could be in the server/core module instead, and based on the protocol flag passed in, kick start the appropriate server? WDYT?"

              rh-ee-galder Galder ZamarreƱo
              manik_jira Manik Surtani (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: