Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-365

when configured ssl certificates not exists, startup will hang and no error messages

    XMLWordPrintableJSON

Details

    Description

      runnging demo of springmvc-server

      1. modify ssl.keystore to a wrong file name;
      2. start springmvc-server demo

      we will see startup is hang and no error messages is printed

       

      Root cause anaylse:

      For HttpServer in Verticals, vert.x will create a CloseHook and execute deploy callback. But HttpServer CloseHook will check if httpserver is created and listen is successful. if not it will not execute deploy callback and VertexUtils.blockDeploy will hang.

       

      Solutions:

      This is not a valid scenario, so just print the exceptions and give user diagnosis information is enough now. We will future to feedback to vert.x to see better solution.

      Attachments

        Issue Links

          Activity

            People

              liubao68 liubao
              liubao68 liubao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: