Can TomCat run WITHOUT Apache?

2009-01-25 Thread thoste
Sorry for this newbie question: Can TomCat run WITHOUT Apache? AFAIK yes. Apache is only useful when performance for static HTML pages is needed. On the other side TomCat can run independently from Apache and can serve as a server for the following techs: Servlets, Java Server Faces, Java

Transfer all HttpSessions from one cluster node to another

2009-01-25 Thread nlif
Hi all, We intend to run in a cluster, with stickiness enabled, and without replication. This of course does not give us failover capabilities, in case of a server crash, but it is sufficient for our needs. However, we would like to be able to transfer all sessions currently on one node, to

Re: GenericType error?

2009-01-25 Thread Mark Thomas
Jonathan Mast wrote: I only thing is that the corruption (actually SVN's DIFF notation) was nowhere near line 28, it was further down in the file. Perhaps Tomcat could have been helpful in indicating this. That is caused by a bug that is fixed in later Tomcat versions. Mark

Re: Can TomCat run WITHOUT Apache?

2009-01-25 Thread Gregor
yes Am 25.01.2009 um 09:23 schrieb thoste tho...@email.com: Sorry for this newbie question: Can TomCat run WITHOUT Apache? AFAIK yes. Apache is only useful when performance for static HTML pages is needed. On the other side TomCat can run independently from Apache and can serve as a

Re: [OT] run tomcat as tomcat user

2009-01-25 Thread André Warnier
Rusty Wright wrote: [...] The \( \) is the grouping thing where what matches in it is then substituted for as the \1 on the right hand side. Yes, but if you escape them with \ , do they still get seen as (meta) grouping indicators, or as plain ( and ) ? (I don't remember what sed wants

Fresh install problems

2009-01-25 Thread Shaolin
Hi Guys I downloaded Tomcat 6.0.18 and JDK 6 Update 11 - Installed the JDK followed by tomcat, specified JRE path (C:\Program Files\Java\jdk1.6.0_11\jre). The problem is it doesnt start. Here are the log errors: [2009-01-25 03:00:28] [info] Procrun (2.0.4.0) started [2009-01-25 03:00:28] [info]

Re: Fresh install problems

2009-01-25 Thread michel
OK, here is a stupid question, but isn't he JDK included in Tomcat? - Original Message - From: Shaolin shaolinfin...@gmail.com To: users@tomcat.apache.org Sent: Sunday, January 25, 2009 9:15 AM Subject: Fresh install problems Hi Guys I downloaded Tomcat 6.0.18 and JDK 6 Update

Re: Can TomCat run WITHOUT Apache?

2009-01-25 Thread André Warnier
Ok, I'll bite, and improve a bit on Gregor's correct but rather terse response. thoste wrote: Sorry for this newbie question: Can TomCat run WITHOUT Apache? Yes. AFAIK yes. Apache is only useful when performance for static HTML pages is needed. The answer to that is more nuanced. Tomcat

Re: Fresh install problems

2009-01-25 Thread Shaolin
I dont know about that but you do need to specify JRE dir so that cant be part of the package. On 25/01/2009, michel compu...@videotron.ca wrote: OK, here is a stupid question, but isn't he JDK included in Tomcat? - Original Message - From: Shaolin shaolinfin...@gmail.com To:

Re: Question abut CometProcessor EventSubType.TIMEOUT semantics

2009-01-25 Thread David Boreham
Filip Hanik - Dev Lists wrote: are you calling response.flushBuffer() to flush your data? No, I was calling response.getOutputStream().flush(). I'll try your suggestion and report back, thanks. - To unsubscribe, e-mail:

Re: Fresh install problems

2009-01-25 Thread Ken Bowen
No. On Jan 25, 2009, at 9:18 AM, michel wrote: OK, here is a stupid question, but isn't he JDK included in Tomcat? - Original Message - From: Shaolin shaolinfin...@gmail.com To: users@tomcat.apache.org Sent: Sunday, January 25, 2009 9:15 AM Subject: Fresh install problems Hi Guys

Re: Fresh install problems

2009-01-25 Thread Shaolin
Ok - So what do I have to do then ? Im really lost, Ive tried every possible way I know and nothing works. On 25/01/2009, Ken Bowen kbo...@als.com wrote: No. On Jan 25, 2009, at 9:18 AM, michel wrote: OK, here is a stupid question, but isn't he JDK included in Tomcat? - Original

Re: Fresh install problems

2009-01-25 Thread michel
make that one more stupid assumption for moi! - Original Message - From: Ken Bowen kbo...@als.com To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, January 25, 2009 9:43 AM Subject: Re: Fresh install problems No. On Jan 25, 2009, at 9:18 AM, michel wrote: OK, here is a

Re: Fresh install problems

2009-01-25 Thread Len Popp
Are you using the 32-bit or 64-bit version of the JRE? -- Len On Sun, Jan 25, 2009 at 09:47, Shaolin shaolinfin...@gmail.com wrote: Ok - So what do I have to do then ? Im really lost, Ive tried every possible way I know and nothing works. On 25/01/2009, Ken Bowen kbo...@als.com wrote: No.

Re: Fresh install problems

2009-01-25 Thread Shaolin
64 bit On 25/01/2009, Len Popp len.p...@gmail.com wrote: Are you using the 32-bit or 64-bit version of the JRE? -- Len On Sun, Jan 25, 2009 at 09:47, Shaolin shaolinfin...@gmail.com wrote: Ok - So what do I have to do then ? Im really lost, Ive tried every possible way I know and nothing

RE: Logging configuration in Tomcat

2009-01-25 Thread Jay
Chuck   Finally I got it working.   As I had said, there were no System.out in my web apps code. They are log4j statements with proper syntax. Just that no log4j configuration is done for each web app. Because of this, tomcat was directing log messages to stdout which was further getting

RE: Logging configuration in Tomcat

2009-01-25 Thread Jay
Chuck   Finally I got it working.   As I had said, there were no System.out in my web apps code. They are log4j statements with proper syntax. Just that no log4j configuration is done for each web app. Because of this, tomcat was directing log messages to stdout which was further getting

RE: Logging configuration in Tomcat

2009-01-25 Thread Jay
--- On Tue, 1/13/09, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R chuck.caldar...@unisys.com Subject: RE: Logging configuration in Tomcat To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, January 13, 2009, 11:29 AM From: Jay

Re: Fresh install problems

2009-01-25 Thread André Warnier
Shaolin wrote: Hi Guys I downloaded Tomcat 6.0.18 and JDK 6 Update 11 - Installed the JDK followed by tomcat, specified JRE path (C:\Program Files\Java\jdk1.6.0_11\jre). The problem is it doesnt start. Here are the log errors: Hi. Before anything else, just verify the following : In the

Re: Fresh install problems

2009-01-25 Thread Len Popp
The problem is that you're running the 32-bit version of the Tomcat service wrapper (tomcat6.exe) so it can't load the 64-bit JRE. I think you can use the 64-bit exe's from here: https://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin/amd64/ Replace the ones in your Tomcat bin

Re: Question abut CometProcessor EventSubType.TIMEOUT semantics

2009-01-25 Thread David Boreham
David Boreham wrote: Filip Hanik - Dev Lists wrote: are you calling response.flushBuffer() to flush your data? No, I was calling response.getOutputStream().flush(). I'll try your suggestion and report back, thanks. This made no difference, btw. It's broken in the same way as before. Do you

Re: Fresh install problems

2009-01-25 Thread Shaolin
Thanks guys for the replies. Len, you are right, I d/led the 64 bit for tomcat 6 and it works now. http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_18/res/procrun/amd64/ Thanks guys On 25/01/2009, Len Popp len.p...@gmail.com wrote: The problem is that you're running the 32-bit

Re: Question abut CometProcessor EventSubType.TIMEOUT semantics

2009-01-25 Thread Filip Hanik - Dev Lists
are you able to submit a simple example, and we shall get it taken care of Filip David Boreham wrote: David Boreham wrote: Filip Hanik - Dev Lists wrote: are you calling response.flushBuffer() to flush your data? No, I was calling response.getOutputStream().flush(). I'll try your suggestion

Re: Transfer all HttpSessions from one cluster node to another

2009-01-25 Thread Filip Hanik - Dev Lists
nlif wrote: Hi all, We intend to run in a cluster, with stickiness enabled, and without replication. This of course does not give us failover capabilities, in case of a server crash, but it is sufficient for our needs. However, we would like to be able to transfer all sessions currently on

Is it possible for error page from one webapp to direct to another?

2009-01-25 Thread removeps-groups
Is it possible for error page from one webapp to direct to another? What I'm thinking is: In mywebservice/WEB-INF/web.xml error-page error-code404/error-code location/errors/404.html/location /error-page But I want the error page to be ROOT/errors/404.html Thanks.

Re: Can TomCat run WITHOUT Apache?

2009-01-25 Thread Gregor Schneider
André, actually I was provoking some comment like yours ;) To the OP: There are a lot of threads regaring this topic here in the tomcat userlist, and I believe so are some information on the tomcat website. To complete André's posting regarding static content: Tomcat offers the option to use

Re: [OT] run tomcat as tomcat user

2009-01-25 Thread Rusty Wright
When you put a backslash in front of them they become part of the matching machinery's special characters, like . [ and so on. Without the backslash they're normal characters and matched as-is. So if you had the sed command s/(a)+/z/ and you fed it the string aaa, you would not get back z.

RE: Can TomCat run WITHOUT Apache?

2009-01-25 Thread Martin Gainty
if more than 50% of your pages are static html use Apache HTTP server as Apache serves HTML faster than TC if static html is less than 50% of your pages use TC Martin __ Disclaimer and confidentiality note Everything in this e-mail and any

RE: Can TomCat run WITHOUT Apache?

2009-01-25 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Can TomCat run WITHOUT Apache? if more than 50% of your pages are static html use Apache HTTP server as Apache serves HTML faster than TC Not true, as has been properly pointed out by Andre and Gregor. - Chuck THIS