DO NOT REPLY [Bug 39741] New: - typo in native/src/network.c

2006-06-07 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=39741.
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=39741

   Summary: typo in native/src/network.c
   Product: Tomcat 5
   Version: Unknown
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Connector:AJP
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I found trivial typo in typo in native/src/network.c.
The lenght should be length.

-- 
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 39741] - typo in native/src/network.c

2006-06-07 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=39741.
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=39741





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 07:07 ---
Created an attachment (id=18417)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18417action=view)
Patch for /tomcat/connectors/trunk/jni/native/src/network.c against svn HEAD.


-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663


[EMAIL PROTECTED] changed:

   What|Removed |Added

 OS/Version|Windows XP  |All
   Platform|PC  |All
Version|5.5.17  |5.5.16




-- 
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 32569] - ServletContextListener will not die

2006-06-07 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=32569.
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=32569


[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|5.5.5   |5.5.16




-- 
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 34319] - StoreBase.processExpires() is very inefficient

2006-06-07 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=34319.
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=34319


[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|5.5.9   |5.5.16




-- 
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: r412388 - /tomcat/connectors/trunk/jni/native/src/network.c

2006-06-07 Thread jfclere
Author: jfclere
Date: Wed Jun  7 05:29:20 2006
New Revision: 412388

URL: http://svn.apache.org/viewvc?rev=412388view=rev
Log:
PR 39741

Modified:
tomcat/connectors/trunk/jni/native/src/network.c

Modified: tomcat/connectors/trunk/jni/native/src/network.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/network.c?rev=412388r1=412387r2=412388view=diff
==
--- tomcat/connectors/trunk/jni/native/src/network.c (original)
+++ tomcat/connectors/trunk/jni/native/src/network.c Wed Jun  7 05:29:20 2006
@@ -72,13 +72,13 @@
 fprintf(stderr, Sockets closed  : %d\n, sp_closed);
 fprintf(stderr, Sockets cleared : %d\n, sp_cleared);
 fprintf(stderr, Total send calls: %d\n, sp_num_send);
-fprintf(stderr, Minimum send lenght : %d\n, sp_min_send);
-fprintf(stderr, Maximum send lenght : %d\n, sp_max_send);
-fprintf(stderr, Average send lenght : %.2f\n, 
(double)sp_tot_send/(double)sp_num_send);
+fprintf(stderr, Minimum send length : %d\n, sp_min_send);
+fprintf(stderr, Maximum send length : %d\n, sp_max_send);
+fprintf(stderr, Average send length : %.2f\n, 
(double)sp_tot_send/(double)sp_num_send);
 fprintf(stderr, Total recv calls: %d\n, sp_num_recv);
-fprintf(stderr, Minimum recv lenght : %d\n, sp_min_recv);
-fprintf(stderr, Maximum recv lenght : %d\n, sp_max_recv);
-fprintf(stderr, Average recv lenght : %.2f\n, 
(double)sp_tot_recv/(double)sp_num_recv);
+fprintf(stderr, Minimum recv length : %d\n, sp_min_recv);
+fprintf(stderr, Maximum recv length : %d\n, sp_max_recv);
+fprintf(stderr, Average recv length : %.2f\n, 
(double)sp_tot_recv/(double)sp_num_recv);
 fprintf(stderr, Receive timeouts: %d\n, sp_tmo_recv);
 fprintf(stderr, Receive errors  : %d\n, sp_err_recv);
 fprintf(stderr, Receive resets  : %d\n, sp_rst_recv);



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



DO NOT REPLY [Bug 39741] - typo in native/src/network.c

2006-06-07 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=39741.
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=39741


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 12:41 ---
Committed thanks

-- 
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 39752] New: - Tomcat 5.5.17 SSI ignores request for .shtml

2006-06-07 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=39752.
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=39752

   Summary: Tomcat 5.5.17 SSI ignores request for .shtml
   Product: Tomcat 5
   Version: 5.5.17
  Platform: Other
OS/Version: other
Status: NEW
  Severity: major
  Priority: P2
 Component: Servlets:SSI
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I followed the instructions for enabling Tomcat to process SSI requests 
(rename files, uncomment servlet and servlet mapping in web.xml) but I cannot 
get Tomcat 5.5.17 to serve up the page.  It ignores the request entirely and 
seems to return nothing.

I've been using this functionality in 5.5.9 with no problems.  I have both 
versions of Tomcat installed locally on my development machine and the files 
that are processed in 5.5.9 are not processed in 5.5.17.  I've also tried to 
modify a separate machine running 5.5.15 and get the same behavoir as 5.5.17.

-- 
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 39752] - Tomcat 5.5.17 SSI ignores request for .shtml

2006-06-07 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=39752.
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=39752





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 16:00 ---
Created an attachment (id=18422)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18422action=view)
Shows uncommented code, otherwise clean

Clean web.xml except for uncommented sections

-- 
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 39402] - enabling gzip negotiation overwrites existing vary: headers

2006-06-07 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=39402.
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=39402





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 17:19 ---
Created an attachment (id=18424)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18424action=view)
A patch that fixes the overwriting vary header bug

This change checks for existing Vary headers and will add to any existing
values in the Vary header. If there is no existing Vary header then it will add
a new one as before.

-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 17:24 ---
Are you sure this is not just a result of you having appBase (Host) set to the
same directory as docBase(Context). these two should not be the same, appBase
should contain one or more webapps

Filip

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



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

2006-06-07 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 has an issue affecting its community integration.
This issue affects 1 projects.
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 
...


Full details are available at:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6/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
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6/gump_work/build_tomcat-tc6_tomcat-tc6.html
Work Name: build_tomcat-tc6_tomcat-tc6 (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 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-logging-api.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-07062006.jar
 
-Dtomcat-dbcp.jar=/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-07062006.jar
 
-Djasper-jdt.jar=/usr/local/gump/packages/eclipse-3.1M6/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar
 
[Working Directory: /usr/local/gump/public/workspace/tomcat-tc6]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/tomcat-tc6/classes:/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:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/packages/javamail-1.4/mail.jar:/usr/local/gump/packages/javamail-1.4/lib/mailapi.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-07062006.jar:/usr/local/gump/packages/eclipse-3.1M6/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar:/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-07062006.jar
-
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ClassNameMBean.java:36:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextEnvironmentMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextEnvironmentMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextResourceLinkMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextResourceLinkMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/DefaultContextMBean.java:40:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 303133 $ $Date: 2004-08-29 18:46:15 +0200 

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

2006-06-07 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 has an issue affecting its community integration.
This issue affects 1 projects.
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 
...


Full details are available at:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6/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
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6/gump_work/build_tomcat-tc6_tomcat-tc6.html
Work Name: build_tomcat-tc6_tomcat-tc6 (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 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-logging-api.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-07062006.jar
 
-Dtomcat-dbcp.jar=/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-07062006.jar
 
-Djasper-jdt.jar=/usr/local/gump/packages/eclipse-3.1M6/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar
 
[Working Directory: /usr/local/gump/public/workspace/tomcat-tc6]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/tomcat-tc6/classes:/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:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/packages/javamail-1.4/mail.jar:/usr/local/gump/packages/javamail-1.4/lib/mailapi.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-07062006.jar:/usr/local/gump/packages/eclipse-3.1M6/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar:/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-07062006.jar
-
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ClassNameMBean.java:36:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextEnvironmentMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextEnvironmentMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextResourceLinkMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextResourceLinkMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/DefaultContextMBean.java:40:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 303133 $ $Date: 2004-08-29 18:46:15 +0200 

DO NOT REPLY [Bug 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 18:00 ---
For the default web application (with the Context's path=) as it's called by
the Tomcat Context tag documentation, the Hosts's appBase directory will always
be the same as the Context's docBase directory, I think.  I just tried testing
with a blank value for the Context's docBase instead of the full path, and it
has the same problem. Removing the Context tag entirely also gives the same 
error.

Regardless of whether this is technically correct or not, I think a large number
of people are currently relying on this functionality that worked in versions of
Tomcat in 5.5.12 and before.

-- 
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 37356] - Tomcat does not invalidate sessions after session-timeout period has passed.

2006-06-07 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=37356.
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=37356


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 18:23 ---
No, this bug is self inflicted.
appBase must be different than docBase. Please verify that this bug works if you
setup the system correctly, until then we will leave as invalid.
if the bug persist when appBase != docBase, then reopen the bug and I will fix 
it.


(In reply to comment #4)
 For the default web application (with the Context's path=) as it's called 
 by
 the Tomcat Context tag documentation, the Hosts's appBase directory will 
 always
 be the same as the Context's docBase directory, I think.  I just tried testing
 with a blank value for the Context's docBase instead of the full path, and it
 has the same problem. Removing the Context tag entirely also gives the same 
 error.
 
 Regardless of whether this is technically correct or not, I think a large 
 number
 of people are currently relying on this functionality that worked in versions 
 of
 Tomcat in 5.5.12 and before.



-- 
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 36852] - Custom Webapp loaders don't correctly honor context's privileged=true attribute

2006-06-07 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=36852.
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=36852





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 18:28 ---
I don't think this is fixed yet. When using the tomcat sysdeo plugin with
eclipse, neither the common or shared class loader is used.

If I mark the context as privileged, then the common is in the chain but not the
shared.

-- 
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 39752] - Tomcat 5.5.17 SSI ignores request for .shtml

2006-06-07 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=39752.
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=39752





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 18:40 ---
Created an attachment (id=18425)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18425action=view)
resulting file

This is the results that appear in the temp folder.

-- 
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 39752] - Tomcat 5.5.17 SSI ignores request for .shtml

2006-06-07 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=39752.
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=39752





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 18:41 ---
Created an attachment (id=18426)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18426action=view)
resulting file

