wls-eng / arm-oraclelinux-wls

Microsoft Azure ARM Templates to create Oracle Linux VM with pre-installed Weblogic Server
Apache License 2.0
0 stars 7 forks source link

Remove weblogic-deploy-tool downloading as part of setup script #310

Closed Lighter100 closed 3 years ago

Lighter100 commented 3 years ago

error_message1 error_message2

galiacheng commented 3 years ago

More information from @Lighter100

image

sanjaymantoor commented 3 years ago

I will look into it. Sometime back I have noted this intermittent issue and identified the changes. As we are using WebLogic base image, we no need to download JDK or weblogic-deploy-tool.

edburns commented 3 years ago
#Function to create Admin Only Domain
function create_adminSetup()
{
    echo "Creating Admin Setup"
    echo "Creating domain path $DOMAIN_PATH"
    echo "Downloading weblogic-deploy-tool"

    sudo mkdir -p $DOMAIN_PATH
    sudo rm -rf $DOMAIN_PATH/*

    cd $DOMAIN_PATH
    wget -q $WEBLOGIC_DEPLOY_TOOL
    if [[ $? != 0 ]]; then
       echo "Error : Downloading weblogic-deploy-tool failed"
       exit 1
    fi
    sudo unzip -o weblogic-deploy.zip -d $DOMAIN_PATH

Looks like this is still downloading the deployment tool.

sanjaymantoor commented 3 years ago

Yes, I have done changes and will create PR for the same.