DO NOT REPLY [Bug 44116] - Multiple JSESSIONID handling with overlapping domains does not work

2007-12-21 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=44116.
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=44116





--- Additional Comments From [EMAIL PROTECTED]  2007-12-21 03:04 ---
Created an attachment (id=21300)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=21300action=view)
Handle multiple JSESSIONID cookies with tomcat overlaping domains


BugFix for the feature:

Check all JSESSIONID cookies for a valid jvmRoute. If you have multiple
Tomcats with overlapping domains, then you can get multiple cookies without a
defined order. This will route correctly as long as the different domains don't
have any Tomcats in common. (billbarker)

-- 
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 44116] - Multiple JSESSIONID handling with overlapping domains does not work

2007-12-21 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=44116.
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=44116


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




-- 
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 44116] New: - Multiple JSESSIONID handling with overlapping domains does not work

2007-12-21 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=44116.
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=44116

   Summary: Multiple JSESSIONID handling with overlapping domains
does not work
   Product: Tomcat 6
   Version: unspecified
  Platform: All
OS/Version: All
Status: NEW
  Severity: major
  Priority: P2
 Component: Native:JK
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


The changelog notes for mod_jk 1.2.6/1.2.7 specify that mod_jk properly handle
multiple JSESSIONID cookies with overlapping domains as described below:

Check all JSESSIONID cookies for a valid jvmRoute. If you have multiple Tomcats
with overlapping domains, then you can get multiple cookies without a defined
order. This will route correctly as long as the different domains don't have any
Tomcats in common. (billbarker)

Unfortunately this feature does not work properly because of a bug in the design
 implementation.

In the source file jk_lb_worker.c, the function get_cookie should get every
JSESSIONID cookies contained in the HTTP header but there is a mistake using the
char pointers id_start/id__end. The result is that we just get the first
JESSSIONID cookie, the other are simply lost in memory.

The bug is reproductible as follow:
nc website 80
GET /hello.jsp HTTP/1.0

Then you will get a JSESSIONID Cookie in the HTTP header, for example:
Set-Cookie: JSESSIONID=297267684ED72B2F3AB38CFDD4402FC5; Path=/

Finally:
nc website 80
GET /hello.jsp HTTP/1.0
Cookie:
JSESSIONID=297267684ED72B2F3AB38CFDD4402FC6;JSESSIONID=297267684ED72B2F3AB38CFDD4402FC5;

You should not get another JSESSIONID (Set-Cookie option directive) and your
request should be forwarded to the correct tomcat worker but it does not work.
Actually, mod_jk get the first JSESSIONID which is voluntary invalid but Tomcat
does not know it and send us another Set-Cookie HTTP option header.

-- 
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 44116] - Multiple JSESSIONID handling with overlapping domains does not work

2007-12-21 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=44116.
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=44116





--- Additional Comments From [EMAIL PROTECTED]  2007-12-21 03:14 ---

The patch has been successfully tested with tomcat-connectors version 1.2.25 but
should work with versions from 1.2.6 to 1.2.25.
The following products are actually used on many production sites:
tomcat-connectors 1.2.25 patched / apache-tomcat 5.5.12, 5.5.15, 5.5.17 and 
5.5.25.


-- 
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 44116] - Multiple JSESSIONID handling with overlapping domains does not work

2007-12-21 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=44116.
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=44116


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Native:JK   |Native:JK
Product|Tomcat 6|Tomcat 5
   Target Milestone|default |---
Version|unspecified |5.0.0




-- 
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 44116] - Multiple JSESSIONID handling with overlapping domains does not work

2007-12-21 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=44116.
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=44116


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |




--- Additional Comments From [EMAIL PROTECTED]  2007-12-21 03:35 ---
Reopen, so that we will actually consider the patch for inclusion. Will only be
closed/fixed after applied to the code.

Thanks for the patch. Unfortunately it's a couple of days to late for 1.2.26,
which we are going to tag today, but we will have a look at the patch for 
1.2.27.

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



