larryhartman50 at bellsouth.net
Thu Jun 21 22:19:11 UTC 2007
On Thursday 21 June 2007 08:21:26 am Derek Broughton wrote:
> Larry Hartman wrote:
> > On Tuesday 19 June 2007 08:09:20 pm Derek Broughton wrote:
> >> Larry Hartman wrote:
> >> > On Monday 18 June 2007 09:20:38 am Derek Broughton wrote:
> >> >> Then drop your .war files in /var/lib/tomcat5/webapps/, and one more
> >> >> little config file for mod-jk (I don't have a copy of that) if you
> >> >> want to connect through Apache.
> >> >
> >> > I'll take a 75% answer.....I went back and checked Synaptic....got all
> >> > packages loaded already that you mentioned...your answer confirms my
> >> > basic setup. I will look into configuration file.
> >> Damn, Actually I _do_ have a copy of a mod-jk setup at work, but never
> >> had time to check lists & newsgroups today so forgot about checking it
> >> out for
> >> you. I'll try tomorrow...
> OK, this is all you need in the Apache config:
> LoadModule jk_module modules/mod_jk.so
> JkWorkersFile /etc/libapache2-mod-jk/workers.properties
> JkLogFile /var/log/tomcat5/mod_jk.log
> # JkLogLevel [error, info, debug]
> JkLogLevel info
> JkMount /jsp-examples/* ajp13
> JkMount /admin/* ajp13
> JkMount /manager/* ajp13
> That will create the connection for the Tomcat apps that are created by
> installing tomcat5, tomcat5-webapps and tomcat5-admin.
> The /etc/libapache2-mod-jk/workers.properties contains these uncommented
> If you don't need a loadbalancer, I think these last three values are still
> required - if you want real load balancing it's a little more complicated.
> The "java_home" value may not even be necessary - it's set to "kaffe" on
> the one system I use, but not set at all on another that is running
> perfectly. The rest should be standard for any system where the Tomcat
> server is running on the same host as the Apache server.
I'll look into this over the weekend. Got some other bright shiny object
distracting me at the moment. Hey! Look whats that over there?
More information about the kubuntu-users