This is the results that appear in the temp folder.

-- 
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 39752] - Tomcat 5.5.17 SSI ignores request for .shtml

2006-06-07 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=39752.
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=39752





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 18:43 ---
Further investigation shows the request being processed (see log excerpt 
below).  When the page is returned to Mozilla it comes up in the download 
popup but cannot be opened.  In IE nothing happens.  Looking at the file that 
is delivered (in the temp folder), it looks like a standard text file with the 
SSI directive having been processed.  The attached page shows the result of 
displaying some text and using SSI to get the local date.  This same page 
works fine when requested by the same PC/browser from the Tomcat 5.5.9 version 
on the same server.



log file except:

Jun 7, 2006 2:26:13 PM org.apache.catalina.core.ApplicationContext log
INFO: ssi: SSIServlet.doGet()
Jun 7, 2006 2:26:13 PM org.apache.catalina.core.ApplicationContext log
INFO: ssi: SSIServlet.requestHandler()
Serving buffered resource '/ejl.shtml'
Jun 7, 2006 2:26:13 PM org.apache.catalina.core.ApplicationContext log
INFO: SSIProcessor.process -- processing command: echo


-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 18:43 ---
So you're telling me I cannot have a default web application with a context path
of  unless I put it in a ROOT directory under appBase like Tomcat's webapps
directory has? That is the only way I can make it work. I dropped my bugtest
files into %TOMCAT_HOME%\webapps then renamed the %TOMCAT_HOME%\webapps\ROOT
directory and left the server.xml file unchanged and it is still broken.

-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |




--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 19:19 ---
you can name the app whatever you want and still serve it up as 

docBase=bugtest path= should work fine, but if are saying its still bust,
then I will reopen and take a look at it.

-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 19:28 ---
Created an attachment (id=18427)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18427action=view)
Test 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]



DO NOT REPLY [Bug 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||WORKSFORME




--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 19:29 ---
I have webapps/bugtest

server.xml I have 
Context docBase=bugtest path=/

and it works just fine.

docBase should not be set to the same as appBase, as appBase is the directory
for one ore more applications. 

in your setting, my guess is that it could work if you turn off autoDeploy.

-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 20:04 ---
Try this in server.xml as replacement for the default Host. Shouldn't this be
allowed?

Host name=localhost appBase=webapps2
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false

  Context docBase= path=/
/Host

In %TOMCAT_HOME%\webapps2:

%TOMCAT_HOME%\webapps2\index.jsp
%TOMCAT_HOME%\webapps2\testdir\index.jsp
%TOMCAT_HOME%\webapps2\WEB-INF\bugtest.tld
%TOMCAT_HOME%\webapps2\WEB-INF\web.xml

Then go to:
http://localhost:8080/ [Works]
http://localhost:8080/testdir/ [org.apache.jasper.JasperException: File
/WEB-INF/bugtest.tld not found]

