Markus Suter/MX/KNI is out of the office.

2005-03-13 Thread markus . suter
I will be out of the office starting  03/13/2005 and will not return until
03/30/2005.

NO access to e-mails. In urgent cases pls get in touch with Ms. Erika
Montes (assistant) or with the relevant product managers. Best thanks and
regards.


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



[GUMP@brutus]: Project jakarta-tomcat-jk-native (in module jakarta-tomcat-connectors) failed

2005-03-13 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project jakarta-tomcat-jk-native has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 5 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- jakarta-tomcat-jk-native :  Connectors to various web servers


Full details are available at:

http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/gump_work/build_jakarta-tomcat-connectors_jakarta-tomcat-jk-native.html
Work Name: build_jakarta-tomcat-connectors_jakarta-tomcat-jk-native (Type: 
Build)
Work ended in a state of : Failed
Elapsed: 
Command Line: make 
[Working Directory: 
/usr/local/gump/public/workspace/jakarta-tomcat-connectors/jk/native]
-
Making all in common
make[1]: Entering directory 
`/home/gump/workspaces2/public/workspace/jakarta-tomcat-connectors/jk/native/common'
/bin/sh 
/usr/local/gump/public/workspace/apache-httpd/dest-13032005/build/libtool 
--silent --mode=compile gcc 
-I/usr/local/gump/public/workspace/apache-httpd/dest-13032005/include -g -O2 -g 
-O2 -pthread -DHAVE_APR 
-I/usr/local/gump/public/workspace/apr/dest-13032005/include/apr-1 -g -O2 
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-I/home/gump/workspaces2/public/workspace/apache-httpd/srclib/pcre -I 
/opt/jdk1.4/include -I /opt/jdk1.4/include/ -c jk_ajp12_worker.c 
/usr/local/gump/public/workspace/apache-httpd/dest-13032005/build/libtool: 
/usr/local/gump/public/workspace/apache-httpd/dest-13032005/build/libtool: No 
such file or directory
make[1]: *** [jk_ajp12_worker.lo] Error 127
make[1]: Leaving directory 
`/home/gump/workspaces2/public/workspace/jakarta-tomcat-connectors/jk/native/common'
make: *** [all-recursive] Error 1
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/rss.xml
- Atom: 
http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 1813032005, brutus:brutus-public:1813032005
Gump E-mail Identifier (unique within run) #22.

--
Apache Gump
http://gump.apache.org/ [Instance: brutus]

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



Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant JKStatusUpdateTask.java catalina.tasks

2005-03-13 Thread Peter Rossbach
Hello Mladen,
I have not implement multi output mode. I have made a very straigth forward
implementation to JkStatusUpdateTask. The current implementation can't 
read the current Apache jk config

The following statements are used
loadbalancer update
http://localhost/status?cmd=textupdatew=lblf=falsels=true
   lr is int = 1
   lt is int = 59
worker update
http://localhost/status?cmd=textupdatew=node1l=lbwf=1wd=false
   here I used for the parameter l for the name of the loadbalancer! I 
not need it for textupdate command

I also thing that next stepfor jk_status is a multi channel output mode! :-)
All worker names are URLEncoded and you can setup the charset at the ant 
task.
I wan't deal directly with the worker names at my script and not with 
the internal id's.

Peter

Mladen Turk schrieb:
Hey this is cool :).
[EMAIL PROTECTED] wrote:
  Log:
  add JkStausUpdate task for mod:jk status worker (greater mod_jk 
1.2.9 only)
  

