Petals ESB Container

Bad version returns by the command 'petals-esb.sh --version'

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.1.0
  • Fix Version/s: 5.0.1
  • Component/s: Administration
  • Security Level: Public
  • Description:
    Hide

    The command petals-esb.sh --version returns the value 2.1.0 as Petals container version instead of 4.1.0:

    cdeneux@cdeneux-laptop:~/petals-esb-4.1/bin$ ./petals-esb.sh --version
    Petals ESB Server 2.1.0
    Java(TM) SE Runtime Environment 1.6.0_26-b03
    Linux 3.2.0-26-generic-pae
    Show
    The command petals-esb.sh --version returns the value 2.1.0 as Petals container version instead of 4.1.0:
    cdeneux@cdeneux-laptop:~/petals-esb-4.1/bin$ ./petals-esb.sh --version
    Petals ESB Server 2.1.0
    Java(TM) SE Runtime Environment 1.6.0_26-b03
    Linux 3.2.0-26-generic-pae
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Thu, 26 Jul 2012 - 11:41:58 +0200
Field Original Value New Value
Summary Bad version returns by {{petals-esb.sh --version}} Bad version returns by the command 'petals-esb.sh --version'
Fix Version/s 4.1.1 [ 10356 ]
Priority Major [ 3 ]
Description The command {{petals-esb.sh --version}} returns the value 2.1.0 as Petals container version instead of 4.1.0 The command {{petals-esb.sh --version}} returns the value 2.1.0 as Petals container version instead of 4.1.0:
{code}
cdeneux@cdeneux-laptop:~/petals-esb-4.1/bin$ ./petals-esb.sh --version
Petals ESB Server 2.1.0
Java(TM) SE Runtime Environment 1.6.0_26-b03
Linux 3.2.0-26-generic-pae

{code}
Hide
Christophe DENEUX added a comment - Tue, 25 Sep 2012 - 10:02:39 +0200 - edited

The version displayed is the version of petals-launcher. It is better to display the version of petals-esb.
Perhaps can you print the versions of all our artifacts ?:

Java(TM) SE Runtime Environment 1.6.0_26-b03
Linux 3.2.0-26-generic-pae
Petals ESB libraries:
  - Petals Launcher: 2.1.0
  - EasyCommons IO: 1.1
  - EasyCommons Lang: 1.1
  - ...
  - Petals JBI: 1.2.0
  - Petals Kernel: 3.3
  - ...

For each of our own libraries, its name and version could be extracted from its manifest.

Show
Christophe DENEUX added a comment - Tue, 25 Sep 2012 - 10:02:39 +0200 - edited The version displayed is the version of petals-launcher. It is better to display the version of petals-esb. Perhaps can you print the versions of all our artifacts ?:
Java(TM) SE Runtime Environment 1.6.0_26-b03
Linux 3.2.0-26-generic-pae
Petals ESB libraries:
  - Petals Launcher: 2.1.0
  - EasyCommons IO: 1.1
  - EasyCommons Lang: 1.1
  - ...
  - Petals JBI: 1.2.0
  - Petals Kernel: 3.3
  - ...
For each of our own libraries, its name and version could be extracted from its manifest.
Christophe DENEUX made changes - Tue, 24 Sep 2013 - 09:48:13 +0200
Fix Version/s VNext [ 10413 ]
Fix Version/s 4.2.0 [ 10356 ]
Hide
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 15:51:05 +0200

Postponed to 5.0.1 or upper

Show
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 15:51:05 +0200 Postponed to 5.0.1 or upper
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 15:51:05 +0200
Fix Version/s 5.0.1 [ 10579 ]
Fix Version/s 5.0.0 [ 10413 ]
Hide
Christophe DENEUX added a comment - Fri, 9 Oct 2015 - 15:43:44 +0200

To be coherent with Petals CLI side (see PETALSESBCLI-36), the relevant version information are the versions of org.ow2.petals:petals-microkernel, and versions of µKernel extensions and mutable implementations.

