I am using Apache 1.3 and Tomcat 4.1, RedHat 7.3.
Tomcat runs fine standalone. I am now trying to
integrate Tomcat with Apache using mod_jk.so. I
compiled mod_jk.so from source and put it in my
modules/ directory. The module loads fine, but Apache
won't start, because it doesn't recognize the
Does your httpd.conf have AddModule directives? If so, add one for
mod_jk.c - that's solved the problem for me before
Lajos
Barley wrote:
I am using Apache 1.3 and Tomcat 4.1, RedHat 7.3.
Tomcat runs fine standalone. I am now trying to
integrate Tomcat with Apache using mod_jk.so. I
compiled
Try chaning the lines below:
The other thing you could do is also trying to include the auto mod_jk
file in httpd.conf such as:
Include /usr/local/tomcat/conf/auto/mod_jk.conf
But I'd try below first.
Oscar
On Wed, 12 Feb 2003, Barley wrote:
I am using Apache 1.3 and Tomcat 4.1, RedHat 7.3.
Good point, but he says it loads up.
But it does seem it's not really loaded. Barley, check your logs on Tomcat
and Apache too.
Here's my mod_jk dependency line (or whatever you call it):
IfModule !mod_jk.c
LoadModule jk_module modules/mod_jk.so
/IfModule
You can check your configuration
I've tried including the auto-generated file. It didn't
make a difference, and I'd rather manually configure in
httpd.conf. It shouldn't make any difference, right?
And, I'm sorry Oscar, but what should I change? I don't
see any difference between your LoadModule line and
mine. Thanks for the
I have tried this, but it doesn't change anything.
Additionally, Apache gives me this error warning:
[warn] module mod_jk.c is already added, skipping
Thanks for the idea, though.
Gregg
Does your httpd.conf have AddModule directives? If
so, add one for
mod_jk.c - that's solved the problem
The quotes and the lack of a newline.
Oscar
On Wed, 12 Feb 2003, Barley wrote:
I've tried including the auto-generated file. It didn't
make a difference, and I'd rather manually configure in
httpd.conf. It shouldn't make any difference, right?
And, I'm sorry Oscar, but what should I
Sorry if I'm being dense...here's my LoadModule line:
# Load mod_jk
LoadModule jk_module /usr/lib/apache/mod_jk.so
And here's yours:
#Try changing to this
# Load mod_jk
LoadModule jk_module /usr/lib/apache/mod_jk.so
So, you think I should add quotes somewhere? Thanks
again, and sorry I'm so
OK,
So, this *was* the problem. When I had tried it before,
I guess I had my AddModule line in the wrong place. I
tried it again and added the line at the end of all of
the other AddModule lines and it fired up just fine. No
warning from Apache about the module being already
loaded either.
Glad to hear it.
On Wed, 12 Feb 2003, Barley wrote:
OK,
So, this *was* the problem. When I had tried it before,
I guess I had my AddModule line in the wrong place. I
tried it again and added the line at the end of all of
the other AddModule lines and it fired up just fine. No
warning
For the record, Apache 1.3 needs AddModule, Apache 2 doesn't.
John
-Original Message-
From: Barley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 7:14 PM
To: Tomcat Users List
Subject: Re: JkMount error starting Apache
OK,
So, this *was* the problem. When I had tried
11 matches
Mail list logo