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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.2.0 ER4
    • EAP_EWP 5.2.0 ER1
    • Testsuite
    • None
    • Not Required
    • NEW

      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)

        1. JBPAPP-9772.patch
          1 kB
          Bartosz Baranowski

              rhn-cservice-bbaranow Bartosz Baranowski
              madhumita12_jira Madhumita Sadhukhan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: