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

Reply via email to