[ http://jira.jboss.com/jira/browse/JBAS-1499?page=history ]

Scott M Stark updated JBAS-1499:
--------------------------------

              Description: 
Please refer discussion: 

top of stack:
13:09:50,058 INFO [STDOUT] java.lang.ClassCastException
13:09:50,058 INFO [STDOUT] at 
org.jboss.util.property.PropertyMap.remove(PropertyMap.java:198)
13:09:50,058 INFO [STDOUT] at 
org.jnp.interfaces.NamingContext.getEnv(NamingContext.java:1299)
13:09:50,074 INFO [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:526)
13:09:50,074 INFO [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
13:09:50,074 INFO [STDOUT] at 
javax.naming.InitialContext.lookup(InitialContext.java:347)
13:09:50,074 INFO [STDOUT] at 
jmail.ejb.util.MailerEnterpriseFactory.getRemoteHome(MailerEnterpriseFactory.java:151)
13:09:50,090 INFO [STDOUT] at 
jmail.ejb.util.MailerEnterpriseFactory.getMailAccountHome(MailerEnterpriseFactory.java:100)

description:
I am getting this error after a successful anonymous/nobody login., and when i 
run a method findAll to fetch all CMP beans. it fails to get the remote home 
interface, whilst method context.lookup(). 

I dont get this bug if i set up jaas from eclipse workbench workspace, and do a 
lookup., findAll, and it returns all remote ejb proxies.

  was:
Please refer discussion: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=60472

top of stack:
13:09:50,058 INFO [STDOUT] java.lang.ClassCastException
13:09:50,058 INFO [STDOUT] at 
org.jboss.util.property.PropertyMap.remove(PropertyMap.java:198)
13:09:50,058 INFO [STDOUT] at 
org.jnp.interfaces.NamingContext.getEnv(NamingContext.java:1299)
13:09:50,074 INFO [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:526)
13:09:50,074 INFO [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
13:09:50,074 INFO [STDOUT] at 
javax.naming.InitialContext.lookup(InitialContext.java:347)
13:09:50,074 INFO [STDOUT] at 
jmail.ejb.util.MailerEnterpriseFactory.getRemoteHome(MailerEnterpriseFactory.java:151)
13:09:50,090 INFO [STDOUT] at 
jmail.ejb.util.MailerEnterpriseFactory.getMailAccountHome(MailerEnterpriseFactory.java:100)

description:
I am getting this error after a successful anonymous/nobody login., and when i 
run a method findAll to fetch all CMP beans. it fails to get the remote home 
interface, whilst method context.lookup(). 

I dont get this bug if i set up jaas from eclipse workbench workspace, and do a 
lookup., findAll, and it returns all remote ejb proxies.

@see also:
Create a bug report in jira with an example of what is being done. There is an 
incorrect assumption in the PropertyMap that only String values will be added 
that needs to be fixed.

http://jira.jboss.com/jira/browse/JBAS

_________________
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Inc.
xxxxxxxxxxxxxxxxxxxxxxxx

    SourceForge Reference: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=60472

> classcast exception after jaas login, while context lookup
> ----------------------------------------------------------
>
>          Key: JBAS-1499
>          URL: http://jira.jboss.com/jira/browse/JBAS-1499
>      Project: JBoss Application Server
>         Type: Bug
>     Versions: JBossAS-4.0.1 Final
>  Environment: windows xp + eclipse
>     Reporter: sai krishna

>
>
> Please refer discussion: 
> top of stack:
> 13:09:50,058 INFO [STDOUT] java.lang.ClassCastException
> 13:09:50,058 INFO [STDOUT] at 
> org.jboss.util.property.PropertyMap.remove(PropertyMap.java:198)
> 13:09:50,058 INFO [STDOUT] at 
> org.jnp.interfaces.NamingContext.getEnv(NamingContext.java:1299)
> 13:09:50,074 INFO [STDOUT] at 
> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:526)
> 13:09:50,074 INFO [STDOUT] at 
> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
> 13:09:50,074 INFO [STDOUT] at 
> javax.naming.InitialContext.lookup(InitialContext.java:347)
> 13:09:50,074 INFO [STDOUT] at 
> jmail.ejb.util.MailerEnterpriseFactory.getRemoteHome(MailerEnterpriseFactory.java:151)
> 13:09:50,090 INFO [STDOUT] at 
> jmail.ejb.util.MailerEnterpriseFactory.getMailAccountHome(MailerEnterpriseFactory.java:100)
> description:
> I am getting this error after a successful anonymous/nobody login., and when 
> i run a method findAll to fetch all CMP beans. it fails to get the remote 
> home interface, whilst method context.lookup(). 
> I dont get this bug if i set up jaas from eclipse workbench workspace, and do 
> a lookup., findAll, and it returns all remote ejb proxies.

-- 
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
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to