DO NOT REPLY [Bug 47840] A broken worker name is written in the log file.

2011-10-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47840

--- Comment #6 from Rainer Jung rainer.j...@kippdata.de 2011-10-25 19:12:18 
UTC ---
Eiji: Does this problem still exist in 1.2.32?

-- 
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



DO NOT REPLY [Bug 47840] A broken worker name is written in the log file.

2010-03-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47840

Rainer Jung rainer.j...@kippdata.de changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #4 from Rainer Jung rainer.j...@kippdata.de 2010-03-31 07:05:45 
UTC ---
Is this resolved using version 1.2.30?

-- 
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



DO NOT REPLY [Bug 47840] A broken worker name is written in the log file.

2010-03-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47840

--- Comment #5 from Eiji Takahashi mashm...@gmail.com 2010-04-01 00:27:11 UTC 
---
(In reply to comment #4)
 Is this resolved using version 1.2.30?
I used 1.2.31-dev. However, the result was same. 

access_log
127.0.0.1 - - [01/Apr/2010:09:26:00 +0900] GET /jbpm-console/app/processes.jsf
HTTP/1.1 200 2034 http://localhost/; Mozilla/5.0 (X11; U; Linux x86_64; ja;
rv:1.9.0.18) Gecko/2010021718 CentOS/3.0.18-1.el5.centos Firefox/3.0.18
\x04+ 1FB9719A77AE75C661E6F83E24AFAADF.dom01.testnode01

mod_jk.log
[Thu Apr 01 09:26:00 2010]lb1(^D+) localhost 0.027254

regards.

-- 
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



DO NOT REPLY [Bug 47840] A broken worker name is written in the log file.

2010-03-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47840

Paul Hinds paul.hi...@gtech.com changed:

   What|Removed |Added

 CC||paul.hi...@gtech.com

-- 
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



DO NOT REPLY [Bug 47840] A broken worker name is written in the log file.

2009-09-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47840

--- Comment #3 from Eiji Takahashi mashm...@gmail.com 2009-09-28 01:52:18 PDT 
---
I used your patch. However, the problem still remains.

---
I am setting jvmRoute of Tomcat as follows.
Tomcat-1
 Engine name=Catalina defaultHost=localhost jvmRoute=dom01.node01
Tomcat-2
 Engine name=Catalina defaultHost=localhost jvmRoute=dom01.node02

In this case, Tomcat returns the following sessionsid. 
 JSESSIONID=xxx.dom01.node01
 or
 JSESSIONID=xxx.dom01.node02

When a browser sends these sessionid, the following codes are not executed. 
828 if (!JK_WORKER_USABLE_STICKY(states[wr.i], activation)) {
829 /* We have a worker that is error state or stopped.
830  * If it has a redirection set use that redirection worker.
831  * This enables to safely remove the member from the
832  * balancer. Of course you will need a some kind of
833  * session replication between those two remote.
834  */
835 if (p-sticky_session_force)

Because,
 * Line 813: find_by_session returns -1.
  * session_route = dom01.node01 or dom01.node02
  * lb_workers[i].route = node01 or node02

 * Line 816: find_best_bydomain returns 0 or 1.
  * session_route = dom01.node01(or dom01.node02), and domain_len = 5
  * wr.domain = dom01

 * JK_WORKER_USABLE_STICKY is true.
  * lb status is JK_LB_STATE_OK
  * activation is JK_LB_ACTIVATION_ACTIVE

804 static int find_bysession_route(jk_ws_service_t *s,
805 lb_worker_t *p,
806 const char *session_route,
807 int *states,
808 jk_logger_t *l)
809 {
810 int uses_domain  = 0;
811 int candidate = -1;
812
813 candidate = find_by_session(s, p, session_route, l);
814 if (candidate  0) {
815 uses_domain = 1;
816 candidate = find_best_bydomain(s, p, session_route, states, l);
817 }

s-route is set by the following codes. 
821 if (uses_domain)
822 s-route = wr.domain;

Best regards.

-- 
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



DO NOT REPLY [Bug 47840] A broken worker name is written in the log file.

2009-09-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47840

--- Comment #2 from Rainer Jung rainer.j...@kippdata.de 2009-09-18 19:35:24 
PDT ---
I think your patch doesn't help. I analyzed the problem and came up with
another solution. Would you please try the below patch and see if it fixes the
problem for you:

Index: common/jk_lb_worker.c
===
--- common/jk_lb_worker.c   (revision 810065)
+++ common/jk_lb_worker.c   (working copy)
@@ -840,7 +840,11 @@
 }
 else if (*wr.domain  !uses_domain) {
 candidate = find_best_bydomain(s, p, wr.domain, states, l);
-s-route = wr.domain;
+if (candidate = 0) {
+s-route = wr.domain;
+} else {
+s-route = NULL;
+}
 }
 if (candidate = 0) {
 wr = p-lb_workers[candidate];

-- 
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



DO NOT REPLY [Bug 47840] A broken worker name is written in the log file.

2009-09-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47840

Eiji Takahashi mashm...@gmail.com changed:

   What|Removed |Added

  Attachment #24264|0   |1
is obsolete||

-- 
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



DO NOT REPLY [Bug 47840] A broken worker name is written in the log file.

2009-09-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47840

--- Comment #1 from Eiji Takahashi mashm...@gmail.com 2009-09-14 20:48:56 PDT 
---
Created an attachment (id=24265)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=24265)
patch for jk_lb_worker.c

Oops, sorry. I attached incorrect file.

-- 
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