6 Replies Latest reply on Aug 15, 2007 11:35 PM by ambika

    Testsuite Failures

    ambika

      Hi,
      I am trying to run the testsuite of jboss 4.2.0 on a hpux platform. I have installed the jboss bin from the zip.

      Following is the error message for most of the testcases.

      Suite: org.jboss.test.aop.test.AOPUnitTestCase
      Test: unknown
      Type: error
      Exception: java.lang.SecurityException
      Message: Failed to authenticate principal=null, securityDomain=jmx-console

      Suite: org.jboss.test.cache.bean.MBeanUnitTestCase
      Test: testReplicatedPutTx
      Type: error
      Exception: javax.naming.NameNotFoundException
      Message: ejb not bound

      Suite: org.jboss.test.cache.test.aop.CacheObjectMBeanUnitTestCase
      Test: testBinding
      Type: error
      Exception: javax.naming.NameNotFoundException
      Message: test not bound

      Do i need to change any files?

      Regards,
      Ambika

        • 1. Re: Testsuite Failures

          Just to be clear: are you testing against JBoss AS 4.2.0 or the JBoss Enterprise Application Platform 4.2.0?

          • 2. Re: Testsuite Failures
            ambika

            Hi,
            I am testing against Jboss Application platform 4.2.0.
            Regards,
            Ambika

            • 3. Re: Testsuite Failures
              mvecera

              Hi, and can the JBossAS be started without any problems in 'all' configuration? See console.log and other logs to find some errors...

              • 4. Re: Testsuite Failures
                ambika

                Hi,

                There is no error if i just start the jboss server in all mode. But when i try to run the testsuite, its giving error for authentication. As in the jboss enterprise platform installation document mentioned, most of the services requires authentication,so we cant do any operation, untill we provide a proper authenication.
                If i make the changes suggest in the doc to disable jmx authentication, tests will pass, that is without authentication/
                Do i need to make any entry in the any of the *.properties file so that we can authenicate properly. That is, whatever user/password and roles defined for the various task, do we need to add them in the property files of the server?

                Regards,
                ambika

                • 5. Re: Testsuite Failures

                  Please see this wiki page for instructions on how to run the test suite against the EAP:

                  http://wiki.jboss.org/wiki/Wiki.jsp?page=HowToRunTheTestsuiteAgainstJBossEAP

                  Thanks to Richard Achmatowicz for writing this up.

                  • 6. Re: Testsuite Failures
                    ambika

                    Hi All,

                    Thanks for your kind help. It resolved my problem.

                    Regards,
                    Ambika