Petals ESB CLI

Command arguments are refused on the command line

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 2.0.0
  • Fix Version/s: 2.1.0
  • Component/s: Command-line
  • Security Level: Public
  • Description:
    Hide

    We are not able to execute a command with argument in commmand line:

    ./petals-cli.sh -c deploy -u file:///home/.../petals-bc-soap-4.3.0-SNAPSHOT.zip -D myParam=myValue

    results in:

    ERROR: Unrecognized option: -D
    
    usage: Petals JMX Command Line Interface
                  
    [-d] [-h <host> -n <port> | -h <host> -n <port> -u <user> -p <password> | -a <alias>][-H
    | -V | [--file] <filename> | -c <command> | -C]
     -a,--alias <alias>         Connection alias in the preference file.
     -c,--command <command>     Execute a command given on the command line.
     -C,--console               Enable the mode 'console'.
     -d,--debug                 Print stack trace and debugging informations
        --file <filename>       Enable the script file execution. If filename is '-',
                                commands are read from the stdin.
     -H,--help                  Print this help message and exit.
     -h,--host <host>           JMX host of the remote petals ESB.
     -n,--port <port>           JMX port of the remote petals ESB.
     -p,--password <password>   JMX password of the remote petals ESB.
     -u,--user <user>           JMX user of the remote petals ESB.
     -V,--version               Print the version number and exit.
    
    Which evolution would you like on Petals? Share it! http://www.petalslink.com/feedback
    Show
    We are not able to execute a command with argument in commmand line:
    ./petals-cli.sh -c deploy -u file:///home/.../petals-bc-soap-4.3.0-SNAPSHOT.zip -D myParam=myValue
    results in:
    ERROR: Unrecognized option: -D
    
    usage: Petals JMX Command Line Interface
                  
    [-d] [-h <host> -n <port> | -h <host> -n <port> -u <user> -p <password> | -a <alias>][-H
    | -V | [--file] <filename> | -c <command> | -C]
     -a,--alias <alias>         Connection alias in the preference file.
     -c,--command <command>     Execute a command given on the command line.
     -C,--console               Enable the mode 'console'.
     -d,--debug                 Print stack trace and debugging informations
        --file <filename>       Enable the script file execution. If filename is '-',
                                commands are read from the stdin.
     -H,--help                  Print this help message and exit.
     -h,--host <host>           JMX host of the remote petals ESB.
     -n,--port <port>           JMX port of the remote petals ESB.
     -p,--password <password>   JMX password of the remote petals ESB.
     -u,--user <user>           JMX user of the remote petals ESB.
     -V,--version               Print the version number and exit.
    
    Which evolution would you like on Petals? Share it! http://www.petalslink.com/feedback
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Wed, 12 Sep 2012 - 12:12:20 +0200
Field Original Value New Value
Fix Version/s 2.0.1 [ 10365 ]
Priority Blocker [ 1 ]
Description We are not able to execute a command with argument in commmand line:
{code}
./petals-cli.sh -c deploy -u file:///home/cdeneux/workspace/petalslink-product-trunk/dev/prod/petals/components-sls/components/petals-bc-soap/target/petals-bc-soap-4.3.0-SNAPSHOT.zip -D myParam=myValue
{code}
results in:
{code}
ERROR: Unrecognized option: -D

usage: Petals JMX Command Line Interface
              
[-d] [-h <host> -n <port> | -h <host> -n <port> -u <user> -p <password> | -a <alias>][-H
| -V | [--file] <filename> | -c <command> | -C]
 -a,--alias <alias> Connection alias in the preference file.
 -c,--command <command> Execute a command given on the command line.
 -C,--console Enable the mode 'console'.
 -d,--debug Print stack trace and debugging informations
    --file <filename> Enable the script file execution. If filename is '-',
                            commands are read from the stdin.
 -H,--help Print this help message and exit.
 -h,--host <host> JMX host of the remote petals ESB.
 -n,--port <port> JMX port of the remote petals ESB.
 -p,--password <password> JMX password of the remote petals ESB.
 -u,--user <user> JMX user of the remote petals ESB.
 -V,--version Print the version number and exit.

Which evolution would you like on Petals? Share it! http://www.petalslink.com/feedback

