tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Adams" <>
Subject RE: Tomcat 4 and Apache
Date Sun, 24 Feb 2002 05:21:21 GMT
Hi Kristian,
I think I see the problem.
you do NOT need the line:
AddModule mod_jk.c

I have seen this error before and I am no connection geek but I thought this
line was not needed for mod_jk and I cchecked with my config and myne does
not have it either.


-----Original Message-----
From: Kristian Duske []
Sent: Saturday, February 23, 2002 1:11 PM
Subject: Tomcat 4 and Apache

Hi everyone,

I'm sorry that I'm probably the 100th person to ask this, but I have
searched google groups and the archives of this mailing list, both of which
failed to help me setting up Tomcat 4.01 with Apache 1.3.23 on Windows.

I have tried to load both mod_jk.dll and in Apache. mod_jk
gives me the following error:
Syntax error on line 195 of c:/programme/wamp/apache/conf/httpd.conf:
Can't locate API module structure `mod_jk' in file
c:/programme/wamp/apache/modules/mod_jk.dll: (127) Die angegebene Prozedur
wurde nicht gefunden:

The last bit translates to "The specified procedure was not found". The
relevant lines in my httpd.conf are
LoadModule mod_jk modules/mod_jk.dll
AddModule mod_jk.c

I had more luck with mod_webapp, which loads properly using these lines:
LoadModule webapp_module modules/
AddModule mod_webapp.c
WebAppConnection conn      warp  localhost:8008

But when I add either (or both) of these lines
WebAppInfo /webapp-info
WebAppDeploy     examples conn  /examples

apache -t gives me the following error:
C:\Programme\Wamp\Apache>apache -t
Syntax error on line 256 of c:/programme/wamp/apache/conf/httpd.conf:
Invalid virtual host name

where in line 256 is either one (or the first of)
WebAppInfo /webapp-info
WebAppDeploy     examples conn  /examples

I have found out that other users had this problem when their ServerName
directive was commented out in their httpd.conf, and I have tried that
already, without luck.

Does anybody have an idea how to solve this problem?

Thank you very much

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message