Menu

#27 hard coded ports

open
5
2008-06-25
2008-04-20
No

in client.java

the hard coded ports need to be set through a properties file

see

private String passPort = "8080"; // 8081 - debug; endPort - Axis2
private String endPort = "8080"; // 8080 - http; 8443 - https
private String protocol = "http"; // http; https

often port 8080 will already be busy

Discussion

  • Gregor von Laszewski

    Logged In: YES
    user_id=226052
    Originator: YES

    not only the ports, but also

    private String passPort = "8080"; // 8081 - debug; endPort - Axis2
    private String endPort = "8080"; // 8080 - http; 8443 - https
    private String protocol = "http"; // http; https

    private String clientRepositories = GSSystem.INSTALL_DIR + "/build/client_r\
    epositories";
    private String policyFile = GSSystem.INSTALL_DIR + "/policy\
    .xml";
    private String clientKeyStore = GSSystem.INSTALL_DIR + "/client.jks";

    private String serverURL = "localhost";
    private String servicePath = "/axis2/services/GridShellService";
    private String service = "submitCommand";

     
  • Gregor von Laszewski

    • labels: 1083579 --> old-gridshell
     

Log in to post a comment.

MongoDB Logo MongoDB