If I then remove the Context tag, it's odd that I get a blank page for the first
URL but the same error for the second URL.

In Tomcat 5.5.12, I get no errors for both URLs with the Context tag, and blank
pages for both URLs without the tag.

If you'd like to continue this conversation via direct email instead of filling
the inbox of everyone being copied, feel free.

-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663





--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 20:59 ---
As I said, stop setting docBase to the same as appBase, then your problems will
go away.

If you insist on setting appBase to docBase, like you have below, then at least
try to set autoDeploy=false 

docBase is a relative path, so setting docBase= means that you are setting
docBase==appBase

so you haven't presented a new scenario

-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |




--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 21:19 ---
I've been looking at this for the past few hours - and there is something not
quite consistent here. I believe it has to do with how the
ProxyDirContext.contextName gets setup. When this gets setup to  - ie. blank
context then everything works as expected. However, when the context is set to
/meshcms then this causes the misery.

As far as I can tell this occurs under the following conditions - which I
suppose amounts to the same thing:

  Host's appBase == Context's docBase || docBase == 

... if appBase is set to anything else (a non-existent dir or even ) and
docBase is set to the exact path then contextName is  - otherwise it
interprets the first bit of the path as the context, ie. /meshcms. In this
event the web.xml is not found - hence the warning about web.xml not found - and
the taglib is not setup. The /admin/... path is a red-herring - I can't
remember why it happens - but it's not important - the failure occurs from
trying to find web.xml at /meshcms/WEB-INF/web.xml - and failing.

This does seem a little inconsistent to me - if the docBase is set to a
particular value - either derived as it is , a relative path or a
fully-qualified path then this should probably take prority - even if the
appBase points to the same dir. Working as it currently does gives the following
behaviour that I think is confusing:

#  appBasedocBase   contextName  Works?
-  ------   ---  --
1  /tmp/wa1   /wa1   fails
2  /tmp/wa1   /tmp/wa1  /wa1   fails
3  /tmp/bb/tmp/wa1 works
4   /tmp/wa1 works

It seems in .12 - contextName ==  - for at least the scenario outlined by
Luciano - scenario 1, above - hence why this worked in .12 - and does not now
work in .16.

Having re-read the definitions for the above - Filip is of course correct - that
this is an inconsistent use of these properties - having the webapps' parent and
a webapp pointing to the same directory - but the confusing element is that this
behaviour has changed between .12 and .16  - this has bitten several of us here
- me included.

I suspect the change lies somewhere in the code that sets the
ContainerBase.resources (ProxyDirContext) .contextName - by examining the
defined values for appBase and docBase - but  I presume this change has been
made for good reason - I have not attempted to track-down the details of this
change.

I have re-opened this bug (sorry Filip) - so that it can be investigated further
- I believe there either needs to be an exception thrown to indicate the fact
that the context has the same base as the webapps so at least a visible
exception is thrown - or it needs to behave as it did in .12 - ie. the context's
docBase setting takes priority when determining the webapp's context.

As a simple workaround - set the appBase= and the docBase to the
fully-qualified path of the webapp - works for me. A better, more-robust
solution may be to follow Filip's advice given for putting the webapp in a
directory under the appBase.


-- 
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 39663] - JasperException: File [TLD Name] not found with zero length context path

2006-06-07 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=39663.
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=39663


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-06-07 21:25 ---
Closing the bug to invalid, yes a warning might be nice, but its also self
explanatory. If you want a warning message, then submit an enhancement request,
I suggest not to try to slip that into the original bug.

Here you go, and now you understand why :) as well

