Installing Tomcat, Apache and MySQL on a Windows 2003 server

I successfully installed a Java application (Tomcat, Apache and MySQL ) on a Windows 2003 server, and this was a tricky process.

Here are some guidelines:

These are all the install files that I’m using:
jdk-1_5_0_17-nb-6_5-windows-ml.exe
mod_jk-1.2.27-httpd-2.0.63.so
mysql-essential-5.0.67-win32.msi
mysql-gui-tools-5.0-r15-win32.msi
apache_2.0.63-win32-x86-openssl-0.9.7m.msi
apache-tomcat-5.5.27.exe

TOMCAT change: Don’t forget to increase the heap size. Also, you must set this value:
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
(Otherwise you will get this error: Attribute value  is quoted with “” which must be escaped when used within the value)

Shutdown all ISS Services, otherwise you won’t be able to install Apache as a service.

Enable Firewall, otherwise someone might hack into your server!

This is how you should create your certs:
“C:\Program Files (x86)\Apache Group\Apache2\bin\openssl” req -config openssl.cnf -new -out server.csr
“C:\Program Files (x86)\Apache Group\Apache2\bin\openssl” rsa -in privkey.pem -out ssl.key/server.key
“C:\Program Files (x86)\Apache Group\Apache2\bin\openssl” x509 -in server.csr -out ssl.crt/server.crt -req -signkey ssl.key/server.key -days 1365

Finally, here are my httpd.conf and workers.properties  files.
Please let me know if you have any questions, I’m more than glad to help anyone out with this!

Advertisements
This entry was published on February 13, 2009 at 4:34 pm and is filed under Database, Java/J2EE. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

One thought on “Installing Tomcat, Apache and MySQL on a Windows 2003 server

  1. Pingback: Installing Tomcat, Apache and MySQL on a Windows 2003 server - DbRunas

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: