Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1499

classcast exception after jaas login, while context lookup

    XMLWordPrintable

Details

    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.

      Attachments

        Issue Links

          Activity

            People

              starksm64 Scott Stark (Inactive)
              skrishna_jira skrishna (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: