https://issues.apache.org/bugzilla/show_bug.cgi?id=50339
--- Comment #3 from Frank <muel...@wave-computer.de> 2010-11-30 06:23:03 EST --- (In reply to comment #2) Hi, thanks for your answer, but I'm afraid the patch does not completely solve the problem. The parser doesn't read any wrong values like "socket_tioeout" anymore, but it fails to read some values at all: workers.properties looks like this: ### Templates ### ## Template 1 worker.tpl1.method=Busyness worker.tpl1.sticky_session=True worker.tpl1.recover_time=20 ## Template 2 worker.tpl2.type=ajp13 worker.tpl2.lbfactor=100 worker.tpl2.fail_on_status=500,503 worker.tpl2.socket_timeout=0 worker.tpl2.connect_timeout=50000 worker.tpl2.connection_pool_size=4 ### /Templates ### ... worker.list=lb_www.domain.tld worker.lb_www.domain.tld.maintain=20 worker.lb_www.domain.tld.type=lb worker.lb_www.domain.tld.balance_workers=worker1 worker.lb_www.domain.tld.reference=worker.tpl1 ## Set properties for worker1 (ajp13) worker.worker1.reference=worker.tpl2 worker.worker1.host=10.0.0.1 worker.worker1.port=9001 worker.worker1.route=123 The template entries are indented by 2 spaces, the worker entries are not! That's a formatting error I made, and haven't discovered until yet (the file's got 939 lines ...). All other worker entries are indented just like the templates. But when the file looks like this, I get the error: [Tue Nov 30 12:13:50 2010] [28294:140392364185344] [debug] jk_map_resolve_references::jk_map.c (816): Copying values from worker.tpl1. to worker.lb_www.domain.tld. [Tue Nov 30 12:13:50 2010] [28294:140392364185344] [error] jk_map_inherit_properties::jk_map.c (882): Reference 'worker.tpl1.' not found So, it can't read the line that references the template. When I indent the worker entries by 2 spaces too, everything is fine. Also when I remove the spaces in front of the template lines, it works. But if there is a mixed use of spaces and no spaces, the parser fails. It's no problem to fix my config file at all, but it's really hard to find an error like that. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org