RE: mod_jk error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



httpd.conf :
 
Listen 7001
# Load Mod_JK Module for Tomcat Connector
LoadModule      jk_module       modules/mod_jk.so
#SiteMinder Configs Begin - by ssoteam - 0729
LoadModule sm_module /data01/netegrity/siteminder5qmr7/webagent/lib/libmod_sm20.so
SmInitFile /data01/expd/conf/WebAgent.conf
#SiteMinder Configs End
 
#
# Where to find workers.properties
JkWorkersFile /data01/expd/conf/workers.properties
# Where to put jk logs
JkLogFile /data01/expd/logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
JkMount /sso/*  sso1
JkMount /iat/* iat1
JkMount /custdash/* custdash1
 
 
workers.properties :
 
workers.java_home=/usr/java
ps=/
worker.list=iat1,sso1,custdash1
## SSO CONNECTOR
worker.sso1.port=7103
worker.sso1.host=10.33.9.71
worker.sso1.type=ajp13
## IAT CONNECTOR
worker.iat1.port=7123
worker.iat1.host=10.33.9.71
worker.iat1.type=ajp13
## CUSTDASH CONNECTOR
worker.custdash1.port=7183
worker.custdash1.host=10.33.9.71
worker.custdash1.type=ajp13
 
 
server.xml :
 
<Server port="7184" shutdown="SHUTDOWN">
 <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector port="7181" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
     to 0 -->
 
        <!-- Note : To use gzip compression you could set the following properties :
 
                           compression="on"
                           compressionMinSize="2048"
                           noCompressionUserAgents="gozilla, traviata"
                           compressableMimeType="text/html,text/xml"
        -->
 
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="7182" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
    -->
 
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="7183"
               enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
 
 
====================================================
 
My request is not even reaching uptil my tomcat server. It stucks on apache webserver itself.


From: Jeff Beard [mailto:jeffb@xxxxxxxxxxxxx]
Sent: Thursday, August 09, 2007 7:52 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: mod_jk error

Can you post the relevant configuration from workers.properties, apache config and the server.xml please?

 

 

Thanks,

 

Jeff

 

From: Sangoi, Nehal (Gexpro, consultant) [mailto:Nehal.Sangoi@xxxxxxxxxx]
Sent: Thursday, August 09, 2007 3:22 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: mod_jk error

 

In continuation to below error, I have few more lines of log.

 

[Thu Aug 09 20:09:27 2007] [28566:38592] [debug] wc_get_worker_for_name::jk_worker.c (114): found a worker iat1
[Thu Aug 09 20:09:27 2007] [28566:38592] [debug] wc_get_name_for_type::jk_worker.c (290): Found worker type 'ajp13'
[Thu Aug 09 20:09:27 2007] [28566:38592] [debug] init_ws_service::mod_jk.c (607): Service protocol=HTTP/1.1 method=GET host=(null) addr=10.33.84.4 name=gexprdweb.gexo.com port=7001 auth=(null) user=(null) laddr=10.33.4.151 raddr=10.33.84.4

 


==============================

 

[Thu Aug 09 20:10:50 2007] [28567:38592] [debug] map_uri_to_worker::jk_uri_worker_map.c (616): Found a wildchar match '/custdash/*=custdash1'
[Thu Aug 09 20:10:50 2007] [28567:38592] [debug] jk_handler::mod_jk.c (2111): Into handler jakarta-servlet worker=custdash1 r->proxyreq=0
[Thu Aug 09 20:10:50 2007] [28567:38592] [debug] wc_get_worker_for_name::jk_worker.c (114): found a worker custdash1
[Thu Aug 09 20:10:50 2007] [28567:38592] [debug] wc_get_name_for_type::jk_worker.c (290): Found worker type 'ajp13'
[Thu Aug 09 20:10:50 2007] [28567:38592] [debug] init_ws_service::mod_jk.c (607): Service protocol=HTTP/1.1 method=GET host=(null) addr=10.33.84.4 name=gexprdweb.gexo.com port=80 auth=(null) user=(null) laddr=10.33.4.151 raddr=10.33.84.4

 

==============================

 

[Thu Aug 09 20:49:17 2007] [29047:38592] [debug] wc_get_worker_for_name::jk_worker.c (114): found a worker ecatalog1
[Thu Aug 09 20:49:17 2007] [29047:38592] [debug] wc_get_name_for_type::jk_worker.c (290): Found worker type 'ajp13'
[Thu Aug 09 20:49:17 2007] [29047:38592] [debug] init_ws_service::mod_jk.c (607): Service protocol=HTTP/1.1 method=GET host=(null) addr=10.33.84.4 name=gexprdweb.gexo.com port=8
0 auth=(null) user=(null) laddr=10.33.4.151 raddr=10.33.84.4

 

 

In the above bold lines, my URL port is getting changed from 7001 to 80 mysteriously. My instance is running over 7001 and application too, is pointing to 7001 in all of the configuration. What could be the reason for getting it redirected to port 80?

 

Thanks

Nehal


From: Sangoi, Nehal (Gexpro, consultant)
Sent: Wednesday, August 08, 2007 10:20 AM
To: users@xxxxxxxxxxxxxxxx
Subject: mod_jk error

Hi

 

I am running apache 2.0.59 on linux machine with the mod_jk 1.2.19 binary as connector to tomcat 5.5.23.

For one of the workers in mod_jk, its giving me following error.

 

[Tue Aug 07 20:41:03 2007] [22993:22208] [debug] jk_handler::mod_jk.c (2047): Service finished with status=404 for worker=tss1

 

I tried to search the fressh mod_jk binary for the given apache version, but it seems, its not available anymore. Hence, I tried to build from the source code, but that option also did not work.

 

What could be the possible reason for the error mentioned and how it can be resolved?

 

 

Thanks

Nehal

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux