Re: Distributed Sessions in Tomcat ?

2002-12-18 Thread Srinadh Karumuri
Jeff Turner has a web page with the documentation for multiple Tomcats (3.2). Hope it helps. http://webmap.socialchange.net.au/support/download/multi-tomcats.txt Thank you, -Sri At 07:37 PM 12/18/2002 -0800, Bill Barker wrote: As I understand it, TC 3.3.1 doesn't support distributed sessions

RE: Apache + one TC for each webapp

2002-11-15 Thread Srinadh Karumuri
-Original Message- From: Srinadh Karumuri [mailto:skarumur;bbn.com] Sent: Monday, November 11, 2002 4:05 PM To: [EMAIL PROTECTED] Subject: Apache + one TC for each webapp All, I read many postings on how to configure multiple tomcats for load balancing etc. But my case is genuine (I

Apache + one TC for each webapp

2002-11-11 Thread Srinadh Karumuri
All, I read many postings on how to configure multiple tomcats for load balancing etc. But my case is genuine (I feel). :) We have a web site up and running for 1 1/2 yrs. using Apache 1.3, mod_jk and tomcat 3.1 and we access it as below: https://myhost.domain.com/myapp1 Now we need to add

Re: Shutting down and restarting Tomcat

2002-11-08 Thread Srinadh Karumuri
What is the command for setting the delay in a Windows batch file? If there isn't one you can simply write sleep.java and call using: java sleep 2 :D Sri -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Srinadh Karumuri
The input type for this entry field is text. I think the input type should be file for a server to be able to accept it. Otherwise, I feel, there is no privacy. I can access anything from user's hard drive. Sri At 10:35 AM 11/8/2002, Turner, John wrote: My point is that if I can upload a GIF

RE: Force One page to not use SSL

2002-10-29 Thread Srinadh Karumuri
You can probably try forwarding to absolute path, with the JSESSIONID value. Since you are using IIS as secure server, it shouldn't matter to Tomcat. For example: In a servlet you can forward control from https://my.domain.com/myapp/jsp/mypage1.jsp to

Getting rid of parameters from the 'location:' field

