Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4862015

Linux-ia64 JDK installation does not contain htmlconverter.jar

XMLWordPrintable

    • tiger
    • itanium
    • linux
    • Verified



      Name: vsR10238 Date: 05/09/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b22
      Testbase : Regression-CTE
      Platform[s] : RedHat Linux 2.1 Adv. Server (64 bit)
      Falling test[s]:
              CTE_REGTEST/Generic/4766052/Test4766052.sh

      RegTest-CTE CTE_REGTEST/Generic/4766052/Test4766052.sh test fails with linux-ia64
      version of JDK because the test uses lib/htmlconverter.jar which is absent in linux-ia64
      installation.

      Below is the part from CTE_REGTEST/Generic/4766052/Test4766052.sh:

      ${TESTJAVA}${FS}bin${FS}java ${BIT_FLAG} -jar ${TESTJAVA}${FS}lib${FS}htmlconverter.jar

      After I had copied htmlconverter.jar from linux-i586 installation the test passed.

      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4766052/Test4766052.sh

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh
                                                                                                                               
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="/net/jtgb4u4c/export/sail16/jct-tools/3.1.1"
      JAVA_HOME="/java/re/jdk/1.4.2/promoted/rc/b22/binaries/linux-ia64"
      TEST_BASE_PATH="/net/jtgb4u4c/export/sail16/Regression/1.4.2/cte"
                                                                                                                               
      JEMMY_JAR=/net/jtgb4u4c/export/sail16/Jemmy/jemmy.jar
                                                                                                                               
      HOST=`uname -n`
                                                                                                                               
      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME
                                                                                                                               
      JTOPTS="-server"
      TESTVMOPTS="-server"
                                                                                                                               
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
                                                                                                                               
      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH
                                                                                                                               
      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1
                                                                                                                               
      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
                                                                                                                               
      cd $WORK_DIR/scratch
                                                                                                                               
      $JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS \
      -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,\
      DISPLAY=:0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,\
      TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= \
      -DDISPLAY=:0 -DlocalHost="$HOST" -Dprogram=jtreg com.sun.javatest.regtest.Main \
      -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t \
      "$TEST_BASE_PATH" \
      "$TEST_BASE_PATH/CTE_REGTEST/Generic/4766052/Test4766052.sh"
                                                                                                                               

      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(6/312)----------
      java full version "1.4.2-rc-b22"
      Exception in thread "main" java.util.zip.ZipException: No such file or directory
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(ZipFile.java:112)
      at java.util.jar.JarFile.<init>(JarFile.java:127)
      at java.util.jar.JarFile.<init>(JarFile.java:65)
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1


      Specific machine info:
      ======================
      Hostname: JCC-ITANIUM-01
      OS: RedHat Linux 2.1 Adv. Server


      ======================================================================

            asaha Abhijit Saha
            vshsunw Vsh Vsh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: