Petals BC REST

Unable to configure port of the embedded HTTP server with Petals CLI

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.0.1-BC
  • Fix Version/s: 1.1.0-BC
  • Component/s: Consumer mode
  • Security Level: Public
  • Description:
    Hide

    According to the Petals BC Rest documentation, we should be able to configure the TCP port on which the HTTP server listens incoming REST requests.
    No attribute is available to configure it at installation time using Petals CLI:

    >petals-cli@localhost:7700>deploy -u mvn:org.ow2.petals/petals-bc-rest/1.1.0-SNAPSHOT/zip -D port=8099
    AVERTISSEMENT: The component installer is already loaded and only loaded, it has been automatically unloaded.
    ERROR on command 'deploy': org.ow2.petals.admin.api.exception.ArtifactAdministrationException: The parameter 'port' does not exist or is not settable for this component

    It seems that the configuration MBean of the component does not contain attribute associated to this parameter.

    Show
    According to the Petals BC Rest documentation, we should be able to configure the TCP port on which the HTTP server listens incoming REST requests. No attribute is available to configure it at installation time using Petals CLI:
    >petals-cli@localhost:7700>deploy -u mvn:org.ow2.petals/petals-bc-rest/1.1.0-SNAPSHOT/zip -D port=8099
    AVERTISSEMENT: The component installer is already loaded and only loaded, it has been automatically unloaded.
    ERROR on command 'deploy': org.ow2.petals.admin.api.exception.ArtifactAdministrationException: The parameter 'port' does not exist or is not settable for this component
    It seems that the configuration MBean of the component does not contain attribute associated to this parameter.
  • Environment:
    -

Activity

People

Dates

  • Created:
    Fri, 17 Feb 2017 - 17:47:32 +0100
    Updated:
    Fri, 17 Feb 2017 - 18:05:41 +0100
    Resolved:
    Fri, 17 Feb 2017 - 18:05:41 +0100