ClassCastException while creating JNDI SubContext
-------------------------------------------------
Key: JBAS-1484
URL: http://jira.jboss.com/jira/browse/JBAS-1484
Project: JBoss Application Server
Type: Bug
Components: Naming
Versions: JBossAS-4.0.1 Final
Reporter: Jens Schumann
Creating a subcontext from a servlet failes with a ClassCastExeception.
java.lang.ClassCastException
at org.jboss.util.property.PropertyMap.remove(PropertyMap.java:198)
at org.jnp.interfaces.NamingContext.getEnv(NamingContext.java:1299)
at
org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:867)
at
org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:858)
at javax.naming.InitialContext.createSubcontext(InitialContext.java:413)
The debugger shows a CompoundName instance for the value jnp.parsedName instead
of a String. I was unable to create a testcase because I don't know how to
place the CompoundName instance this far.
Will examine the issue more closely.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development