Uploaded image for project: 'Yell'
  1. Yell
  2. YELL-849

Migration scripts are not protable for execution on different environment.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Point Radii Implementation
    • Component/s: None
    • Labels:
      None
    • Environment:

      Environment YELL1

      Description

      The migration script is not configured to run on different system. When we ran the script then it waited for some time to fetch the jars and it couldn't found any jars so it thrown exception.

      When we cat the migration scripts we found that the specified path is local.

      root@yell1-xml1:/usr/local/tsa/ProximityMigration# cat migratorPhase1.sh
      #!/bin/bash

      echo "Starting Phase1 with paramters part1: $1 part2: $2"
      java -cp "migrator-0.0.1-SNAPSHOT-jar-with-dependencies.jar:/home/abbas/apps/jboss-4.2.1.GA/client/jboss-saaj.jar" com.thesearchagency.GTCampaignManager $1 $2

      root@yell1-xml1:/usr/local/tsa/ProximityMigration# cat ./migratorPhase2.sh
      #!/bin/bash

      echo "Starting Phase2 with paramters threads: $1 Number of SEUIDs: $2"
      java -cp "migrator-0.0.1-SNAPSHOT-jar-with-dependencies.jar:/home/abbas/apps/jboss-4.2.1.GA/client/jboss-saaj.jar" com.thesearchagency.migrator.Migrator $1 $2

        Attachments

          Activity

            People

            • Assignee:
              muhammad.abbas Muhammad Abbas (Inactive)
              Reporter:
              anil.kumar Anil Kumar Halmadgi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: