Tomcat startup script for Windows

2007-12-18 Thread Alexey Petrenko
Hi.

I've experienced the following problem with Tomcat 6.0.14 startup
script for Windows. The script just exits silently on my machine and
Tomcat does not start.

Small investigation shown that the problem is in error level after
setclasspath.bat call from catalina.bat. Line 101 of catalina.bat
always detects an error and exits.

However setclasspath.bat does not print any error and exits as
expected through end label.

The following patch fixes the situation:
Index: bin/setclasspath.bat
===
--- bin/setclasspath.bat(revision 604213)
+++ bin/setclasspath.bat(working copy)
@@ -85,3 +85,4 @@
 exit /b 1

 :end
+exit /b 0
===

Have anyone experienced such problems before? Did I do something wrong
or it is better to patch the script?

Thanks in advance.

SY, Alexey

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



DO NOT REPLY [Bug 44084] - JAASRealm useContextClassLoader has problems

2007-12-18 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=44084.
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=44084





--- Additional Comments From [EMAIL PROTECTED]  2007-12-18 02:42 ---
AFAIK this issue was caused by the patch applied for bug 40150.
I reopened it because it really is a show stopper for us and blocks deploying
our Jetspeed portal on Tomcat 5.5.25, and also on Tomcat 6 likewise.
I think your patch can and need also be back ported to Tomcat 5.5

-- 
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 44084] - JAASRealm useContextClassLoader has problems

2007-12-18 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=44084.
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=44084


[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 42003] - Need to increase the maximum buffer size for HTTP header from 16k to 64k.

2007-12-18 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=42003.
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=42003


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-12-18 06:29 ---
This should have been fixed by Mladens commit r594798 on 2007-11-14: Fix Bz
42003 by dynamically allocating memory.

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



Quality check mod_jk 1.2.26-dev

2007-12-18 Thread Rainer Jung
Hi all,

The next version of mod_jk is approaching its release. A code snapshot
(revision 605168) is available at:

http://people.apache.org/~rjung/mod_jk-dev/

It is in the same format as a release download, so easy to build.
Under the same URL you can find the updated documentation.

It would be nice, if we could get some testing feedback from the
community. Feel free to post any observations.

Depending on your feedback we plan to tag the release at the end of the
week.

The most important changes are:

Features/Improvements
-

- allow '*' for the worker name in exclusion rules
  (resp. JkUnMount) which will override all workers
- add new value All for JkMountCopy httpd directive
- enhance URI to worker map listing in status worker for Apache httpd.
  We now list maps for all virtual servers and not only the one,
  in which JKStatus itself was called.
- enhance URI to worker map listing.
  Update stale uriworkermap.properties immediately.
- remove trace logging from compiled code via new --disable-trace
  configure switch
- maintain idle connections in decreasing (LRU) slot order
- create JK_WORKER_ROUTE and JK_REQUEST_DURATION notes for httpd
  access log even if no JkRequestLogFormat is set
- cleanup init and destroy of server configuration for httpd
- remove global configuration items from per server configuration
- remove unused attributes secret_key and automount/JkAutoMount
- cleanup of jk_uri_worker_map
- some refactorings of jk_connect.c, jk_ajp_common.c, jk_lb_worker.c


Fixes
-

- BZ 43229: Load balancer does not do fail over after reply timeouts.
- BZ 42038: Correct overlay of mounts and unmounts for IIS
- BZ 42003: Need to increase the maximum buffer size for HTTP
  header from 16k to 64k.
- BZ 43516: Memory leak for Apache httpd module of size 8KB
  for every virtual host without JK directive after each restart
- BZ 43873: Fix small memory leak occuring during httpd restart
- BZ 43647: Content-Type changes unexpectedly from text/html to
  text/pla (ingnore flush packets before we received the
  response headers)
- fixed crash during startup when using worker configuration
  inheritance (attribute reference) and log level debug
- match header names exactly against pre defined constants
- repair detailed Apache httpd version display in jk status worker
- repair broken apxs auto-detection in configure
- correct parameter validation of JkStatusUpdateTask (jkstatus ant task)

Docs


- Small additions to JkShmFile documentation
- BZ 43684: Replace JkMountFile by JkMountFileReload in
  uriworkermap.properties docs


The full change log is available under:

http://people.apache.org/~rjung/mod_jk-dev/docs/miscellaneous/changelog.html

