Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2005 11:18:10 +1100
From:      Michael Vince <mv@roq.com>
To:        fbsd@brokendown.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tomcat + apache + java
Message-ID:  <4388FB42.4020009@roq.com>
In-Reply-To: <20051126105843.vkayeytf4ssc4c80@webmail.nwiz.biz>
References:  <20051126105843.vkayeytf4ssc4c80@webmail.nwiz.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
fbsd@brokendown.net wrote:

>Can anyone point me to a surefire how-to to get tomcat & java & apache running
>on a FreeBSD 5.3R box.
>
>Here are the current setup.
>
>OS : FreeBSD 5.3R
>Apache 2.0.50
>Tomcat 5.0.28
>mod_jk - seems to be 1.2.5
>java - jdk1.4.2
>
>Thanks,
>
>Ed
>
>  
>
Your best off using mod_proxy to connect tomcat and apache2 especially 
since your after a sure fire way.
I also assume because your using Java your after performance, so you the 
threaded apache2 worker MPM,
but it isn't a good idea to load a module like PHP with worker because 
they aren't particularly thread safe and uses more memory.
portupgrade -NRr -m 'WITH_MPM=worker -DWITH_PROXY_MODULES' 
/usr/ports/www/apache2

Mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4388FB42.4020009>