Uploaded image for project: 'Immutant'
  1. Immutant
  2. IMMUTANT-597

Destination names segmented with / can shadow each other Inside the container

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 2.1.2
    • None

    Description

      If you have a queue named "foo/bar", and try to create queue called "foo", you'll get a ClassCastException, because the JNDI lookup for "java:/jms/queue/foo" returns the NamingContext for "java:/jms/queue/foo" created when "foo/bar" was registered, instead of null.

      The fix would be to treat a NamingContext the same way as null when doing a lookup.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tcrawley Toby Crawley (Inactive)
            Archiver:
            ranumula@redhat.com Raju Anumula

            Dates

              Created:
              Updated:
              Resolved:
              Archived: