This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd Oracle/Middleware/wlserver_12.1/common/nodemanager/ | |
cat > nodemanager.properties | |
NativeVersionEnabled=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout redesign | |
git pull origin redesign |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def beforeInterceptor = { model -> | |
response.setHeader("Access-Control-Allow-Origin", "*"); | |
response.setHeader("Access-Control-Allow-Methods", "GET,OPTIONS"); | |
response.setHeader("Access-Control-Allow-Headers", "Content-Type"); | |
response.setHeader("Access-Control-Allow-Credentials", "false"); | |
response.setHeader("Access-Control-Max-Age", "60"); | |
response.setHeader("Content-Type","text/xml") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn deploy:deploy-file -DgroupId=group -DartifactId=artifact -Dversion=1.3.1 -Dpackaging=jar -Dfile=myjar.jar -Durl=file:$HOME/mavenrepo/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config color.ui true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appenders { | |
console name:'stdout', layout:pattern(conversionPattern: '%d{ABSOLUTE} %-5p [%c] %m%n'), threshold: org.apache.log4j.Level.INFO | |
appender new org.apache.log4j.DailyRollingFileAppender(name: 'dailyAppender', threshold: org.apache.log4j.Level.INFO, datePattern: "'.'yyyy-MM-dd", fileName: "/tmp/log.log",layout: pattern(conversionPattern:'%d [%t] %-5p %c %x - %m%n')) | |
} | |
root { | |
debug 'stdout','dailyAppender' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb devices | |
adb shell | |
pm set-install-location 2 | |
pm setInstallLocation 2 | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./rcu -silent -createRepository -databaseType ORACLE -connectString host1.oracle.com:1521:orcl -dbUser sys -dbRole sysdba -schemaPrefix TEST -component SOAINFRA -component MDS -component ORASDPM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar wljarbuilder.jar -profile weblogic-maven-plugin | |
unzip MW_HOME/wlserver_10.3/server/lib/weblogic-maven-plugin.jar META-INF/maven/com.oracle.weblogic/weblogic-maven-plugin/pom.xml | |
cp MW_HOME/wlserver_10.3/server/lib/META-INF/maven/com.oracle.weblogic/weblogic-maven-plugin/pom.xml MW_HOME/wlserver_10.3/server/lib | |
mvn install:install-file -Dfile=weblogic-maven-plugin.jar -DpomFile=pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Handy for linux virtual machines; Use 75% of your total system memory for Tomcat. | |
#Put at start of "{tomcat}/bin/startup.sh" | |
export CATALINA_OPTS="-Xmx`cat /proc/meminfo | grep MemTotal | awk '{ print $2*0.75 } '`k" |