DO NOT REPLY [Bug 40593] New: - HttpSessionListener#sessionDestroyed is not called though the manager's pathname is emply.

2006-09-24 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=40593

   Summary: HttpSessionListener#sessionDestroyed is not called
though the manager's pathname is emply.
   Product: Tomcat 5
   Version: 5.5.17
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I defined pathname="" in the Manager tag,
because I did not want to continue sessions
 even if my application(or tomcat) is reactivated. 

As a result, sessions are not stored in the file "SESSIONS.ser",
but HttpSessionListener#sessionDestroyed is not called.

I think following logic is the cause:
---
...In StandardContext#stop()
// Stop our filters
filterStop();

// Stop our application listeners
listenerStop();

// Stop ContainerBackgroundProcessor thread
super.threadStop();

if ((manager != null) && (manager instanceof Lifecycle)) {
((Lifecycle) manager).stop();
}
---

I think it would be better that listenerStop() is called after manager#stop(),
or that we do not set null to applicationLifecycleListenersObjects in 
listenerStop() method at least for the HttpSessionListener instance.

-- 
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: r449395 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardContext.java

2006-09-24 Thread remm
Author: remm
Date: Sun Sep 24 04:54:53 2006
New Revision: 449395

URL: http://svn.apache.org/viewvc?view=rev&rev=449395
Log:
- Experiment with stopping the manager a bit earlier.

Modified:
tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardContext.java

Modified: 
tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardContext.java?view=diff&rev=449395&r1=449394&r2=449395
==
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardContext.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardContext.java Sun 
Sep 24 04:54:53 2006
@@ -4483,15 +4483,15 @@
 // Stop our filters
 filterStop();
 
-// Stop our application listeners
-listenerStop();
-
 // Stop ContainerBackgroundProcessor thread
 super.threadStop();
 
 if ((manager != null) && (manager instanceof Lifecycle)) {
 ((Lifecycle) manager).stop();
 }
+
+// Stop our application listeners
+listenerStop();
 
 // Finalize our character set mapper
 setCharsetMapper(null);



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



DO NOT REPLY [Bug 34560] - AuthenticatorBase tests and applies disableProxyCaching even if no auth-constraints

2006-09-24 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=34560





--- Additional Comments From [EMAIL PROTECTED]  2006-09-24 13:33 ---
(In reply to comment #11)
> The servlet spec does not specify caching behaviour for CONFIDENTIAL.

Because https transport has nothing to do with caching... You are mixing
attributes of layer 6 (presentation/encryption) and layer 7 (application/http)
of the OSI protocol stack (higher layers being merely the payload of the lower
layers, i.e. the russian dolls metaphor).
http://www.webopedia.com/quick_ref/OSI_Layers.asp
If you want to discuss caching (and authentication), you must locate yourself at
the layer 7. Therefore the transport choice is irrelevant and the http spec
prevails: caching headers aren't mandatory and so are added as an explicit
choice by the servers/proxies. As it stands, tomcat disregards that choice and
requires extra configuration to remove http headers.


> Given the meaning of confidential it is arguable that it should
> not be cached it in order to keep it private.

This is a browser-side privacy issue, a user preference, not a server issue.

You can assert the concepts exposed here with anyone with a bachelor degree in
computer science (or electrical engineering with networking speciality). Maybe
http and servlets don't sound very OSI, but they do partition communication
roles. I don't know what else I can give you to help you understand how
CONFIDENTIAL transport is not related to caching.

But in the end, the fact that both use-case are legitimate enforces the fact
that caching of unauthenticated confidential resources must be configurable. My
point is to provide the performant alternative, not the slower one and force
users to cope with extraneous hits, server load and exra servlet filters and 
config.

-- 
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 34856] - MacOSX 10.4 and Java 5 jnilibs causes ZipException when Tomcat loads non-jars

2006-09-24 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=34856


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-09-24 16:26 ---
Closing this as INVALID since it is not a Tomcat issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 40597] New: - mod_jk-1.2.19 no way to exactly match wildchar path

2006-09-24 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=40597

   Summary: mod_jk-1.2.19 no way to exactly match wildchar path
   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'm currently using mod_jk in my development environment in the following way:



DAV svn
SVNParentPath /var/lib/svn
Order Deny,Allow
AuthType Basic
AuthName "Subversion Repository"
Require valid-user





SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracUriRoot /projects
PythonOption TracEnvParentDir /var/lib/trac
Order Deny,Allow
AuthType Basic
AuthName "Trac Environment"
Require valid-user




