DO NOT REPLY [Bug 44724] CGIServlet: undesirable encoding conversion of CGI output
https://issues.apache.org/bugzilla/show_bug.cgi?id=44724 Mark Thomas <[EMAIL PROTECTED]> changed: What|Removed |Added Status|RESOLVED|REOPENED Component|Native:Integration |Servlets:CGI Product|Tomcat 6|Tomcat 5 Resolution|WORKSFORME | Target Milestone|default |--- Version|unspecified |Nightly Build --- Comment #3 from Mark Thomas <[EMAIL PROTECTED]> 2008-04-01 23:57:44 PST --- Based on previous comment, re-opening and moving to TC5. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HttpOnly and Kauai
> You should first have commited, then made a trip to Kauai with your laptop, and then from there at the Tomcat coding party via wireless *just found* that this is invalid, told him personally, and then revoke the commit again.! Then you could have just blamed it on the tequila! Arriba, arriba! Hi, we can't do this one https://issues.apache.org/bugzilla/attachment.cgi?id=21741 that's a servlet spec class well, that wasnt clever now! You should first have commited, then made a trip to Kauai with your laptop, and then from there at the Tomcat coding party via wireless *just found* that this is invalid, told him personally, and then revoke the commit again.! cheers, Guen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jim Manico Senior Application Security Engineer Aspect Security
DO NOT REPLY [Bug 44637] JspValueExpression.getType() returns Object. class instead of correct Type
https://issues.apache.org/bugzilla/show_bug.cgi?id=44637 Michael Heß <[EMAIL PROTECTED]> changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #5 from Michael Heß <[EMAIL PROTECTED]> 2008-04-02 03:11:25 PST --- I don't know the inner workings between EL and JSF that well. But it least it gives me a hint where to look next. I'm closing this bug. Thanks for looking into this for me, Mark. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 44724] CGIServlet: undesirable encoding conversion of CGI output
https://issues.apache.org/bugzilla/show_bug.cgi?id=44724 --- Comment #4 from Max Zinal <[EMAIL PROTECTED]> 2008-04-02 03:54:46 PST --- I double-checked the issue in Tomcat 5.5.15. Still get quotation marks instead of letters. This is a version.sh output: Using CATALINA_BASE: /home/zinal/tomcat Using CATALINA_HOME: /home/zinal/tomcat Using CATALINA_TMPDIR: /home/zinal/temp Using JRE_HOME: /usr/java/jdk1.5.0_08 Server version: Apache Tomcat/5.5.15 Server built: Jan 3 2006 10:12:35 Server number: 5.5.15.0 OS Name:Linux OS Version: 2.6.13-15.15-smp Architecture: amd64 JVM Version:1.5.0_08-b03 JVM Vendor: Sun Microsystems Inc. > Thanks to Mark Tomas for his help. Sorry for misspelled name. Mark Thomas, of course. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: backlog measurement
Hi Adrew/Filip, I guess I am in similar situation as Andrew, I am trying to monitor my application through nagios and I was about to start writing a plugin to monitor AJP Queue size. I thought I could use andrews solution, but I am still unsure of the state of the patch he contributed and whether I can use that patch and customize and create a plugin for the same. Appreciate your responses. Thanks Sri Andrew Skiba-2 wrote: > > Hello, > > I want to contribute a custom SocketFactory allowing to analyze the > utilization of acceptConnection attribute of a Connector. In a properly > configured production system, there should be rare situations where > connections wait for a worker thread to be handled. Our client complained > on > high latency of web requests, but the measurement on servlet did not show > high latency. So we wanted to know the number of connections which wait in > socket backlog and were not accepted yet. > > I solved this problem by writing a custom SocketFactory, which accepts > connections immediately and puts it in my queue until a call to accept() > will take them. So the number of waiting connections can be monitored via > JMX. > > To activate this factory, the declaration of the corresponding Connector > in > server.xml should be changed like in the following example. > > maxThreads="10" minSpareThreads="5" maxSpareThreads="7" >enableLookups="false" redirectPort="8443" acceptCount="10" >connectionTimeout="2000" disableUploadTimeout="true" > >socketFactory=" > org.apache.tomcat.util.net.BacklogMeasuringServerSocketFactory"/> > > > No changes in existing classes are required. > > Please review the code in the attachment. > > > Andrew Skiba. > > > package org.apache.tomcat.util.net; > > import java.io.*; > import java.net.*; > import java.util.concurrent.BlockingQueue; > import java.util.concurrent.LinkedBlockingQueue; > import java.util.concurrent.atomic.AtomicLong; > import javax.management.MBeanRegistration; > import javax.management.MBeanServer; > import javax.management.ObjectName; > import org.apache.commons.modeler.Registry; > > /** > * Default server socket factory. Doesn't do much except give us > * plain ol' server sockets. > * > * @author [EMAIL PROTECTED] > * @author Harish Prabandham > */ > > // Default implementation of server sockets. > > // > // WARNING: Some of the APIs in this class are used by J2EE. > // Please talk to [EMAIL PROTECTED] before making any changes. > // > public class BacklogMeasuringServerSocketFactory extends > ServerSocketFactory > implements MBeanRegistration > { > private static org.apache.commons.logging.Log logger = > > org.apache.commons.logging.LogFactory.getLog(BacklogMeasuringServerSocketFactory.class); > private static AtomicLong queuesCommonSize = new AtomicLong(0); > > static class ServerSocketProxy extends ServerSocket { > public static final int DEFAULT_QUEUE_SIZE = 50; > > BlockingQueue acceptQueue; > Thread acceptThread; > > class AcceptRunnable implements Runnable { > public void run() { > try { > while (!isClosed()) { > acceptQueue.put(superAccept()); > queuesCommonSize.incrementAndGet(); > } > } catch (InterruptedException ex) { > logger.warn("unexpected exception", ex); > } catch (IOException ex) { > logger.info("stopping accepting connections", ex); > } > } > } > > private Socket superAccept () throws IOException { > return super.accept(); > } > void init (int queueSize) { > acceptQueue = new LinkedBlockingQueue (queueSize); > acceptThread = new Thread(new AcceptRunnable(), > "Accept-"+toString()); > acceptThread.start(); > } > > public ServerSocketProxy(int port) throws IOException { > super(port); > init(DEFAULT_QUEUE_SIZE); > } > > public ServerSocketProxy(int port, int backlog) throws IOException > { > super(port, backlog); > init(backlog); > } > > public ServerSocketProxy(int port, int backlog, InetAddress > bindAddr) throws IOException { > super(port, backlog, bindAddr); > init(backlog); > } > > @Override > public Socket accept() throws IOException { > try { > Socket res = acceptQueue.take(); > queuesCommonSize.decrementAndGet(); > return res; > } catch (InterruptedException ex) { > throw new SocketException ("unexpected > InterruptedException"); > } > } > } > > public B
svn commit: r643998 - in /tomcat/connectors/trunk/jk: native/apache-1.3/mod_jk.c native/apache-2.0/mod_jk.c xdocs/miscellaneous/changelog.xml
Author: rjung Date: Wed Apr 2 11:04:10 2008 New Revision: 643998 URL: http://svn.apache.org/viewvc?rev=643998&view=rev Log: Fix Bugzilla issue 44738: Merging of JkOption ForwardURI* between virtual hosts. Patch contributed by Toshihiro Sasajima. Modified: tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Modified: tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c?rev=643998&r1=643997&r2=643998&view=diff == --- tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c (original) +++ tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c Wed Apr 2 11:04:10 2008 @@ -2400,7 +2400,12 @@ if (!overrides->key_size_indicator) overrides->key_size_indicator = base->key_size_indicator; -overrides->options |= (base->options & ~base->exclude_options); +/* Don't simply accumulate bits in the JK_OPT_FWDURIMASK region, */ +/* because those are multi-bit values. */ +if (overrides->options & JK_OPT_FWDURIMASK) +overrides->options |= (base->options & ~base->exclude_options) & ~JK_OPT_FWDURIMASK; +else +overrides->options |= (base->options & ~base->exclude_options); if (base->envvars) { if (overrides->envvars && overrides->envvars_has_own) { Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c?rev=643998&r1=643997&r2=643998&view=diff == --- tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c (original) +++ tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Wed Apr 2 11:04:10 2008 @@ -2538,7 +2538,12 @@ if (!overrides->key_size_indicator) overrides->key_size_indicator = base->key_size_indicator; -overrides->options |= (base->options & ~base->exclude_options); +/* Don't simply accumulate bits in the JK_OPT_FWDURIMASK region, */ +/* because those are multi-bit values. */ +if (overrides->options & JK_OPT_FWDURIMASK) +overrides->options |= (base->options & ~base->exclude_options) & ~JK_OPT_FWDURIMASK; +else +overrides->options |= (base->options & ~base->exclude_options); if (base->envvars) { if (overrides->envvars && overrides->envvars_has_own) { Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml?rev=643998&r1=643997&r2=643998&view=diff == --- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original) +++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Wed Apr 2 11:04:10 2008 @@ -43,6 +43,10 @@ + +44738: Fix merging of JkOption ForwardURI* between virtual hosts. +Patch contributed by Toshihiro Sasajima. (rjung) + URI Map: Add extension attributes to uri worker map. Allowed are reply_timeout, active/disabled/stopped - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 44738] mod_jk-1.2.26 does not work in virtualhost
https://issues.apache.org/bugzilla/show_bug.cgi?id=44738 Rainer Jung <[EMAIL PROTECTED]> changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Rainer Jung <[EMAIL PROTECTED]> 2008-04-02 11:02:59 PST --- Thanks a lot for analysis and patch. Patch applied to 1.2.27-dev (for httpd 2.x and 1.3). -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r644165 - in /tomcat/connectors/trunk/procrun/bin: amd64/tomcat5.exe amd64/tomcat5w.exe ia64/tomcat5.exe ia64/tomcat5w.exe tomcat5.exe tomcat5w.exe
Author: mturk Date: Wed Apr 2 21:59:11 2008 New Revision: 644165 URL: http://svn.apache.org/viewvc?rev=644165&view=rev Log: Update 2.0.4 binaries Modified: tomcat/connectors/trunk/procrun/bin/amd64/tomcat5.exe tomcat/connectors/trunk/procrun/bin/amd64/tomcat5w.exe tomcat/connectors/trunk/procrun/bin/ia64/tomcat5.exe tomcat/connectors/trunk/procrun/bin/ia64/tomcat5w.exe tomcat/connectors/trunk/procrun/bin/tomcat5.exe tomcat/connectors/trunk/procrun/bin/tomcat5w.exe Modified: tomcat/connectors/trunk/procrun/bin/amd64/tomcat5.exe URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/procrun/bin/amd64/tomcat5.exe?rev=644165&r1=644164&r2=644165&view=diff == Binary files - no diff available. Modified: tomcat/connectors/trunk/procrun/bin/amd64/tomcat5w.exe URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/procrun/bin/amd64/tomcat5w.exe?rev=644165&r1=644164&r2=644165&view=diff == Binary files - no diff available. Modified: tomcat/connectors/trunk/procrun/bin/ia64/tomcat5.exe URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/procrun/bin/ia64/tomcat5.exe?rev=644165&r1=644164&r2=644165&view=diff == Binary files - no diff available. Modified: tomcat/connectors/trunk/procrun/bin/ia64/tomcat5w.exe URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/procrun/bin/ia64/tomcat5w.exe?rev=644165&r1=644164&r2=644165&view=diff == Binary files - no diff available. Modified: tomcat/connectors/trunk/procrun/bin/tomcat5.exe URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/procrun/bin/tomcat5.exe?rev=644165&r1=644164&r2=644165&view=diff == Binary files - no diff available. Modified: tomcat/connectors/trunk/procrun/bin/tomcat5w.exe URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/procrun/bin/tomcat5w.exe?rev=644165&r1=644164&r2=644165&view=diff == Binary files - no diff available. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r644167 - in /tomcat/tc6.0.x/trunk/res/procrun: amd64/tomcat6.exe amd64/tomcat6w.exe ia64/tomcat6.exe ia64/tomcat6w.exe tomcat6.exe tomcat6w.exe
Author: mturk Date: Wed Apr 2 22:02:47 2008 New Revision: 644167 URL: http://svn.apache.org/viewvc?rev=644167&view=rev Log: Update 2.0.4 binaries with Windows Vista fixes Modified: tomcat/tc6.0.x/trunk/res/procrun/amd64/tomcat6.exe tomcat/tc6.0.x/trunk/res/procrun/amd64/tomcat6w.exe tomcat/tc6.0.x/trunk/res/procrun/ia64/tomcat6.exe tomcat/tc6.0.x/trunk/res/procrun/ia64/tomcat6w.exe tomcat/tc6.0.x/trunk/res/procrun/tomcat6.exe tomcat/tc6.0.x/trunk/res/procrun/tomcat6w.exe Modified: tomcat/tc6.0.x/trunk/res/procrun/amd64/tomcat6.exe URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/procrun/amd64/tomcat6.exe?rev=644167&r1=644166&r2=644167&view=diff == Binary files - no diff available. Modified: tomcat/tc6.0.x/trunk/res/procrun/amd64/tomcat6w.exe URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/procrun/amd64/tomcat6w.exe?rev=644167&r1=644166&r2=644167&view=diff == Binary files - no diff available. Modified: tomcat/tc6.0.x/trunk/res/procrun/ia64/tomcat6.exe URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/procrun/ia64/tomcat6.exe?rev=644167&r1=644166&r2=644167&view=diff == Binary files - no diff available. Modified: tomcat/tc6.0.x/trunk/res/procrun/ia64/tomcat6w.exe URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/procrun/ia64/tomcat6w.exe?rev=644167&r1=644166&r2=644167&view=diff == Binary files - no diff available. Modified: tomcat/tc6.0.x/trunk/res/procrun/tomcat6.exe URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/procrun/tomcat6.exe?rev=644167&r1=644166&r2=644167&view=diff == Binary files - no diff available. Modified: tomcat/tc6.0.x/trunk/res/procrun/tomcat6w.exe URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/procrun/tomcat6w.exe?rev=644167&r1=644166&r2=644167&view=diff == Binary files - no diff available. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 43925] org.apache.jasper.runtime. BodyContentImpl causing huge memory allocations
https://issues.apache.org/bugzilla/show_bug.cgi?id=43925 --- Comment #6 from Thomas Jonsson <[EMAIL PROTECTED]> 2008-04-02 23:42:44 PST --- What is the status of this "bug"? This causes problems in our jsf based application with a couple of hundreds users. I tried Brians fix with no improvement, memory is still occupied and not gc:d. However, I deployed the application in Glassfish and there the charcater array gets gc:d. Any ideas what to do? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]