Re: Tomcat startup script for Windows

2007-12-21 Thread Alexey Petrenko
Any comments?

SY, Alexey

2007/12/18, Alexey Petrenko [EMAIL PROTECTED]:
 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]



svn commit: r606201 - in /tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12: ./ jk/native/common/jk_util.c jk/native/common/portable.h jni/ jni/CHANGELOG.txt jni/native/ jni/native/src/sslnetwork.c

2007-12-21 Thread jfclere
Author: jfclere
Date: Fri Dec 21 05:59:25 2007
New Revision: 606201

URL: http://svn.apache.org/viewvc?rev=606201view=rev
Log:
tag tcnative 1.1.12

Added:
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/
  - copied from r605171, tomcat/connectors/trunk/
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jni/
  - copied from r605457, tomcat/connectors/trunk/jni/
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jni/CHANGELOG.txt
  - copied unchanged from r605607, tomcat/connectors/trunk/jni/CHANGELOG.txt
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jni/native/
  - copied from r605534, tomcat/connectors/trunk/jni/native/

tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jni/native/src/sslnetwork.c
  - copied unchanged from r605571, 
tomcat/connectors/trunk/jni/native/src/sslnetwork.c
Modified:
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c

tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h

Modified: 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c?rev=606201r1=605171r2=606201view=diff
==
--- 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c 
(original)
+++ 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c 
Fri Dec 21 05:59:25 2007
@@ -31,6 +31,13 @@
 #include jk_lb_worker.h
 #include jk_mt.h
 
+#include ap_config.h
+#include httpd.h
+#include http_config.h
+#include http_core.h
+#include http_log.h
+
+
 #define SYSPROPS_OF_WORKER  (sysprops)
 #define STDERR_OF_WORKER(stderr)
 #define STDOUT_OF_WORKER(stdout)
@@ -605,6 +612,8 @@
  * to the output routing.
  */
 static int usable_size = HUGE_BUFFER_SIZE - 3;
+ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
+jk_log %d %d %d, l, file, fmt);
 if (!l || !file || !fmt) {
 return -1;
 }

Modified: 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h?rev=606201r1=605171r2=606201view=diff
==
--- 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h 
(original)
+++ 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h 
Fri Dec 21 05:59:25 2007
@@ -1,18 +1,98 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the License); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/* On most platform this file is overwritten when doing configure */
-/* DON'T COMMIT THE FILE IT BREAKS windoze and Netware, commit the sample file 
*/
+/* common/portable.h.  Generated from portable.h.in by configure.  */
+/* common/portable.h.in.  Generated from configure.in by autoheader.  */
+
+/* Define to 1 if you have the dlfcn.h header file. */
+#define HAVE_DLFCN_H 1
+
+/* Have flock() */
+#define HAVE_FLOCK 1
+
+/* Define to 1 if you have the inttypes.h header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the memory.h header file. */
+#define HAVE_MEMORY_H 1
+
+/* Have snprintf() */
+#define HAVE_SNPRINTF 1
+
+/* Define to 1 if you have the stdint.h header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the stdlib.h header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the strings.h header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the string.h header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the sys/filio.h header file. */
+/* #undef HAVE_SYS_FILIO_H */
+
+/* Define to 1 if you have the sys/stat.h header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the sys/types.h header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the unistd.h header file. */
+#define HAVE_UNISTD_H 1
+
+/* Have vsnprintf() */
+#define HAVE_VSNPRINTF 1
+
+/* Name of package */
+#define PACKAGE mod_jk
+
+/* Define to the address where bug reports for this package should be sent. */

Re: Tomcat startup script for Windows

2007-12-21 Thread Yoav Shapira
If it's a reproducible problem on a normal Windows operating system
(as opposed to some strange custom version on your PC), please submit
the script diff as a patch to Bugzilla (issues.apache.org) ;)  Thanks,

Yoav