I thought it was meant to be an XML, to pick up the config from apache.
Also, can you keep the cmd=update and add something like:
mime=html|xml|txt ?
Further more 'lr' and 'lb' params are using integer values (worker id's)
so you will need to use integers or change the code to accept strings.
The reason why I choose the integers or id's was because in that case
there is no need to url encode worker names. Of course we can what
documentation says accept only alnums for worker names, but that will
break backward compatibility in some cases.
I would like for this version to add ERROR message in the log if
worker name is non-url safe, but still allow it for now.
IMO ant task should pick up default values from apache directly by
parsing xml output.
Regards,
Mladen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant JKStatusUpdateTask.java catalina.tasks

2005-03-13 Thread Mladen Turk
Peter Rossbach wrote:
I have not implement multi output mode. I have made a very straigth forward
implementation to JkStatusUpdateTask. The current implementation can't 
read the current Apache jk config

Any chance to enable reading jkstatus, so that manager can display
mod_jk config. I was thinking that we would build that in such
a way. I know it's a lot of work, but ...
Regards,
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant JKStatusUpdateTask.java catalina.tasks

2005-03-13 Thread Peter Rossbach
Hello Mladen,
OK, I made a try to extract the jk status information from html.
I hope I can do that in the next week
Peter
Mladen Turk schrieb:
Peter Rossbach wrote:
I have not implement multi output mode. I have made a very straigth 
forward
implementation to JkStatusUpdateTask. The current implementation 
can't read the current Apache jk config

Any chance to enable reading jkstatus, so that manager can display
mod_jk config. I was thinking that we would build that in such
a way. I know it's a lot of work, but ...
Regards,
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant JKStatusUpdateTask.java catalina.tasks

2005-03-13 Thread Peter Rossbach
Cool,
after you intergrate that xml mode  I wrote the Ant task
Great :-)
peter
Mladen Turk schrieb:
Peter Rossbach wrote:
Hello Mladen,
OK, I made a try to extract the jk status information from html.
I hope I can do that in the next week
There is no need to do that.
I'll make a complete xml dump for jkstatus.
We already have xml mode for mod_proxy so in that
case this will be reusable.
Html should be used only in standalone mode.
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


cvs commit: jakarta-tomcat-connectors/jk/native/common jk_status.c

2005-03-13 Thread mturk
mturk   2005/03/13 23:52:54

  Modified:jk/native/common jk_status.c
  Log:
  Add xml configuration dump for load balaced workers.
  Added new query param 'mime' that determines the otgoing mime type.
  
  Revision  ChangesPath
  1.28  +180 -27   jakarta-tomcat-connectors/jk/native/common/jk_status.c
  
  Index: jk_status.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_status.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- jk_status.c   13 Mar 2005 06:35:57 -  1.27
  +++ jk_status.c   14 Mar 2005 07:52:53 -  1.28
  @@ -43,6 +43,11 @@
   
   #define JK_STATUS_HEND /body\n/html\n
   
  +#define JK_STATUS_XMLH ?xml version=\1.0\ encoding=\UTF-8\ ?\n   
   \
  +   jk:manager 
