[EMAIL PROTECTED]: Project jakarta-tomcat-dbcp (in module jakarta-tomcat-5) failed

2006-11-18 Thread bobh
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-dbcp has an issue affecting its community integration.
This issue affects 3 projects,
 and has been outstanding for 26 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-catalina :  Servlet 2.4 Reference Implementation
- jakarta-tomcat-dbcp :  Servlet 2.4 and JSP 2.0 Reference Implementation
- jakarta-tomcat-jk :  Connectors to various web servers


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [naming-factory-dbcp.jar] identifier set to project name
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps]
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/gump_work/build_jakarta-tomcat-5_jakarta-tomcat-dbcp.html
Work Name: build_jakarta-tomcat-5_jakarta-tomcat-dbcp (Type: Build)
Work ended in a state of : Failed
Elapsed: 6 secs
Command Line: java -Djava.awt.headless=true org.apache.tools.ant.Main 
-Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dcommons-collections.home=/usr/local/gump/public/workspace/jakarta-commons/collections
 -Dcommons-dbcp.home=/usr/local/gump/public/workspace/jakarta-commons/dbcp 
-Dcommons-dbcp.version=18112006 
-Dtomcat-dbcp.home=/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps
 -Dcommons-pool.home=/usr/local/gump/public/workspace/jakarta-commons/pool 
build-tomcat-dbcp 
[Working Directory: /usr/local/gump/public/workspace/jakarta-tomcat-5]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar
-
Buildfile: build.xml

build-tomcat-dbcp:

-build-tomcat-dbcp:
 [copy] Copying 104 files to 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps
[mkdir] Created dir: 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp
 [move] Moving 92 files to 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp
[mkdir] Created dir: 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/classes
[javac] Compiling 92 source files to 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/classes
[javac] 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:20:
 cannot find symbol
[javac] symbol  : class StackKeyedObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.StackKeyedObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:22:
 cannot find symbol
[javac] symbol  : class SoftReferenceObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.SoftReferenceObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:23:
 cannot find symbol
[javac] symbol  : class StackObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.StackObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:353:
 cannot find symbol
[javac] symbol  : class SoftReferenceObjectPool
[javac] location: class org.apache.tomcat.dbcp.pool.PoolUtils
[javac] assert !(pool instanceof SoftReferenceObjectPool)
[javac]  ^
[javac] 
/usr/loca

[EMAIL PROTECTED]: Project jakarta-tomcat-dbcp (in module jakarta-tomcat-5) failed

2006-11-18 Thread bobh
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-dbcp has an issue affecting its community integration.
This issue affects 3 projects,
 and has been outstanding for 26 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-catalina :  Servlet 2.4 Reference Implementation
- jakarta-tomcat-dbcp :  Servlet 2.4 and JSP 2.0 Reference Implementation
- jakarta-tomcat-jk :  Connectors to various web servers


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [naming-factory-dbcp.jar] identifier set to project name
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps]
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/gump_work/build_jakarta-tomcat-5_jakarta-tomcat-dbcp.html
Work Name: build_jakarta-tomcat-5_jakarta-tomcat-dbcp (Type: Build)
Work ended in a state of : Failed
Elapsed: 6 secs
Command Line: java -Djava.awt.headless=true org.apache.tools.ant.Main 
-Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dcommons-collections.home=/usr/local/gump/public/workspace/jakarta-commons/collections
 -Dcommons-dbcp.home=/usr/local/gump/public/workspace/jakarta-commons/dbcp 
-Dcommons-dbcp.version=18112006 
-Dtomcat-dbcp.home=/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps
 -Dcommons-pool.home=/usr/local/gump/public/workspace/jakarta-commons/pool 
build-tomcat-dbcp 
[Working Directory: /usr/local/gump/public/workspace/jakarta-tomcat-5]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar
-
Buildfile: build.xml

build-tomcat-dbcp:

-build-tomcat-dbcp:
 [copy] Copying 104 files to 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps
[mkdir] Created dir: 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp
 [move] Moving 92 files to 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp
[mkdir] Created dir: 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/classes
[javac] Compiling 92 source files to 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/classes
[javac] 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:20:
 cannot find symbol
[javac] symbol  : class StackKeyedObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.StackKeyedObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:22:
 cannot find symbol
[javac] symbol  : class SoftReferenceObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.SoftReferenceObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:23:
 cannot find symbol
[javac] symbol  : class StackObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.StackObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:353:
 cannot find symbol
[javac] symbol  : class SoftReferenceObjectPool
[javac] location: class org.apache.tomcat.dbcp.pool.PoolUtils
[javac] assert !(pool instanceof SoftReferenceObjectPool)
[javac]  ^
[javac] 
/usr/loca

[EMAIL PROTECTED]: Project tomcat-tc6-dbcp (in module tomcat-tc6) failed