On Dec 21, 2007 6:35 AM, Alexey Petrenko [EMAIL PROTECTED] wrote:
 Any comments?

 SY, Alexey

 2007/12/18, Alexey Petrenko [EMAIL PROTECTED]:
  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]





-- 
Thanks,

Yoav

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



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

2007-12-21 Thread jfclere
Author: jfclere
Date: Fri Dec 21 05:32:33 2007
New Revision: 606194

URL: http://svn.apache.org/viewvc?rev=606194view=rev
Log:
Add my proposal...

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=606194r1=606193r2=606194view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri Dec 21 05:32:33 2007
@@ -80,5 +80,8 @@
   http://people.apache.org/~fhanik/patches/request-byte-with-reuse.patch
   +1: fhanik
   -1: jfclere (Just add a return to the original when there is an exception).
-  
-  
+
+* Smallest fix to the above patches.
+  http://people.apache.org/~jfclere/patches/Request.patch  
+  +1: jfclere 
+  -1:



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



DO NOT REPLY [Bug 44117] New: - ProxyPass in Apache http server wipes session data

2007-12-21 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=44117.
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=44117

   Summary: ProxyPass in Apache http server wipes session data
   Product: Tomcat 6
   Version: 6.0.14
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Hello,
I hope this isn't an existing fault as I searched but found nothing exactly
matching. I also didn't know whether this was a tomcat or apache issue.

Basically, I'm using apache 2.2 with tomcat 6. I'm also using ProxyPass to make
life a bit easier.

However, when I store session data it gets wiped after what seems to be
hyperlinking to a new page. When I remove apache and use tomcat directly all is
well. To make it as simple as possible to recreate the fault below is some
example code that fails on the final hyperlink file, and I've missed out all the
obvious stuff like html tags, etc. This example uses form beans, but fails just
the same when simply writing directly to the session object.

index.jsp:
form method=post action=BeanProcess.jsp
  input type=text name=username /
  input type=submit name=submit/
/form

BeanProcess.jsp:
jsp:useBean id=user class=com.neil.BeanFormTest scope=session/
jsp:setProperty name=user property=*/ 
username is set as 
jsp:getProperty name=user property=username /
a href=BeanProcessShow.jspContinue to show data/a

At this point, the username is output ok. Then clicking the hyperlink:

BeanProcessShow.jsp
jsp:useBean id=user class=com.neil.BeanFormTest scope=session/
Name: jsp:getProperty name=user property=username /


At this point, the whole of the session data is wiped. Using session object
directly produces exactly the same fault.

If I stop apache and run tomcat by itself, all is well.

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



Re: [Announce] Enhanced ISAPI Redirector + Tomcat Connector Binaries

2007-12-21 Thread Rainer Jung

Hi Tim,

Tim Whittington wrote:
There's one in particular that we feel is very useful that hasn't been 
accepted though, which is the addition of chunked encoding support to the 
ISAPI Redirector, which allows IIS to use HTTP keep alives between the 
browser and IIS - we've found this has major scalability benefits on high 
transaction volume sites.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35297 tracks the proposed 
patch for this, but it's been waiting for 2+ years for a 1.3 development 
branch to open to make it available to the wider community.


If/when the 1.3 
development branch opens and the chunked encoding support is added to the 
main trunk we'll wind up our patches and see if there's a better way to 
distribute the binaries.


I expect to look at your patch at the beginning of next year. It totally 
slipped my attention, mainly because I joined the team only in May 2006. 
When the bug was last updated this year, I actually marked the mail as 
important, but unfortunately never came back to it.


I'll definitely have a look at it.

Regards,

Rainer

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



Re: svn commit: r606201 - in /tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12: ./ jk/native/common/jk_util.c jk/native/common/portable.h jni/ jni/CHANGELOG.txt jni/native/ jni/native/src/sslnetwor

2007-12-21 Thread Rainer Jung

Rainer Jung wrote:

Hi Jean-Frederic,