jkMount /myApp/* ajp13
#   
#   Order Deny,Allow
#   AuthType Basic
#   AuthName "myApp"
#   Require valid-user
#   



The problem is that I've got a Trac (and svn) environment of myApp.  This means
that /projects/myApp/* should map to Trac via the mod_python handler, and
/myApp/* should map to Tomcat via mod_jk.

However, when I try to request /projects/myApp/, here is the debugging output of
mod_jk:

[Mon Sep 25 00:25:01 2006] [5504:47968] [debug]
map_uri_to_worker::jk_uri_worker_map.c (513): Attempting to map URI
'/projects/myApp/' from 1 maps
[Mon Sep 25 00:25:01 2006] [5504:47968] [debug]
map_uri_to_worker::jk_uri_worker_map.c (525): Attempting to map context URI
'/myApp/*'
[Mon Sep 25 00:25:01 2006] [5504:47968] [debug]
map_uri_to_worker::jk_uri_worker_map.c (513): Attempting to map URI
'/projects/myApp/' from 1 maps
[Mon Sep 25 00:25:01 2006] [5504:47968] [debug]
map_uri_to_worker::jk_uri_worker_map.c (525): Attempting to map context URI
'/myApp/*'
[Mon Sep 25 00:25:01 2006] [5504:47968] [debug]
map_uri_to_worker::jk_uri_worker_map.c (513): Attempting to map URI '/myApp/'
from 1 maps
[Mon Sep 25 00:25:01 2006] [5504:47968] [debug]
map_uri_to_worker::jk_uri_worker_map.c (525): Attempting to map context URI
'/myApp/*'
[Mon Sep 25 00:25:01 2006] [5504:47968] [debug]
map_uri_to_worker::jk_uri_worker_map.c (539): Found a wildchar match ajp13 ->
/myApp/*


Notice that mod_jk has walked up the URI from /projects/myApp/ to /myApp/ and
then this has successfully matched the /myApp/* mapping.  This is a problem
because I only want URIs that exactly match /myApp/* to be forwarded on to
Tomcat and not any URIs that end in /myApp/*.

It seems like there should be a way to indicate that a wildchar path should be
matched non-recursively.  This would require a new match_type that was somewhere
between MATCH_TYPE_WILDCHAR_PATH (which matches wildchar paths recursively) and
MATCH_TYPE_EXACT (which matches non-wildcard paths exactly).

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



Bug report for Tomcat 3 [2006/09/24]

2006-09-24 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 2350|Ver|Nor|2001-06-27|ServletConfig.getInitParameter() requires url-patt|
| 5331|Ass|Nor|2001-12-09|getPathInfo vs URL normalization  |
| 6027|Inf|Maj|2002-01-25|Tomcat  Automatically shuts down as service   |
| 6488|Ver|Maj|2002-02-15|Error: 304. Apparent bug in default ErrorHandler c|
| 7785|Inf|Blk|2002-04-06|tomcat bug in context reloading   |
| 7863|Inf|Maj|2002-04-09|I have a problem when running Tomcat with IIS |
| 8187|Inf|Cri|2002-04-17|Errors when Tomcat used with MS Access database   |
| 9737|Ver|Nor|2002-06-10|ArrayIndexOutOfBoundsException when sending just p|
|10047|Ass|Cri|2002-06-20|IllegalStateException |
|10406|Ass|Cri|2002-07-02|IllegalStateException |
|11087|Inf|Blk|2002-07-23|IllegalStateException |
|12156|Inf|Cri|2002-08-29|Apache and Tomcat 3.3.1 Interworking problem  |
|16363|Ass|Cri|2003-01-23|Stack Overflow accessing compiled JSP - Tomcat 3.2|
|39250|Inf|Cri|2006-04-07|Tomcat 3.2.1 + JDK 1.4|
+-+---+---+--+--+
| Total   14 bugs   |
+---+

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



Bug report for Tomcat 4 [2006/09/24]

2006-09-24 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 3839|Opn|Enh|2001-09-26|Problem bookmarking login page|
| 4227|Opn|Enh|2001-10-17|Invalid CGI path  |
| 5329|New|Enh|2001-12-08|NT Service exits startup before Tomcat is finished|
| 5795|New|Enh|2002-01-10|Catalina Shutdown relies on localhost causing prob|
| 5829|New|Enh|2002-01-13|StandardManager needs to cope with sessions throwi|
| 5985|New|Enh|2002-01-23|Tomcat should perform a more restrictive validatio|
| 6600|Opn|Enh|2002-02-20|enodeURL adds 'jsession' when 'isRequestedSessionI|
| 6614|New|Enh|2002-02-21|Have Bootstrap and StandardClassLoader use the sam|
| 6671|New|Enh|2002-02-25|Simple custom tag example uses old declaration sty|
| 7043|New|Enh|2002-03-12|database user and password for JDBC Based Store   |
| 7374|New|Enh|2002-03-22|Apache Tomcat/4.0.1 message on standard output|
| 7676|New|Enh|2002-04-02|Allow name property to use match experssions in  without className in server.xml produces N|
|11069|Opn|Enh|2002-07-23|Tomcat not flag error if tld is outside of /WEB-IN|
|11129|New|Enh|2002-07-24|New valve for putting the sessionIDs in the reques|
|11248|New|Enh|2002-07-29|DefaultServlet doesn't send expires header|
|11754|Opn|Enh|2002-08-15|Synchronous shutdown script - shutdown.sh should w|
|12069|New|Enh|2002-08-27|Creation of more HttpSession objects for one previ|
|12658|New|Enh|2002-09-15|a proxy host and port at the  element level |
|12766|New|Enh|2002-09-18|Tomcat should use tld files in /WEB-INF/ over vers|
|13309|Opn|Enh|2002-10-04|Catalina calls System.exit()  |
|13634|New|Enh|2002-10-15|Allowing system properties to be substituted in co|
|13689|Opn|Enh|2002-10-16|Classloader paths for 'Common' classes and librari|
|13731|New|Enh|2002-10-17|Final request, response, session and other variabl|
|13941|New|Enh|2002-10-24|reload is VERY slow   |
|13965|New|Enh|2002-10-25|Catalina.sh correction request for Tru64 Unix |
|14097|New|Enh|2002-10-30|hardcoded registry value for vm lets tomcat servic|
|14416|New|Enh|2002-11-10|blank tag name in TLD cause NullPointerException  |
|14635|New|Enh|2002-11-18|Should be possible not to have -MM-DD in log f|
|14766|New|Enh|2002-11-22|Redirect Vavle|
|14993|New|Enh|2002-12-02|Possible obselete synchronized declaration|
|15115|New|Enh|2002-12-05|correct docs... XML parser *cannot* be overridden |
|15417|Opn|Enh|2002-12-16|Add port for forced compilation of JSP pages  |
|15688|New|Enh|2002-12-27|full-qualified names instead of imports   |
|15941|New|Enh|2003-01-10|Expose rootCause exceptions at deeper levels  |
|16294|New|Enh|2003-01-21|Configurable URL Decoding.|
|16357|New|Enh|2003-01-23|"connection timeout reached"  |
|16531|New|Enh|2003-01-29|Updating already deployed ".war" files in a single|
|16579|New|Enh|2003-01-30|documentation page layout/style breaks wrapping to|
|16596|New|Enh|2003-01-30|option for disabling log rotation |
|17070|New|Enh|2003-02-14|The Catalina Ant tasks do not allow for 'reusable'|
|17146|New|Enh|2003-02-18|Simplify build.xml using 

Bug report for Watchdog [2006/09/24]

2006-09-24 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|  278|Unc|Nor|2000-12-04|Bug in GetParameterValuesTestServlet.java file Bug|
|  279|Unc|Nor|2000-12-04|Logical Error in GetParameterValuesTestServlet Bug|
|  469|Unc|Nor|2001-01-17|in example-taglib.tld "urn" should be "uri" BugRat|
|  470|Unc|Nor|2001-01-17|FAIL positiveForward.jsp and positiveInclude.jsp B|
| 9634|New|Enh|2002-06-05|No tests exist for ServletContext.getResourcePaths|
|10703|New|Enh|2002-07-11|Need to test getRequestURI after RequestDispatcher|
|11336|New|Enh|2002-07-31|Test wrapped path methods with RD.foward()|
|11663|New|Maj|2002-08-13|JSP precompile tests rely on Jasper specific behav|
|11664|New|Maj|2002-08-13|A sweep is needed of all Watchdog 4.0 tag librarie|
|11665|New|Maj|2002-08-13|ServletToJSPErrorPageTest and ServletToServletErro|
|11666|New|Maj|2002-08-13|SetBufferSize_1TestServlet is invalid.|
|14004|New|Maj|2002-10-28|Incorrent behaviour of all attribute-related lifec|
|15504|New|Nor|2002-12-18|JSP positiveGetValues test relies on order preserv|
|24649|New|Nor|2003-11-12|getRemoteHost fails when agent has uppercase chara|
|29398|New|Nor|2004-06-04|Update site and note current status   |
+-+---+---+--+--+
| Total   15 bugs   |
+---+

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



Bug report for Tomcat 5 [2006/09/24]

2006-09-24 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|22679|Ver|Enh|2003-08-24|how to access ssl session ID out of tomcat to prev|
|28039|New|Enh|2004-03-30|Cluster Support for SingleSignOn  |
|28634|Ass|Enh|2004-04-27|Extend StandardManager/StandardSession for DeltaMa|
|29160|Ver|Enh|2004-05-23|precompile problem: _jspx_meth_* (javax.servlet.js|
|29494|Inf|Enh|2004-06-10|No way to set PATH when running as a service on Wi|
|30241|Ver|Enh|2004-07-21|Enhance build script to use branch argument when c|
|33262|Inf|Enh|2005-01-27|Service Manager autostart should check for adminis|
|33453|Opn|Enh|2005-02-08|Jasper should recompile JSP files whose datestamps|
|33650|Inf|Enh|2005-02-19|Jasper performance for multiple files processing  |
|33671|Opn|Enh|2005-02-21|Manual Windows service installation with custom na|
|34319|New|Enh|2005-04-06|StoreBase.processExpires() is very inefficient|
|34643|New|Enh|2005-04-27|document how to use certificate-based "clientAuth"|
|34769|Inf|Nor|2005-05-05|ArrayIndexOutOfBoundsException occurs when reading|
|34801|New|Enh|2005-05-08|PATCH: CGIServlet does not terminate child after a|
|34805|Ass|Enh|2005-05-08|warn about invalid security constraint url pattern|
|34868|New|Enh|2005-05-11|allow to register a trust store for a session that|
|34952|New|Nor|2005-05-18|Installer modifies windows service when it shouldn|
|34956|Inf|Nor|2005-05-18|Tomcat should enforce the requirements from servle|
|35054|Inf|Enh|2005-05-25|warn if appBase is not existing as a File or direc|
|35079|Inf|Enh|2005-05-26|Should be able to specify DNS lookup timeout  |
|35229|Opn|Enh|2005-06-05|alert user about expired certificates in client ce|
|35252|Opn|Nor|2005-06-07|jasper2 produced malformed expanded XML view  |
|35552|Inf|Cri|2005-06-29|JMS destination under|
|35635|New|Nor|2005-07-06|Tomcat service does not log startup error messages|
|35746|Inf|Nor|2005-07-14|session manager should be immune to system clock t|
|35765|New|Enh|2005-07-16|make the SSL cipher config in server.xml fail safe|
|35827|Inf|Blk|2005-07-22|Problem with POST forms with jk connector/IIS/Wind|
|35835|Inf|Nor|2005-07-23|Submitting changes through admin app corrupts the |
|35869|New|Enh|2005-07-26|Can't run as a service on Windows Server 2003 64-B|
|35914|Unc|Nor|2005-07-28|Problem to create and delete Access Log Valve many|
|35943|New|Maj|2005-07-30|request.getRemoteUser() is not getting populated o|
|35968|New|Nor|2005-08-02|Please make  Environment Entry Properties Value in|
|36121|Inf|Maj|2005-08-10|Including JSP's changes working directory |
|36133|Inf|Enh|2005-08-10|Support JSS SSL implementation|
|36153|Inf|Nor|2005-08-12|html:form action is blank |
|36169|New|Enh|2005-08-12|[PATCH] Enable chunked encoding for IIS JK connect|
|36179|Inf|Nor|2005-08-14|Error getting setter for Tag Attribute|
|36204|Inf|Nor|2005-08-16|Webapp unable to pick the Class by the shared clas|
|36247|Ass|Nor|2005-08-18|Jasper  throws Illega|
|36362|New|Enh|2005-08-25|missing check for Java reserved keywords in tag fi|
|36365|New|Blk|2005-08-26|IIS5.1-isapi_redirector.dll (1.2.14) plugin issue |
|36470|Inf|Nor|2005-09-02|Connections not release on encountering exception.|
|36540|Inf|Nor|2005-09-07|pooled cluster replication does not seem ensure sy|
|36549|Inf|Nor|2005-09-07|Tomcat Stopped with HotSpot libjvm error  |
|36569|Inf|Nor|2005-09-09|Redirects produce illegal URL's   |
|36663|Inf|Nor|2005-09-15|setclasspath.bat requires that JAVA_HOME points to|
|36837|Inf|Enh|2005-09-28|Looking for ProxyHandler implementation of Http re|
|36922|Inf|Min|2005-10-04|setup.sh file mis-advertised and missing  |
|36923|New|Nor|2005-10-05|Deactivated EL expressions are not parsed for jsp |
|36968|Inf|Nor|2005-10-07|jasper2 Ant task fails when executed more than onc|
|36976|New|Nor|2005-10-08|Tomcat VM does not shutdown with remote jmx enable|
|36983|New|Nor|2005-10-10|session problems wi