Friday, March 15, 2013

Tomcat 64 bit Windows

Best combination should be
1) Window server 2008 64bit, 64-bit JDK 1.6 and Tomcat 64-bit.
2) Window server 2003 32bit, 32-bit JDK 1.6 and Tomcat 32-bit.

Limitation for 2) only 1024MB is available.

Solution summary:

using 1) Window server 2008 64bit, 64-bit JDK 1.6 and Tomcat 64-bit.
Then we should get:
a) Tomcat as a windows service, JVM can be set as 2048MB or bigger
b) Staring time should be shorter.

The following are sample steps to achieve the goal:
Window server 2008/2003 64 bit, 64-bit JDK 1.6 and Tomcat 64-bit.

1) Install Windows Server 2008 (64b bit)
2) Install 64-bit JDK and set $JAVA_HOME
3) Install Liferay-Tomcat 6 bundle
4) Set $JAVA_HOME in $TOMCAT_AS_DIR/bin/setenv.bat
5) Rename tomcat6.exe and tomcat6w.exe at $TOMCAT_AS_DIR/bin/;
6) Download tomcat6.exe and tomcat6w.exe from http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_18/res/procrun/amd64/
And drop them to $TOMCAT_AS_DIR/bin/
7) Start service.bat install tomcat6;
8) Use >tomcat6w.exe //ES//tomcat6 to set JVM parameters to 2048MB or bigger

No comments:

Post a Comment