I think you accidentally committed two changes to mod_jk when tagging 
tc-native.


Since I'm going to tag mod_jk, please let me know, if I can revert (or 
revert yourself):



Modified:

tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h


Ah, sorry, it's not trunk but inside you tag. So I don't need to care, 
but it might be better to revert inside the tag (als long as the tag is 
not public).


Regards,

Rainer




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



DO NOT REPLY [Bug 44118] New: - org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate

2007-12-21 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=44118.
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=44118

   Summary: org.apache.jasper.runtime.PageContextImpl.proprietaryEva
luate
   Product: Tomcat 5
   Version: 5.5.25
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


${object.T_FIELD}
should be resolved into object.getT_FIELD

but I get the following error message:

org.apache.jasper.servlet.JspServletWrapper.handleJspException - 460 -
javax.servlet.jsp.JspException: Unable to find a value for T_FIELD in object
of class ... using operator .

I think the problem is due to the underscore after the first char
in T_FIELD. If I rename T_FIELD into TT_FIELD everything works fine.

Maybe something wrong in
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate ?

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



Re: svn commit: r606201 - in /tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12: ./ jk/native/common/jk_util.c jk/native/common/portable.h jni/ jni/CHANGELOG.txt jni/native/ jni/native/src/sslnetwork

2007-12-21 Thread Rainer Jung

Hi Jean-Frederic,

I think you accidentally committed two changes to mod_jk when tagging 
tc-native.


Since I'm going to tag mod_jk, please let me know, if I can revert (or 
revert yourself):



Modified:
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c

tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h


Regards,

Rainer

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



Re: [Announce] Enhanced ISAPI Redirector + Tomcat Connector Binaries

2007-12-21 Thread Jim Jagielski


On Dec 21, 2007, at 9:56 AM, Rainer Jung wrote:


Hi Tim,

Tim Whittington wrote:
There's one in particular that we feel is very useful that hasn't  
been accepted though, which is the addition of chunked encoding  
support to the ISAPI Redirector, which allows IIS to use HTTP keep  
alives between the browser and IIS - we've found this has major  
scalability benefits on high transaction volume sites.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35297 tracks the  
proposed patch for this, but it's been waiting for 2+ years for a  
1.3 development branch to open to make it available to the wider  
community.


If/when the 1.3 development branch opens and the chunked encoding  
support is added to the main trunk we'll wind up our patches and  
see if there's a better way to distribute the binaries.


I expect to look at your patch at the beginning of next year. It  
totally slipped my attention, mainly because I joined the team only  
in May 2006. When the bug was last updated this year, I actually  
marked the mail as important, but unfortunately never came back  
to it.


I'll definitely have a look at it.



Me too... :)

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



svn commit: r606224 - in /tomcat/connectors/trunk/jk: native/STATUS.txt native/common/jk_version.h xdocs/index.xml xdocs/news/20070301.xml

2007-12-21 Thread rjung
Author: rjung
Date: Fri Dec 21 07:51:01 2007
New Revision: 606224

URL: http://svn.apache.org/viewvc?rev=606224view=rev
Log:
Prepare JK release tag 1.2.26.

Modified:
tomcat/connectors/trunk/jk/native/STATUS.txt
tomcat/connectors/trunk/jk/native/common/jk_version.h
tomcat/connectors/trunk/jk/xdocs/index.xml
tomcat/connectors/trunk/jk/xdocs/news/20070301.xml

Modified: tomcat/connectors/trunk/jk/native/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/STATUS.txt?rev=606224r1=606223r2=606224view=diff
==
--- tomcat/connectors/trunk/jk/native/STATUS.txt (original)
+++ tomcat/connectors/trunk/jk/native/STATUS.txt Fri Dec 21 07:51:01 2007
@@ -18,7 +18,7 @@
 
 Release:
 
-1.2.26  : in development
+1.2.26  : released December 21, 2007
 1.2.25  : released August 7, 2007
 1.2.24  : released July 27, 2007, withdrawn August 2, 2007
 1.2.23  : released May 18, 2007

