Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1395

Fabric - creating new container with name of already existing container replaces existing container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • M1, jboss-fuse-6.2
    • jboss-fuse-6.1
    • Hawtio
    • None
    • % %
    • Hide

      Suppose having created Fabric root container
      1. In hawtio go to Fabric - Runtime - Containers
      2. Click Create
      3. Create container with name "child1"
      4. Go again to Containers tab and click Create
      5. Create container with name "child1" (the same name as before)

      Container successfully creates again and replaces old container with the same name.

      There is warning in log:
      Failed to create container child1:
      java.lang.IllegalArgumentException: Instance 'ch1' already exists...

      But the exception is possibly caught or so...

      Show
      Suppose having created Fabric root container 1. In hawtio go to Fabric - Runtime - Containers 2. Click Create 3. Create container with name "child1" 4. Go again to Containers tab and click Create 5. Create container with name "child1" (the same name as before) Container successfully creates again and replaces old container with the same name. There is warning in log: Failed to create container child1: java.lang.IllegalArgumentException: Instance 'ch1' already exists... But the exception is possibly caught or so...

    Description

      There is exception in Karaf console if you try to perform this action:
      Error executing command: A container with name child1 already exists.

      It will not let you to create container with the name of existing container as in Hawtio it does.

      Attachments

        Activity

          People

            cibsen@redhat.com Claus Ibsen
            mastepan@redhat.com Martin Stepanek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: