Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #93 from Jahia/PAAS-910-fix-jdbc-for-old-jahia
Browse files Browse the repository at this point in the history
PAAS-910: remove loadbalance for jahia < 7.3
  • Loading branch information
laurentfufu authored Mar 13, 2020
2 parents 68b1f90 + af11fa5 commit 864301d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jahia/jahia_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@ actions:
echo "expandImportedFilesOnDisk = true" >> $STACK_PATH/conf/digital-factory-config/jahia/jahia.properties
rm -rf $STACK_PATH/webapps/*
#COPS-18 workaround, switch from loadbalance to sequential
sed 's/loadbalance/sequential/' -i /$DATA_PATH/jahia/tomcat/webapps/ROOT/META-INF/context.xml
replace="sequential:"
if [[ $DX_VERSION == 7.2* ]]; then
replace=""
fi
sed "s/loadbalance:/$replace/" -i /$DATA_PATH/jahia/tomcat/webapps/ROOT/META-INF/context.xml
cp -rf $DATA_PATH/jahia/tomcat/webapps/* $STACK_PATH/webapps
chown -R tomcat:tomcat $STACK_PATH/webapps
sed -i "s/operatingMode/#operatingMode/" $STACK_PATH/conf/digital-factory-config/jahia/jahia.properties
Expand Down

0 comments on commit 864301d

Please sign in to comment.