Modified: tomcat/connectors/trunk/jk/native/common/jk_version.h
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_version.h?rev=606224r1=606223r2=606224view=diff
==
--- tomcat/connectors/trunk/jk/native/common/jk_version.h (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_version.h Fri Dec 21 07:51:01 
2007
@@ -33,7 +33,7 @@
 #define JK_VERBETA  0
 #define JK_BETASTRING   0
 /* set JK_VERISRELEASE to 1 when release (do not forget to commit!) */
-#define JK_VERISRELEASE 0
+#define JK_VERISRELEASE 1
 #define JK_VERRC0
 #define JK_RCSTRING 0
 

Modified: tomcat/connectors/trunk/jk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/index.xml?rev=606224r1=606223r2=606224view=diff
==
--- tomcat/connectors/trunk/jk/xdocs/index.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/index.xml Fri Dec 21 07:51:01 2007
@@ -45,6 +45,16 @@
 section name=Headlines
 br /
 ul
+lia href=news/20070301.html#20071221.121 December 2007 - bJK-1.2.26 
released/b/a
+pThe Apache Tomcat team is proud to announce the immediate availability
+of Tomcat Connectors 1.2.26 Stable.
+/p
+pDownload the a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.26/tomcat-connectors-1.2.26-src.tar.gz;JK
 1.2.26 release sources/a
+ | a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.26/tomcat-connectors-1.2.26-src.tar.gz.asc;PGP
 signature/a
+/p
+pDownload the a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/;binaries/a
 for selected platforms.
+/p
+/li
 lia href=news/20070301.html#20070807.17 August 2007 - bJK-1.2.25 
released/b/a
 pThe Apache Tomcat team is proud to announce the immediate availability
 of Tomcat Connectors 1.2.25 Stable.

Modified: tomcat/connectors/trunk/jk/xdocs/news/20070301.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/news/20070301.xml?rev=606224r1=606223r2=606224view=diff
==
--- tomcat/connectors/trunk/jk/xdocs/news/20070301.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/news/20070301.xml Fri Dec 21 07:51:01 2007
@@ -31,6 +31,20 @@
 
 section name=2007 News amp; Status
 br /
+a name=20071221.1 
+h321 December - JK-1.2.26 released/h3
+/a
+pThe Apache Tomcat team is proud to announce the immediate availability
+of Tomcat Connectors 1.2.26. This is a stable release adding few new features
+and some bug fixes.
+/pp
+ Please see the a href=../miscellaneous/changelog.htmlChangeLog/a for a 
full list of changes.
+/p
+pIf you find any bugs while using this release, please fill in the
+a 
href=http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206;Bugzilla/a
+Bug Report. When entering bug select bNative:JK/b Component.
+/p
+hr size=1 noshade=noshade /
 a name=20070807.1 
 h37 August - JK-1.2.25 released/h3
 /a



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



svn commit: r606230 - /tomcat/connectors/tags/jk1.2.x/JK_1_2_26/

2007-12-21 Thread rjung
Author: rjung
Date: Fri Dec 21 08:13:27 2007
New Revision: 606230

URL: http://svn.apache.org/viewvc?rev=606230view=rev
Log:
Tag JK release 1.2.26 from trunk.

Added:
tomcat/connectors/tags/jk1.2.x/JK_1_2_26/
  - copied from r606229, tomcat/connectors/trunk/


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



Re: svn commit: r606201 - in /tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12: ./ jk/native/common/jk_util.c jk/native/common/portable.h jni/ jni/CHANGELOG.txt jni/native/ jni/native/src/sslnetwork

2007-12-21 Thread jean-frederic clere
Rainer Jung wrote:
 Hi Jean-Frederic,
 
 I think you accidentally committed two changes to mod_jk when tagging
 tc-native.

Oops I have rolled them back but that doesn't affect tcnative release code.

Cheers

Jean-Frederic

 
 Since I'm going to tag mod_jk, please let me know, if I can revert (or
 revert yourself):
 
 Modified:

 tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c


 tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h

 
 Regards,
 
 Rainer
 


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



