DO NOT REPLY [Bug 40530] - Tomcat Service startup fails when installed into localized path

2007-01-13 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=40530


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2007-01-13 07:25 ---
I can reproduce this on the command line, without running Tomcat as a service.

This looks similar to the cmd.exe issue
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5013622

Both Java & Perl fail when the class file / Perl script are in a directory that
contains UTF-8 characters. The only work around I can suggest is to install
Tomcat in a directory that contains only ASCII characters.

I do not believe that this is a Tomcat issue nor is there anything the Tomcat
team can do to fix 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 41354] - mod_jk 1.2.15 with tomcat 2.0.58 throws session timeouts

2007-01-13 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=41354


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2007-01-13 07:44 ---
At first glance this looks like a configuration issue. Please use the Tomcat
users list to investigate further since Bugzilla is not a support forum.

If the discussion on the users list concludes that there is a bug then feel free
to re-open this issue. You will need to provide sufficient detail to enable the
bug to be reproduced.

-- 
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 37956] - Make 'set static fields to null' ClassLoader leak workaround behaviour configurable

2007-01-13 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=37956





--- Additional Comments From [EMAIL PROTECTED]  2007-01-13 11:10 ---
Is there any progress here?
We are facing some serious issues with this memory leak workaround (e.g. using
ojb cross-context prevents redeployment) and would like to see the config option
in one of the next releases.

Regards, Thorsten

-- 
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: r496019 - /tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java

2007-01-13 Thread markt
Author: markt
Date: Sat Jan 13 18:35:10 2007
New Revision: 496019

URL: http://svn.apache.org/viewvc?view=rev&rev=496019
Log:
Tabs -> 8 spaces. No functional change

Modified:
tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java

Modified: 
tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java?view=diff&rev=496019&r1=496018&r2=496019
==
--- tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java 
(original)
+++ tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java 
Sat Jan 13 18:35:10 2007
@@ -188,11 +188,11 @@
 if (value.equals("true")) {
 return (true); // ?jsp_precompile=true
 } else if (value.equals("false")) {
-   // Spec says if jsp_precompile=false, the request should not
-   // be delivered to the JSP page; the easiest way to implement
-   // this is to set the flag to true, and precompile the page anyway.
-   // This still conforms to the spec, since it says the
-   // precompilation request can be ignored.
+// Spec says if jsp_precompile=false, the request should not
+// be delivered to the JSP page; the easiest way to implement
+// this is to set the flag to true, and precompile the page anyway.
+// This still conforms to the spec, since it says the
+// precompilation request can be ignored.
 return (true); // ?jsp_precompile=false
 } else {
 throw new ServletException("Cannot have request parameter " +
@@ -204,7 +204,7 @@
 
 
 public void service (HttpServletRequest request, 
-HttpServletResponse response)
+ HttpServletResponse response)
 throws ServletException, IOException {
 
 String jspUri = null;
@@ -221,7 +221,7 @@
 jspUri = (String) request.getAttribute(Constants.INC_SERVLET_PATH);
 if (jspUri != null) {
 /*
-* Requested JSP has been target of
+ * Requested JSP has been target of
  * RequestDispatcher.include(). Its path is assembled from the
  * relevant javax.servlet.include.* request attributes
  */
@@ -244,7 +244,7 @@
 }
 }
 
-if (log.isDebugEnabled()) {
+if (log.isDebugEnabled()) {
 log.debug("JspEngine --> " + jspUri);
 log.debug("\t ServletPath: " + request.getServletPath());
 log.debug("\tPathInfo: " + request.getPathInfo());



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



svn commit: r496022 - in /tomcat: container/tc5.5.x/webapps/docs/changelog.xml jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java

2007-01-13 Thread markt
Author: markt
Date: Sat Jan 13 18:45:48 2007
New Revision: 496022

URL: http://svn.apache.org/viewvc?view=rev&rev=496022
Log:
Fix bug 41327. Show full request URI for a 404. Patch provided by Vijay.

Modified:
tomcat/container/tc5.5.x/webapps/docs/changelog.xml
tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=496022&r1=496021&r2=496022
==
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sat Jan 13 18:45:48 2007
@@ -228,6 +228,10 @@
   
 
   
+39975: don't have static Log references to prevent
+classloader leaks. (yoavs)
+  
+  
 40797: This was a regression as a result of the fix for
 33407. TLD validation was failing as a result of the use
 of the escape character (0x1b) as a temporary replacement for \$.
@@ -238,15 +242,16 @@
 41057: Make jsp:plugin output XHTML compliant. (markt)
   
   
+41327: Show full URI for a 404. Patch provided by Vijay.
+(markt)
+  
+  
 When displaying JSP source after an exception, handle included files.
 (markt)
   
   
 Display the JSP source when a compilation error occurs and display
 the correct line number rather than start of a scriptlet block. (markt)
-  
-  
-39975: don't have static Log references to prevent 
classloader leaks. (yoavs)
   
 


Modified: 
tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java?view=diff&rev=496022&r1=496021&r2=496022
==
--- tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java 
(original)
+++ tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java 
Sat Jan 13 18:45:48 2007
@@ -301,7 +301,7 @@
 // creating unnecessary directories and files.
 if (null == context.getResource(jspUri)) {
 response.sendError(HttpServletResponse.SC_NOT_FOUND,
-   jspUri);
+   request.getRequestURI());
 return;
 }
 boolean isErrorPage = exception != null;



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



svn commit: r496025 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java webapps/docs/changelog.xml

2007-01-13 Thread markt
Author: markt
Date: Sat Jan 13 19:18:06 2007
New Revision: 496025

URL: http://svn.apache.org/viewvc?view=rev&rev=496025
Log:
Fix bug 41217. Make SSO cookie secure when created during a secure request. 
Patch provided by Chris Halstead.

Modified:

tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java
tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java?view=diff&rev=496025&r1=496024&r2=496025
==
--- 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java
 (original)
+++ 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java
 Sat Jan 13 19:18:06 2007
@@ -746,6 +746,9 @@
 cookie.setMaxAge(-1);
 cookie.setPath("/");
 
+// Bugzilla 41217
+cookie.setSecure(request.isSecure());
+
 // Bugzilla 34724
 String ssoDomain = sso.getCookieDomain();
 if(ssoDomain != null) {

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=496025&r1=496024&r2=496025
==
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sat Jan 13 19:18:06 2007
@@ -141,6 +141,11 @@
 extend ValveBase. (markt)
   
   
+41217: Set secure attribute on SSO cookie when cookie is
+created during a secure request. Patch provided by Chris Halstead.
+(markt)
+  
+  
 Ensure Accept-Language headers conform to RFC 2616. Ignore them if
 they do not. (markt)
   



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



DO NOT REPLY [Bug 41217] - SingleSignOn Cookie does not honor https access: Login Information Disclosure

2007-01-13 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=41217


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-01-13 19:19 ---
This has been fixed in svn. Many thanks for the patch. The fix will be in 5.5.21
onwards.

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

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



DO NOT REPLY [Bug 40524] - request.getAuthType() returns different string from HttpServletRequest.CLIENT_CERT_AUTH

2007-01-13 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=40524





--- Additional Comments From [EMAIL PROTECTED]  2007-01-13 19:48 ---
-1 for this patch.

As per the spec:
CLIENT-CERT is for use in web.xml
CLIENT_CERT is the value of HttpServletRequest.CLIENT_CERT_AUTH and should be
returned by HttpServletRequest.getAuthType()

The bug that needs to be fixed is that HttpServletRequest.getAuthType() should
return CLIENT_CERT rather than CLIENT-CERT 

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