Thanks for your valuable time!

Regards,

Rainer


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



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

2007-12-18 Thread mturk
Author: mturk
Date: Tue Dec 18 06:52:29 2007
New Revision: 605218

URL: http://svn.apache.org/viewvc?rev=605218view=rev
Log:
Note the fix for 42003

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

Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml?rev=605218r1=605217r2=605218view=diff
==
--- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Tue Dec 18 
06:52:29 2007
@@ -44,6 +44,10 @@
   subsection name=Native
 changelog
   fix
+bug42003/bug: Allocate memory instead using fixed size from
+the stack. (mturk)
+  /fix
+  fix
 bug43229/bug: Load balancer does not do fail over after
 reply timeouts. (rjung)
   /fix



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



Re: trunk development

2007-12-18 Thread Jim Jagielski

+1

On Dec 15, 2007, at 4:41 AM, Peter Rossbach wrote:


Hi Filip,

good news :-) I am happy to test this features :-)

Regards
Peter


Am 14.12.2007 um 20:53 schrieb Filip Hanik - Dev Lists:


In the near future, I plan to add the following to trunk

1. annotation dependency injection patch
2. cluster JMX configurations
3. any NIO improvements that haven't been ported

I've also completed a non blocking comet write implementation in  
sandbox, and will write some demo/sample apps to demonstrate  
before I suggest moving forward with it.


Filip

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





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




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



Re: trunk development

2007-12-18 Thread Henri Gomez
Great

2007/12/14, Filip Hanik - Dev Lists [EMAIL PROTECTED]:
 In the near future, I plan to add the following to trunk

 1. annotation dependency injection patch
 2. cluster JMX configurations
 3. any NIO improvements that haven't been ported

 I've also completed a non blocking comet write implementation in
 sandbox, and will write some demo/sample apps to demonstrate before I
 suggest moving forward with it.

 Filip

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



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



DO NOT REPLY [Bug 44093] New: - Authentication failed. KDC has no support for encryption type (14)

2007-12-18 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=44093.
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=44093

   Summary: Authentication failed. KDC has no support for encryption
type (14)
   Product: Tomcat 5
   Version: 5.0.27
  Platform: Other
OS/Version: Windows Server 2003
Status: NEW
  Keywords: ErrorMessage
  Severity: critical
  Priority: P5
 Component: Webapps:Administration
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


We have installed Apache/Tomcat 5.0.27 that is packaged with Business Objects 
XI R2.  We have authentication setup with Windows Active Directory within 
Business Objects and modified the Tomcat configuration to point to 2 files in 
the C:\WINNT directory:
1. bscLogin.conf
2. krb5.ini

Users were able to login to Business Objects using Apache/Tomcat as the web 
server and then a couple of months ago, some users were getting the following 
error in the Business Objects portal:
Account Information Not Recoginzed: Active Directory Authentication failed to 
log you on.  Please contact your system administrator to make sure you are a 
member of a valid mapped group and try again

The std.out file reveals the following entry
principal is [EMAIL PROTECTED]
[Krb5LoginModule] authentication failed 
KDC has no support for encryption type (14)
2138765 [TP-Processor1] ERROR 
com.crystaldecisions.sdk.plugin.authentication.ldap.internal.SecWinADAuthenticat
ion  - Authentication failed. KDC has no support for encryption type (14)
Debug is  true storeKey false useTicketCache false useKeyTab false doNotPrompt 
false ticketCache is null KeyTab is null refreshKrb5Config is false principal 
is null tryFirstPass is false useFirstPass is false storePass is false 
clearPass is false
[Krb5LoginModule] user entered username: 
[EMAIL PROTECTED]

This issue has been open for a couple of months now with Business Objects and 
they are starting to say that its a problem with Apache/Tomcat.  

Any advice?
Thanks,
Carole

-- 
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 44094] New: - privileged=true causes ClassNotFound from shared\lib

2007-12-18 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=44094.
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=44094

   Summary: privileged=true causes ClassNotFound from shared\lib
   Product: Tomcat 5
   Version: 5.5.17
  Platform: PC
OS/Version: Windows Server 2003
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


By adding the privileged=true attribute to the Context element of some
conf\Catalina\localhost\myApp.xml as in:

Context path=/myApp docBase=C:/myApp/ cookies=false override=true
privileged=true