> ./petals-esb.sh --version
Petals ESB µKernel 4.0.0
Petals ESB Registry Overlay Client 1.0.0
Petals ESB Autoloader 1.0.1
Petals ESB Artifact Repository 1.0.1
Petals ESB WS-API 1.0.1
Petals Registry Overlay 1.0.0
OpenJDK Runtime Environment 24.79-b02 Oracle Corporation
Linux 3.19.0-30-generic amd64
Show
Christophe DENEUX added a comment - Fri, 9 Oct 2015 - 15:43:44 +0200 To be coherent with Petals CLI side (see PETALSESBCLI-36), the relevant version information are the versions of org.ow2.petals:petals-microkernel, and versions of µKernel extensions and mutable implementations.
> ./petals-esb.sh --version
Petals ESB µKernel 4.0.0
Petals ESB Registry Overlay Client 1.0.0
Petals ESB Autoloader 1.0.1
Petals ESB Artifact Repository 1.0.1
Petals ESB WS-API 1.0.1
Petals Registry Overlay 1.0.0
OpenJDK Runtime Environment 24.79-b02 Oracle Corporation
Linux 3.19.0-30-generic amd64
Christophe DENEUX made changes - Fri, 9 Oct 2015 - 15:45:04 +0200
Link This issue depends on PETALSESBCLI-36 [ PETALSESBCLI-36 ]
Christophe DENEUX made changes - Fri, 9 Oct 2015 - 15:45:36 +0200
Link This issue blocks PETALSESBCLI-36 [ PETALSESBCLI-36 ]
Christophe DENEUX made changes - Fri, 9 Oct 2015 - 15:45:47 +0200
Link This issue depends on PETALSESBCLI-36 [ PETALSESBCLI-36 ]
Hide
Christophe DENEUX added a comment - Mon, 12 Oct 2015 - 16:37:13 +0200 - edited

As when using './petals-esb.sh --version', no Petals container is running, we can't use the JMX API to get all these information. We will display only versions available in the scope of the Petals launcher:

> ./petals-esb.sh --version
Petals ESB Launcher 2.2.1
Petals ESB µKernel 4.0.0
OpenJDK Runtime Environment 24.79-b02 Oracle Corporation
Linux 3.19.0-30-generic amd64
Show
Christophe DENEUX added a comment - Mon, 12 Oct 2015 - 16:37:13 +0200 - edited As when using './petals-esb.sh --version', no Petals container is running, we can't use the JMX API to get all these information. We will display only versions available in the scope of the Petals launcher:
> ./petals-esb.sh --version
Petals ESB Launcher 2.2.1
Petals ESB µKernel 4.0.0
OpenJDK Runtime Environment 24.79-b02 Oracle Corporation
Linux 3.19.0-30-generic amd64
Christophe DENEUX made changes - Mon, 12 Oct 2015 - 17:07:24 +0200
Status New [ 10000 ] Open [ 10002 ]
Christophe DENEUX made changes - Mon, 12 Oct 2015 - 17:07:29 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Mon, 12 Oct 2015 - 17:07:43 +0200

Version information reviewed

Show
Christophe DENEUX added a comment - Mon, 12 Oct 2015 - 17:07:43 +0200 Version information reviewed
Christophe DENEUX made changes - Mon, 12 Oct 2015 - 17:07:43 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
1173d 5h 26m
1
Christophe DENEUX
Mon, 12 Oct 2015 - 17:07:24 +0200
Open Open In Progress In Progress
5s
1
Christophe DENEUX
Mon, 12 Oct 2015 - 17:07:29 +0200
In Progress In Progress Resolved Resolved
14s
1
Christophe DENEUX
Mon, 12 Oct 2015 - 17:07:43 +0200



People

Dates

  • Created:
    Thu, 26 Jul 2012 - 11:41:06 +0200
    Updated:
    Mon, 12 Oct 2015 - 17:07:43 +0200
    Resolved:
    Mon, 12 Oct 2015 - 17:07:43 +0200