Is it possible to add JSP/Tomcat support to an existing LAMP web server? I never tried to do this before and was wondering if this was ok to do in a production environment or if it went against best practices.
I have a Debian webserver with a LAMP stack running Apache2. I have a few PHP websites but I would like to add a Java/JSP powered website like so:
/var/www/myphpsite
/var/www/myjspsite
/var/www/etc etc.
Thanks,
Jason
There shouldn’t be any inherent problems as long as you have the CPU and memory for it. The Tomcat instances would be running in a separate process from Apache HTTP server.
Just connected apache to Tomcat with mod_jk or mod_proxy_ajp.