[jboss-jira] [JBoss JIRA] Created: (JBAS-4904) Improve error message when binding fails

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Wed Oct 24 09:50:01 EDT 2007


Improve error message when binding fails
----------------------------------------

                 Key: JBAS-4904
                 URL: http://jira.jboss.com/jira/browse/JBAS-4904
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Naming
    Affects Versions: JBossAS-4.2.2.GA
            Reporter: Andrew Rubinger
         Assigned To: Scott M Stark
             Fix For:  JBossAS-5.0.0.Beta3, JBossAS-4.2.3.GA


Upon attempt to bind an 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"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list