Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4904

Improve error message when binding fails

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.2.2.GA
    • Naming
    • None

      Upon attempt to bind a subcontext to an address already bound by an object, the following exception occurs:

      java.lang.ClassCastException: $Proxy76 cannot be cast to javax.naming.Context
      at org.jboss.util.naming.Util.createSubcontext(Util.java:69)
      at org.jboss.util.naming.Util.rebind(Util.java:125)
      at org.jboss.util.naming.Util.rebind(Util.java:113)

      Error message should be in form "Can't bind subContext/obj, because subContext is already bound"

              arubinge@redhat.com Andrew Rubinger (Inactive)
              arubinge@redhat.com Andrew Rubinger (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: