You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (JIRA)" <ji...@apache.org> on 2018/03/02 08:53:00 UTC

[jira] [Created] (SCB-365) when configured ssl certificates not exists, startup will hang and no error messages

liubao created SCB-365:
--------------------------

             Summary: when configured ssl certificates not exists, startup will hang and no error messages
                 Key: SCB-365
                 URL: https://issues.apache.org/jira/browse/SCB-365
             Project: Apache ServiceComb
          Issue Type: Bug
          Components: Java-Chassis
    Affects Versions: java-chassis-1.0.0-m1
            Reporter: liubao
            Assignee: liubao


runnging demo of springmvc-server
 # modify ssl.keystore to a wrong file name;
 # 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)