Jar files within shared\lib are no longer loaded for the myApp application, but
jars from common\lib are. 

We are using Tomcat 5.5.17 with JRE 5.5_06 running on Windows and AIX servers.
The problem is consistently reproducible. 

For us the temporary workaround has been to move our shared jars from shared\lib
to common\lib.

-- 
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: r605298 - /tomcat/connectors/trunk/jk/xdocs/reference/apache.xml

2007-12-18 Thread rjung
Author: rjung
Date: Tue Dec 18 11:02:36 2007
New Revision: 605298

URL: http://svn.apache.org/viewvc?rev=605298view=rev
Log:
Correct docs about valid context for JkMountCopy.

Modified:
tomcat/connectors/trunk/jk/xdocs/reference/apache.xml

Modified: tomcat/connectors/trunk/jk/xdocs/reference/apache.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/reference/apache.xml?rev=605298r1=605297r2=605298view=diff
==
--- tomcat/connectors/trunk/jk/xdocs/reference/apache.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/reference/apache.xml Tue Dec 18 11:02:36 
2007
@@ -174,7 +174,8 @@
 If you want all vhost to inherit mounts from the main server,
 you can set JkMountCopy to 'All' in the main server.
 br/
-This directive is only allowed inside VirtualHost.
+This directive is only allowed inside VirtualHost (with value On)
+and in the global server (with value All).
 br/
 The default is Off.
 br/



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



Re: trunk development

2007-12-18 Thread David Jencks


On Dec 18, 2007, at 1:40 PM, Mark Thomas wrote:


Filip Hanik - Dev Lists wrote:

1. annotation dependency injection patch

How does this compare to
http://issues.apache.org/bugzilla/show_bug.cgi?id=43819 ?


I don't see any relationship or overlap between EL and annotations/ 
dependency injection.  What did you have in mind?


thanks
david jencks




2. cluster JMX configurations

+1


3. any NIO improvements that haven't been ported

+1

Mark

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




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



svn commit: r605339 - /tomcat/trunk/webapps/docs/config/context.xml

2007-12-18 Thread markt
Author: markt
Date: Tue Dec 18 14:04:58 2007
New Revision: 605339

URL: http://svn.apache.org/viewvc?rev=605339view=rev
Log:
Add note to docs about use of privileged flag and consequent changes in parent 
class loader.

Modified:
tomcat/trunk/webapps/docs/config/context.xml

Modified: tomcat/trunk/webapps/docs/config/context.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/context.xml?rev=605339r1=605338r2=605339view=diff
==
--- tomcat/trunk/webapps/docs/config/context.xml (original)
+++ tomcat/trunk/webapps/docs/config/context.xml Tue Dec 18 14:04:58 2007
@@ -181,7 +181,12 @@
 
   attribute name=privileged required=false
 pSet to codetrue/code to allow this context to use container
-servlets, like the manager servlet./p
+servlets, like the manager servlet. Use of the codeprivileged/code
+attribute will change the context's parent class loader to be the
+emServer/em class loader rather than the emShared/em class
+loader. Note that in a default installation, the emCommon/em class
+loader is used for both the emServer/em and the emShared/em
+class loaders./p
   /attribute
 
   attribute name=path required=false



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



Re: trunk development

2007-12-18 Thread Mark Thomas
Filip Hanik - Dev Lists wrote:
 1. annotation dependency injection patch
How does this compare to
http://issues.apache.org/bugzilla/show_bug.cgi?id=43819 ?

 2. cluster JMX configurations
+1

 3. any NIO improvements that haven't been ported
+1

Mark

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



Re: trunk development

2007-12-18 Thread Mark Thomas
David Jencks wrote:
 On Dec 18, 2007, at 1:40 PM, Mark Thomas wrote:
 Filip Hanik - Dev Lists wrote:
 1. annotation dependency injection patch
 How does this compare to
 http://issues.apache.org/bugzilla/show_bug.cgi?id=43819 ?
 
 I don't see any relationship or overlap between EL and
 annotations/dependency injection.  What did you have in mind?

Nothing concrete.

Just the similarity that they both allow the use of alternative
implementations. I guess I was thinking along the lines of doing things in
a similar/consistent way.

Mark

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



svn commit: r605350 - /tomcat/current/tc5.5.x/STATUS.txt

2007-12-18 Thread markt
Author: markt
Date: Tue Dec 18 14:54:09 2007
New Revision: 605350

