tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: apache 2.0.45/tomcat 4.1.24 mod_jk trouble
Date Tue, 15 Apr 2003 16:00:11 GMT

Can you post the mod_jk.conf file for us?  Thanks.

John

On Tue, 15 Apr 2003 11:45:53 -0400, Clay Jones <clay@clay-jones.com> wrote:

> The mod_jk.log file only gets created when Apache starts up.  I changed 
> the value to "info", but I still get a zero byte file.  Apache's startup 
> message says:
>
> [Tue Apr 15 11:46:22 2003] [notice] Apache/2.0.45 (Unix) mod_ssl/2.0.45 
> OpenSSL/0.9.6b mod_jk/1.2.2 PHP/4.3.1 configured -- resuming normal 
> operations
>
>
> On Tuesday, April 15, 2003, at 11:05 AM, John Turner wrote:
>
>>
>> If you change JkLogLevel to "info" and try again, can you post the 
>> contents of your JK log file?
>>
>> John
>>
>> On Tue, 15 Apr 2003 10:55:01 -0400, Clay Jones <clay@clay-jones.com> 
>> wrote:
>>
>>> Hello,
>>>
>>> I've been trying to integrate apache and tomcat for a while, and I 
>>> cannot seem to make it work.  I'm using the following versions on 
>>> Redhat 8:
>>>
>>> 1.  Apache 2.0.45 compiled from source
>>> 2.  Tomcat 4.1.24
>>> 3.  mod_jk.so
>>>
>>> For Apache:
>>> I've added the mod_jk LoadModule calls to httpd.conf, and included the 
>>> auto-conf file tomcat generates.
>>>
>>> For Tomcat:
>>> I've also edited server.xml to add listeners for the server and host. 
>>> The auto-conf file is generated and looks to be complete.  There are 
>>> several sections for creating the Apache Alias directives, etc.  I have 
>>> a workers.properties file in /usr/local/tomcat/conf/jk.
>>>
>>> Accessing /examples on port 8080 works fine.  I get a 404 "File Not 
>>> Found" error when I try to access /examples on port 80.  It appears 
>>> that Apache is not properly sourcing the auto-conf file (Include 
>>> directive).  If I add a static alias in httpd.conf, I can reference 
>>> static pages in /usr/local/tomcat, but servlet execution is not 
>>> processed by Tomcat.  The two do not appear to be talking to each 
>>> other.
>>>
>>> I cannot find any indications from the logs for both applications as to 
>>> what th eproblem may be.  Thanks in advance for any assistance.
>>>
>>> nmap reports:
>>>
>>> 80/tcp     open        http
>>> 8009/tcp   open        ajp13
>>> 8080/tcp   open        http-proxy
>>>
>>>
>>> A portion of my auto-conf file is:
>>>
>>> # Static files
>>> Alias /examples "/usr/local/tomcat/webapps/examples"
>>>
>>> <Directory "/usr/local/tomcat/webapps/examples">
>>> Options Indexes FollowSymLinks
>>> DirectoryIndex index.html index.htm index.jsp
>>> </Directory>
>>>
>>>
>>> # Deny direct access to WEB-INF and META-INF
>>> #
>>> <Location "/examples/WEB-INF/*">
>>> AllowOverride None
>>> deny from all
>>> </Location>
>>>
>>> <Location "/examples/META-INF/*">
>>> AllowOverride None
>>> deny from all
>>> </Location>
>>>
>>> JkMount /examples/jsp/security/protected/j_security_check  ajp13
>>> JkMount /examples/snoop  ajp13
>>> JkMount /examples/servlet/*  ajp13
>>> JkMount /examples/CompressionTest  ajp13
>>> JkMount /examples/*.jsp  ajp13
>>> JkMount /examples/servletToJsp  ajp13
>>> JkMount /examples/SendMailServlet  ajp13
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>
>>
>>
>> -- Using M2, Opera's revolutionary e-mail client: 
>> http://www.opera.com/m2/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message