svn commit: r606235 - in /tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common: jk_util.c portable.h

2007-12-21 Thread jfclere
Author: jfclere
Date: Fri Dec 21 08:23:45 2007
New Revision: 606235

URL: http://svn.apache.org/viewvc?rev=606235view=rev
Log:
Oops committed by error. Sorry.

Modified:
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c

tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h

Modified: 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c?rev=606235r1=606234r2=606235view=diff
==
--- 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c 
(original)
+++ 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/jk_util.c 
Fri Dec 21 08:23:45 2007
@@ -31,13 +31,6 @@
 #include jk_lb_worker.h
 #include jk_mt.h
 
-#include ap_config.h
-#include httpd.h
-#include http_config.h
-#include http_core.h
-#include http_log.h
-
-
 #define SYSPROPS_OF_WORKER  (sysprops)
 #define STDERR_OF_WORKER(stderr)
 #define STDOUT_OF_WORKER(stdout)
@@ -612,8 +605,6 @@
  * to the output routing.
  */
 static int usable_size = HUGE_BUFFER_SIZE - 3;
-ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
-jk_log %d %d %d, l, file, fmt);
 if (!l || !file || !fmt) {
 return -1;
 }

Modified: 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h?rev=606235r1=606234r2=606235view=diff
==
--- 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h 
(original)
+++ 
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_12/jk/native/common/portable.h 
Fri Dec 21 08:23:45 2007
@@ -1,98 +1,18 @@
-/* common/portable.h.  Generated from portable.h.in by configure.  */
-/* common/portable.h.in.  Generated from configure.in by autoheader.  */
-
-/* Define to 1 if you have the dlfcn.h header file. */
-#define HAVE_DLFCN_H 1
-
-/* Have flock() */
-#define HAVE_FLOCK 1
-
-/* Define to 1 if you have the inttypes.h header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the memory.h header file. */
-#define HAVE_MEMORY_H 1
-
-/* Have snprintf() */
-#define HAVE_SNPRINTF 1
-
-/* Define to 1 if you have the stdint.h header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the stdlib.h header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the strings.h header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the string.h header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the sys/filio.h header file. */
-/* #undef HAVE_SYS_FILIO_H */
-
-/* Define to 1 if you have the sys/stat.h header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the sys/types.h header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the unistd.h header file. */
-#define HAVE_UNISTD_H 1
-
-/* Have vsnprintf() */
-#define HAVE_VSNPRINTF 1
-
-/* Name of package */
-#define PACKAGE mod_jk
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT 
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME 
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING 
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME 
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION 
-
-/* The size of `char', as computed by sizeof. */
-#define SIZEOF_CHAR 1
-
-/* The size of `int', as computed by sizeof. */
-#define SIZEOF_INT 4
-
-/* The size of `long', as computed by sizeof. */
-#define SIZEOF_LONG 4
-
-/* The size of `longlong', as computed by sizeof. */
-#define SIZEOF_LONGLONG 0
-
-/* The size of `long double', as computed by sizeof. */
-#define SIZEOF_LONG_DOUBLE 12
-
-/* The size of `long long', as computed by sizeof. */
-#define SIZEOF_LONG_LONG 8
-
-/* The size of pid_t */
-#define SIZEOF_PID_T 4
-
-/* The size of `short', as computed by sizeof. */
-#define SIZEOF_SHORT 2
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define to use SO_RCVTIMEO with setsockopt() */
-#define USE_SO_RCVTIMEO 1
-
-/* Define to use SO_SNDTIMEO with setsockopt() */
-#define USE_SO_SNDTIMEO 1
-
-/* Version number of package */
-#define VERSION 1.2.26
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the License); you may not use this file except in compliance with
+ * the License.  

