3. Before you run the upgrade.sh script you need to set ANT_OPTS like this. For the second parameter is the location where you put the JDBCConfig.properties.properties file. If you put the config file in the scripts directory you can just set ANT_OPTS like this. If you put it someplace else then include the path.
This particular issue is resolved. previously we unzipped the media file in windows machine and the transferred it to Linux box and tried to execute. But, later we copied the entire media file to Linux box and unzip it there.And then execute the script and found the issue is resolved.