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

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Fri Dec 14 12:18:51 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-4904?page=all ]

Dimitris Andreadis updated JBAS-4904:
-------------------------------------

    Fix Version/s: JBossAS-5.0.0.CR1
                       (was:  JBossAS-5.0.0.Beta3)
                       (was: JBossAS-4.2.3.GA)

Moving to CR1. If there is a problem with this, please contact me.

> 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 Lee Rubinger
>         Assigned To: Scott M Stark
>             Fix For: JBossAS-5.0.0.CR1
>
>
> 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: 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