DO NOT REPLY [Bug 43588] - Tomcat uses hardcoded 127.0.0.1 for localhost

2007-12-21 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=43588.
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=43588





--- Additional Comments From [EMAIL PROTECTED]  2007-12-21 10:14 ---
Proposed solution for StandardServer.java:

Keep 127.0.0.1 as a default and enable an override 'address' field for a
different default ip address. So that you can set the shutdown ip address like
for the other connectors etc. in the server.xml. This is a very flexible and
consistent way to configure the shutdown ip address.

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



[VOTE] Releasing Tomcat Connectors 1.2.26

2007-12-21 Thread Rainer Jung
Hello to all Tomcat project members,

JK 1.2.26 has been available for testing for some days as a svn
snapshot. Only one small bug has been found and fixed. So I would like
to proceed with the release vote.

If you want to take a look, the final source distribution can be
downloaded from:

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/

The updated documentation can be found at

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/

Binaries might be available under

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/

Linux and Solaris binaries are there, feel free to provide further binaries.

So here's the vote. Because of the holidays, the vote will be closed on
Monday December 24, 11:00 a.m. GMT.

Apache Tomcat Connectors 1.2.26 is:

[ ] Stable - no major issues, no regressions
[ ] Beta - at least one significant issue -- tell us what it is
[ ] Alpha - multiple significant issues -- tell us what they are

Thank you and a Merry Christmas,

Rainer



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



svn commit: r606272 - in /tomcat/connectors/trunk/jk: native/ native/common/ native/iis/ native/iis/installer/ xdocs/miscellaneous/

2007-12-21 Thread rjung
Author: rjung
Date: Fri Dec 21 11:07:51 2007
New Revision: 606272

URL: http://svn.apache.org/viewvc?rev=606272view=rev
Log:
Update JK version to 1.2.26-dev after tagging.

Modified:
tomcat/connectors/trunk/jk/native/STATUS.txt
tomcat/connectors/trunk/jk/native/common/jk_version.h
tomcat/connectors/trunk/jk/native/common/portable.h.sample
tomcat/connectors/trunk/jk/native/configure.in

tomcat/connectors/trunk/jk/native/iis/installer/isapi-redirector-win32-msi.ism
tomcat/connectors/trunk/jk/native/iis/isapi_redirect.rc
tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

Modified: tomcat/connectors/trunk/jk/native/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/STATUS.txt?rev=606272r1=606271r2=606272view=diff
==
--- tomcat/connectors/trunk/jk/native/STATUS.txt (original)
+++ tomcat/connectors/trunk/jk/native/STATUS.txt Fri Dec 21 11:07:51 2007
@@ -18,6 +18,7 @@
 
 Release:
 
+1.2.27  : in development
 1.2.26  : released December 21, 2007
 1.2.25  : released August 7, 2007
 1.2.24  : released July 27, 2007, withdrawn August 2, 2007

Modified: tomcat/connectors/trunk/jk/native/common/jk_version.h
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_version.h?rev=606272r1=606271r2=606272view=diff
==
--- tomcat/connectors/trunk/jk/native/common/jk_version.h (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_version.h Fri Dec 21 11:07:51 
2007
@@ -26,14 +26,14 @@
 /** START OF AREA TO MODIFY BEFORE RELEASING */
 #define JK_VERMAJOR 1
 #define JK_VERMINOR 2
-#define JK_VERFIX   26
-#define JK_VERSTRING1.2.26
+#define JK_VERFIX   27
+#define JK_VERSTRING1.2.27
 
 /* Beta number */
 #define JK_VERBETA  0
 #define JK_BETASTRING   0
 /* set JK_VERISRELEASE to 1 when release (do not forget to commit!) */
-#define JK_VERISRELEASE 1
+#define JK_VERISRELEASE 0
 #define JK_VERRC0
 #define JK_RCSTRING 0
 

Modified: tomcat/connectors/trunk/jk/native/common/portable.h.sample
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/portable.h.sample?rev=606272r1=606271r2=606272view=diff
==
--- tomcat/connectors/trunk/jk/native/common/portable.h.sample (original)
+++ tomcat/connectors/trunk/jk/native/common/portable.h.sample Fri Dec 21 
11:07:51 2007
@@ -112,4 +112,4 @@
 #define USE_SO_SNDTIMEO 1
 
 /* Version number of package */
-#define VERSION 1.2.26
+#define VERSION 1.2.27

Modified: tomcat/connectors/trunk/jk/native/configure.in
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/configure.in?rev=606272r1=606271r2=606272view=diff
==
--- tomcat/connectors/trunk/jk/native/configure.in (original)
+++ tomcat/connectors/trunk/jk/native/configure.in Fri Dec 21 11:07:51 2007
@@ -26,7 +26,7 @@
 
 dnl package and version. (synchronization with common/jk_version.h ?)
 PACKAGE=mod_jk
-VERSION=1.2.26
+VERSION=1.2.27
 
 AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})
 

