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

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Fri Sep 12 10:22:31 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBAS-4904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lee Rubinger updated JBAS-4904:
--------------------------------------

    Fix Version/s: JBossAS-5.0.0.GA
                       (was: JBossAS-5.0.0.CR2)


Bumping to GA

> Improve error message when binding fails
> ----------------------------------------
>
>                 Key: JBAS-4904
>                 URL: https://jira.jboss.org/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 Lee Rubinger
>            Assignee: Andrew Lee Rubinger
>             Fix For: JBossAS-5.0.0.GA
>
>
> 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"

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

        



More information about the jboss-jira mailing list