[ http://jira.jboss.com/jira/browse/JBAS-1484?page=history ]
     
Scott M Stark closed JBAS-1484:
-------------------------------

      Assign To: Scott M Stark
     Resolution: Done
    Fix Version:  JBossAS-4.0.2RC1
                 JBossAS-5.0 Alpha
                  JBossAS-3.2.8 Final

This was fixed as part of JBAS-1497.

> 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
>     Assignee: Scott M Stark
>      Fix For: JBossAS-5.0 Alpha,  JBossAS-4.0.2RC1,  JBossAS-3.2.8 Final

>
>
> 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

Reply via email to