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

ClassCastException on failed naming lookups when trace logging enabled on org.jnp.server.NamingServer

    XMLWordPrintable

Details

    Description

      There is a bug in the trace logging of failed lookup requests during the dump of the naming contents:

      java.lang.ClassCastException: java.util.Hashtable$Entry
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
      at org.jnp.server.NamingServer.bind(NamingServer.java:127)
      at org.jnp.interfaces.NamingContext.bind(NamingContext.java:551)
      at org.jnp.interfaces.NamingContext.bind(NamingContext.java:516)
      at javax.naming.InitialContext.bind(InitialContext.java:359)
      at org.jboss.security.plugins.JaasSecurityManagerService.startService(Ja
      asSecurityManagerService.java:403)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:230)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: