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]

I require this info urgently....

2003-07-21 Thread Aditya Gujarathi
(java.net.SocketPermission IP address:port 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: 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 request

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 contexts can not

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 stuff to request object... chain.doFilter(..); do stuff to response object

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 sets it uses the default domain (which

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: memory leak on context reload or stop/start? [was Re: trackingmemory usage over time]

2003-03-14 Thread Aditya
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 - Original Message - From: Aditya [EMAIL PROTECTED

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 Logger in server.xml; AFAICT it works fine and does what I wanted it to do. However it seems that there can only be one Logger section per container which means I can't have (for

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

2003-03-13 Thread Aditya
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 if I remember correctly) where you talked about having

Re: tracking memory usage over time

2003-02-25 Thread Aditya
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 minutes and stuff the returned values into a RRD (www.rrdtool.org) to measure

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 you,

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

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

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 source

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

2003-01-07 Thread Aditya
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 -, [EMAIL PROTECTED] said: glenn 2003/01/02 04:58:58 Modified: jk/native/apache-1.3

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

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

2002-10-26 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 =

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

2002-10-25 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 other

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