#  appBasedocBase   contextName  Works?  Why?
-  ------   ---  --  -
1  /tmp/wa1   /wa1   fails   appBase==docBase
2  /tmp/wa1   /tmp/wa1  /wa1   fails   appBase==docBase
3  /tmp/bb/tmp/wa1 works   appBase!=docBase
4   /tmp/wa1 works   appBase!=docBase




-- 
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: r412555 - in /tomcat/container/tc5.5.x/modules/groupcom: doc/leader-election-message-arrives.dia doc/leader-election-message-arrives.jpg src/share/org/apache/catalina/tribes/group/intercep

2006-06-07 Thread fhanik
Author: fhanik
Date: Wed Jun  7 14:40:00 2006
New Revision: 412555

URL: http://svn.apache.org/viewvc?rev=412555view=rev
Log:
Improvements to the merging leadership election algorithm, implementation is 
still pending

Modified:

tomcat/container/tc5.5.x/modules/groupcom/doc/leader-election-message-arrives.dia

tomcat/container/tc5.5.x/modules/groupcom/doc/leader-election-message-arrives.jpg

tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java

Modified: 
tomcat/container/tc5.5.x/modules/groupcom/doc/leader-election-message-arrives.dia
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/modules/groupcom/doc/leader-election-message-arrives.dia?rev=412555r1=412554r2=412555view=diff
==
Binary files - no diff available.

Modified: 
tomcat/container/tc5.5.x/modules/groupcom/doc/leader-election-message-arrives.jpg
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/modules/groupcom/doc/leader-election-message-arrives.jpg?rev=412555r1=412554r2=412555view=diff
==
Binary files - no diff available.

Modified: 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java?rev=412555r1=412554r2=412555view=diff
==
--- 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java
 (original)
+++ 
tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java
 Wed Jun  7 14:40:00 2006
@@ -31,6 +31,7 @@
 import org.apache.catalina.tribes.util.Arrays;
 import org.apache.catalina.tribes.util.UUIDGenerator;
 import java.util.concurrent.atomic.AtomicBoolean;
