Re: [VOTE] Split soTimeout to soTimeout and keepAliveTimeout

2006-10-03 Thread Tim Funk

Mladen Turk wrote:

[ ] I'm for that proposal
[ ] I'm against that proposal
[X ] I don't care


-Tim

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



svn commit: r452464 - /tomcat/connectors/trunk/jk/native/scripts/build/instdso.sh

2006-10-03 Thread jfclere
Author: jfclere
Date: Tue Oct  3 05:52:21 2006
New Revision: 452464

URL: http://svn.apache.org/viewvc?view=rev&rev=452464
Log:
libtool is not able to install on HP-UX, the Apache httpd script here does it.

Added:
tomcat/connectors/trunk/jk/native/scripts/build/instdso.sh   (with props)

Added: tomcat/connectors/trunk/jk/native/scripts/build/instdso.sh
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/scripts/build/instdso.sh?view=auto&rev=452464
==
--- tomcat/connectors/trunk/jk/native/scripts/build/instdso.sh (added)
+++ tomcat/connectors/trunk/jk/native/scripts/build/instdso.sh Tue Oct  3 
05:52:21 2006
@@ -0,0 +1,96 @@
+#!/bin/sh
+#
+# 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.
+#
+#
+# instdso.sh - install Apache DSO modules
+#
+# we use this instead of libtool --install because:
+# 1) on a few platforms libtool doesn't install DSOs exactly like we'd
+#want (weird names, doesn't remove DSO first)
+# 2) we never want the .la files copied, so we might as well copy
+#the .so files ourselves
+
+if test "$#" != "3"; then
+echo "wrong number of arguments to instdso.sh"
+echo "Usage: instdso.sh SH_LIBTOOL-value dso-name path-to-modules"
+exit 1
+fi
+
+SH_LIBTOOL=`echo $1 | sed -e 's/^SH_LIBTOOL=//'`
+DSOARCHIVE=$2
+DSOARCHIVE_BASENAME=`basename $2`
+TARGETDIR=$3
+DSOBASE=`echo $DSOARCHIVE_BASENAME | sed -e 's/\.la$//'`
+TARGET_NAME="$DSOBASE.so"
+
+SYS=`uname -s`
+
+if test "$SYS" = "AIX"
+then
+# on AIX, shared libraries remain in storage even when
+# all processes using them have exited; standard practice
+# prior to installing a shared library is to rm -f first
+CMD="rm -f $TARGETDIR/$TARGET_NAME"
+echo $CMD
+$CMD || exit $?
+fi
+
+CMD="$SH_LIBTOOL --mode=install cp $DSOARCHIVE $TARGETDIR/"
+echo $CMD
+$CMD || exit $?
+
+if test "$SYS" = "OS/2"
+then
+# on OS/2, aplibtool --install doesn't copy the .la files & we can't
+# rename DLLs to have a .so extension or they won't load so none of the 
+# steps below make sense.
+exit 0
+fi
+
+if test -s "$TARGETDIR/$DSOARCHIVE_BASENAME"
+then
+  DLNAME=`sed -n "/^dlname=/{s/.*='\([^']*\)'/\1/;p;}" 
$TARGETDIR/$DSOARCHIVE_BASENAME`
+  LIBRARY_NAMES=`sed -n "/^library_names/{s/library_names='\([^']*\)'/\1/;p;}" 
$TARGETDIR/$DSOARCHIVE_BASENAME`
+  LIBRARY_NAMES=`echo $LIBRARY_NAMES | sed -e "s/ *$DLNAME//g"`
+fi
+
+if test -z "$DLNAME"
+then
+  echo "Warning!  dlname not found in $TARGETDIR/$DSOARCHIVE_BASENAME."
+  echo "Assuming installing a .so rather than a libtool archive."
+  exit 0
+fi
+
+if test -n "$LIBRARY_NAMES"
+then
+for f in $LIBRARY_NAMES
+do
+rm -f $TARGETDIR/$f
+done
+fi
+
+if test "$DLNAME" != "$TARGET_NAME"
+then
+mv $TARGETDIR/$DLNAME $TARGETDIR/$TARGET_NAME
+fi
+
+rm -f $TARGETDIR/$DSOARCHIVE_BASENAME
+rm -f $TARGETDIR/$DSOBASE.a
+rm -f $TARGETDIR/lib$DSOBASE.a
+rm -f $TARGETDIR/lib$TARGET_NAME
+
+exit 0

Propchange: tomcat/connectors/trunk/jk/native/scripts/build/instdso.sh
--
svn:executable = *



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



svn commit: r452479 - /tomcat/connectors/trunk/jk/native/apache-2.0/Makefile.in

2006-10-03 Thread jfclere
Author: jfclere
Date: Tue Oct  3 06:15:36 2006
New Revision: 452479

URL: http://svn.apache.org/viewvc?view=rev&rev=452479
Log:
Use shell script from Apache httpd to install the *.so files. (libtool fails on 
HP-UX for example).

Modified:
tomcat/connectors/trunk/jk/native/apache-2.0/Makefile.in

Modified: tomcat/connectors/trunk/jk/native/apache-2.0/Makefile.in
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-2.0/Makefile.in?view=diff&rev=452479&r1=452478&r2=452479
==
--- tomcat/connectors/trunk/jk/native/apache-2.0/Makefile.in (original)
+++ tomcat/connectors/trunk/jk/native/apache-2.0/Makefile.in Tue Oct  3 
06:15:36 2006
@@ -66,7 +66,7 @@
$(LIBTOOL) --mode=link ${COMPILE} `${APXS} -q LDFLAGS` -o $@ -module 
-rpath ${libexecdir} -avoid-version mod_jk.lo $(APACHE_OBJECTS)
 
 mod_jk.so: mod_jk.la
-   $(LIBTOOL) --mode=install cp mod_jk.la `pwd`/$@
+   ../scripts/build/instdso.sh SH_LIBTOOL='$(LIBTOOL)' mod_jk.la `pwd`
 
 install_dynamic:
@echo ""



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



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

2006-10-03 Thread jfclere
Author: jfclere
Date: Tue Oct  3 06:21:30 2006
New Revision: 452486

URL: http://svn.apache.org/viewvc?view=rev&rev=452486
Log:
Add my lastest commit.

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

Modified: tomcat/connectors/trunk/jk/xdocs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/changelog.xml?view=diff&rev=452486&r1=452485&r2=452486
==
--- tomcat/connectors/trunk/jk/xdocs/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/changelog.xml Tue Oct  3 06:21:30 2006
@@ -26,6 +26,9 @@
   
   
 
+  
+  Apache: Use instdso.sh instead libtool: libtool does not work on HP-UX 
for example. (jfclere)
+  
 
   
 



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



svn commit: r452482 - /tomcat/connectors/trunk/jk/native/apache-1.3/Makefile.in

2006-10-03 Thread jfclere
Author: jfclere
Date: Tue Oct  3 06:18:44 2006
New Revision: 452482

URL: http://svn.apache.org/viewvc?view=rev&rev=452482
Log:
Oops... We are still supporting httpd-1.3.x.

Modified:
tomcat/connectors/trunk/jk/native/apache-1.3/Makefile.in

Modified: tomcat/connectors/trunk/jk/native/apache-1.3/Makefile.in
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-1.3/Makefile.in?view=diff&rev=452482&r1=452481&r2=452482
==
--- tomcat/connectors/trunk/jk/native/apache-1.3/Makefile.in (original)
+++ tomcat/connectors/trunk/jk/native/apache-1.3/Makefile.in Tue Oct  3 
06:18:44 2006
@@ -85,7 +85,7 @@
 ${MOD_LINK} -o $@ $^
 
 mod_jk.so: mod_jk.la
-   $(LIBTOOL) --mode=install cp mod_jk.la `pwd`/$@
+   ../scripts/build/instdso.sh SH_LIBTOOL='$(LIBTOOL)' mod_jk.la `pwd`
 
 #
 # Common part.



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



Re: [VOTE] Split soTimeout to soTimeout and keepAliveTimeout

2006-10-03 Thread Peter Rossbach

+1 and add documenation :-)

Peter


Am 02.10.2006 um 13:24 schrieb Mladen Turk:


[x ] I'm for that proposal
[ ] I'm against that proposal
[ ] I don't care




DO NOT REPLY [Bug 40668] New: - MailSessionFactory is missing in Tomcat 5.5.20

2006-10-03 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=40668

   Summary: MailSessionFactory is missing in Tomcat 5.5.20
   Product: Tomcat 5
   Version: 5.5.18
  Platform: PC
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


