DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34143>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34143





------- Additional Comments From [EMAIL PROTECTED]  2005-03-31 23:53 -------
Okay, taking another crack at this.

In response to Mladen's suggestion, I changed the default separator
character in jk_map_read_property() to `,'.

The one place where I did find `*' used as a tokenization character
was in jk_util.c's jk_parse_sysprops().  There, the use of * as a
separator is probably a better choice than a comma; it's not unusual
for a comma to be contained within the value of a java system
property.  (for example, "-Dhttps.protocols=SSLv3,SSLv2Hello")

With this patch, jk_map_read_property() now special-cases `*' as a
separator for sysprops; much in the same way as it special cases path
separators and command line separators.

I've tested this on apache-1.3.33 and apache-2.0.53 with my original
case:

  -------------------------------- workers.properties ---------------
  worker.list=worker_a_lb
  worker.list=worker1_a

  worker.worker1_a.type=ajp13
  worker.worker1_a.host=localhost
  worker.worker1_a.port=8080
  worker.worker1_a.lbfactor=2.0

  worker.worker_a_lb.type=lb
  worker.worker_a_lb.balanced_workers=worker1_a
  --------------------------------------------------------------------

  -------------------- srm.conf --------------------------------------
  JkMount /a/*    worker_a_lb
  JkMount /a-1/*    worker1_a
  --------------------------------------------------------------------

as well as with an srm.conf-only variant:

  -------------------- srm.conf --------------------------------------
  JkWorkerProperty  worker.list=worker_lb
  JkWorkerProperty  worker.list=worker_1
  JkWorkerProperty  worker.worker_1.type=ajp13
  JkWorkerProperty  worker.worker_1.host=localhost
  JkWorkerProperty  worker.worker_1.port=8080
  JkWorkerProperty  worker.worker_1.lbfactor=2.0
  JkWorkerProperty  worker.worker_lb.type=lb
  JkWorkerProperty  worker.worker_lb.balanced_workers=worker_1

  JkMount /a/*    worker_a_lb
  JkMount /a-1/*    worker1_a
  --------------------------------------------------------------------

It seems to do the right thing.

I'm not set up to do JNI, so unfortunately, I wasn't able to test
with a JNI worker.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to