]
Andrew Lee Rubinger updated JBAS-4904:
--------------------------------------
Fix Version/s: (was: JBossAS-5.1.0.Beta1)
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
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: