Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Peddireddy Srikanth
Dear Chuck, your mail is very informative. We r facing a similar issue in our organization :: Tomcat or Apache+tomcat. And the supporters of Apache+tomcat are arguing that as Apache/IIS can make use of native OS (windows inour case) libraries for thread management , memory mangement etc, they

Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Peddireddy Srikanth
thanks for all the replies On 9/30/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all

Re: Reg form based authentication

2005-09-30 Thread Peddireddy Srikanth
chk this link this might help you http://www.onjava.com/pub/a/onjava/2002/06/12/form.html u wil find lot of resources on net on this On 9/30/05, sree kanth [EMAIL PROTECTED] wrote: Hi all, i have been developing on JSP's for the last one year,but still i have never implemented form based

Re: pointing to a folder outside tomcat webapps

2005-09-29 Thread Peddireddy Srikanth
Iam not sure whether this wil help u or not. But this is some thing I know and want to share it. If you want to have more than one contets (i.e run more than one web application from a single tomcat) u can create xml files for each contect and put them in tomcatHome/conf/ folder. Say if u have

combining form based authentication with https

2005-09-29 Thread Peddireddy Srikanth
Hi all, I have a basic doubt If there are any resoursec which will me on this please point me towards them. I will carry on from there. My question is how to combine the form based authentication, where we use jsecuritycheck , jusername etc with https. As far as I know if we use form based

redirecting erors in tomcat console to a file

2005-09-02 Thread Peddireddy Srikanth
Hi All, Is there any simple way to redirect all errors and exception stack traces that may appear in tomcat console during web applications execution?? regards Srikanth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: HTTP/1.1 GZIP compression and its impact on server

2005-08-09 Thread Peddireddy Srikanth
anything about this. so please clarify on this last doubt thank you Regards Srikanth On 8/4/05, Peddireddy Srikanth [EMAIL PROTECTED] wrote: thanks for the help Ya I agree with you in bandwidth and responsiveness issue. We started using GZIP in test environment and most probably we would go

Re: HTTP/1.1 GZIP compression and its impact on server

2005-08-03 Thread Peddireddy Srikanth
Message- From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 02, 2005 9:02 PM To: tomcat-user@jakarta.apache.org Subject: Re: HTTP/1.1 GZIP compression and its impact on server Hi , On 8/1/05, George Sexton [EMAIL PROTECTED] wrote: Our App does GZIP compression

Re: HTTP/1.1 GZIP compression and its impact on server

2005-08-02 Thread Peddireddy Srikanth
Hi , On 8/1/05, George Sexton [EMAIL PROTECTED] wrote: Our App does GZIP compression. I actually did some real testing on using it. Here's what we tell our customers: Enable GZIP Compression Enabling this option will cause Connect Daily to send web pages to the browser compressed in the

Re: HTTP/1.1 GZIP compression and its impact on server

2005-07-28 Thread Peddireddy Srikanth
wrote: It will eat up CPU, but you also save CPU by not having to transmit those extra bytes. Its always a good idea to GZIP. -Tim Peddireddy Srikanth wrote: Hi all, Iam planning to turn on the HTTP/1.1 GZIP compression for my application by setting the compression

setting -Xss option and its impact on servlet threads

2005-07-27 Thread Peddireddy Srikanth
Hi , I read about -Xss JVM option used to set the thread stack size and I want to use it for tomcat during startup. My thinking is that if I set it to some smaller value than the default value, this will save me some memory when large number of sevlet threads are started by tomcat during high

Re: setting -Xss option and its impact on servlet threads

2005-07-27 Thread Peddireddy Srikanth
: Re: setting -Xss option and its impact on servlet threads Peddireddy Srikanth wrote: 1) what is the default stack size for Sun JVM on windows (Win 2003 to be more specefic)?? Dont know. 2) Will this setting affect both normal threads and the servlet threads created by tomcat

Re: Instantiating an Application Scoped Bean

2005-07-27 Thread Peddireddy Srikanth
One possible solution would be : U create a servlet which loads on startup. While defining servlets in web.xml set the load on startup attribute for some servlet and that servlet will be loaded/executed automatically by container at startup U can write ur code for loading and populating the

Re: Problem Bringing up Admin

