Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7246 Track JBoss 6.0.0.M1 testsuite fixes/issues
  3. JBAS-7326

fix org.jboss.test.web.test.WebProgrammaticLoginTestCase(tomcat-sso).testSuccessfulLogin

    Details

    • Similar Issues:
      Show 9 results 

      Gliffy Diagrams

        Activity

        Hide
        shelly.mcgowan Shelly McGowan added a comment -

        Anil, do you have an update on this issue. We are preparing for our beta release.

        Show
        shelly.mcgowan Shelly McGowan added a comment - Anil, do you have an update on this issue. We are preparing for our beta release.
        Hide
        anil.saldhana Anil Saldhana added a comment -

        ==========
        (09:46:35 AM) sguilhen: anil: ping.. the WebAuthTest is failing because of a NPE thrown by the code that sets the sso cookie in the response. The response obtained by the WebAuthentication when it calls ActiveRequestResponseCacheValve.activeRespose.get() is null
        ================

        Show
        anil.saldhana Anil Saldhana added a comment - ========== (09:46:35 AM) sguilhen: anil: ping.. the WebAuthTest is failing because of a NPE thrown by the code that sets the sso cookie in the response. The response obtained by the WebAuthentication when it calls ActiveRequestResponseCacheValve.activeRespose.get() is null ================
        Hide
        sguilhen Stefan Guilhen added a comment -

        Added code to JaccContextValve that sets the response in the ActiveRequestResponseCache, just as it does with the request object. Test now pass:

        [sguilhen@BLACKBIRD testsuite]$ ant one-test -Dtest=org.jboss.test.web.test.WebProgrammaticLoginTestCase
        Buildfile: build.xml

        one-test:
        [delete] Deleting: /opt/workspace-jboss/jbossas-b5x/testsuite/output/log/test.log
        [junit] WARNING: multiple versions of ant detected in path for junit
        [junit] jar:file:/opt/development-tools/apache-ant-1.7.1/lib/ant.jar!/org/apache/tools/ant/Project.class
        [junit] and jar:file:/opt/workspace-jboss/jbossas-b5x/tools/lib/ant.jar!/org/apache/tools/ant/Project.class
        [junit] Running org.jboss.test.web.test.WebProgrammaticLoginTestCase
        [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.006 sec

        BUILD SUCCESSFUL
        Total time: 9 seconds

        Show
        sguilhen Stefan Guilhen added a comment - Added code to JaccContextValve that sets the response in the ActiveRequestResponseCache, just as it does with the request object. Test now pass: [sguilhen@BLACKBIRD testsuite] $ ant one-test -Dtest=org.jboss.test.web.test.WebProgrammaticLoginTestCase Buildfile: build.xml one-test: [delete] Deleting: /opt/workspace-jboss/jbossas-b5x/testsuite/output/log/test.log [junit] WARNING: multiple versions of ant detected in path for junit [junit] jar: file:/opt/development-tools/apache-ant-1.7.1/lib/ant.jar!/org/apache/tools/ant/Project.class [junit] and jar: file:/opt/workspace-jboss/jbossas-b5x/tools/lib/ant.jar!/org/apache/tools/ant/Project.class [junit] Running org.jboss.test.web.test.WebProgrammaticLoginTestCase [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.006 sec BUILD SUCCESSFUL Total time: 9 seconds

          People

          • Assignee:
            sguilhen Stefan Guilhen
            Reporter:
            dimitris Dimitris Andreadis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development