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 S

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 ano

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: Forward request from apache to specific web application

2009-01-25 Thread Salalam
I'm deploying the application to the root context now ('/') and using a http-proxy in apache. With that config everthing works fine (Tomcat-Sessions, Cookies, Links). Deploying the application in root seems to be easier than deploying it in an other context (regarding the apache-configuration). --

Re: Can TomCat run WITHOUT Apache?

2009-01-25 Thread Gregor
yes Am 25.01.2009 um 09:23 schrieb 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

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 p

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] R

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" To: Sent: Sunday, January 25, 2009 9:15 AM Subject: Fresh install problems Hi Guys I downloaded Tomcat 6.0.18 and JDK 6 Update 11 - Installed the JDK followed by tomcat, spe

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 wrote: > OK, here is a stupid question, but isn't he JDK included in Tomcat? > > > > - Original Message - > From: "Shaolin" > To: > Sent: Sunday, January 25, 2009 9:15 AM

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: users

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" To: Sent: Sunday, January 25, 2009 9:15 AM Subject: Fresh install problems Hi Guys I downloaded Tomcat 6.0.18 and JDK 6 Update 1

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 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 Message

Re: Fresh install problems

2009-01-25 Thread michel
make that one more stupid assumption for moi! - Original Message - From: "Ken Bowen" To: "Tomcat Users List" 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 stupid question, but isn't he JDK

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 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 wrote: >> No. >> >> On Jan 25, 2009, at 9:18 AM

Re: Fresh install problems

2009-01-25 Thread Shaolin
64 bit On 25/01/2009, Len Popp wrote: > Are you using the 32-bit or 64-bit version of the JRE? > -- > Len > > On Sun, Jan 25, 2009 at 09:47, Shaolin 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 Bo

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 writte

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 w

RE: Logging configuration in Tomcat

2009-01-25 Thread Jay
--- On Tue, 1/13/09, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Logging configuration in Tomcat To: "Tomcat Users List" Date: Tuesday, January 13, 2009, 11:29 AM > From: Jay [mailto:difficult...@yahoo.com] > Subject: RE: Logging configuration in Tomcat > > I guess, T

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 Tomcat

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 directo

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 wa

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 wrote: > The problem is that you're running the 32-bit version of the Tomcat >

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 a

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 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 404 /errors/404.html But I want the error page to be ROOT/errors/404.html Thanks. - To

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 t

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. Y

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 attachmen

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 COMMUNI