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

2005-03-12 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 3 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-12032005/build/libtool 
--silent --mode=compile gcc 
-I/usr/local/gump/public/workspace/apache-httpd/dest-12032005/include -g -O2 -g 
-O2 -pthread -DHAVE_APR 
-I/usr/local/gump/public/workspace/apr/dest-12032005/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-12032005/build/libtool: 
/usr/local/gump/public/workspace/apache-httpd/dest-12032005/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 2012032005, brutus:brutus-public:2012032005
Gump E-mail Identifier (unique within run) #18.

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

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



DO NOT REPLY [Bug 33970] - scheme directive borked?

2005-03-12 Thread bugzilla
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=33970.
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=33970





--- Additional Comments From [EMAIL PROTECTED]  2005-03-12 13:05 ---
Without any way to reproduce this this, tracking this down is going to be tricky
to say the least. The number of elements that appear to be involved isn't going
to help either.

It would help considerably if you could do the following:
- provide references for the 'known issue' with scheme
- test with 4.1.31

Also, anything you can do in the way of providing a test case would help 
enormously.

Whilst the issue isn't repeatable it does sound as if it happens pretty
frequently. I suggest logging the appropriate request/response headers in
tomcat, apache and anywhere else you can to see if this sheds any light on the
issue.

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



cvs commit: jakarta-tomcat-catalina/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager Constants.java HTMLHostManagerServlet.java HostManagerServlet.java LocalStrings.properties

2005-03-12 Thread pero
pero2005/03/12 05:20:13

  Modified:
webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager
Constants.java HTMLHostManagerServlet.java
HostManagerServlet.java LocalStrings.properties
  Log:
  Add  some usefull parameter to add new host
   autoDeploy,
   deployOnStartup,
   deployXML,
   unpackWARs,
   xmlNamespaceAware,
   xmlValidation
  
  Revision  ChangesPath
  1.2   +1 -0  
jakarta-tomcat-catalina/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/Constants.java
  
  Index: Constants.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/Constants.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Constants.java11 Mar 2005 22:39:26 -  1.1
  +++ Constants.java12 Mar 2005 13:20:13 -  1.2
  @@ -192,6 +192,7 @@
   /html;
   public static final String CHARSET=utf-8;
   
  +// FIXME need we this?
   public static final String XML_DECLARATION =
   ?xml version=\1.0\ encoding=\+CHARSET+\?;

  
  
  
  1.2   +57 -28