2002-10-14 Thread Srinadh Karumuri
I am using Tocat 3.x with apache 1.3. Recently we added a new webapp and all the parameters are getting appended to the URL (in the browser's loacation field). This is not good as our clients won't be very happy to see this info. (especially the hidden fields' values). I am using action=

Re: Getting rid of parameters from the 'location:' field

2002-10-14 Thread Srinadh Karumuri
Sorry! I had a typo, missed method=... clause for the form in the JSP. That's funny. I always find my answers after I post it here. :) -Sri At 11:04 AM 10/14/2002, Srinadh Karumuri wrote: I am using Tocat 3.x with apache 1.3. Recently we added a new webapp and all the parameters are getting

Re: want to show a message to the user before issuing shutdown command

2002-10-09 Thread Srinadh Karumuri
It is all a pull from client and we cannot PUSH from server to client. #1. You could probably write a JSP to keep polling server for messages and display in a separate frame/window. It is not the most efficient way but should work. #2. Each JSP, while loading, could check for a particular static

Re: Making a webapp the document root, help?

2002-09-25 Thread Srinadh Karumuri
You can try defining an Alias in httpd.conf file of Apache. I am not sure your JSP code will work but you can try. Alias / /dir1/dir2/dir2/../webapps/MYAPP On the other hand you can have an 'index.html' filein the root directory and let users chose to get to your MYAPP. -Sri At 01:21 PM

Re: Communicating with Tomcat3 through shell scripts.

2002-09-09 Thread Srinadh Karumuri
you, Sri At 05:11 PM 9/6/2002, Srinadh Karumuri wrote: Hi, I used Tomcat 3 for a while but didn't work on customizing it. We need to disable the user input sometimes and typically we store a flag in the session. To modify this flag we use a jsp page. If I can communicate with tomcat from shell

Communicating with Tomcat3 through shell scripts.

2002-09-06 Thread Srinadh Karumuri
Hi, I used Tomcat 3 for a while but didn't work on customizing it. We need to disable the user input sometimes and typically we store a flag in the session. To modify this flag we use a jsp page. If I can communicate with tomcat from shell scripts while it is running, I will be able to able

Re: single sign on and time outs

2002-08-30 Thread Srinadh Karumuri
Thanks for sharing the details. It's very helpful. I guess I have to catchup with TC4. :) -Sri At 07:08 PM 8/29/2002, Craig R. McClanahan wrote: On Thu, 29 Aug 2002, Srinadh Karumuri wrote: Date: Thu, 29 Aug 2002 16:29:40 -0400 From: Srinadh Karumuri [EMAIL PROTECTED] Reply-To: Tomcat

Re: Best Connector for Apache 2x and Tomcat 4x

2002-08-30 Thread Srinadh Karumuri
Comments below. At 08:49 AM 8/30/2002, Ben Souther wrote: Thank you, Best IS relative. That's why I explicitly stated my needs in parenthesis. :-) I'm running on RH Linux 7.1 The reason I wanted to integrate the two is that I don't want to run tomcat as the root user but I do want to use port

Why should I move from Tomcat 3.x to Tomcat 4.x

2002-08-30 Thread Srinadh Karumuri
I am a happy Apache 1.3 and Tomcat 3.x user for the past 1 1/2 yr. Q1. Is this a major upgrade for my servlet/jsp code? Q2. Can I continue using Apache 1.3 or do I need to upgrade that as well? Q3. I was wondering if there is any link with need to upgrade, advantages and disadvantages. I need

Re: Tomcat shutdown does not kill java process

2002-08-30 Thread Srinadh Karumuri
I saw similar problem when my DB process is locked due to lock on resources. This is not a fancy way but we gave work around to make sure we don't end up with two servers. This can be done easily by checking for 'javaoptions' process running for this user in the start/stop scripts (and

Re: session tracking using URL rewriting META=refresh

2002-08-30 Thread Srinadh Karumuri
;jsessionid= + request.getParameter(jsessionid)% -Sri At 10:27 AM 8/29/2002, Srinadh Karumuri wrote: Hi, I know there are two ways of session tracking in Tomcat 3. 1. Cookies based: This is out of question as our customers do not want this. 2. URL rewriting: We rewrite URLs using encodeURL

session tracking using URL rewriting META=refresh

2002-08-29 Thread Srinadh Karumuri
Hi, I know there are two ways of session tracking in Tomcat 3. 1. Cookies based: This is out of question as our customers do not want this. 2. URL rewriting: We rewrite URLs using encodeURL(...) and worked fine for more than a year. The problem started once we introduced the META-Refresh to

RE: Log out Screen

2002-08-29 Thread Srinadh Karumuri
This redirection works only when user submits a form (when server is hit). We cannot do automatic redirection using only Java. Other alternatives are: 1. Use Javascript and have a timer (set value as request.getSession().getMaxInactiveInterval()) to redirect the page automatically. 2. Use

RE: Log out Screen

2002-08-29 Thread Srinadh Karumuri
Small correction for method #2 (you need to convert it to seconds): META HTTP-EQUIV=Refresh CONTENT=%= request.getSession().getMaxInactiveInterval() * 60 %; URL=/jsp/login.jsp; At 01:34 PM 8/29/2002, you wrote: This redirection works only when user submits a form (when server is hit). We

RE: Log out Screen

2002-08-29 Thread Srinadh Karumuri
that they are valid when the pages that are secured are being accessed. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Srinadh Karumuri [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:35 AM To: Tomcat Users List Subject: RE: Log out Screen

Re: single sign on and time outs

2002-08-29 Thread Srinadh Karumuri
More precisely, both sessions will be invalidated. I didn't get this. Lets say I have two webapps sharing one Tomcat3.0. If timeout for webapp1 = 5 min. and timeout for webapp2 = 10 min. Does it mean both will get timed out after 5 min. I don't think so. -Sri At 04:00 PM

RE: java.lang.OutOfMemoryError

2001-05-25 Thread Srinadh Karumuri
) at org.apache.tomcat.service.connector.AJP12ResponseAdapter.init(Ajp12 ConnectionHandler.java:433) Thankx shailesh Srinadh Karumuri Senior Programmer/Analyst Business Apps. BBN Technologies (Verizon) Ph:(617)873-2841

Re: 3.2.1 Dies

2001-05-21 Thread Srinadh Karumuri
Srinadh Karumuri Senior Programmer/Analyst Business Apps. BBN Technologies (Verizon) Ph:(617)873-2841

Re: 3.2.1 Dies

2001-05-21 Thread Srinadh Karumuri
set (no errors). Hope this helps, -Sri At 10:20 AM 05/21/2001 -0700, Hunter Hillegas wrote: Which log file would I look in? servlet.log shows nothing, neither does jasper.log... Hunter From: Srinadh Karumuri [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 21 May 2001 12:03:45 -0400

Re: 3.2.1 Dies

2001-05-21 Thread Srinadh Karumuri
and then just log out... Hunter From: Srinadh Karumuri [EMAIL PROTECTED] Date: Mon, 21 May 2001 13:43:53 -0400 To: Hunter Hillegas [EMAIL PROTECTED], Tomcat User List [EMAIL PROTECTED] Subject: Re: 3.2.1 Dies - I am running the tomcat using 'nohup' (UNIX command) on Solaris. My OutOfMemory