URL: http://svn.apache.org/viewvc?rev=605350view=rev
Log:
Propose fix for 44094

Modified:
tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=605350r1=605349r2=605350view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Tue Dec 18 14:54:09 2007
@@ -135,3 +135,8 @@
   +1: markt
   -1:
 
+* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=44094
+  Add note about side-effects of setting privileged on a context
+  http://svn.apache.org/viewvc?rev=605339view=rev
+  +1: markt
+  -1: 



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



svn commit: r605351 - /tomcat/tc6.0.x/trunk/STATUS.txt

2007-12-18 Thread markt
Author: markt
Date: Tue Dec 18 14:54:45 2007
New Revision: 605351

URL: http://svn.apache.org/viewvc?rev=605351view=rev
Log:
Propose fix for 44094

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=605351r1=605350r2=605351view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Dec 18 14:54:45 2007
@@ -51,4 +51,10 @@
return result;
   
   +1: fhanik, markt
-  -1: 
\ No newline at end of file
+  -1: 
+
+* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=44094
+  Add note about side-effects of setting privileged on a context
+  http://svn.apache.org/viewvc?rev=605339view=rev
+  +1: markt
+  -1: 



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



DO NOT REPLY [Bug 44094] - privileged=true causes ClassNotFound from shared\lib

2007-12-18 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=44094.
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=44094


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1




--- Additional Comments From [EMAIL PROTECTED]  2007-12-18 14:54 ---
Sorry, the docs should have made the change in parent class loader as a result
of using this option clear. I have updated the docs for trunk and proposed the
change for inclusion in 6.0.x and 5.5.x.

-- 
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: r605356 - /tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java

2007-12-18 Thread markt
Author: markt
Date: Tue Dec 18 15:08:51 2007
New Revision: 605356

URL: http://svn.apache.org/viewvc?rev=605356view=rev
Log:
Fix bug 43241. Patch provided by John Kew.

Modified:
tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java

Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=605356r1=605355r2=605356view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java Tue Dec 
18 15:08:51 2007
@@ -507,7 +507,7 @@
 public InputStream getResourceAsStream(String path) {
 
 path = normalize(path);
-if (path == null)
+if (path == null || !path.startsWith(/))
 return (null);
 
 DirContext resources = context.getResources();
@@ -865,7 +865,7 @@
 
 String normalized = path;
 
-// Normalize the slashes and add leading slash if necessary
+// Normalize the slashes
 if (normalized.indexOf('\\') = 0)
 normalized = normalized.replace('\\', '/');
 



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



svn commit: r605357 - /tomcat/tc6.0.x/trunk/STATUS.txt

2007-12-18 Thread markt
Author: markt
Date: Tue Dec 18 15:12:06 2007
New Revision: 605357

URL: http://svn.apache.org/viewvc?rev=605357view=rev
Log:
Propose fix for bug 43241.

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=605357r1=605356r2=605357view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Dec 18 15:12:06 2007
@@ -58,3 +58,9 @@
   http://svn.apache.org/viewvc?rev=605339view=rev
   +1: markt
   -1: 
+
+* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=43241
+  ServletContext.getResourceAsStream() not spec compliant
+  http://svn.apache.org/viewvc?rev=605356view=rev
+  +1: markt
+  -1: 



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



svn commit: r605358 - /tomcat/current/tc5.5.x/STATUS.txt

2007-12-18 Thread markt
Author: markt
Date: Tue Dec 18 15:12:27 2007
New Revision: 605358

URL: http://svn.apache.org/viewvc?rev=605358view=rev
Log:
Propose fix for bug 43241.

Modified:
tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=605358r1=605357r2=605358view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Tue Dec 18 15:12:27 2007
@@ -140,3 +140,9 @@
   http://svn.apache.org/viewvc?rev=605339view=rev
   +1: markt
   -1: 
+
+* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=43241
+  ServletContext.getResourceAsStream() not spec compliant
+  http://svn.apache.org/viewvc?rev=605356view=rev
+  +1: markt
+  -1: 



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



DO NOT REPLY [Bug 43241] - ServletContext.getResourceAsStream() does not follow API specs for Path

2007-12-18 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=43241.
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=43241





--- Additional Comments From [EMAIL PROTECTED]  2007-12-18 15:12 ---
Whilst I like the '42' idea, I am fairly sure not everyone else shares my sense
of humour so null it will have to be.

Patch applied to trunk and proposed for 5.5.x and 6.0.x.

Many thanks for the patch.

-- 
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: r605365 - /tomcat/tc6.0.x/trunk/STATUS.txt

2007-12-18 Thread markt
Author: markt
Date: Tue Dec 18 15:48:16 2007
New Revision: 605365

URL: http://svn.apache.org/viewvc?rev=605365view=rev
Log:
Propose fix for 43236

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=605365r1=605364r2=605365view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Dec 18 15:48:16 2007
@@ -64,3 +64,9 @@
   http://svn.apache.org/viewvc?rev=605356view=rev
   +1: markt
   -1: 
+
+* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=43236
+  Reset usingWriter and associated flags when response is reset
+  http://svn.apache.org/viewvc?rev=605364view=rev
+  +1: markt
+  -1: 



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



svn commit: r605366 - /tomcat/current/tc5.5.x/STATUS.txt

2007-12-18 Thread markt
Author: markt
Date: Tue Dec 18 15:48:28 2007
New Revision: 605366

URL: http://svn.apache.org/viewvc?rev=605366view=rev
Log:
Propose fix for 43236

Modified:
tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=605366r1=605365r2=605366view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Tue Dec 18 15:48:28 2007
@@ -146,3 +146,9 @@
   http://svn.apache.org/viewvc?rev=605356view=rev
   +1: markt
   -1: 
+
+* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=43236
+  Reset usingWriter and associated flags when response is reset
+  http://svn.apache.org/viewvc?rev=605364view=rev
+  +1: markt
+  -1: 



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



DO NOT REPLY [Bug 43819] - Support latest JSR245 proposal to make EL self-contained

2007-12-18 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=43819.
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=43819





--- Additional Comments From [EMAIL PROTECTED]  2007-12-18 15:56 ---
I haven't tested this personally but since the patch changes the signature of a
spec API class I would assume that this would break tck compliance until a
jsr245-MR1 tck is obtained from sun.

-- 
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 43236] - Response.setCharacterEncoding() fails after Response.getWriter() and Response.reset()