Modified: 
tomcat/connectors/trunk/jk/native/iis/installer/isapi-redirector-win32-msi.ism
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/installer/isapi-redirector-win32-msi.ism?rev=606272r1=606271r2=606272view=diff
==
--- 
tomcat/connectors/trunk/jk/native/iis/installer/isapi-redirector-win32-msi.ism 
(original)
+++ 
tomcat/connectors/trunk/jk/native/iis/installer/isapi-redirector-win32-msi.ism 
Fri Dec 21 11:07:51 2007
@@ -3425,7 +3425,7 @@
rowtdProductID/tdtdnone/tdtd//row
rowtdProductLanguage/tdtd1033/tdtd//row
rowtdProductName/tdtdTomcat Isapi 
Redirector/tdtd//row
-   rowtdProductVersion/tdtd1.2.26/tdtd//row
+   rowtdProductVersion/tdtd1.2.27/tdtd//row
rowtdProgressType0/tdtdinstall/tdtd//row
rowtdProgressType1/tdtdInstalling/tdtd//row
rowtdProgressType2/tdtdinstalled/tdtd//row

Modified: tomcat/connectors/trunk/jk/native/iis/isapi_redirect.rc
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/isapi_redirect.rc?rev=606272r1=606271r2=606272view=diff
==
--- tomcat/connectors/trunk/jk/native/iis/isapi_redirect.rc (original)
+++ tomcat/connectors/trunk/jk/native/iis/isapi_redirect.rc Fri Dec 21 11:07:51 
2007
@@ -18,13 +18,13 @@
specific language governing permissions and  \
limitations under the License.
 
-#define JK_VERSION_STR  1.2.26
+#define JK_VERSION_STR  1.2.27
 #define JK_DLL_BASENAME 

DO NOT REPLY [Bug 44122] - Windows startup script problem

2007-12-21 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=44122.
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=44122





--- Additional Comments From [EMAIL PROTECTED]  2007-12-21 13:29 ---
Created an attachment (id=21301)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=21301action=view)
Suggested 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]



DO NOT REPLY [Bug 44122] New: - Windows startup script problem

2007-12-21 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=44122.
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=44122

   Summary: Windows startup script problem
   Product: Tomcat 6
   Version: 6.0.14
  Platform: PC
OS/Version: Windows Server 2003
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


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

-- 
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 44125] New: - getRemoteUser returns null

2007-12-21 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=44125.
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=44125

   Summary: getRemoteUser returns null
   Product: Tomcat 6
   Version: unspecified
  Platform: PC
OS/Version: other
Status: NEW
  Severity: regression
  Priority: P2
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


We have to retrieve the userid of the remote user when the user logs on. But
request.getRemoteUser() is returning null in Tomcat 6.0.14. Authentication is 
done
through LDAP. java.security.Principal pr = request.getUserPrincipal(); return
null to in tomcat 6.0.14

It works fine in Tomcat 5.X and 4.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]