Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0mod_jk.c

2003-01-06 Thread Aditya
> On 2 Jan 2003 12:58:58 -, [EMAIL PROTECTED] said: > glenn 2003/01/02 04:58:58 > > Modified: jk/native/apache-1.3 mod_jk.c jk/native/apache-2.0 > mod_jk.c Log: Make sure http errors are handled by Apache if not > handled by Tomcat > > Revision Changes Path 1.34 +6 -1 > jakarta-tomcat-conn

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0mod_jk.c

2003-01-07 Thread Aditya
Please test from a CVS build and let me know if this fixes the > problem for you. I just updated mod_jk.c from CVS and the fix of only passing empty content errors >= 400 seems to work in my quick testing. Thanks, Adi > Aditya wrote: >>> On 2 Jan 2003 12:58:58 -,

Re: Duplicate session IDs are *common*

2003-01-08 Thread Aditya
> On Wed, 08 Jan 2003 19:37:28 -0800, Costin Manolache <[EMAIL PROTECTED]> said: > The default is java.security.SecureRandom - and should give enough > randomness. There is a change on head ( that would work with 5.0 - > but it can be backported ) that allow you to use /dev/urandom ( or > another s

Tomcat "id" in AccessLogValve and Spread

2003-01-17 Thread Aditya
I'm trying to consolidate the access logs for a whole bunch of Tomcats using Spread (www.spread.org) like I do with Apache. The easiest way to do this seems to be to "patch" org.apache.catalina.valves.AccessLogValve to use Spread and I've done that trivially. However, now that I am collecting acce

Re: cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.1.txt

2003-01-26 Thread Aditya
Although bug 15845 is listed as being for 4.1.19, it looks like it affected Jasper2 even before that -- or am I reading the commit message wrong? Thanks, Adi > On 26 Jan 2003 19:00:19 -, [EMAIL PROTECTED] said: > glenn 2003/01/26 11:00:19 > Modified: . RELEASE-NOTES-4.1.txt Log: Update re

4.1.20 release date? [re bug 15845]

2003-02-03 Thread Aditya
Glenn Nielsen <[EMAIL PROTECTED]> said: > You read it correctly. AFAIK, all previous versions of jasper held > on to objects which it no longer needed after a JSP compile. > Glenn > Aditya wrote: Although bug 15845 is listed as being for 4.1.19, it > looks like it affected J

tracking memory usage over time

2003-02-13 Thread Aditya
I have the following JSP that I hit every 5 minutes and stuff the returned values into a RRD (www.rrdtool.org) to measure the memory (heap I presume) consumption of Tomcat over time. Is there a "better" way, short of using JMX in the newer Tomcat builds, of doing this? <%@ page language="java" %>

Re: tracking memory usage over time

2003-02-14 Thread Aditya
> On Fri, 14 Feb 2003 05:14:33 -0800 (PST), Peter Lin <[EMAIL PROTECTED]> said: > Is there any particular reason the pages are recompiled frequently? > If you're using tomcat 4.1.12 or newer, it should use Ant to compile > the pages, which should get around the issue of memory leak due to > page co

Re: tracking memory usage over time

2003-02-14 Thread Aditya
> On Fri, 14 Feb 2003 06:45:26 -0600, Glenn Nielsen <[EMAIL PROTECTED]> said: > An easier way to measure memory usage in production is to start the > JVM which runs Tomcat with the arg -verbose:gc, this will print > information to stdout about each garbage collection and the memory > used. thank y

Re: tracking memory usage over time

2003-02-25 Thread Aditya
find the memory leak in your application is to setup a test server > and use OptimizeIt or JProbe to profile Tomcat and your web > application. You can use something like JMeter to simulate load. > Regards, > Glenn > Aditya wrote: I have the following JSP that I hit every 5 minu

Re: tracking memory usage over time

2003-02-26 Thread Aditya
> On Tue, 25 Feb 2003 22:08:41 -0600, Glenn Nielsen <[EMAIL PROTECTED]> said: > Does the increase in memory usage correlate with an increased number > of connectors due to a spike in request volume? There does not seem to be a correlation between a request spike and un-gc'able heap usage. I'm usi

How many Loggers in a stanza? [was Re: Tomcat "id" inAccessLogValve and Spread]

2003-03-13 Thread Aditya
I've written a new class that extends o.a.c.logger.LoggerBase (using spread - www.spread.org) and can be used as a in server.xml; AFAICT it works fine and does what I wanted it to do. However it seems that there can only be one section per container which means I can't have (for testing purposes

memory leak on context reload or stop/start? [was Re: trackingmemory usage over time]

2003-03-13 Thread Aditya
/started. Is there some particular section of the code we should be examining to track this further? Adi > On Tue, 25 Feb 2003 22:08:41 -0600, Glenn Nielsen <[EMAIL PROTECTED]> said: > Aditya wrote: Glenn, several months ago you had posted a URL to a > document (at kinetic.more.net

Re: memory leak on context reload or stop/start? [was Re: trackingmemory usage over time]

2003-03-14 Thread Aditya
P files may as a result > trigger out of memory errors once a significant number of pages have > been accessed. The memory can only be freed by stopping Tomcat and > then restarting it. > The JSP command line compiler (JSPC) can also be used to precompile > the JSPs. > -- Uddhav

domain-wide session cookies?

2003-03-20 Thread Aditya
Under Tomcat-4 it looks like the session cookie is set in: org/apache/catalina/connector/HttpResponseBase.java and the code that sets it uses the default domain (which is equal to the request hostname.domain.tld) when it sets the session cookie. I need to set the cookie to be domain-wide, ie. "

Re: domain-wide session cookies?

2003-03-21 Thread Aditya
For those who care, I've answered my own questions: > On Thu, 20 Mar 2003 21:40:20 -0800, Aditya <[EMAIL PROTECTED]> said: > Under Tomcat-4 it looks like the session cookie is set in: > > org/apache/catalina/connector/HttpResponseBase.java > > and the code that se

Re: domain-wide session cookies?

2003-03-24 Thread Aditya
> On Mon, 24 Mar 2003 11:44:04 -0800 (PST), "Craig R. McClanahan" <[EMAIL PROTECTED]> > said: > Under Tomcat-4 it looks like the session cookie is set in: >> > org/apache/catalina/connector/HttpResponseBase.java >> > and the code that sets it uses the default domain (which is equal to >> the > r

Filter access to response object [was Re: domain-wide sessioncookies?]

2003-03-24 Thread Aditya
> On Mon, 24 Mar 2003 14:10:59 -0800 (PST), "Craig R. McClanahan" <[EMAIL PROTECTED]> > said: > Sharing a session across virtual hosts violates the Servlet spec > (Section 7.3 - "HttpSession objects must be scoped at the > application (or servlet context) level" and Section 3.6 - "Servlet > contex

Re: Filter access to response object [was Re: domain-wide sessioncookies?]

2003-03-24 Thread Aditya
> On Mon, 24 Mar 2003 21:32:07 -0800 (PST), "Craig R. McClanahan" <[EMAIL PROTECTED]> > said: >> On Mon, 24 Mar 2003, Aditya wrote: >> Here's my problem: >> - I have a single filter that essentially does: >> >> doFilter(...) >> do s

byterange/byte-serving with mod_jk

2003-06-19 Thread Aditya
I have a servlet returning PDF stored as a large-object in a database. I was recently asked why "byte-serving" wasn't turned on and I'm at a loss to try to understand the situation. From what I've found/understood: - byte-serving is the term Adobe uses when "chunks" of a PDF are returned by the se

Re: DO NOT REPLY [Bug 13907] - security manager does not give read permission on a context by default

2002-10-24 Thread Aditya
Glenn, On Thu, Oct 24, 2002 at 10:03:47AM -, [EMAIL PROTECTED] wrote: > This must be a problem in your local system configuration. > Check the unix file ownerhsip and permissions for test2.new. I've done that and the fact is that it works fine without the security manager so it's not a unix f

Re: DO NOT REPLY [Bug 13907] - security manager does not give readpermission on a context by default

2002-10-24 Thread Aditya
> On Thu, 24 Oct 2002 22:59:59 -0500, Glenn Nielsen <[EMAIL PROTECTED]> said: > Gettting the latest version from CVS won't fix your problem. I still > think the problem is somewhere in your configuration. I've installed the 4.1.12 tarball from the website and am running it without modification oth

Re: DO NOT REPLY [Bug 13907] - security manager does not give read permission on a context by default

2002-10-25 Thread Aditya
Glenn, On Fri, Oct 25, 2002 at 08:40:28AM -0500, Glenn Nielsen wrote: > I suspect that for some reason the Context does not have a context > directory. Add FWIW, I'm not running the context from a WAR file -- it's just the examples context that comes with the default install. > String docBase

I require this info urgently....

2003-07-21 Thread Aditya Gujarathi
enied (java.net.SocketPermission connect,resolve) when I try to access the servlet via a browser. Thanks, Aditya - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DO NOT REPLY [Bug 35128] - Cannot pass "-ea" to Tomcat JRE

2005-06-21 Thread Aditya Ahuja
My email address has changed to [EMAIL PROTECTED]