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!
Pingback: Installing Tomcat, Apache and MySQL on a Windows 2003 server - DbRunas