+import java.util.concurrent.atomic.AtomicInteger;
 
 /**
  * pTitle: Auto merging leader election algorithm/p
@@ -166,14 +167,13 @@
 protected UniqueId suggestedviewId;
 protected Membership suggestedView;
 
-protected LinkedHashMap rotatingViews = new LinkedHashMap();
-
 protected boolean started = false;
 protected final int startsvc = 0x;
 
 protected Object electionMutex = new Object();
 
 protected AtomicBoolean coordMsgReceived = new AtomicBoolean(false);
+protected AtomicInteger runningElections = new AtomicInteger(0);
 
 public NonBlockingCoordinator() {
 super();
@@ -183,10 +183,6 @@
 //  COORDINATION HANDLING
 
//
 
-public Membership getView(UniqueId id) {
-return (Membership)rotatingViews.get(id);
-}
-
 public void startElection(boolean force) throws ChannelException {
 synchronized (electionMutex) {
 if ( suggestedviewId != null ) return;//election already running, 
I'm not allowed to have two of them
@@ -194,16 +190,18 @@
 MemberImpl[] others = (MemberImpl[])membership.getMembers();
 if ( others.length == 0 ) return; //the only member, no need for 
an election
 int prio = AbsoluteOrder.comp.compare(local,others[0]);
-MemberImpl leader = ( prio  0 )?local:others[0];
-if ( local.equals(leader) || force ) 
sendElectionMsg(local,leader,others);
-else {
+MemberImpl leader = ( prio  0 )?local:others[0];//am I the leader 
in my view?
+if ( local.equals(leader) || force ) {
+runningElections.addAndGet(1);
+sendElectionMsg(local,leader,others);
+} else {
 try {
 coordMsgReceived.set(false);
 electionMutex.wait(waitForCoordMsgTimeout);
 }catch ( InterruptedException x ) {
 Thread.currentThread().interrupted();
 }
-if ( rotatingViews.size() == 0  suggestedviewId == null  
(!coordMsgReceived.get())) {
+if ( runningElections.get() == 0  suggestedviewId == null  
(!coordMsgReceived.get())) {
 //no message arrived, send the coord msg
 startElection(true);
 }
@@ -222,7 +220,7 @@
 suggestedviewId = msg.getId();
 suggestedView = new Membership(local);
 Arrays.fill(suggestedView,mbrs);
-rotatingViews.put(suggestedviewId, msg);
+
 super.sendMessage(new Member[] {others[0]}, createData(msg, 
local), null);
 }
 }
@@ -267,10 +265,9 @@
 synchronized 

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

2006-06-07 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 has an issue affecting its community integration.
This issue affects 1 projects.
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 
...


Full details are available at:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6/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
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6/gump_work/build_tomcat-tc6_tomcat-tc6.html
Work Name: build_tomcat-tc6_tomcat-tc6 (Type: Build)
Work ended in a state of : Failed
Elapsed: 16 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-logging-api.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-07062006.jar
 
-Dtomcat-dbcp.jar=/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-07062006.jar
 
-Djasper-jdt.jar=/usr/local/gump/packages/eclipse-3.1M6/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar
 
[Working Directory: /usr/local/gump/public/workspace/tomcat-tc6]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/tomcat-tc6/classes:/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:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/packages/javamail-1.4/mail.jar:/usr/local/gump/packages/javamail-1.4/lib/mailapi.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-07062006.jar:/usr/local/gump/packages/eclipse-3.1M6/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar:/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-07062006.jar
-
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ClassNameMBean.java:36:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextEnvironmentMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextEnvironmentMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextResourceLinkMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextResourceLinkMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/DefaultContextMBean.java:40:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 303133 $ $Date: 2004-08-29 18:46:15 +0200 

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

2006-06-07 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 has an issue affecting its community integration.
This issue affects 1 projects.
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 
...


Full details are available at:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6/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
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-tc6/tomcat-tc6/gump_work/build_tomcat-tc6_tomcat-tc6.html
Work Name: build_tomcat-tc6_tomcat-tc6 (Type: Build)
Work ended in a state of : Failed
Elapsed: 16 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-logging-api.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-07062006.jar
 
-Dtomcat-dbcp.jar=/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-07062006.jar
 
-Djasper-jdt.jar=/usr/local/gump/packages/eclipse-3.1M6/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar
 
[Working Directory: /usr/local/gump/public/workspace/tomcat-tc6]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/tomcat-tc6/classes:/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:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/packages/javamail-1.4/mail.jar:/usr/local/gump/packages/javamail-1.4/lib/mailapi.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-07062006.jar:/usr/local/gump/packages/eclipse-3.1M6/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar:/usr/local/gump/public/workspace/tomcat-tc6/tomcat-deps/tomcat-jdbc-07062006.jar
-
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ClassNameMBean.java:36:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextEnvironmentMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextEnvironmentMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextResourceLinkMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/ContextResourceLinkMBean.java:38:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 302726 $ $Date: 2004-02-27 15:59:07 +0100 
(ven., 27 f??vr. 2004) $
[javac] 
 ^
[javac] 
/x1/gump/public/workspace/tomcat-tc6/java/org/apache/catalina/mbeans/DefaultContextMBean.java:40:
 warning: unmappable character for encoding ASCII
[javac]  * @version $Revision: 303133 $ $Date: 2004-08-29 18:46:15 +0200 

svn commit: r412661 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/buf/C2BConverter.java

2006-06-07 Thread billbarker
Author: billbarker
Date: Wed Jun  7 22:06:37 2006
New Revision: 412661

URL: http://svn.apache.org/viewvc?rev=412661view=rev
Log:
Add missing method to stop Gump from nagging

Modified:
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/buf/C2BConverter.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/buf/C2BConverter.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/buf/C2BConverter.java?rev=412661r1=412660r2=412661view=diff
==
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/buf/C2BConverter.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/buf/C2BConverter.java Wed 
Jun  7 22:06:37 2006
@@ -82,6 +82,12 @@
 
 /** Generate the bytes using the specified encoding
  */
+public  final void convert(String s, int off, int len ) throws IOException 
{
+   conv.write( s, off, len );
+}
+
+/** Generate the bytes using the specified encoding
+ */
 public  final void convert(String s ) throws IOException {
conv.write( s );
 }



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