Monthly Archives: March 2009

Useful java parameters

“Good” set of java parameters to run “generic” application like tomcat: JAVA_OPTS=”-d64 -Xms512m -Xmx512m -XX:MaxPermSize=128m” JAVA_OPTS=”-Djava.awt.headless=true -Djava.net.preferIPv4Stack=true $JAVA_OPTS” JAVA_OPTS=”-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:-TraceClassUnloading $JAVA_OPTS” JAVA_OPTS=”-XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnCtrlBreak -XX:HeapDumpPath=/home/tomcat/snapshots $JAVA_OPTS” These are not good but they are working options to enable jmxremote console. … Continue reading

Posted in java | Tagged , , , , | Leave a comment

Weblogic starts slow

I had a lot of troubles starting Oracle Weblogic 10.3g under linux (CentOS 5.2). It took anywhere between 5 to 20 minutes from the time I ran startup script to the point when Weblogic actually started. Here is typical log: … Continue reading

Posted in Uncategorized | Tagged , , , | 29 Comments