Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-15512

mailarchive-runconversion.sh contains out-of-date references to kernel and Tomcat

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6.x, 2.6.0, 2.7.0
    • Fix Version/s: 2.6.0, 2.7.0
    • Component/s: Email Archive
    • Labels:
      None

      Description

      Out-of-date references to K1 (1.0RC2-SNAPSHOT) as well as references to local csev path and Tomcat 5.5.23.

      #!/bin/sh
      #

      1. you could use the runconversion like this:
        #
      2. ./mailarchive-runconversion.sh upgradeschema-2.6-mysql.config
        #
      3. Or this
        #
      4. ./mailarchive-runconversion.sh upgradeschema-2.6-oracle.config

      if [ -d $CATALINA_HOME ] ;
      then
      echo "Catalina_Home: $CATALINA_HOME"
      else
      echo '$CATALINA_HOME not set properly ' $CATALINA_HOME
      fi

              1. MAIL SPECIFIC STUFF #####
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/org/sakaiproject/sakai-mailarchive-impl/2.6.0RC1-SNAPSHOT/sakai-mailarchive-impl-2.6.0RC1-SNAPSHOT.jar"
              1. COMMON KERNEL STUFF #####
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/commons-pool/commons-pool/1.3/commons-pool-1.3.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/org/sakaiproject/kernel/sakai-kernel-api/1.0RC2-SNAPSHOT/sakai-kernel-api-1.0RC2-SNAPSHOT.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/org/sakaiproject/kernel/sakai-kernel-impl/1.0RC2-SNAPSHOT/sakai-kernel-impl-1.0RC2-SNAPSHOT.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/org/sakaiproject/kernel/sakai-kernel-util/1.0RC2-SNAPSHOT/sakai-kernel-util-1.0RC2-SNAPSHOT.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/org/sakaiproject/kernel/sakai-kernel-common/1.0RC2-SNAPSHOT/sakai-kernel-common-1.0RC2-SNAPSHOT.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/org/sakaiproject/kernel/sakai-kernel-component/1.0RC2-SNAPSHOT/sakai-kernel-component-1.0RC2-SNAPSHOT.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/org/sakaiproject/kernel/sakai-kernel-private/1.0RC2-SNAPSHOT/sakai-kernel-private-1.0RC2-SNAPSHOT.jar"
                CLASSPATH="$CLASSPATH:$HOME/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar"
              1. JDBC DRIVER #####
              2. SUPPLY PATH TO YOUR JDBC DRIVER #####
        1. MYSQL ##
          CLASSPATH="$CLASSPATH:$HOME/.m2/repository/mysql/mysql-connector-java/3.1.14/mysql-connector-java-3.1.14-bin.jar"
          CLASSPATH="$CLASSPATH:$CATALINA_HOME/common/lib/mysql-connector-java-3.1.14-bin.jar"
          CLASSPATH="$CLASSPATH:$CATALINA_HOME/shared/lib/mysql-connector-java-5.0.5-bin.jar"
          CLASSPATH="$CLASSPATH:$CATALINA_HOME/common/lib/mysql-connector-java-5.1.6-bin.jar"
        2. ORACLE ##
          CLASSPATH="$CLASSPATH:$CATALINA_HOME/common/lib/ojdbc-14.jar"
          CLASSPATH="$CLASSPATH:$CATALINA_HOME/common/lib/ojdbc14.jar"
      1. echo $CLASSPATH

      java $JAVA_OPTS \
      -classpath "$CLASSPATH" \
      -Dsakai.properties=/Users/csev/dev/sakai-trunk/apache-tomcat-5.5.23/sakai/sakai.properties \
      org.sakaiproject.util.conversion.UpgradeSchema "$@"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                seththeriault Seth Theriault
                Reporter:
                arwhyte Anthony Whyte
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code