2006-11-18 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 tomcat-tc6-dbcp has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 26 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-tc6 :  Java Servlet 2.5 & Server Pages JSP 2.1 implementation (for 
...
- tomcat-tc6-dbcp :  Java Servlet 2.5 & Server Pages JSP 2.1 implementation 
(for ...


Full details are available at:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6-dbcp/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [tomcat-jdbc-18112006.jar] identifier set to project name
 -INFO- Made directory [/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps]
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6-dbcp/gump_work/build_tomcat-tc6_tomcat-tc6-dbcp.html
Work Name: build_tomcat-tc6_tomcat-tc6-dbcp (Type: Build)
Work ended in a state of : Failed
Elapsed: 6 secs
Command Line: java -Djava.awt.headless=true org.apache.tools.ant.Main 
-Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dcommons-collections.home=/usr/local/gump/public/workspace/jakarta-commons/collections
 -Dcommons-dbcp.home=/usr/local/gump/public/workspace/jakarta-commons/dbcp 
-Dtomcat-dbcp.jar=/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-18112006.jar
 -Dtomcat-dbcp.home=/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps 
-Dcommons-pool.home=/usr/local/gump/public/workspace/jakarta-commons/pool 
build-tomcat-dbcp 
[Working Directory: /usr/local/gump/public/workspace/tomcat-tc6]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar
-
Buildfile: build.xml

build-tomcat-dbcp:
 [copy] Copying 104 files to 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps
[mkdir] Created dir: 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp
 [move] Moving 92 files to 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp
[mkdir] Created dir: 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/classes
[javac] Compiling 92 source files to 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/classes
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:20:
 cannot find symbol
[javac] symbol  : class StackKeyedObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.StackKeyedObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:22:
 cannot find symbol
[javac] symbol  : class SoftReferenceObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.SoftReferenceObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:23:
 cannot find symbol
[javac] symbol  : class StackObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.StackObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:353:
 cannot find symbol
[javac] symbol  : class SoftReferenceObjectPool
[javac] location: class org.apache.tomcat.dbcp.pool.PoolUtils
[javac] assert !(pool instanceof SoftReferenceObjectPool)
[javac]  ^
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:355:
 

[EMAIL PROTECTED]: Project tomcat-tc6-dbcp (in module tomcat-tc6) failed

2006-11-18 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 tomcat-tc6-dbcp has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 26 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-tc6 :  Java Servlet 2.5 & Server Pages JSP 2.1 implementation (for 
...
- tomcat-tc6-dbcp :  Java Servlet 2.5 & Server Pages JSP 2.1 implementation 
(for ...


Full details are available at:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6-dbcp/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [tomcat-jdbc-18112006.jar] identifier set to project name
 -INFO- Made directory [/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps]
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6-dbcp/gump_work/build_tomcat-tc6_tomcat-tc6-dbcp.html
Work Name: build_tomcat-tc6_tomcat-tc6-dbcp (Type: Build)
Work ended in a state of : Failed
Elapsed: 6 secs
Command Line: java -Djava.awt.headless=true org.apache.tools.ant.Main 
-Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dcommons-collections.home=/usr/local/gump/public/workspace/jakarta-commons/collections
 -Dcommons-dbcp.home=/usr/local/gump/public/workspace/jakarta-commons/dbcp 
-Dtomcat-dbcp.jar=/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-18112006.jar
 -Dtomcat-dbcp.home=/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps 
-Dcommons-pool.home=/usr/local/gump/public/workspace/jakarta-commons/pool 
build-tomcat-dbcp 
[Working Directory: /usr/local/gump/public/workspace/tomcat-tc6]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar
-
Buildfile: build.xml

build-tomcat-dbcp:
 [copy] Copying 104 files to 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps
[mkdir] Created dir: 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp
 [move] Moving 92 files to 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp
[mkdir] Created dir: 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/classes
[javac] Compiling 92 source files to 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/classes
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:20:
 cannot find symbol
[javac] symbol  : class StackKeyedObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.StackKeyedObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:22:
 cannot find symbol
[javac] symbol  : class SoftReferenceObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.SoftReferenceObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:23:
 cannot find symbol
[javac] symbol  : class StackObjectPool
[javac] location: package org.apache.tomcat.dbcp.pool.impl
[javac] import org.apache.tomcat.dbcp.pool.impl.StackObjectPool;
[javac] ^
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:353:
 cannot find symbol
[javac] symbol  : class SoftReferenceObjectPool
[javac] location: class org.apache.tomcat.dbcp.pool.PoolUtils
[javac] assert !(pool instanceof SoftReferenceObjectPool)
[javac]  ^
[javac] 
/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/src/java/org/apache/tomcat/dbcp/pool/PoolUtils.java:355:
 

DO NOT REPLY [Bug 40996] - Tomcat Connectors 1.2.19 sticky sessions not sticky

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40996


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 03:26 ---
Please attach your config (relevant parts of httpd.conf or included files,
workers.properties, uriworkermap.properties, relevant parts of server.xml) and
give details on the versions of apache, tomcat and opertaing system you use.

Furthermore: 

Are there any error messages in apache logfiles, especially in the mod_jk.log?

Can you reproduce the problem?

Does your application use URL rewriting or Cookies to establish sessions?

To collect some more runtime information, please add the following to your
Apache LogFormat:

\"%{Set-Cookie}i\" \"%{Cookies}o\" %{JK_WORKER_NAME}n %{JK_WORKER_TYPE}n
%{JK_REQUEST_DURATION}n %{JK_LB_FIRST_NAME}n %{JK_LB_FIRST_VALUE}n 
%{JK_LB_FIRST_ACCESSED}n %{JK_LB_FIRST_ERRORS}n %{JK_LB_FIRST_BUSY}n
%{JK_LB_FIRST_STATE}n %{JK_LB_LAST_NAME}n %{JK_LB_LAST_VALUE}n
%{JK_LB_LAST_ACCESSED}n %{JK_LB_LAST_ERRORS}n %{JK_LB_LAST_BUSY}n
%{JK_LB_LAST_STATE}n %D 


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



svn commit: r476528 - in /tomcat/connectors/trunk/jk/native/common: jk_ajp_common.c jk_ajp_common.h

2006-11-18 Thread rjung
Author: rjung
Date: Sat Nov 18 06:26:01 2006
New Revision: 476528

URL: http://svn.apache.org/viewvc?view=rev&rev=476528
Log:
Minor cleanups of socket handling
- use JK_INVALID_SOCKET instead of -1 in all places
- use 0 instead of -1 as default value of socket_timeout
- all timeouts now are disabled with the value 0 and negative
  values should behave the same, so only compare timeouts with
  - > 0
  - <= 0
- remove redundant check for cache_timeout > 0 in ajp_maintain

Modified:
tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
tomcat/connectors/trunk/jk/native/common/jk_ajp_common.h

Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?view=diff&rev=476528&r1=476527&r2=476528
==
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Sat Nov 18 
06:26:01 2006
@@ -685,7 +685,7 @@
 if (JK_IS_DEBUG_LEVEL(l))
 jk_log(l, JK_LOG_DEBUG,
 "reset socket with sd = %u", ae->sd );
-ae->sd = -1;
+ae->sd = JK_INVALID_SOCKET;
 }
 jk_reset_pool(&(ae->pool));
 }
@@ -1166,7 +1166,7 @@
 while (IS_VALID_SOCKET(ae->sd)) {
 int rc = 0;
 err = 0;
-if (ae->worker->socket_timeout) {
+if (ae->worker->socket_timeout > 0) {
 if (!jk_is_socket_connected(ae->sd)) {
 jk_log(l, JK_LOG_INFO,
"(%s) socket %d is not connected any more (errno=%d)",
@@ -1176,7 +1176,7 @@
 err++;
 }
 }
-if (ae->worker->prepost_timeout != 0 && !err) {
+if (ae->worker->prepost_timeout > 0 && !err) {
 /* handle cping/cpong if prepost_timeout is set
  * If the socket is disconnected no need to handle
  * the cping/cpong
@@ -1233,7 +1233,7 @@
 if (ajp_connection_tcp_send_message(ae, op->request, l) != 
JK_TRUE) {
 /* Close the socket if unable to send request */
 jk_close_socket(ae->sd);
-ae->sd = -1;
+ae->sd = JK_INVALID_SOCKET;
 jk_log(l, JK_LOG_INFO,
"(%s) error sending request on a fresh connection 
(errno=%d)",
ae->worker->name, ae->last_errno);
@@ -1297,7 +1297,7 @@
 if (ajp_connection_tcp_send_message(ae, s->reco_buf, l) != 
JK_TRUE) {
 /* Close the socket if unable to send request */
 jk_close_socket(ae->sd);
-ae->sd = -1;
+ae->sd = JK_INVALID_SOCKET;
 jk_log(l, JK_LOG_ERROR,
"(%s) failed resending request body (lb mode) (%d)",
ae->worker->name, postlen);
@@ -1347,7 +1347,7 @@
 if (ajp_connection_tcp_send_message(ae, op->post, l) != JK_TRUE) {
 /* Close the socket if unable to send request */
 jk_close_socket(ae->sd);
-ae->sd = -1;
+ae->sd = JK_INVALID_SOCKET;
 jk_log(l, JK_LOG_ERROR, "(%s) error sending request body",
ae->worker->name);
 JK_TRACE_EXIT(l);
@@ -1527,7 +1527,7 @@
 int rc = 0;
 
 /* If we set a reply timeout, check it something is available */
-if (p->worker->reply_timeout != 0) {
+if (p->worker->reply_timeout > 0) {
 if (ajp_is_input_event(p, p->worker->reply_timeout, l) ==
 JK_FALSE) {
 jk_log(l, JK_LOG_ERROR,
@@ -2319,7 +2319,7 @@
 ajp_worker_t *aw = pThis->worker_private;
 int rc;
 /* Obtain current time only if needed */
-if (aw->cache_timeout < 1) {
+if (aw->cache_timeout <= 0) {
 /* Nothing to do. */
 JK_TRACE_EXIT(l);
 return JK_TRUE;
@@ -2327,7 +2327,7 @@
 JK_ENTER_CS(&aw->cs, rc);
 if (rc) {
 unsigned int i, n = 0, cnt = 0;
-/* Count opended slots */
+/* Count open slots */
 for (i = 0; i < aw->ep_cache_sz; i++) {
 if (aw->ep_cache[i] && IS_VALID_SOCKET(aw->ep_cache[i]->sd))
 cnt++;
@@ -2337,7 +2337,7 @@
 /* Skip the closed sockets */
 if (aw->ep_cache[i] && IS_VALID_SOCKET(aw->ep_cache[i]->sd)) {
 int elapsed = (int)difftime(now, 
aw->ep_cache[i]->last_access);
-if ((aw->cache_timeout > 0) && (elapsed > 
aw->cache_timeout)) {
+if (elapsed > aw->cache_timeout) {
 time_t rt = 0;
 n++;
 if (JK_IS_DEBUG_LEVEL(l))

Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.h
URL: 
http://svn.apache.org/viewvc/tomcat/conne

svn commit: r476532 - /tomcat/connectors/trunk/jk/native/common/jk_connect.c

2006-11-18 Thread rjung
Author: rjung
Date: Sat Nov 18 06:54:22 2006
New Revision: 476532

URL: http://svn.apache.org/viewvc?view=rev&rev=476532
Log:
Eliminate -1 or INVALID_SOCKET, use the existing defines and macros instead.

Modified:
tomcat/connectors/trunk/jk/native/common/jk_connect.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_connect.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_connect.c?view=diff&rev=476532&r1=476531&r2=476532
==
--- tomcat/connectors/trunk/jk/native/common/jk_connect.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_connect.c Sat Nov 18 06:54:22 
2006
@@ -467,11 +467,10 @@
 
 int jk_close_socket(jk_sock_t s)
 {
+if (IS_VALID_SOCKET(s))
 #if defined(WIN32) || (defined(NETWARE) && defined(__NOVELL_LIBC__))
-if (s != INVALID_SOCKET)
 return closesocket(s) ? -1 : 0;
 #else
-if (s != -1)
 return close(s);
 #endif
 
@@ -498,11 +497,10 @@
 int rc = 0;
 #if defined(WIN32) || (defined(NETWARE) && defined(__NOVELL_LIBC__))
 int tmout = SECONDS_TO_LINGER * 1000;
-if (s == INVALID_SOCKET)
 #else
 struct timeval tv;
-if (s < 0)
 #endif
+if (!IS_VALID_SOCKET(s))
 return -1;
 
 /* Shut down the socket for write, which will send a FIN



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



Re: [VOTE] Tomcat 6.0.2

2006-11-18 Thread Filip Hanik - Dev Lists

Remy Maucherat wrote:

Remy Maucherat wrote:

6.0.2 is:
[X] Alpha
[ ] Beta


just haven't had enough time to qualify it as a beta, but I want it to 
be available for download, so a vote is in order

Filip

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



DO NOT REPLY [Bug 40997] New: - JkMountFile directive fails to update after the uri mapping file is modified

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40997

   Summary: JkMountFile directive fails to update after the uri
mapping file is modified
   Product: Tomcat 5
   Version: 5.5.15
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Native:JK
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Hi, I tried posting in the mail list, but the suggested solutions did not work
so I was asked to open a bug report.

I am running Geronimo+Tomcat v. 1.1.1 and I run apache v. 2.0.53. I use the
JkMountFile directive to point to a file where I instruct the server how to map
the webapps into the httpd server space.  I modify the file as I add webapps,
but the uri's are not updated.  In order to have the uri's updated I have to
restart apache httpd and then it works.

Below are the conf files I use and the log output for mod_jk.
(also available at http://www.espinozas.org/bug/JkMountFile.tar.gz)

### apache_connector.conf ###
# Load mod_jk module
# Update this path to match your modules location

LoadModulejk_module  /usr/lib/apache2/mod_jk.so


# Declare the module for  (remove this line on Apache 2.x)
# AddModule mod_jk.c

# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log next to
access_log)
JkLogFile /var/log/apache2/mod_jk.log

# Where to find workers.properties
# Update this path to match your conf directory location (put workers.properties
next to httpd.conf)
JkWorkersFile /etc/geronimo/workers.properties

# Set the jk log level [debug/error/info]
#JkLogLeveldebug
JkLogLeveltrace

# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

# JkOptions indicate to send SSL KEY SIZE, 
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

# JkRequestLogFormat set the request format 
JkRequestLogFormat "%w %V %T"

# To automatically load the webapps
JkAutoAlias /srv/www/geronimo/webapps
JkMountFile /etc/geronimo/uriworkermap.properties

# For Tomcat within Geronimo
JkAutoAlias /usr/share/geronimo-1.1.1/var/catalina/work/
JkAutoAlias /usr/share/geronimo-1.1.1/config-store/

# Uncomment below if JkMountFile fails
# Send everything for context /examples to worker named ajp13 (ajp13)
# URI Mappings
#JkMount /servlets-examples/  ajp13
#JkMount /jsp-examples/  ajp13

#JkMount /servlets-examples/servlet/*  ajp13
#JkMount /servlets-examples/*.jsp  ajp13
#JkMount /jsp-examples/*.jsp  ajp13
#JkMount /jsp-examples/*.jspx  ajp13
#JkMount /jsp-examples/servlet/*  ajp13

#JkUnMount /jsp-examples/*.html  ajp13
#JkUnMount /jsp-examples/*.htm  ajp13
#JkUnMount /jsp-examples/*.png  ajp13
#JkUnMount /jsp-examples/*.jpg  ajp13
#JkUnMount /jsp-examples/*.jpeg  ajp13
#JkUnMount /jsp-examples/*.gif  ajp13
#JkUnMount /jsp-examples/*.ico  ajp13

#JkUnMount /servlets-examples/*.html  ajp13
#JkUnMount /servlets-examples/*.htm  ajp13
#JkUnMount /servlets-examples/*.png  ajp13
#JkUnMount /servlets-examples/*.jpg  ajp13
#JkUnMount /servlets-examples/*.jpeg  ajp13
#JkUnMount /servlets-examples/*.gif  ajp13
#JkUnMount /servlets-examples/*.ico  ajp13


AllowOverride None
deny from all



AllowOverride None
deny from all



AllowOverride None
deny from all


### uriworkermap.properties ###
# URI Mappings

#this is how I test the auto reload
#I have a .jsp served by Geronimo/Tomcat and .html by apache httpd
#I remove the ! to serve thru geronimo/tomcat uri map
!/=ajp13
!/*=ajp13
!/*.jsp=ajp13

/servlets-examples/=ajp13
/jsp-examples/=ajp13

/servlets-examples/servlet/*=ajp13
/servlets-examples/*.jsp=ajp13
/jsp-examples/*.jsp=ajp13
/jsp-examples/*.jspx=ajp13
/jsp-examples/servlet/*=ajp13

/jsp-examples/*.html=ajp13
/jsp-examples/*.htm=ajp13
/jsp-examples/*.png=ajp13
/jsp-examples/*.jpg=ajp13
/jsp-examples/*.jpeg=ajp13
/jsp-examples/*.gif=ajp13

!/servlets-examples/*.html=ajp13
!/servlets-examples/*.htm=ajp13
!/servlets-examples/*.png=ajp13
!/servlets-examples/*.jpg=ajp13
!/servlets-examples/*.jpeg=ajp13
!/servlets-examples/*.gif=ajp13

/tomcat-docs/=ajp13
/tomcat-docs/*=ajp13
!/tomcat-docs/*.html=ajp13
!/tomcat-docs/*.htm=ajp13
!/tomcat-docs/*.png=ajp13
!/tomcat-docs/*.jpg=ajp13
!/tomcat-docs/*.jpeg=ajp13
!/tomcat-docs/*.gif=ajp13

/wiki/=ajp13
/wiki/*=ajp13

### mod_jk.log (trace level) ###
visit http://www.espinozas.org/bug/mod_jk.txt

### workers.properties ###
# running tomcat within geronimo
#workers.tomcat_home=/srv/www/geronimo-1.1.1/home

# Define 1 real worker using ajp13
worker.list=ajp13

# Set properties for ajp13 (ajp13)
worker.ajp13.type=ajp13
#worker.ajp13.host=localhost
worker.ajp13.host=frodo

DO NOT REPLY [Bug 40997] - JkMountFile directive fails to update after the uri mapping file is modified

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40997





--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 14:45 ---
Created an attachment (id=19140)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19140&action=view)
configuration files and mod_jk log


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



DO NOT REPLY [Bug 40743] - remote debugging

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40743


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 15:31 ---
This works for me. My best guess is you have something wrong in your debugging
configuration. Please use the Tomcat users list if you still require help
getting this set up correctly.

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



DO NOT REPLY [Bug 40997] - JkMountFile directive fails to update after the uri mapping file is modified

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40997


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 16:00 ---
A couple of comments:

1) Your shared memory file is /srv/www/logs/jk-runtime-status. It looks like the
apache processes don't have write permissions to the file or to the directory.
If you don't like the automaticly chosen file, you can choose another one with
JkShmFile. This file is necessary.

2) Don't use worker.ajp13.cachesize=1. The directive cachesize is deprecated. It
has beend replaced by connection_pool_size. But also connection_pool_size should
only be used in very special cases. The default values are usually better.

3) cache_timeout is also deprecated. Use connection_pool_timeout instead.

4) You don't need lbfactor, since you don't use a mod_jk load balancer worker.

5) There's a typo: instead of reclycle_timeout it should by recycle_timeout, but
you shouldn't use that. It has the same meaning as connection_pool_timeout.

6) There is a couple of lines in you log:

Reloaded urimaps from /etc/geronimo/uriworkermap.properties

so actually reloading happens. To understand if there is really a problem,
please give the contents of the uriworkermap file before and after change, and
the request URL which does not work as expected after the change.


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



svn commit: r476673 - in /tomcat/connectors/trunk/jk/native/common: jk_status.c jk_uri_worker_map.c jk_uri_worker_map.h

2006-11-18 Thread rjung
Author: rjung
Date: Sat Nov 18 17:11:04 2006
New Revision: 476673

URL: http://svn.apache.org/viewvc?view=rev&rev=476673
Log:
- Deprecated MATCH_TYPEs not used any longer
- JkMountFile reload didn't really work when
  the original file and the new file contained
  rules, which only differed by the existence of "!".
  The logic only allowed to change a "-" prefix
  between reloads, but not "!".
  Now we also check the MATCH_TYPE_NOMATCH bit
  when we check for duplicates.
  (likely fix for BZ 40997)

Modified:
tomcat/connectors/trunk/jk/native/common/jk_status.c
tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.h

Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_status.c?view=diff&rev=476673&r1=476672&r2=476673
==
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Sat Nov 18 17:11:04 
2006
@@ -220,14 +220,17 @@
 
 static const char *status_val_match(unsigned int match)
 {
-if (match & MATCH_TYPE_STOPPED)
-return "Stopped";
-else if (match & MATCH_TYPE_DISABLED)
+if (match & MATCH_TYPE_DISABLED)
 return "Disabled";
 else if (match & MATCH_TYPE_NO_MATCH)
 return "Unmount";
 else if (match & MATCH_TYPE_EXACT)
 return "Exact";
+else if (match & MATCH_TYPE_WILDCHAR_PATH)
+return "Wildchar";
+/* deprecated
+else if (match & MATCH_TYPE_STOPPED)
+return "Stopped";
 else if (match & MATCH_TYPE_CONTEXT)
 return "Context";
 else if (match & MATCH_TYPE_CONTEXT_PATH)
@@ -236,8 +239,7 @@
 return "Suffix";
 else if (match & MATCH_TYPE_GENERAL_SUFFIX)
 return "General Suffix";
-else if (match & MATCH_TYPE_WILDCHAR_PATH)
-return "Wildchar";
+ */
 else
 return "Error";
 }

Modified: tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c?view=diff&rev=476673&r1=476672&r2=476673
==
--- tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c Sat Nov 18 
17:11:04 2006
@@ -245,25 +245,27 @@
 for (i = 0; i < uw_map->size; i++) {
 uwr = uw_map->maps[i];
 if (strcmp(uwr->uri, puri) == 0) {
-/* Update disabled flag */
-if (match_type & MATCH_TYPE_DISABLED)
-uwr->match_type |= MATCH_TYPE_DISABLED;
-else
-uwr->match_type &= ~MATCH_TYPE_DISABLED;
-if (strcmp(uwr->worker_name, worker) == 0) {
-jk_log(l, JK_LOG_DEBUG,
-   "map rule %s=%s already exists",
-   puri, worker);
-JK_TRACE_EXIT(l);
-return JK_TRUE;
-}
-else {
-jk_log(l, JK_LOG_DEBUG,
-   "changing map rule %s=%s ",
-   puri, worker);
-uwr->worker_name = jk_pool_strdup(&uw_map->p, worker);
-JK_TRACE_EXIT(l);
-return JK_TRUE;
+if (uwr->match_type & MATCH_TYPE_NO_MATCH == match_type & 
MATCH_TYPE_NO_MATCH) {
+/* Update disabled flag */
+if (match_type & MATCH_TYPE_DISABLED)
+uwr->match_type |= MATCH_TYPE_DISABLED;
+else
+uwr->match_type &= ~MATCH_TYPE_DISABLED;
+if (strcmp(uwr->worker_name, worker) == 0) {
+jk_log(l, JK_LOG_DEBUG,
+   "map rule %s=%s already exists",
+   puri, worker);
+JK_TRACE_EXIT(l);
+return JK_TRUE;
+}
+else {
+jk_log(l, JK_LOG_DEBUG,
+   "changing map rule %s=%s ",
+   puri, worker);
+uwr->worker_name = jk_pool_strdup(&uw_map->p, worker);
+JK_TRACE_EXIT(l);
+return JK_TRUE;
+}
 }
 }
 }
@@ -434,7 +436,7 @@
 if (!(uwr->match_type & MATCH_TYPE_NO_MATCH) ||
 (uwr->match_type & MATCH_TYPE_DISABLED))
 continue;
-/* Check only mathing workers */
+/* Check only matching workers */
 if (strcmp(uwr->worker_name, worker))
 continue;
 if (uwr->match_type & MATCH_TYPE_WILDCHAR_PATH) {

Modified: tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.h
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.h?view=diff&rev=47

svn commit: r476680 - /tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c

2006-11-18 Thread rjung
Author: rjung
Date: Sat Nov 18 17:34:47 2006
New Revision: 476680

URL: http://svn.apache.org/viewvc?view=rev&rev=476680
Log:
Fix operator precedence.

Modified:
tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c?view=diff&rev=476680&r1=476679&r2=476680
==
--- tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c Sat Nov 18 
17:34:47 2006
@@ -245,7 +245,7 @@
 for (i = 0; i < uw_map->size; i++) {
 uwr = uw_map->maps[i];
 if (strcmp(uwr->uri, puri) == 0) {
-if (uwr->match_type & MATCH_TYPE_NO_MATCH == match_type & 
MATCH_TYPE_NO_MATCH) {
+if ((uwr->match_type & MATCH_TYPE_NO_MATCH) == (match_type & 
MATCH_TYPE_NO_MATCH)) {
 /* Update disabled flag */
 if (match_type & MATCH_TYPE_DISABLED)
 uwr->match_type |= MATCH_TYPE_DISABLED;



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



DO NOT REPLY [Bug 40997] - JkMountFile directive fails to update after the uri mapping file is modified

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40997





--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 17:59 ---
Hi Gilberto,

inspired by your uriworkermap.properties, which contained "!" rules, I checked
the rule and reloading logic. In fact the behaviour when switching between
non-"!"-rules and "!"-rules was undefined at best. So adding or removing an
exclamation mark did not work.

I added a fix to svn, but tests need to wait until tomorrow. Feel free to test,
I'm interested in feedback.

Please do have a look at my previous comments 1)-6) also.

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



svn commit: r476690 - /tomcat/connectors/trunk/jk/conf/workers.properties

2006-11-18 Thread rjung
Author: rjung
Date: Sat Nov 18 18:21:59 2006
New Revision: 476690

URL: http://svn.apache.org/viewvc?view=rev&rev=476690
Log:
Fix typo.

Modified:
tomcat/connectors/trunk/jk/conf/workers.properties

Modified: tomcat/connectors/trunk/jk/conf/workers.properties
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/conf/workers.properties?view=diff&rev=476690&r1=476689&r2=476690
==
--- tomcat/connectors/trunk/jk/conf/workers.properties (original)
+++ tomcat/connectors/trunk/jk/conf/workers.properties Sat Nov 18 18:21:59 2006
@@ -58,7 +58,7 @@
 #
 
 #
-#-- DEFAULT worket list --
+#-- DEFAULT worker list --
 #-
 #
 #



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



svn commit: r476694 - in /tomcat/container/tc5.5.x/webapps: admin/WEB-INF/classes/org/apache/webapp/admin/users/SaveUserAction.java docs/changelog.xml

2006-11-18 Thread markt
Author: markt
Date: Sat Nov 18 19:41:49 2006
New Revision: 476694

URL: http://svn.apache.org/viewvc?view=rev&rev=476694
Log:
Fix bug 40720. Adding a group to a user caused an exception.
Clean up code at same time.

Modified:

tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/SaveUserAction.java
tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: 
tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/SaveUserAction.java
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/SaveUserAction.java?view=diff&rev=476694&r1=476693&r2=476694
==
--- 
tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/SaveUserAction.java
 (original)
+++ 
tomcat/container/tc5.5.x/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/SaveUserAction.java
 Sat Nov 18 19:41:49 2006
@@ -21,29 +21,18 @@
 
 import java.io.IOException;
 import java.net.URLDecoder;
-import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.Locale;
 import javax.servlet.ServletException;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
-import javax.servlet.http.HttpSession;
+
 import org.apache.struts.action.Action;
-import org.apache.struts.action.ActionErrors;
 import org.apache.struts.action.ActionForm;
 import org.apache.struts.action.ActionForward;
 import org.apache.struts.action.ActionMapping;
 import javax.management.Attribute;
 import javax.management.MBeanServer;
-import javax.management.MBeanServerFactory;
-import javax.management.QueryExp;
-import javax.management.Query;
-import javax.management.ObjectInstance;
 import javax.management.ObjectName;
-import javax.management.JMException;
-import javax.management.MBeanAttributeInfo;
-import javax.management.MBeanOperationInfo;
-import javax.management.MBeanInfo;
 import org.apache.struts.util.MessageResources;
 import org.apache.webapp.admin.ApplicationServlet;
 import org.apache.webapp.admin.TomcatTreeBuilder;
@@ -98,7 +87,6 @@
 mserver = ((ApplicationServlet) getServlet()).getServer();
 }
 MessageResources resources = getResources(request);
-HttpSession session = request.getSession();
 Locale locale = getLocale(request);
 
 // Has this transaction been cancelled?
@@ -208,8 +196,8 @@
 addsig[0] = "java.lang.String";
 Object addpar[] = new Object[1];
 for (int i = 0; i < groups.length; i++) {
-addpar[0] =
-(new ObjectName(groups[i])).getKeyProperty("groupname");
+addpar[0] = ObjectName.unquote(
+(new ObjectName(groups[i])).getKeyProperty("groupname"));
 mserver.invoke(oname, "addGroup",
addpar, addsig);
 }

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=476694&r1=476693&r2=476694
==
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sat Nov 18 19:41:49 2006
@@ -172,6 +172,10 @@
 documentation. (markt)
   
   
+40720: Fix exception in admin webapp when adding a group to
+a user. (markt)
+  
+  
 40874: Correct log4j configuration in documentation webapp.
 Patch provided by Franck Borel. (markt)
   



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



DO NOT REPLY [Bug 40720] - Adding groups to a user throws an error

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40720


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 19:42 ---
Thanks for the report. This has been fixed in SVN and will be included in 5.5.21
onwards.

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



DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40719


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 19:49 ---
Without a test case or steps to reproduce, there is little I can do to
investigate this issue. Also, please confirm whether or not you are using Java
2D in your web application.

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



svn commit: r476695 - in /tomcat/connectors/trunk/jk/xdocs: ./ common/ config/ howto/ tools/

2006-11-18 Thread rjung
Author: rjung
Date: Sat Nov 18 19:51:22 2006
New Revision: 476695

URL: http://svn.apache.org/viewvc?view=rev&rev=476695
Log:
Minor documentation enhancement.

Added:
tomcat/connectors/trunk/jk/xdocs/tools/
tomcat/connectors/trunk/jk/xdocs/tools/project.xml   (with props)
tomcat/connectors/trunk/jk/xdocs/tools/tools.xml   (with props)
Removed:
tomcat/connectors/trunk/jk/xdocs/common/tools.xml
tomcat/connectors/trunk/jk/xdocs/proxy.xml
Modified:
tomcat/connectors/trunk/jk/xdocs/config/apache.xml
tomcat/connectors/trunk/jk/xdocs/config/workers.xml
tomcat/connectors/trunk/jk/xdocs/faq.xml
tomcat/connectors/trunk/jk/xdocs/howto/apache.xml
tomcat/connectors/trunk/jk/xdocs/howto/loadbalancers.xml
tomcat/connectors/trunk/jk/xdocs/howto/quick.xml
tomcat/connectors/trunk/jk/xdocs/howto/workers.xml
tomcat/connectors/trunk/jk/xdocs/project.xml

Modified: tomcat/connectors/trunk/jk/xdocs/config/apache.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/config/apache.xml?view=diff&rev=476695&r1=476694&r2=476695
==
--- tomcat/connectors/trunk/jk/xdocs/config/apache.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/config/apache.xml Sat Nov 18 19:51:22 2006
@@ -267,19 +267,6 @@
 
 
 
-JkOptions ForwardKeySize,  you ask mod_jk, when using ajp13, to forward 
also the SSL Key Size  as 
-required by Servlet API 2.3.
-This flag shouldn't be set when servlet engine is Tomcat 3.2.x (on by default).
-
-  
-  JkOptions +ForwardKeySize
-
-
-
-
-
-
-
 JkOptions ForwardURICompat, you ask mod_jk to send the URI to Tomcat 
normally, 
 which is less spec compliant but mod_rewrite compatible, 
 use it for compatibility with Tomcat 3.2.x engines (on by default).
@@ -387,6 +374,18 @@
 
 
 
+JkOptions FlushHeader, you ask mod_jk to flush Apache's connection
+buffer after the response headers have been  received from Tomcat.
+
+  
+  JkOptions +FlushHeader
+
+
+
+
+
+
+
 JkOptions DisableReuse, you ask mod_jk to close connections immediately
 after their use. Normally mod_jk uses persistent connections and pools idle
 connections to reuse them, when new requests have to be sent to Tomcat.
@@ -408,8 +407,21 @@
 
 
 
-The directive JkEnvVar allows you to forward an environment variable 
from Apache server to Tomcat engine.
-The variable can be retrieved on the Tomcat side as a request attribute.
+JkOptions ForwardKeySize,  you ask mod_jk, when using ajp13, to forward 
also the SSL Key Size  as 
+required by Servlet API 2.3.
+This flag shouldn't be set when servlet engine is Tomcat 3.2.x (on by default).
+
+  
+  JkOptions +ForwardKeySize
+
+
+
+
+
+
+
+The directive JkEnvVar allows you to forward environment variables from 
Apache server to Tomcat engine.
+The variables can be retrieved on the Tomcat side as a request attributes.
 You must add a default value as a second parameter to the directive.
 
   
@@ -531,8 +543,12 @@
 
   JkMountFile conf/uriworkermap.properties
 
-If mount point uri starts with minus '-' char the mount point
-will be disabled.
+If the mount point uri starts with an exclamation mark '!'
+it defines an exclusion in the same way JkUnmount does.
+If the mount point uri starts with minus sign '-'
+the mount point will only be disabled. A disabled mount can be reenabled
+by deleting the minus sign and waiting for the JkMountFile to reload.
+An exclusion can be disabled by prefixing it with a mninus sign.
 
 
   # Sample uriworkermap.properties file
@@ -544,10 +560,14 @@
   -/jsp-examples/*=ajp13w
 
 At run time you can change the content of this file. For example
-removing minus char will enable the uri mapping. You can add any
-number of new entries at runtime that reflects the newly deployed
+removing minus signs will enable the previously disabled uri mappings.
+You can add any number of new entries at runtime that reflects the newly 
deployed
 applications. Apache will reload the file and update the mount
 points within 60 second interval.
+
+
+There is no way to delete entries by dynamic reloading, but you can disable or
+exclude mappings.
 
 
 

Modified: tomcat/connectors/trunk/jk/xdocs/config/workers.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/config/workers.xml?view=diff&rev=476695&r1=476694&r2=476695
==
--- tomcat/connectors/trunk/jk/xdocs/config/workers.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/config/workers.xml Sat Nov 18 19:51:22 2006
@@ -154,7 +154,7 @@
 each retry after default an extra wait of 100ms will be inserted.
 
 
-
+
 This defines the number of connections made to the AJP backend that
 are maintained as a connection pool.
 It will limit the number of those connection that each web server child
@@ -165,7 +165,7 @@
 should reflect the number of threads per child process. JK will discover
 the number of threads per child process o

svn commit: r476698 - /tomcat/connectors/trunk/jk/xdocs/changelog.xml

2006-11-18 Thread rjung
Author: rjung
Date: Sat Nov 18 20:02:30 2006
New Revision: 476698

URL: http://svn.apache.org/viewvc?view=rev&rev=476698
Log:
Add todays changes.

Modified:
tomcat/connectors/trunk/jk/xdocs/changelog.xml

Modified: tomcat/connectors/trunk/jk/xdocs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/changelog.xml?view=diff&rev=476698&r1=476697&r2=476698
==
--- tomcat/connectors/trunk/jk/xdocs/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/changelog.xml Sat Nov 18 20:02:30 2006
@@ -26,6 +26,14 @@
   
   
 
+  
+  Docs: Minor enhancements and syncing with more recent versions. (rjung)
+  
+  
+  40997: Separate uri mappings from their '!'
+  counterpart when checking for duplicates in uriworkermap
+  reloading. (rjung)
+  
   
   40877: Make sure the shared memory is reset on
   attach for multiple web server child processes. (mturk)



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



DO NOT REPLY [Bug 40316] - apachectl -k graceful causes segmentation fault

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40316


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 20:27 ---
Could any of the commenters please give some information, if one of the problems
still exists with 1.2.19 or the coming version 1.2.20?

Otherwise we will close this case.


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



DO NOT REPLY [Bug 39967] - mod_jk gives segmentation fault when apache is started as root

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=39967





--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 20:45 ---
Any new information on this subject?

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



DO NOT REPLY [Bug 39290] - mod_jk 1.2.15 and out.write() strange behaviour

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=39290


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 21:16 ---
Detection of aborted client connections got broken in 1.2.14. This has been
fixed in 1.2.19.

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



DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash

2006-11-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40719





--- Additional Comments From [EMAIL PROTECTED]  2006-11-18 23:10 ---
(In reply to comment #3)
> Without a test case or steps to reproduce, there is little I can do to
> investigate this issue. Also, please confirm whether or not you are using Java
> 2D in your web application.

No, NOT using Java 2D in any shape or form at all.

It's was pretty random, this error, so I can't produce a test case 
unfortunately. Maybe it was
a JVM bug or something does looking inside the method at the top of the 
tomcat exception 
stack trace help ?

--j (bug submitter)

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