3 Replies Latest reply on Sep 11, 2008 3:25 AM by stefanotravelli

    Seam test with Java 1.6 in JBoss 4.2.3

    susnet.susanne.susnet.se

      I wonder if you can run seam test with Java 1.6 on JBoss 4.2.3?

        • 1. Re: Seam test with Java 1.6 in JBoss 4.2.3
          jusyes

          should be fine, i have jboss 4.2 running using jdk 1.6 and seam application works.
          Haven't tried it using embedded container.

          • 2. Re: Seam test with Java 1.6 in JBoss 4.2.3
            susnet.susanne.susnet.se

            Are you running Seam Test on JBoss 4.2.2 or 4.2.3 and it works fine?


            Is there anyone else who tried the latest embedded JBoss with Seam Test and JDK 1.6?

            • 3. Re: Seam test with Java 1.6 in JBoss 4.2.3
              stefanotravelli

              In order to make Seam test to work with JDK6 I had to add this settings:


                      <testng outputdir="${basedir}/test-report">
                          <classpath refid="test.path"/>
                          <!--<jvmarg value="-Demma.coverage.out.file=${coverage.ec}" />-->
                          <jvmarg line="-Djava.awt.headless=true"/>
                          <!--added for JDK6 compatibility with JBoss embedded-->
                          <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>
                          <xmlfileset dir="${test.dir}" includes="*Test.xml"/>
                      </testng>
              



              I work with Seam 2.1 beta but now I cannot remember the when I updated my project library, so I can't be sure on the jboss embedded version.