{code}
We are not able to execute a command with argument in commmand line:
{code}
./petals-cli.sh -c deploy -u file:///home/.../petals-bc-soap-4.3.0-SNAPSHOT.zip -D myParam=myValue
{code}
results in:
{code}
ERROR: Unrecognized option: -D

usage: Petals JMX Command Line Interface
              
[-d] [-h <host> -n <port> | -h <host> -n <port> -u <user> -p <password> | -a <alias>][-H
| -V | [--file] <filename> | -c <command> | -C]
 -a,--alias <alias> Connection alias in the preference file.
 -c,--command <command> Execute a command given on the command line.
 -C,--console Enable the mode 'console'.
 -d,--debug Print stack trace and debugging informations
    --file <filename> Enable the script file execution. If filename is '-',
                            commands are read from the stdin.
 -H,--help Print this help message and exit.
 -h,--host <host> JMX host of the remote petals ESB.
 -n,--port <port> JMX port of the remote petals ESB.
 -p,--password <password> JMX password of the remote petals ESB.
 -u,--user <user> JMX user of the remote petals ESB.
 -V,--version Print the version number and exit.

Which evolution would you like on Petals? Share it! http://www.petalslink.com/feedback

{code}
Christophe DENEUX made changes - Fri, 14 Sep 2012 - 15:29:22 +0200
Status New [ 10000 ] Open [ 10002 ]
Christophe DENEUX made changes - Fri, 14 Sep 2012 - 15:29:24 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Fri, 14 Sep 2012 - 15:29:33 +0200

Fixed in trunk

Show
Christophe DENEUX added a comment - Fri, 14 Sep 2012 - 15:29:33 +0200 Fixed in trunk
Christophe DENEUX made changes - Fri, 14 Sep 2012 - 15:29:33 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Mon, 17 Sep 2012 - 17:20:36 +0200

Reopen because of insufficient fix

Show
Christophe DENEUX added a comment - Mon, 17 Sep 2012 - 17:20:36 +0200 Reopen because of insufficient fix
Christophe DENEUX made changes - Mon, 17 Sep 2012 - 17:20:36 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Tue, 18 Sep 2012 - 10:43:02 +0200
Link This issue depends on PETALSESBCLI-44 [ PETALSESBCLI-44 ]
Hide
Christophe DENEUX added a comment - Tue, 18 Sep 2012 - 10:43:21 +0200

Depends on PETALSESBCLI-44

Show
Christophe DENEUX added a comment - Tue, 18 Sep 2012 - 10:43:21 +0200 Depends on PETALSESBCLI-44
Christophe DENEUX made changes - Tue, 18 Sep 2012 - 13:47:35 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Tue, 18 Sep 2012 - 13:47:50 +0200

Fixed by PETALSCLI-44

Show
Christophe DENEUX added a comment - Tue, 18 Sep 2012 - 13:47:50 +0200 Fixed by PETALSCLI-44
Christophe DENEUX made changes - Tue, 18 Sep 2012 - 13:47:50 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Thu, 20 Sep 2012 - 17:02:26 +0200
Component/s Command-line [ 10239 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
2d 3h 17m
1
Christophe DENEUX
Fri, 14 Sep 2012 - 15:29:22 +0200
Open Open In Progress In Progress
2s
1
Christophe DENEUX
Fri, 14 Sep 2012 - 15:29:24 +0200
In Progress In Progress Resolved Resolved
9s
1
Christophe DENEUX
Fri, 14 Sep 2012 - 15:29:33 +0200
Resolved Resolved Open Open
3d 1h 51m
1
Christophe DENEUX
Mon, 17 Sep 2012 - 17:20:36 +0200
Open Open In Progress In Progress
20h 26m
1
Christophe DENEUX
Tue, 18 Sep 2012 - 13:47:35 +0200
In Progress In Progress Resolved Resolved
15s
1
Christophe DENEUX
Tue, 18 Sep 2012 - 13:47:50 +0200



People

Dates

  • Created:
    Wed, 12 Sep 2012 - 12:11:49 +0200
    Updated:
    Thu, 20 Sep 2012 - 17:02:26 +0200
    Resolved:
    Tue, 18 Sep 2012 - 13:47:50 +0200