Re: tomcat + apache + java

2005-11-26 Thread Michael P. Soulier
On 11/26/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Can anyone point me to a surefire how-to to get tomcat  java  apache running
 on a FreeBSD 5.3R box.

Start here.

http://www.freebsd.org/java/

It worked for me. JDK 1.4.2 and Tomcat 5.5.9. I haven't set up mod_jk
yet, I'm just using ProxyPass from apache.

Mike


 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


 
 This message was sent using IMP, the Internet Messaging Program.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



--
Michael P. Soulier [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tomcat + apache + java

2005-11-26 Thread Michael Vince

[EMAIL PROTECTED] 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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]