http://stackoverflow.com/questions/23894323/jdk-8-support-at-diy-cartridge-in-openshift pour l'installation de fuseki avec jetty ??
verifier l'utilisation du quota :
nettoyer le systeme : rhc app-tidy -a <app>
(https://developers.openshift.com/en/managing-common-rhc-commands.html)
verifier l'utilisation du quota :
rhc app-show --gears quota -a <app>
|
Shows how much disk space your application is using by gear
|
(https://developers.openshift.com/en/managing-common-rhc-commands.html)
// connect with SSH to your application, then
cd $OPENSHIFT_DATA_DIR
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz
tar -zxf jdk-8u20-linux-x64.tar.gz
export PATH=$OPENSHIFT_DATA_DIR/jdk1.8.0_20/bin:$PATH
export JAVA_HOME=$OPENSHIFT_DATA_DIR/jdk1.8.0_20/
// then depending on your cartridge you need to exec the following command
// echo $JAVA_HOME > $OPENSHIFT_{cartridge}_DIR/env/JAVA_HOME
echo $JAVA_HOME > $OPENSHIFT_JETTY_DIR/env/JAVA_HOME
// in my case was
// echo $JAVA_HOME > $OPENSHIFT_VERTX_DIR/env/JAVA_HOME
// for Wildfly I presume it is
// echo $JAVA_HOME > $OPENSHIFT_WILDFLY_DIR/env/JAVA_HOME
Aucun commentaire:
Enregistrer un commentaire