2005-07-26 Thread Peddireddy Srikanth
:-( On 7/25/05, J. Ryan Kelley [EMAIL PROTECTED] wrote: Yes, those files are exactly where you say they should be. Thanks. Ryan Peddireddy Srikanth wrote: may be you would have done this but I want to know... whethere you extracted all files from that admin archive (zip or tar) and placed

HTTP/1.1 GZIP compression and its impact on server

2005-07-26 Thread Peddireddy Srikanth
Hi all, Iam planning to turn on the HTTP/1.1 GZIP compression for my application by setting the compression attribute of http connector. Iam sure that this will reduce my bandwidth requirements. But I have a doubt. Is Compressing the responses will eat away many CPU cycles and affect my

Re: Problem Bringing up Admin

2005-07-26 Thread Peddireddy Srikanth
/apache/commons/modeler/Registry so obviously (it seems to me anyway) my issue is that admin.login_jsp is being marked unavailable because of messed up dependencies, do I need to download struts? Thanks again for helping out a newbie, Ryan Peddireddy Srikanth wrote

how to run more than one tomcat on single machine

2005-07-24 Thread Peddireddy Srikanth
Michael. I am a bit new to deployment and related stuff, so can you tell me how to run more than one tomcat on a single machine. Is the process is same as having load balancing tomcat clusters on different machines. or Please direct me towards any documentation on this. I will get the info from

Re: Problem Bringing up Admin

2005-07-24 Thread Peddireddy Srikanth
may be you would have done this but I want to know... whethere you extracted all files from that admin archive (zip or tar) and placed the files in respective folders like admin.xml in catalina home\conf\Catalina\localhost admin folder in catalina home\server\webapps\ Srikanth On

running tomcat on windows as webserver and using it as webcontainer for IIS

2005-07-24 Thread Peddireddy Srikanth
Hi , Anyone can tell me whether it is better to run tomcat as stanalone webserver on windows (win 2003 to be specefic) or run it as web container along with IIS I want to know which set up would be preferrable in terms of performance and scalability of application. regards Srikanth.P

Re: Max thread/session timeouts

2005-07-22 Thread Peddireddy Srikanth
Michael, your mail is very informative. we have a very similar set up (4 Xeon processors 3.5 GB Ram and WIn2003 Standard edition) and hardpart is that we cant change this setup and switch to Linux. So what you told Tomcat on Windows doesn't scale well is bothering me I heard about clustering on

Re: Max thread/session timeouts

2005-07-22 Thread Peddireddy Srikanth
Hi Michael, Thanks for the information. I will try to further study this problem and let you know if I found anything useful. Mean while can you let me know about any JVM options that you are using for running your tomcat and that you think will be useful in server performance and scalability. So

Re: Tomcat and SSL

2005-07-20 Thread Peddireddy Srikanth
i dont think https and http requests from the same machine will be having any impact on the session created already. I mean even if u call request.getSession(true) in a secure page and if a valid session already exists , nothinng like creating a new session and invalidating it will happen. There

Re: Connection pool exhausted

2005-07-20 Thread Peddireddy Srikanth
hi, u have to close the connection, sothat container puts it back in the pool . as u set maxActive=100 at max only 100 connections will be maintained in pool and as u r not closing the connection, u would have ran out of all the connections available in pool (ie 100) closing the connection should

tomcat server mode and client mode

2005-07-18 Thread Peddireddy Srikanth
Hi all, I have a basic doubt in tomcat configuration . Though Iam not new java development Iam new to tomcat configuration. can any one can tellme about diff between tomcat's server mode and client mode. Or atleast give some pointers to the related resources thank you regards Srikanth

Re: Copying an HttpServletRequest

2005-07-15 Thread Peddireddy Srikanth
I got a doubt . is your problem is not solved by putting the data computed by first JSP in the session object ?? or putting all the required data in a bean (which is created by jsp:useBean in first jsp) with session scope and accessing that bean in second jsp ?? with out seeing the entirety of

Re: Session Mixup

2005-07-14 Thread Peddireddy Srikanth
Hi, It never happened to me and it will not happen also unless there is some serious bug in ur code. Are you six people trying to login simultaneously from different machines? Or trying to login from same system one after another from same system? If it is the second case, then it copuld be the

Re: Session Mixup

2005-07-14 Thread Peddireddy Srikanth
srinivas, can u post the code fragment which contains all statements from creating the new user bean : userInfo to settin it in session and any other related XML if any On 7/14/05, Srinivas Gunturu [EMAIL PROTECTED] wrote: All 6 of us are logging simultaneously from different machines.

Re: out of memory error while load testing

2005-07-14 Thread Peddireddy Srikanth
Hi, Its giving out of memory over a period of time (i.e after test ran for some time ) not immediately after starting the test Follwing settings are given in my server.xml For HTTP Connector port=80 maxThreads=500 minSpareThreads=25 maxSpareThreads=75

Re: out of memory error while load testing

2005-07-14 Thread Peddireddy Srikanth
I forgot to give details about my Application and test. These details might give you people an idea about the problem area. In this app. users has to enter login ID and pwd in home page which will be sent to a resource which validates these details, say LoginValidation this resource will then