xmlns:jk=\http://jakarta.apache.org\;\n
  +
  +#define JK_STATUS_XMLE /jk:manager\n
  +
   #define JK_STATUS_TEXTUPDATE_RESPONCE OK - jk status worker updated\n
   
   typedef struct status_worker status_worker_t;
  @@ -84,11 +89,21 @@
   NULL
   };
   
  -static const char *headers_vals[] = {
  +#define HEADERS_NO_CACHE no-cache, no-cache, NULL
  +
  +static const char *headers_vhtml[] = {
   text/html,
  -no-cache,
  -no-cache,
  -NULL
  +HEADERS_NO_CACHE
  +};
  +
  +static const char *headers_vxml[] = {
  +text/xml,
  +HEADERS_NO_CACHE
  +};
  +
  +static const char *headers_vtxt[] = {
  +text/plain,
  +HEADERS_NO_CACHE
   };
   
   #if !defined(HAVE_VSNPRINTF)  !defined(HAVE_APR)
  @@ -348,6 +363,36 @@
   jk_puts(s, /table\n);
   }
   
  +static void dump_maps(jk_ws_service_t *s, status_worker_t *sw,
  +  jk_uri_worker_map_t *uwmap,
  +  const char *worker, jk_logger_t *l)
  +{
  +unsigned int i;
  +
  +for (i = 0; i  uwmap-size; i++) {
  +uri_worker_record_t *uwr = uwmap-maps[i];
  +if (strcmp(uwr-worker_name, worker)) {
  +continue;
  +}
  +jk_puts(s, jk:map\n);
  +jk_putv(s,   jk:type,
  +status_val_match(uwr-match_type),
  +/jk:type\n, NULL);
  +jk_putv(s,   jk:uri,
  +uwr-uri,
  +/jk:uri\n, NULL);
  +jk_putv(s,   jk:context,
  +uwr-context,
  +/jk:context\n, NULL);
  +
  +if (uwr-suffix)
  +jk_putv(s,   jk:suffix,
  +uwr-suffix,
  +/jk:suffix\n, NULL);
  +jk_puts(s, /jk:map\n);
  +}
  +}
  +
   
   /**
* Command line reference:
  @@ -547,6 +592,91 @@
   /table);
   }
   
  +static void dump_config(jk_ws_service_t *s, status_worker_t *sw,
  +jk_logger_t *l)
  +{
  +unsigned int i;
  +char buf[32];
  +int has_lb = 0;
  +
  +for (i = 0; i  sw-we-num_of_workers; i++) {
  +jk_worker_t *w = wc_get_worker_for_name(sw-we-worker_list[i], l);
  +if (w == NULL)
  +continue;
  +if (w-type == JK_LB_WORKER_TYPE) {
  +has_lb = 1;
  +break;
  +}
  +}
  +
  +jk_printf(s,   jk:server name=\%s\ port=\%d\ software=\%s\ 
version=\%s\ /\n,
  +  s-server_name, s-server_port, s-server_software,  
JK_VERSTRING);
  +if (has_lb)
  +jk_puts(s,   jk:balancers\n);
  +for (i = 0; i  sw-we-num_of_workers; i++) {
  +jk_worker_t *w = wc_get_worker_for_name(sw-we-worker_list[i], l);
  +lb_worker_t *lb = NULL;
  +unsigned int j;
  +
  +if (w == NULL)
  +continue;
  +if (w-type == JK_LB_WORKER_TYPE) {
  +lb = (lb_worker_t *)w-worker_private;
  +}
  +else {
  +/* Skip non lb workers */
  +continue;
  +}
  +jk_printf(s,   jk:balancer\njk:id%d/jk:id\n, i);
  +jk_putv(s, jk:name, lb-s-name, /jk:name\n, NULL);
  +jk_putv(s, jk:type, status_worker_type(w-type), 
/jk:type\n, NULL);
  +jk_putv(s, jk:sticky, status_val_bool(lb-s-sticky_session),
  +   /jk:sticky\n, NULL);
  +jk_putv(s, jk:stickyforce, 
status_val_bool(lb-s-sticky_session_force),
  +   /jk:stickyforce\n, NULL);
  +jk_printf(s, jk:retries%d/jk:retries\n, lb-s-retries);
  +jk_printf(s, jk:recover%d/jk:recover\n, 
lb-s-recover_wait_time);
  +for (j = 0; j  lb-num_of_workers; j++) {
  +worker_record_t *wr = (lb-lb_workers[j]);
  +ajp_worker_t *a = (ajp_worker_t *)wr-w-worker_private;
  +jk_puts(s, jk:member\n);
  +jk_putv(s,   jk:name, wr-s-name, /jk:name\n, NULL);
  +jk_putv(s,   jk:type, status_worker_type(wr-w-type),
  +   /jk:type\n, NULL);
  +
  +jk_putv(s,   jk:host, 

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant JKStatusUpdateTask.java catalina.tasks

2005-03-13 Thread Mladen Turk
Peter Rossbach wrote:
Cool,
after you intergrate that xml mode  I wrote the Ant task
OK, I've made xml dump for config.
To see the xml config you need to set the param:
http://localhost/jkstatus/?mime=xml
I have also removed the txtupdate, so you should use:
http://localhost/jkstatus/?cmd=updatemime=txt
Regards,
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]