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

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
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
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
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
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.

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