3 weeks already and I still can't get mod_jk to handle query strings :(

I have Apache 1.3.x in front of Tomcat 4.1.18  via  JK (and not JK2).

I can follow hyperlinks from one JSP to another JSP, through JK/Apache. 
However, I can not follow links which have a query appended. 

For example,say I have 2 JSPs - A.jsp and B.jsp.
The following link on A.jsp would work - 
    A HREF ="B.jsp" 

But this link on A.jsp would not work -
    A HREF="B.jsp?var=value" 

The error log in Apache simply reads,
"[Wed Feb 19 12:52:46 2003] [notice] child pid 25102 exit signal 
Segmentation Fault (11)" 

And the error in Catalina.out reads,
[INFO] ChannelSocket - -server has been restarted or reset this 
connection

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 ?


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

At the moment, this problem is stopping me from launching a site so if anybody can 
help, I'd be very grateful. 

Thank you very much in advance,

Stephen.





---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

Reply via email to