geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dapsy <o...@yahoo.com>
Subject Urgent: Configurating mod_jk with G v1.2
Date Thu, 19 Jul 2007 17:35:35 GMT

Can someone please help with this. I've been trying different things for
several days and
I keep running into different bugs which was stated fixed according to some
posting I found.

These are details of my problems. I am trying to configure Apache mod_jk
with geronimo v1.2. It works perfectly for G v1.1 and v1.2.  I am running a
version of geronimo SNAPSHOT that I build from the source file since the
binary installation has the same problem.

workers.properties:
worker.list=node1

worker.node1.type=ajp13
worker.node1.host=localhost
worker.node1.port=8009

Apache HTTP entry
<IfModule !mod_jk.c>
LoadModule jk_module  modules/mod_jk.so
</IfModule>
<IfModule mod_jk.c>
JkWorkersFile "conf/workers.properties"
JkLogFile "logs/mod_jk.log"
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat
JKMount   /*  node1
</IfModule>



geronimo.out:
13:20:59,301 WARN  [AJP13Connection] Bad version/console
java.lang.IllegalArgumentException: Unknown version
        at org.mortbay.http.HttpMessage.setVersion(HttpMessage.java:471)
        at
org.mortbay.http.ajp.AJP13Connection.handleNext(AJP13Connection.java:204)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
        at
org.mortbay.http.ajp.AJP13Listener.handleConnection(AJP13Listener.java:212)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
13:20:59,303 WARN  [AJP13Connection] 448/8192[28]: FORWARD_REQUEST{:
12,34,01,bc,02,02,00,08,48,54,54,50,2f,31,2e,31,00,00,08,2f,63,6f,6e,73,6f,6c,65,00,00,0c,31,30
: .4......HTTP.1.1....console...10
2e,31,31,31,2e,33,2e,32,34,38,00,ff,ff,00,0c,31,30,2e,31,31,31,2e,35,2e,31,30,33,00,00,50,00,00
: .111.3.248.ÿÿ..10.111.5.103..P..
0a,a0,0b,00,0c,31,30,2e,31,31,31,2e,35,2e,31,30,33,00,a0,0e,00,5c,4d,6f,7a,69,6c,6c,61,2f,35,2e
: .....10.111.5.103.....Mozilla.5.
30,20,28,4d,61,63,69,6e,74,6f,73,68,3b,20,55,3b,20,49,6e,74,65,6c,20,4d,61,63,20,4f,53,20,58,3b
: 0..Macintosh..U..Intel.Mac.OS.X.
20,65,6e,2d,55,53,3b,20,72,76,3a,31,2e,38,2e,31,2e,34,29,20,47,65,63,6b,6f,2f,32,30,30,37,30,35
: .en.US..rv.1.8.1.4..Gecko.200705
31,35,20,46,69,72,65,66,6f,78,2f,32,2e,30,2e,30,2e,34,00,a0,01,00,63,74,65,78,74,2f,78,6d,6c,2c
: 15.Firefox.2.0.0.4....ctext.xml.
61,70,70,6c,69,63,61,74,69,6f,6e,2f,78,6d,6c,2c,61,70,70,6c,69,63,61,74,69,6f,6e,2f,78,68,74,6d
: application.xml.application.xhtm
6c,2b,78,6d,6c,2c,74,65,78,74,2f,68,74,6d,6c,3b,71,3d,30,2e,39,2c,74,65,78,74,2f,70,6c,61,69,6e
: l.xml.text.html.q.0.9.text.plain
3b,71,3d,30,2e,38,2c,69,6d,61,67,65,2f,70,6e,67,2c,2a,2f,2a,3b,71,3d,30,2e,35,00,a0,04,00,0e,65
: .q.0.8.image.png.....q.0.5.....e
6e,2d,75,73,2c,65,6e,3b,71,3d,30,2e,35,00,a0,03,00,0c,67,7a,69,70,2c,64,65,66,6c,61,74,65,00,a0
: n.us.en.q.0.5.....gzip.deflate..
02,00,1e,49,53,4f,2d,38,38,35,39,2d,31,2c,75,74,66,2d,38,3b,71,3d,30,2e,37,2c,2a,3b,71,3d,30,2e
: ...ISO.8859.1.utf.8.q.0.7...q.0.
37,00,00,0a,4b,65,65,70,2d,41,6c,69,76,65,00,00,03,33,30,30,00,a0,06,00,0a,6b,65,65,70,2d,61,6c
: 7...Keep.Alive...300.....keep.al
69,76,65,00,a0,09,00,30,4a,53,45,53,53,49,4f,4e,49,44,3d,39,6f,39,73,6d,68,37,70,37,35,71,6d,3b
: ive....0JSESSIONID.9o9smh7p75qm.


mod_jk.log:
[Thu Jul 19 13:23:23 2007] [2500:46768] [debug]
ajp_connection_tcp_send_message::jk_ajp_common.c (896): 01b0    66 79 78 76
6E 73 72 7A 00 00 0D 43 61 63 68 65  - fyxvnsrz...Cache
[Thu Jul 19 13:23:23 2007] [2500:46768] [debug]
ajp_connection_tcp_send_message::jk_ajp_common.c (896): 01c0    2D 43 6F 6E
74 72 6F 6C 00 00 09 6D 61 78 2D 61  - -Control...max-a
[Thu Jul 19 13:23:23 2007] [2500:46768] [debug]
ajp_connection_tcp_send_message::jk_ajp_common.c (896): 01d0    67 65 3D 30
00 A0 08 00 01 30 00 FF 00 00 00 00  - ge=0.....0......
[Thu Jul 19 13:23:23 2007] [2500:46768] [debug]
ajp_send_request::jk_ajp_common.c (1287): (node1) request body to send 0 -
request body to resend 0
[Thu Jul 19 13:23:23 2007] [2500:46768] [info] 
ajp_connection_tcp_get_message::jk_ajp_common.c (945): (node1) Tomcat has
forced a connection close for socket 14
[Thu Jul 19 13:23:23 2007] [2500:46768] [error]
ajp_get_reply::jk_ajp_common.c (1592): (node1) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Thu Jul 19 13:23:23 2007] [2500:46768] [info]  ajp_service::jk_ajp_common.c
(1902): (node1) receiving from tomcat failed, recoverable operation
attempt=1
[Thu Jul 19 13:23:23 2007] [2500:46768] [info]  ajp_service::jk_ajp_common.c
(1941): (node1) sending request to tomcat failed,  recoverable operation
attempt=2
[Thu Jul 19 13:23:23 2007] [2500:46768] [error] ajp_service::jk_ajp_common.c
(1953): (node1) Connecting to tomcat failed. Tomcat is probably not started
or is listening on the wrong port
[Thu Jul 19 13:23:23 2007] [2500:46768] [debug] ajp_done::jk_ajp_common.c
(2286): recycling connection pool slot=0 for worker node1
[Thu Jul 19 13:23:23 2007] [2500:46768] [info]  jk_handler::mod_jk.c (2254):
Service error=0 for worker=node1



-- 
View this message in context: http://www.nabble.com/Urgent%3A-Configurating-mod_jk-with-G-v1.2-tf4112614s134.html#a11694105
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.


Mime
View raw message