org.apache.naming.factory.MailSessionFactory is missing from naming-factory.jar 
in Tomcat 5.5.20.

-- 
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 15463] - StandardManager incorrectly uses getLastAccessedTime

2006-10-03 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=15463





--- Additional Comments From [EMAIL PROTECTED]  2006-10-03 14:49 ---
We are still running Tomcat 4.1.29 and experiencing the timeout problem almost
exactly as as Glenn describes it in comment #9. Is the patch as described there
only available from release 4.1.31 or can we somehow apply it to 4.1.29? If the
latter is true then where do I get this patch, since I can only find the fix
(id=10095) as per comment #4 from Tomcat 3.x days. It seems however from Glenn's
note re the patch and the 4.1.31 release notes that the upgrade path is a better
choice than any quick fix, so  it make sense to upgrade to 4.1.31 if one is
serious to resolve timeout issues, right?

-- 
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 15463] - StandardManager incorrectly uses getLastAccessedTime

2006-10-03 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=15463





--- Additional Comments From [EMAIL PROTECTED]  2006-10-03 16:01 ---
You could generate your own patch but an upgrade to 4.1.31 or later would be
much easier.

-- 
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 40572] - Performance problem with org.apache.catalina.loader and JAXP, JSP

2006-10-03 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=40572


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2006-10-03 17:24 ---
As you state, this isn't a Tomcat bug but a JAXP bug.

I am extremely reluctant to work-around bugs in third party code (it adds
complexity, work-arounds often get forgotten and never removed) unless there is
a very strong case. I do not believe there is a strong case here. Peformance
figures for realistic production use cases showing significant differences may
change my mind.

Figures obtained using YourKit (which will be much higher than normal since
measuring this really hammers performance) show each invocation of toString()
takes less than 10ms.



-- 
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] Tomcat 4.1.34 Stability

2006-10-03 Thread Mark Thomas
All,

4.1.34-beta has been available for just over a month. Tomcat 4.1.34
fixes all open bugs against the 4.1.x branch and updates the libraries
to the latest versions. Please vote on its stability using the options
below.

I will also solicit feedback from the users list in case someone has
found a show stopper but hasn't reported it for whatever reason.

Apache Tomcat 4.1.34 is:
[ ] Stable - no major issues
[ ] Beta - at least one significant issue -- tell us what it is
[ ] Alpha - multiple significant issues -- tell us what they are

Many thanks,

Mark

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



Tomcat Filters and Filter Mapping to Force download

2006-10-03 Thread Threepwood

I am using a filter to set the content type and header to to force
downloading of linked files, so that they open with their registered app
instead of within IE. I am doing this with the following code:

response.setContentType("application/octet-stream");
response.setHeader("Content-Disposition","attachment; filename=" +
fileName); 

It is working great for files uploaded to the server after the changes. But
files uploaded before the changes are still either opening in the web
browser using the apps plugin or displaying directly in the web browser
usually as jumbled binary. 
I was wondering why this is happening? I thought the filter was to apply at
run time, so when the file is being downloaded, and thus should open as the
newly upload files do. Thanks for the help. 

Joe
-- 
View this message in context: 
http://www.nabble.com/Tomcat-Filters-and-Filter-Mapping-to-Force-download-tf2379764.html#a6632138
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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



Re: [VOTE] Tomcat 4.1.34 Stability

2006-10-03 Thread Mark Thomas
Mark Thomas wrote:
> Apache Tomcat 4.1.34 is:
> [X] Stable - no major issues
> [ ] Beta - at least one significant issue -- tell us what it is
> [ ] Alpha - multiple significant issues -- tell us what they are

Mark

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



DO NOT REPLY [Bug 36121] - Including JSP's changes working directory

2006-10-03 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=36121





--- Additional Comments From [EMAIL PROTECTED]  2006-10-03 20:23 ---
Created an attachment (id=18959)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18959&action=view)
Proposed patch

I have been looking into this and have tracked down the root cause and have
identified a patch (attached) that fixes the issue. 

However, I am concerned about possible side-effects particularly with mod_dir.
I have tested this as far as my mod_jk understanding allows and I don't think
anything is broken but I would rather someone who knows the mod_jk codebase
rather better than I reviewed this patch before I commit 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 36121] - Including JSP's changes working directory

2006-10-03 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=36121


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|NEW




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