Home | Account | Search  
Tomcat, Snow Leopard, and the -d32 option
If you've installed the new Mac OS and have found Tomcat failing to push BlazeDS/LCDS messages or just not functioning like it was previous to the upgrade, try adding the "-d32" flag to the Java call inside catalina.sh.
JAVA_OPTS="$JAVA_OPTS -Xms256m -Xmx512m -d32"

This tells the JVM to use the 32-bit model, if available. Also, since we get Java 1.6 with Snow Leopard, don't forget to update your JAVA_HOME in setclasspath.sh to:
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home"

Adobe is aware of the -d32 problems ~