RE: servlet request time out ?!

2005-06-03 Thread Angelov, Rossen
-timeout45/session-timeout!-- 30 minutes by default-- /session-config - Original Message - From: Angelov, Rossen [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, June 02, 2005 11:34 AM Subject: RE: servlet request time out ?! I would like

RE: servlet request time out ?!

2005-06-03 Thread Angelov, Rossen
the session-config option? Ross -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Friday, June 03, 2005 11:12 AM To: Tomcat Users List Subject: Re: servlet request time out ?! On 6/3/05, Angelov, Rossen [EMAIL PROTECTED] wrote: I tried adding it to my .../WEB-INF

RE: servlet request time out ?!

2005-06-02 Thread Angelov, Rossen
I would like to bring that issue up again as I haven't resolved it yet and haven't found what's causing it. Any help and ideas are welcome! Thanks, Ross -Original Message- From: Angelov, Rossen Sent: Thursday, May 26, 2005 1:33 PM To: 'Tomcat Users List' Subject: servlet request time

servlet request time out ?!

2005-05-26 Thread Angelov, Rossen
Hi, Does anybody know about a time out on a servlet request with Tomcat 5? The problem is that I have a request that takes about 30 minutes but the browser keeps waiting for the response forever. I tried different browsers but it's the same behavior. I put debug statements in the doPost method

RE: servlet request time out ?!

2005-05-26 Thread Angelov, Rossen
to 0 -- Mike Angelov, Rossen wrote: Hi, Does anybody know about a time out on a servlet request with Tomcat 5? The problem is that I have a request that takes about 30 minutes but the browser keeps waiting for the response forever. I tried different browsers but it's

RE: servlet request time out ?!

2005-05-26 Thread Angelov, Rossen
resolved the issue. Not sure if it will work here... but it is worth a try.. Angelov, Rossen wrote: That's exactly how I understood it too. The request will be dropped if after certain number of milliseconds the request's URI hasn't been received. In my case the URI comes directly with the request

sending redirects to relative/absolute URLs

2005-05-20 Thread Angelov, Rossen
Hi, Does anybody know why Tomcat always redirects to absolute links? I looked at the implementation and the sendRedirect calls the toAbsolute method which always constructs an absolute URL. Is there any way to make Tomcat return relative URLs the way they were requested for redirecting? Ross

RE: sending redirects to relative/absolute URLs

2005-05-20 Thread Angelov, Rossen
To: Tomcat Users List Subject: Re: sending redirects to relative/absolute URLs No, because the HTTP protocol requires an absolute URL in redirect responses. On 5/20/05, Angelov, Rossen [EMAIL PROTECTED] wrote: Hi, Does anybody know why Tomcat always redirects to absolute links? I looked

basic authentication and custom 401 error page

2004-09-24 Thread Angelov, Rossen
Hi, We are running our applications on Tomcat 4 and 5. On both versions we are having problems with the basic authentication. The problem is that I haven't found a way to overwrite the default 401 error page with a custom page. If I add an error-page element in web.xml for error 401

RE: Tomcat 5 out of memory

2004-04-08 Thread Angelov, Rossen
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20758 http://marc.theaimsgroup.com/?l=tomcat-userm=107048670308534w=2 Ahh, I'm tired of searching. Yoav Shapira Millennium Research Informatics -Original Message- From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07

Tomcat 5 out of memory

2004-04-07 Thread Angelov, Rossen
Hi, We are having problems with Tomcat when restarting the virtual servers or the contexts - the memory usage goes up with about 2-3 MB per restart. We have the following java options when starting Catalina: -Xms128m -Xmx256m -verbose:gc Does anybody know what's causing such a behavior and how

RE: Tomcat 5 out of memory

2004-04-07 Thread Angelov, Rossen
, or alternately, throw some hardware at it, and add some more memory. On Wed, 2004-04-07 at 15:17, Angelov, Rossen wrote: Hi, We are having problems with Tomcat when restarting the virtual servers or the contexts - the memory usage goes up with about 2-3 MB per restart. We have the following java

RE: Tomcat 5 out of memory

2004-04-07 Thread Angelov, Rossen
because of the infrequent occurrence of redeploys. Doug www.parsonstechnical.com - Original Message - From: Angelov, Rossen [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 7:13 PM Subject: RE: Tomcat 5 out of memory I don't understand why

Symbolic links in WEB-INF directory, Tomcat 5

2004-04-02 Thread Angelov, Rossen
Hi, Can Tomcat work with symbolic links in WEB-INF instead of real directories? I have allowLinking set up to true and the Resources element is in the corresponding context but still Tomcat will fail deploying the application if I have symbolic links. Resources

Threads in Tomcat 5

2004-04-01 Thread Angelov, Rossen
Hi, I'm trying to understand how exactly Tomcat 5 is organized to work with threads. Is there any documentation on how the connector is using the threads? What happens in the thread pool, how exactly the are threads picked from the pool and what is their state? And what happens with the released

RE: Threads in Tomcat 5

2004-04-01 Thread Angelov, Rossen
something. peter Angelov, Rossen [EMAIL PROTECTED] wrote: Hi, I'm trying to understand how exactly Tomcat 5 is organized to work with threads. Is there any documentation on how the connector is using the threads? What happens in the thread pool, how exactly the are threads picked from the pool

RE: Threads in Tomcat 5

2004-04-01 Thread Angelov, Rossen
-on applications. peter Angelov, Rossen [EMAIL PROTECTED] wrote: Well, the login requirements are not that simple to explain in few lines. Some pages require authentication some don't, so it won't be appropriate to do this when the HttpSession is first started. ThreadLocal is used to identify

RE: Tomcat mixing different log4j FileAppenders

2004-03-25 Thread Angelov, Rossen
:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:58 AM To: Tomcat Users List Subject: RE: Tomcat mixing different log4j FileAppenders Hi, How are you configuring log4j? Where is log4j.jar? Yoav Shapira Millennium Research Informatics -Original Message- From: Angelov, Rossen [mailto

Cookie values

2004-03-25 Thread Angelov, Rossen
How are the cookies treated by Tomcat? take this cookie for example: name=lastname, firstname for version 0 the comma and the space are not valid but for version 1 they are If I have my Cookie version set to 1 the cookie looks like this: name=lastname, firstname when read by JavaScript if read

where to place the context for the default web application

2004-03-24 Thread Angelov, Rossen
Hi, According to the Server Configuration Reference, it is not recommended to place Context elements directly in the server.xml My question is where to place the context element for the default web application and how to name it because the context path in this case is a zero-length string?

RE: where to place the context for the default web application

2004-03-24 Thread Angelov, Rossen
-Original Message- From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 12:10 PM To: '[EMAIL PROTECTED]' Subject: where to place the context for the default web application Hi, According to the Server Configuration Reference, it is not recommended to place Context

Tomcat mixing different log4j FileAppenders

2004-03-24 Thread Angelov, Rossen
I'm using Tomcat 5.0.19 with two different web applications running on different virtual hosts and Log4j to log errors. Each application has its own log4j FileAppender and is supposed to write to its own log file. I've noticed few times that Tomcat sends the log information to the same log file

log level set to DEBUG for serviceRequest

2003-06-09 Thread Angelov, Rossen
Hi, Tomcat 4.1.12 and Solaris 5.7 and JDK 1.4 Is there a way to change the log level to INFO or completely remove or change the location of bin/serviceRequest.log? Currently it prints out tons of lines that I don't really need in the bin directory. I was searching for serviceRequest in the conf

Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
Hi, I'm using Tomcat 4.1.12 running on Solaris 5.7 Issue #1: There are two different contexts with different paths and different docBase. Two different servlets using two different log files (log4j). I was browsing the pages from the same browser window (IE 5.5) switching between both contexts

RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
: Angelov, Rossen [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 1:01 PM To: 'Tomcat Users List' Subject: Is this normal for Tomcat? Hi, I'm using Tomcat 4.1.12 running on Solaris 5.7 Issue #1: There are two different contexts with different paths and different docBase. Two different servlets using

RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
PROTECTED] Sent: Friday, May 30, 2003 12:19 PM To: Tomcat Users List Subject: RE: Is this normal for Tomcat? Howdy, How is log4j writing to a file if you're not using FileAppender? Yoav Shapira Millennium ChemInformatics -Original Message- From: Angelov, Rossen [mailto:[EMAIL PROTECTED

RE: Is this normal for Tomcat?

2003-05-31 Thread Angelov, Rossen
[EMAIL PROTECTED] 05/30/03 11:33 AM I still have no clue as to the shared cookies issue. Yoav Shapira Millennium ChemInformatics -Original Message- From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 1:28 PM To: 'Tomcat Users List' Subject: RE: Is this normal

RE: Tomcat 4 and native threads

2003-05-31 Thread Angelov, Rossen
HotSpot VM supports only native threads and the Classic VM supports native and green threads. To force it to use either native or green threads you can do: java -native mypkg.MyClass javac -native MyClass.java or if you use classic VM java -green mypkg.MyClass javac -green MyClass.java