-
1. Re: jaas login from jsp : class cast exception.
skrishna Feb 21, 2005 12:47 PM (in response to skrishna)all my files, ejb jars, wars are packed in a ear file.
-
2. Re: jaas login from jsp : class cast exception.
starksm64 Feb 21, 2005 1:59 PM (in response to skrishna)jboss version please.
-
3. Re: jaas login from jsp : class cast exception.
skrishna Feb 21, 2005 2:05 PM (in response to skrishna)jboss 4.0.1
-
4. Re: jaas login from jsp : class cast exception.
skrishna Feb 21, 2005 2:12 PM (in response to skrishna)this is the correct stack: ignore previous error stack info:
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) -
5. Re: jaas login from jsp : class cast exception.
skrishna Feb 22, 2005 10:56 AM (in response to skrishna)I am getting this error after a successful anonymous/nobody login., when i run a method findAll on a CMP bean. it fails to get the remote. whereas, it acquires the remote working off from eclipse workbench.
Please advice, if i am in the right thread, and should i be posting this question in ejb thread?
thanks
Sai Krishna -
6. Re: jaas login from jsp : class cast exception.
starksm64 Feb 22, 2005 12:54 PM (in response to skrishna)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 -
7. Re: jaas login from jsp : class cast exception.
skrishna Feb 22, 2005 4:16 PM (in response to skrishna)created a bug report:
http://jira.jboss.com/jira/browse/JBAS-1499