Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9772

HAJndiAutoDiscoveryTestCase fails for both tcp and udp due to NameAlreadyBoundException

    Details

    • Release Notes Docs Status:
      Not Required
    • Docs QE Status:
      NEW

      Description

      HAJndiAutoDiscoveryTestCase fails constantly on 5.2.0.ER1.
      Hudson link:

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/SmokeTest/job/eap-5.2.x-JDk6-RHEL-matrix-smoke/lastCompletedBuild/jdk=java16_default,label=RHEL5_x86_64/testReport/org.jboss.test.cluster.multicfg.test/HAJndiAutoDiscoveryTestCase/testAutoDiscovery_2/

      Stacktrace

      java.lang.Exception: <html><head><title>JBoss Web/2.1.13.GA-patch-01 - Error report</title><style><!--H1

      {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}

      H2 {font-................................................................................................................................................
      Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: javax.naming.NameAlreadyBoundException: org.jboss.test.cluster.test.Local1Key
      org.jboss.test.naming.util.NamingUtilServlet.doGet(NamingUtilServlet.java:65)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      </pre></p><p><b>root cause</b> <pre>javax.naming.NameAlreadyBoundException: org.jboss.test.cluster.test.Local1Key
      org.jnp.server.NamingServer.bind(NamingServer.java:209)
      org.jnp.interfaces.NamingContext.bind(NamingContext.java:677)
      org.jnp.interfaces.NamingContext.bind(NamingContext.java:638)
      javax.naming.InitialContext.bind(InitialContext.java:400)
      org.jboss.test.naming.util.NamingUtilServlet.createTestJNDIBinding(NamingUtilServlet.java:111)
      org.jboss.test.naming.util.NamingUtilServlet.doGet(NamingUtilServlet.java:62)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the JBoss Web/2.1.13.GA-patch-01 logs.</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/2.1.13.GA-patch-01</h3></body></html>
      at org.jboss.test.NamingUtil.createRemoteTestJNDIBinding(NamingUtil.java:232)
      at org.jboss.test.cluster.multicfg.test.HAJndiAutoDiscoveryTestCase.testAutoDiscovery(HAJndiAutoDiscoveryTestCase.java:83)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  baranowb Bartosz Baranowski
                  Reporter:
                  madhumita12 Madhumita Sadhukhan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: