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

SRPLoginModuleUnitTestCase fails consistently in EWP testsuite due to LoginException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • TBD EAP 5
    • EAP_EWP 5.1.2, EAP_EWP 5.2.0 ER2, EAP_EWP 5.2.0 ER4, EAP_EWP 5.2.0 ER6
    • Security
    • None
    • Not Required
    • NEW

      EWP do not ship everything in EAP as per https://docspace.corp.redhat.com/docs/DOC-35930 but I could not explain why this test should fail as it contains security.
      Also the failure has some similarity to JBPAPP-

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EWP5/view/TestSuite/job/ewp-as-rhel5-sun6/lastCompletedBuild/testReport/org.jboss.test.security.test/SRPLoginModuleUnitTestCase%28tests-security-basic-unit%29/testSRPLoginHTTP/

      stacktrace:

      Failed to complete SRP login, msg=IOE; nested exception is: java.io.FileNotFoundException: http://localhost:8080/invoker/JMXInvokerServlet

      Stacktrace

      javax.security.auth.login.LoginException: Failed to complete SRP login, msg=IOE; nested exception is:
      java.io.FileNotFoundException: http://localhost:8080/invoker/JMXInvokerServlet
      at org.jboss.security.srp.jaas.SRPLoginModule.login(SRPLoginModule.java:251)
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
      at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.login(SRPLoginModuleUnitTestCase.java:240)
      at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.login(SRPLoginModuleUnitTestCase.java:228)
      at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.testSRPLoginHTTP(SRPLoginModuleUnitTestCase.java:89)
      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-9912.patch
          1 kB
        2. JBPAPP-9912.patch
          0.9 kB
        3. JBPAPP-9912.patch
          0.6 kB

              chaowan@redhat.com Chao Wang
              madhumita12_jira Madhumita Sadhukhan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: