Petals ESB CLI

No default connection available

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1.0
  • Fix Version/s: 2.1.1
  • Component/s: Command 'connect'
  • Security Level: Public
  • Description:
    Hide

    Using Petals CLI in command line mode, no default connection is available:

    > petals-cli.sh -c -- stop
    ERROR on command 'stop': org.ow2.petals.admin.api.exception.ContainerAdministrationException: org.ow2.petals.jmx.exception.ConnectionErrorException: no current connection to a remote Petals ESB

    According to the documentation, the connection should be established with the values defined in the preferences file.

    Show
    Using Petals CLI in command line mode, no default connection is available:
    > petals-cli.sh -c -- stop
    ERROR on command 'stop': org.ow2.petals.admin.api.exception.ContainerAdministrationException: org.ow2.petals.jmx.exception.ConnectionErrorException: no current connection to a remote Petals ESB
    According to the documentation, the connection should be established with the values defined in the preferences file.
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Thu, 12 Sep 2013 - 09:51:29 +0200

Fixed in trunk, documentation updated
Now:

  • no automatic connection in mode interactive or bacth, the command 'connect' is required before other commands requiring a connection
  • automatic connection in command line mode
Show
Christophe DENEUX added a comment - Thu, 12 Sep 2013 - 09:51:29 +0200 Fixed in trunk, documentation updated Now:
  • no automatic connection in mode interactive or bacth, the command 'connect' is required before other commands requiring a connection
  • automatic connection in command line mode

People

Dates

  • Created:
    Wed, 11 Sep 2013 - 14:29:22 +0200
    Updated:
    Thu, 12 Sep 2013 - 09:51:29 +0200
    Resolved:
    Thu, 12 Sep 2013 - 09:51:29 +0200