Hardware requirements for Tomcat

2008-10-11 Thread Arun M
Hi All, I need to know the hardware requirements in CentOS for hosting a website which have 1000 concurrent users. I am using Tomcat 5.5, Mysql 5.1 and Java1.5. We are planning to host two servers one for application server and other for database server. What should be hardware requirements for

RE: [OT] Why can NOT run Tomcat on my Laptop

2008-10-11 Thread Caldarale, Charles R
> From: André Warnier [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] Why can NOT run Tomcat on my Laptop > > Allowing spaces in directory and file names was a nutty > idea which has cost more over time than the Iraq war and > current financial debacle combined. (I'll assume the above is sarcastic,

Re: [OT] Why can NOT run Tomcat on my Laptop

2008-10-11 Thread Len Popp
On Sat, Oct 11, 2008 at 16:45, André Warnier <[EMAIL PROTECTED]> wrote: > Caldarale, Charles R wrote: >>> >>> From: IceManPat [mailto:[EMAIL PROTECTED] >>> Subject: Re: Why can NOT run Tomcat on my Laptop >>> >>> C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07 >> >> The problem is you have a s

Re: [OT] Why can NOT run Tomcat on my Laptop

2008-10-11 Thread André Warnier
Caldarale, Charles R wrote: From: IceManPat [mailto:[EMAIL PROTECTED] Subject: Re: Why can NOT run Tomcat on my Laptop C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07 The problem is you have a space before the equals sign; that makes the environment variable "JAVA_HOME " (note the traili

RE: Why can NOT run Tomcat on my Laptop

2008-10-11 Thread Caldarale, Charles R
> From: IceManPat [mailto:[EMAIL PROTECTED] > Subject: Re: Why can NOT run Tomcat on my Laptop > > C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07 The problem is you have a space before the equals sign; that makes the environment variable "JAVA_HOME " (note the trailing space), rather than

RE: Why can NOT run Tomcat on my Laptop

2008-10-11 Thread Martin Gainty
any environment variables you refererence have to conform to the 8.3 convention e.g as long folder and filenames with whitespace characters cannot be read by 95% of I/O routines but.. using the 8.3 shortened name always works e.g so this wont work set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_0

RE: Non-secure HTTP connector with secure="true" requires a keystore?

2008-10-11 Thread Martin Gainty
I found documentation the http://tomcat.apache.org/tomcat-6.0-doc/printer/ssl-howto.html states that situation accurately Congratulations chris on finding a bonafide bug on Tomcat 5.5.26 doc Martin Gainty __ Disclaimer and confidentiality note Every

Re: Non-secure HTTP connector with secure="true" requires a keystore?

2008-10-11 Thread Mark Thomas
Christopher Schultz wrote: > Chuck, > > Caldarale, Charles R wrote: >> The code in 6.0 is noticeably different from that in 5.5 for protocol >> initialization, including setting up the socket factory. Would it be >> possible to test the config on 6.0 to see if you can achieve the >> desired resul

Re: Why can NOT run Tomcat on my Laptop

2008-10-11 Thread Konstantin Kolinko
2008/10/11 IceManPat <[EMAIL PROTECTED]>: > > It still says environment variable not correctly defined ..and i also > closed the Glassfish ...I do not use any printers nowthere should not > have any conflict on port 8080. > > In cmd.exe window > > In cmd.exe window I type > > C:\>set J

Re: Why can NOT run Tomcat on my Laptop

2008-10-11 Thread IceManPat
Nothing written in my logs filesit's empty.. Konstantin Kolinko wrote: > > In cmd.exe window type > set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07 > or whetever the path to your jdk is, or JRE_HOME= .. if you only have a > JRE. > > Also, if your Glassfish, or some other Tomcat instance (

Re: Why can NOT run Tomcat on my Laptop

2008-10-11 Thread IceManPat
It still says environment variable not correctly defined ..and i also closed the Glassfish ...I do not use any printers nowthere should not have any conflict on port 8080. In cmd.exe window In cmd.exe window I type C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07 The location

Re: Why can NOT run Tomcat on my Laptop

2008-10-11 Thread Konstantin Kolinko
In cmd.exe window type set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07 or whetever the path to your jdk is, or JRE_HOME= .. if you only have a JRE. Also, if your Glassfish, or some other Tomcat instance (like some HP printer management page) is already running, there can be port numbers conflict.

Re: Why can NOT run Tomcat on my Laptop

2008-10-11 Thread IceManPat
Pid-2 wrote: > > IceManPat wrote: >> Hi >> >> Guys, I am new to Tomcat . I have downloaded the installer for windows >> (apache-tomcat-6.0.18) , it installed successfully on my machine . But >> whenever I try to start the service it just not running the buffer >> bar >> will go for about

Re: Why can NOT run Tomcat on my Laptop

2008-10-11 Thread Pid
IceManPat wrote: > Hi > > Guys, I am new to Tomcat . I have downloaded the installer for windows > (apache-tomcat-6.0.18) , it installed successfully on my machine . But > whenever I try to start the service it just not running the buffer bar > will go for about 1,2 seconds then it just stopp

Re: setHeader after DoFilter delegation in filter?

2008-10-11 Thread Pid
André Warnier wrote: > Hi. > I found an approximative example for you, here : > http://www.javafaq.nu/java-example-code-237.html > (searching Google for "HttpServletResponseWrapper example" > > If I remember well, what you want to achieve is : depending on the > response content that the webapp ge

Re: Why can NOT run TomCat on my LapTop

2008-10-11 Thread Leon Rosenberg
Download the zip version, unpack it somewhere, open cmd.exe, goto this somewhere, run bin\catalina.bat run and watch the output. regards leon On Sat, Oct 11, 2008 at 12:05 PM, IceManPat <[EMAIL PROTECTED]> wrote: > > Hi > > Guys, I am new to TomCat . I have downloaded the installer for windows >

Why can NOT run TomCat on my LapTop

2008-10-11 Thread IceManPat
Hi Guys, I am new to TomCat . I have downloaded the installer for windows (apache-tomcat-6.0.18) , it installed successfully on my machine . But whenever I try to start the service it just not running the buffer bar will go for about 1,2 seconds then it just stopped. Any suggestions ?? By

Re: setHeader after DoFilter delegation in filter?

2008-10-11 Thread André Warnier
Hi. I found an approximative example for you, here : http://www.javafaq.nu/java-example-code-237.html (searching Google for "HttpServletResponseWrapper example" If I remember well, what you want to achieve is : depending on the response content that the webapp generates, you would like to set a