You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephen Riek <st...@yahoo.co.uk> on 2003/02/19 13:59:55 UTC
Querystring causing seg fault with mod_jk (RE: Apache 1.3.X + Mod_jk2 + Jakarta 4.1.18)
Just a question related to this.
I also have Apache 1.3.x accessing Tomcat 4.1.18 through JK (and not JK2).
I can follow hyperlinks from one JSP (served up by Tomca) to another JSP, through JK/Apache. However, I can not follow links with a query appended.
Eg. <a href="index.jsp?somevar=value">click here</a> would not work but
<a href="index.jsp"> click here</a> does work.
The error log in Apache simply reads,
"[Wed Feb 19 12:52:46 2003] [notice] child pid 25102 exit signal Segmentation Fault (11)"
At the moment I have set JK to pass ALL requests through with
JkMount /* worker1
But is there something else I have to do to allow requests with querystrings ? or as the Apache error log suggests, have I got a more serious problem ?
My httpd/conf/workers.properties is :
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
And my httpd.conf uses this:
LoadModule jk_module modules/mod_jk.so
AddModule mod_jk.c
JkWorkersFile /httpd/conf/workers.properties
JkLogFile /httpd/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /* worker1
(copied it from one of you on tomcat-users yesterday. apologies if it looks familiar :)
Thanks for any help,
Stephen.
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
ChannelSocket reset connection (Re: Querystring seg fault with mod_jk)
Posted by Stephen Riek <st...@yahoo.co.uk>.
Still haven't had any luck trying to debug this, but have found this error msg
in catalina.out,
[INFO] ChannelSocket - -server has been restarted or reset this connection
Stephen Riek <st...@yahoo.co.uk> wrote:I also have Apache 1.3.x accessing Tomcat 4.1.18 through JK (and not JK2).
I can follow hyperlinks from one JSP (served up by Tomca) to another JSP, through JK/Apache. However, I can not follow links with a query appended.
Eg. HREF ="somejsp?var=value" would not work but
HREF="somejsp" does work.
The error log in Apache simply reads,
"[Wed Feb 19 12:52:46 2003] [notice] child pid 25102 exit signal Segmentation Fault (11)"
At the moment I have set JK to pass ALL requests through with
JkMount /* worker1
But is there something else I have to do to allow requests with querystrings ? or as the Apache error log suggests, have I got a more serious problem ?
My httpd/conf/workers.properties is :
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
And my httpd.conf uses this:
LoadModule jk_module modules/mod_jk.so
AddModule mod_jk.c
JkWorkersFile /httpd/conf/workers.properties
JkLogFile /httpd/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /* worker1
(copied it from one of you on tomcat-users yesterday. apologies if it looks familiar :)
Thanks for any help,
Stephen.
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs