[EMAIL PROTECTED] schrieb:
>> I have the following configuration (config files below) and am 
>> encountering the error
>> “ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong 
>> message format 0x4854 from 127.0.0.1:8082” when attempting to access
>> a URL that matches one of my JKMounted entries. My versions are 
>> listed below, my workers.properties entries are supplied, my
>> relevant http.conf entries are supplied, and the debug log from 
>> mod_jk.log is supplied. mod_jk was built from source because of the
>> known issue of the latest mod_jk builds not working properly with 
>> the 2.2.3 version of Apache httpd.
>>
>> Can anyone provide some insight as to why I’m getting this error 
>> message? Is it my combination of Tomcat, Apache, mod_jk? Is there
>> something that mod_jk is expecting but not getting from Tomcat?
>>
> 
> Mod_Jk needs to talk to tomcat via the ajp protocol.  You need to define 
> an ajp connector and point mod_jk at that port.

The connectors are defined in server.xml of Tomcat. 4.1.31 has by
default two types of ajp13 connectors to choose from. The more modern
one is the one with
className="org.apache.coyote.tomcat4.CoyoteConnector". The attribute
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler is
important. You need one Connector per port you want to talk to via mod_jk.

BTW: if you really still need to use Tomcat 4.1, consider upgrading to
4.1.37.

Regards,

Rainer


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to