2007-12-18 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=43236.
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=43236


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2007-12-18 15:50 ---
*** Bug 37072 has been marked as a duplicate of this bug. ***

-- 
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: r605364 - /tomcat/trunk/java/org/apache/catalina/connector/Response.java

2007-12-18 Thread markt
Author: markt
Date: Tue Dec 18 15:46:19 2007
New Revision: 605364

URL: http://svn.apache.org/viewvc?rev=605364view=rev
Log:
Fix bug 43236. Reset the usingWriter and associated flags when the response is 
reset.

Modified:
tomcat/trunk/java/org/apache/catalina/connector/Response.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/Response.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Response.java?rev=605364r1=605363r2=605364view=diff
==
--- tomcat/trunk/java/org/apache/catalina/connector/Response.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/Response.java Tue Dec 18 
15:46:19 2007
@@ -657,6 +657,9 @@
 
 coyoteResponse.reset();
 outputBuffer.reset();
+usingOutputStream = false;
+usingWriter = false;
+isCharacterEncodingSet = false;
 }
 
 



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



DO NOT REPLY [Bug 37072] - Encoding mismatch in error condition

2007-12-18 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=37072.
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=37072


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2007-12-18 15:50 ---
The fix in the duplicate allows the encoding of the error page to be completely
independent of the original page.

*** This bug has been marked as a duplicate of 43236 ***

-- 
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 44096] New: - Find invalid session object.

2007-12-18 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=44096.
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=44096

   Summary: Find invalid session object.
   Product: Tomcat 6
   Version: 6.0.14
  Platform: Other
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P1
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


We have deploy two web applications in tomcat. One application deploy as the
root path. It mean when user access /, it will in our's first web application.
We deploy the second web application in /XXX, it mean when you access all url
with prefix /XXX, it will enter the second application. We use cookie to
remember the JSESSIONID for first application and use the url rewrite for the
second web application's jsessionid. For this second web application in
tomcat/conf/server.xml. I have set the cookies to false of the element
Context. But I find if I access the first web application, then you access the
second application. The second application always get the first application's
session object. The server.xml is:

Context path=/ reloadable=true docBase=YYY/Context
Context path=/XXX cookies=false reloadable=true docBase=XXX/Context

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