jakarta-tomcat-catalina/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/HTMLHostManagerServlet.java
  
  Index: HTMLHostManagerServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/webapps/host-manager/WEB-INF/classes/org/apache/catalina/hostmanager/HTMLHostManagerServlet.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HTMLHostManagerServlet.java   11 Mar 2005 22:39:26 -  1.1
  +++ HTMLHostManagerServlet.java   12 Mar 2005 13:20:13 -  1.2
  @@ -44,13 +44,14 @@
   * makes it easier to administrate.
   * p
   * However if you use a software that parses the output of
  -* codeHostManagerServlet/code you won't be able to upgrade
  +* codeHostManagerServlet/code you won't be able to upgrade
   * to this Servlet since the output are not in the
   * same format as from codeHostManagerServlet/code
   *
   * @author Bip Thelin
   * @author Malcolm Edgar
   * @author Glenn L. Nielsen
  +* @author Peter Rossbach
   * @version $Revision$, $Date$
   * @see ManagerServlet
   */
  @@ -76,14 +77,7 @@
   String command = request.getPathInfo();
   
   String name = request.getParameter(name);
  -String aliases = request.getParameter(aliases);
  -String appBase = request.getParameter(appBase);
  -boolean manager = true;
  -if ((request.getParameter(manager) != null) 
  - (request.getParameter(manager).equals(false))) {
  -manager = false;
  -}
  -
  + 
   // Prepare our output writer to generate the response message
   response.setContentType(text/html; charset= + Constants.CHARSET);
   
  @@ -91,7 +85,7 @@
   // Process the requested command
   if (command == null) {
   } else if (command.equals(/add)) {
  -message = add(name, aliases, appBase, manager);
  +message = add(request, name);
   } else if (command.equals(/remove)) {
   message = remove(name);
   } else if (command.equals(/list)) {
  @@ -112,17 +106,13 @@
* Add a host using the specified parameters.
*
* @param name host name
  - * @param aliases comma separated alias list
  - * @param appBase application base for the host
  - * @param manager should the manager webapp be deployed to the new host ?
*/
  -protected String add(String name, String aliases, String appBase, 
  -boolean manager) {
  +protected String add(HttpServletRequest request,String name) {
   
   StringWriter stringWriter = new StringWriter();
   PrintWriter printWriter = new PrintWriter(stringWriter);
   
  -super.add(printWriter, name, aliases, appBase, manager);
  +super.add(request,printWriter,name,true);
   
   return stringWriter.toString();
   }
  @@ -224,7 +214,7 @@
   args[8] = sm.getString(statusServlet.title);
   writer.print(MessageFormat.format(Constants.MANAGER_SECTION, args));
   
  -// Hosts Header Section
  + // Hosts Header Section
   args = new Object[3];
   args[0] = sm.getString(htmlHostManagerServlet.hostName);
   args[1] = sm.getString(htmlHostManagerServlet.hostAliases);
  @@ -295,18 +285,45 @@
   }
   
   // Add Section
  -args = new Object[10];
  +args = new Object[6];
   args[0] = sm.getString(htmlHostManagerServlet.addTitle);
   args[1] = sm.getString(htmlHostManagerServlet.addHost);
   args[2] = response.encodeURL(request.getContextPath() + /html/add);
   args[3] = 

cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-12 Thread remm
remm2005/03/12 10:44:44

  Modified:webapps/docs changelog.xml
  Log:
  - Changelog update.
  
  Revision  ChangesPath
  1.241 +6 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.240
  retrieving revision 1.241
  diff -u -r1.240 -r1.241
  --- changelog.xml 12 Mar 2005 04:05:39 -  1.240
  +++ changelog.xml 12 Mar 2005 18:44:44 -  1.241
  @@ -36,6 +36,9 @@
 docs
   Add JULI documentation to the logging page (remm)
 /docs
  +  add
  +Add host manager webapp (remm)
  +  /add
   /changelog
  /subsection
   
  @@ -60,6 +63,9 @@
 fix
   bug22041/bug: Support dynamic proxies as session objects. (markt)
 /fix
  +  fix
  +Fix logger names for wrappers (remm)
  +  /fix
   /changelog
  /subsection
  subsection name=Coyote
  
  
  

-
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-12 Thread pero
pero2005/03/12 22:35:57

  Modified:jk/native/common jk_status.c
  Log:
  add textupdate mode to status worker
  for simpler handle remote JkStatusAntTasks
  
  Revision  ChangesPath
  1.27  +24 -16jakarta-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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- jk_status.c   22 Feb 2005 15:38:12 -  1.26
  +++ jk_status.c   13 Mar 2005 06:35:57 -  1.27
  @@ -43,6 +43,8 @@
   
   #define JK_STATUS_HEND /body\n/html\n
   
  +#define JK_STATUS_TEXTUPDATE_RESPONCE OK - jk status worker updated\n
  +
   typedef struct status_worker status_worker_t;
   
   struct status_endpoint
  @@ -619,6 +621,8 @@
   return 1;
   else if (!strncmp(req, cmd=update, 10))
   return 2;
  +else if (!strncmp(req, cmd=textupdate, 14))
  +return 3;
   else
   return 0;
   }
  @@ -638,21 +642,12 @@
   *is_recoverable_error = JK_FALSE;
   
   s-start_response(s, 200, OK, headers_names, headers_vals, 3);
  -s-write(s, JK_STATUS_HEAD, sizeof(JK_STATUS_HEAD) - 1);
  -
  -jk_puts(s, h1JK Status Manager for );
  -jk_puts(s, s-server_name);
  -jk_puts(s, /h1\n\n);
  -jk_putv(s, dldtServer Version: ,
  -s-server_software, /dt\n, NULL);
  -jk_putv(s, dtJK Version: ,
  -JK_VERSTRING, \n/dt/dl\n, NULL);
   
   /* Step 1: Process GET params and update configuration */
   cmd = status_cmd_type(s-query_string);
   if (cmd  0  (status_cmd(w, s-query_string, buf, sizeof(buf)) 
!= NULL))
   worker = strdup(buf);
  -if (cmd == 2  worker) {
  +if (((cmd == 2) || (cmd == 3))  worker) {
   /* lock shared memory */
   jk_shm_lock();
   update_worker(s, p-s_worker, worker, l);
  @@ -665,11 +660,24 @@
   /* unlock the shared memory */
   jk_shm_unlock();
   }
  -/* Step 2: Display configuration */
  -display_workers(s, p-s_worker, worker, l);
  -
  -
  -s-write(s, JK_STATUS_HEND, sizeof(JK_STATUS_HEND) - 1);
  +if(cmd == 3) {
  + s-write(s,  JK_STATUS_TEXTUPDATE_RESPONCE, 
sizeof(JK_STATUS_TEXTUPDATE_RESPONCE) - 1);
  +} else {
  + s-write(s,  JK_STATUS_HEAD, sizeof(JK_STATUS_HEAD) - 1);
  + 
  + jk_puts(s, h1JK Status Manager for );
  + jk_puts(s, s-server_name);
  + jk_puts(s, /h1\n\n);
  + jk_putv(s, dldtServer Version: ,
  + s-server_software, /dt\n, NULL);
  + jk_putv(s, dtJK Version: ,
  + JK_VERSTRING, \n/dt/dl\n, NULL);
  + /* Step 2: Display configuration */
  + display_workers(s, p-s_worker, worker, l);
  + 
  + 
  + s-write(s, JK_STATUS_HEND, sizeof(JK_STATUS_HEND) - 1);
  +}
   if (worker)
   free(worker);
   JK_TRACE_EXIT(l);
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/xdocs changelog.xml

2005-03-12 Thread pero
pero2005/03/12 22:36:22

  Modified:jk/xdocs changelog.xml
  Log:
  add textupdate mode to status worker
  for simpler handle remote JkStatusAntTasks
  
  Revision  ChangesPath
  1.13  +4 -0  jakarta-tomcat-connectors/jk/xdocs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/changelog.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- changelog.xml 23 Feb 2005 08:10:19 -  1.12
  +++ changelog.xml 13 Mar 2005 06:36:22 -  1.13
  @@ -49,6 +49,10 @@
 child processes. For Apache web server two new directives has been
 added (JkShmFile and JkShmSize). (mturk)
 /update
  +  update
  +  Added textupdate mode to status worker to handle remote updates
  +  from ant tasks.(pero)
  +  /update
 fix
 bug33562/bug: Fix Reply_timeout when recovery_options
 is larger than 1. Patch provided by Takashi Satou. (mturk)
  
  
  

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



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

2005-03-12 Thread pero
pero2005/03/12 22:39:16

  Modified:catalina/src/share/org/apache/catalina/ant catalina.tasks
  Added:   catalina/src/share/org/apache/catalina/ant
JKStatusUpdateTask.java
  Log:
  add JkStausUpdate task for mod:jk status worker (greater mod_jk 1.2.9 only)
  
  Revision  ChangesPath
  1.2   +1 -0  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/catalina.tasks
  
  Index: catalina.tasks
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/catalina.tasks,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- catalina.tasks10 Apr 2004 15:32:56 -  1.1
  +++ catalina.tasks13 Mar 2005 06:39:16 -  1.2
  @@ -8,6 +8,7 @@
   stop=org.apache.catalina.ant.StopTask
   undeploy=org.apache.catalina.ant.UndeployTask
   validator=org.apache.catalina.ant.ValidatorTask
  +jkstatus=org.apache.catalina.ant.JKStatusUpdateTask
   
   # Jasper tasks
   jasper2=org.apache.jasper.JspC
  
  
  
  1.1  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/JKStatusUpdateTask.java
  
  Index: JKStatusUpdateTask.java
  ===
  /*
   * Copyright 2002,2004 The Apache Software Foundation.
   * 
   * Licensed under the Apache License, Version 2.0 (the License);
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   * 
   *  http://www.apache.org/licenses/LICENSE-2.0
   * 
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an AS IS BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  package org.apache.catalina.ant;
  
  import java.io.UnsupportedEncodingException;
  import java.net.URLEncoder;
  
  import org.apache.tools.ant.BuildException;
  
  /**
   * Ant task that implements the code/status/code command, supported by the
   * mod_jk status (1.2.9) application.
   * 
   * @author Peter Rossbach
   * @version $Revision: 1.1 $
   * @since 5.5.9
   */
  public class JKStatusUpdateTask extends AbstractCatalinaTask {
  
  private String worker = lb;
  
  private String workerType = lb;
  
  private int internalid = 0;
  
  private Integer lbRetries;
  
  private Integer lbRecovertime;
  
  private Boolean lbStickySession = Boolean.TRUE;
  
  private Boolean lbForceSession = Boolean.FALSE;
  
  private Integer workerLoadFactor;
  
  private String workerRedirect;
  
  private String workerClusterDomain;
  
  private Boolean workerDisabled = Boolean.FALSE;
  
  private boolean isLBMode = true;
  
  private String workerLb;
  
  /**
   *  
   */
  public JKStatusUpdateTask() {
  super();
  setUrl(http://localhost/status;);
  }
  
  /**
   * @return Returns the internalid.
   */
  public int getInternalid() {
  return internalid;
  }
  
  /**
   * @param internalid
   *The internalid to set.
   */
  public void setInternalid(int internalid) {
  this.internalid = internalid;
  }
  
  /**
   * @return Returns the lbForceSession.
   */
  public Boolean getLbForceSession() {
  return lbForceSession;
  }
  
  /**
   * @param lbForceSession
   *The lbForceSession to set.
   */
  public void setLbForceSession(Boolean lbForceSession) {
  this.lbForceSession = lbForceSession;
  }
  
  /**
   * @return Returns the lbRecovertime.
   */
  public Integer getLbRecovertime() {
  return lbRecovertime;
  }
  
  /**
   * @param lbRecovertime
   *The lbRecovertime to set.
   */
  public void setLbRecovertime(Integer lbRecovertime) {
  this.lbRecovertime = lbRecovertime;
  }
  
  /**
   * @return Returns the lbRetries.
   */
  public Integer getLbRetries() {
  return lbRetries;
  }
  
  /**
   * @param lbRetries
   *The lbRetries to set.
   */
  public void setLbRetries(Integer lbRetries) {
  this.lbRetries = lbRetries;
  }
  
  /**
   * @return Returns the lbStickySession.
   */
  public Boolean getLbStickySession() {
  return lbStickySession;
  }
  
  /**
   * @param lbStickySession
   *The lbStickySession to set.
   */
  public void setLbStickySession(Boolean lbStickySession) {
  this.lbStickySession = lbStickySession;
  }
  
  /**
   * @return Returns the worker.
   */
  public String getWorker() {
   

cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-03-12 Thread pero
pero2005/03/12 22:40:02

  Modified:webapps/docs changelog.xml
  Log:
  add JkStausUpdate task for mod:jk status worker (greater mod_jk 1.2.9 only)
  
  Revision  ChangesPath
  1.242 +6 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.241
  retrieving revision 1.242
  diff -u -r1.241 -r1.242
  --- changelog.xml 12 Mar 2005 18:44:44 -  1.241
  +++ changelog.xml 13 Mar 2005 06:40:02 -  1.242
  @@ -39,6 +39,9 @@
 add
   Add host manager webapp (remm)
 /add
  +  add
  +Add ant JkStatusUpdateTask for remote status worker handling ( 
=mod_jk 1.2.9) (pero)
  +  /add
   /changelog
  /subsection
   
  @@ -80,6 +83,9 @@
  update
Use the standard struts taglib URIs in admin JSPs. (billbarker)
  /update
  +  add
  +Add more host parameters to create new host with host-manager (pero)
  +  /add
/changelog
  /subsection
   /section
  
  
  

-
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-12 Thread Mladen Turk
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]