Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RODA_SCAPE_DEMO 2014-10-31-13-51
# Install htop
aptitude install htop
# Increase jboss memory to 1.5G in /usr/local/share/jboss/bin/standalone.conf
# This avoids is necessary to create PAPs
JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
# == to ==>>>
JAVA_OPTS="-Xms64m -Xmx1536m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
# Increase tomcat memory to 1.5G in /home/roda/roda/tomcat/bin/tomcat.config
# This avoids is necessary to parse large PAPs
JAVA_OPTS="-Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.net.preferIPv4Stack=true -server"
# == to ==>>>
JAVA_OPTS="-Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl -Xms256m -Xmx1536m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.net.preferIPv4Stack=true -server"
# Increase VM memory to 5GB
# Increase Processors to 4
# Update Plato
git pull
git checkout integration
mvn clean install -DskipTests
cp planningsuite-ear/target/planningsuite-ear.ear /usr/local/share/jboss/standalone/deployments/
cp idp/target/idp.war /usr/local/share/jboss/standalone/deployments/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.