[Bug 592576] Re: Parse error for workers.properties
The patch provided in comment #2 is wrong. Now fixed upstreams. Will be part of mod_jk version 1.2.32. Details provided at https://issues.apache.org/bugzilla/show_bug.cgi?id=50339 and http://svn.apache.org/viewvc?view=revisionrevision=1042364 Regards, Rainer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/592576 Title: Parse error for workers.properties -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 592576] Re: Parse error for workers.properties
This is also tracked in the ASF Bugzilla under https://issues.apache.org/bugzilla/show_bug.cgi?id=50339 Could you try the following patch: Index: common/jk_map.c === --- common/jk_map.c (revision 1032021) +++ common/jk_map.c (working copy) @@ -630,6 +630,7 @@ static size_t trim(char *s) { size_t i; +size_t off; /* check for empty strings */ if (!(i = strlen(s))) @@ -646,7 +647,10 @@ isspace((int)((unsigned char)s[i])); i++); if (i 0) { -strcpy(s, s[i]); +for (off = i; '\0' != s[i]; i++); { +s[i - off] = s[i]; +} +s[i - off] = s[i]; } Tanks. Rainer ** Bug watch added: Apache Software Foundation Bugzilla #50339 http://issues.apache.org/bugzilla/show_bug.cgi?id=50339 -- Parse error for workers.properties https://bugs.launchpad.net/bugs/592576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 118649] Re: Provide a default jk.conf file
Release 1.2.31 of mod_jk contains a nice default configuration in its source tarball. You can copy that one into your distribution. Oler releases of mod_jk didn't contain a useful default config. -- Provide a default jk.conf file https://bugs.launchpad.net/bugs/118649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs