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.
Christophe DENEUX made changes - Mon, 21 Mar 2011 - 09:30:48 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Assignee Roland Naudin [ rnaudin ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Mon, 21 Mar 2011 - 09:30:53 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Mon, 21 Mar 2011 - 18:30:06 +0100
Summary Error restart Petals ESB after to have installed a buggy component Error restart Petals ESB after to have installed a faulty component
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
Christophe DENEUX made changes - Mon, 21 Mar 2011 - 18:31:25 +0100
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
Christophe DENEUX made changes - Mon, 21 Mar 2011 - 18:33:20 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 3.1.2 [ 10156 ]
Resolution Fixed [ 1 ]
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
Christophe DENEUX made changes - Mon, 21 Mar 2011 - 18:33:32 +0100
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
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
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
3m 12s
1
Christophe DENEUX
Mon, 21 Mar 2011 - 09:30:48 +0100
Open Open In Progress In Progress
5s
1
Christophe DENEUX
Mon, 21 Mar 2011 - 09:30:53 +0100
In Progress In Progress Resolved Resolved
9h 2m
1
Christophe DENEUX
Mon, 21 Mar 2011 - 18:33:20 +0100
Resolved Resolved Open Open
12s
1
Christophe DENEUX
Mon, 21 Mar 2011 - 18:33:32 +0100
Open Open In Progress In Progress
175d 20h 13m
1
noddoux
Tue, 13 Sep 2011 - 15:46:43 +0200
In Progress In Progress Resolved Resolved
23s
1
noddoux
Tue, 13 Sep 2011 - 15:47:06 +0200