Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-1603

Command Line Interface is hard-coded to work on port 8080

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • OpenIDM 2.1.0
    • None
    • Module - Command line
    • None

      Description

      When OpenIDM is configured to use another port than the default one, then the CLI does not work because it tries to use 8080 port instead of the custom one:

      [MBP]$ ./cli.sh configexport tmpexport
      Executing ./cli.sh...
      Starting shell in /Users/laurent/Installs/openidm
      Using boot properties at /Users/laurent/Installs/openidm/conf/boot/boot.properties
      [ConfigExport] Export JSON configurations to:
      [ConfigExport] 	/Users/laurent/Installs/openidm/tmpexport
      Jan 24, 2014 5:45:18 PM org.restlet.ext.httpclient.HttpClientHelper start
      INFO: Starting the HTTP client
      Jan 24, 2014 5:45:18 PM org.restlet.ext.httpclient.internal.HttpMethodCall sendRequest
      WARNING: An error occurred during the communication with the remote HTTP server.
      org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:8080 refused
      

      This problem was reported on the mailing list by a user: https://lists.forgerock.org/pipermail/openidm/2014-January/002433.html

        Attachments

          Activity

            People

            andi Andi Egloff
            laurent.bristiel Laurent Bristiel [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: