Petals ESB Container

Error restart Petals ESB after to have installed a faulty component

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.1.1
  • Fix Version/s: 3.1.2, 4.0.0
  • Security Level: Public
  • Description:
    Hide

    1 - Start a clean Petals ESB node
    2 - Install a component in which a library is missing to create a ClassNotFoundException
    --> Error during installation, OK
    3 - Install the corrected component
    --> Install successfull
    4 - Stop Petals ESB node
    5 - Restart Petals ESB node
    --> An error occurs about recovering the component installed at step 2

    Show
    1 - Start a clean Petals ESB node 2 - Install a component in which a library is missing to create a ClassNotFoundException --> Error during installation, OK 3 - Install the corrected component --> Install successfull 4 - Stop Petals ESB node 5 - Restart Petals ESB node --> An error occurs about recovering the component installed at step 2
  • Environment:
    -
  1. petals-bc-filetransfer-3.0-SNAPSHOT.zip
    (4.49 MB)
    Christophe DENEUX
    Mon, 21 Mar 2011 - 18:31:25 +0100

Activity

Hide
Christophe DENEUX added a comment - Mon, 21 Mar 2011 - 09:30:48 +0100 - edited

A component entry is always registered after step 2 in the system state and repository. So the first installed component is recovered.

--> To prevent two registration of the same component in the repository and system state, add a check to stop a component installation if an entry already exists in the system-state.xml and repository with the same JBI identifier.
--> And fix the undo processing to remove the installation of the first entry in the system state.

Show
Christophe DENEUX added a comment - Mon, 21 Mar 2011 - 09:30:48 +0100 - edited A component entry is always registered after step 2 in the system state and repository. So the first installed component is recovered. --> To prevent two registration of the same component in the repository and system state, add a check to stop a component installation if an entry already exists in the system-state.xml and repository with the same JBI identifier. --> And fix the undo processing to remove the installation of the first entry in the system state.
Hide
Christophe DENEUX added a comment - Mon, 21 Mar 2011 - 18:31:25 +0100

The faulty component: BC FileTransfer 3.0-SNAPSHOT

Show
Christophe DENEUX added a comment - Mon, 21 Mar 2011 - 18:31:25 +0100 The faulty component: BC FileTransfer 3.0-SNAPSHOT
Hide
Christophe DENEUX added a comment - Mon, 21 Mar 2011 - 18:33:20 +0100

--> Undo processing has been fixed to be launch on Throwable error
--> Checks have been added on repository ans system state management is the component already exists

Show
Christophe DENEUX added a comment - Mon, 21 Mar 2011 - 18:33:20 +0100 --> Undo processing has been fixed to be launch on Throwable error --> Checks have been added on repository ans system state management is the component already exists
Hide
Christophe DENEUX added a comment - Mon, 21 Mar 2011 - 18:33:32 +0100

To merge in the main line

Show
Christophe DENEUX added a comment - Mon, 21 Mar 2011 - 18:33:32 +0100 To merge in the main line
Hide
Christophe DENEUX added a comment - Fri, 25 Mar 2011 - 12:53:12 +0100 - edited

Several unit tests, javadoc and bug fix improvements added in the branch 3.1.x (https://svn.petalslink.org/svnroot/branches-legacy/petals-enterprise-3.1.x/petals/container/petals-kernel).

Show
Christophe DENEUX added a comment - Fri, 25 Mar 2011 - 12:53:12 +0100 - edited Several unit tests, javadoc and bug fix improvements added in the branch 3.1.x (https://svn.petalslink.org/svnroot/branches-legacy/petals-enterprise-3.1.x/petals/container/petals-kernel).
Hide
noddoux added a comment - Mon, 12 Sep 2011 - 17:37:28 +0200

Merged on trunk

Show
noddoux added a comment - Mon, 12 Sep 2011 - 17:37:28 +0200 Merged on trunk

People

Dates

  • Created:
    Mon, 21 Mar 2011 - 09:27:36 +0100
    Updated:
    Tue, 13 Sep 2011 - 15:47:06 +0200
    Resolved:
    Tue, 13 Sep 2011 - 15:47:06 +0200