RE: Multiple tomcat containers or instance on same servers

2013-05-04 Thread Kunal Dabir
Sorry for jumping in late. I am not sure if it's still relevant to the discussion, but long back I had written a small script to help me setup something similar on a windows box. Primarily to use multiple instances using same binaries. https://code.google.com/p/tomcat-instance-manager/ You c

Some help with Security Manager

2013-05-04 Thread Alejandro Garcia
Hi, I’m using Tomcat with JSF, ICEFaces, Spring and JPA. The configuracion and the app work very well when I deploy it with the security managed disabled. The problem is when I enable the security manager, I can’t deploy the app. In the I can see the next trace: INFO: Desplieque del descriptor

Re: Status 204 (no content) and Content-Type header

2013-05-04 Thread Mark Thomas
On 04/05/2013 21:21, Mark Thomas wrote: > On 04/05/2013 20:43, Rossen Stoyanchev wrote: >> >> It appears that Tomcat ignores the Content-Type header when the >> status is set to 204 (No Content). > > Correct. It happens in AbstractHttp11Processor.prepareResponse() > >> I can see the rational for

Re: Status 204 (no content) and Content-Type header

2013-05-04 Thread Mark Thomas
On 04/05/2013 20:43, Rossen Stoyanchev wrote: > > It appears that Tomcat ignores the Content-Type header when the > status is set to 204 (No Content). Correct. It happens in AbstractHttp11Processor.prepareResponse() > I can see the rational for that, > however is there a strong reason why Tomcat

Status 204 (no content) and Content-Type header

2013-05-04 Thread Rossen Stoyanchev
It appears that Tomcat ignores the Content-Type header when the status is set to 204 (No Content). I can see the rational for that, however is there a strong reason why Tomcat should care if it is set by the application? There are some corner cases [1]. Rossen [1] https://github.com/sockjs/

Re: Designing for Load on TomCat

2013-05-04 Thread David Kerber
On 5/4/2013 1:24 PM, Mark Thomas wrote: On 04/05/2013 16:01, Yogesh wrote: Well my question is Is it a common design practice from your experiences to configure one node (maxthreads) for the scenario where all other nodes amongst which the load was distribued fail ? You design for whatever l

Re: proper context usage

2013-05-04 Thread Mark Thomas
On 04/05/2013 17:15, Istvan Devai wrote: > Questions: > - Any idea how to have an external, application specific (that is, > non-shared) context file that is not deleted on redeployment in the > manager? > - Or maybe deploy the app in a different way that retains the > app-specific context file? >

Re: Designing for Load on TomCat

2013-05-04 Thread Mark Thomas
On 04/05/2013 16:01, Yogesh wrote: > Well my question is Is it a common design practice from your experiences to > configure one node (maxthreads) for the scenario where all other nodes > amongst which the load was distribued fail ? You design for whatever level of resilience you need to meet t

proper context usage

2013-05-04 Thread Istvan Devai
Hi all, My problem is, that I'd like to configure a valve for only one deployed application (deployed as a .war file) Here are the ways I've already tried: - Putting the element into server.xml. This works, however, after doing this, the manager application won't let me redeploy the applic

Re: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread Zachery
Hi Konstantin Regards, Zachery On 4 May, 2013, at 22:04, Konstantin Preißer wrote: > Hi Zachery, > >> -Original Message- >> From: Zachery [mailto:fang...@me.com] >> Sent: Saturday, May 4, 2013 2:22 PM >>> Well, IF you turn off the Windows Firewall (just for a moment, just for >> testi

Re: Designing for Load on TomCat

2013-05-04 Thread Yogesh
Well my question is Is it a common design practice from your experiences to configure one node (maxthreads) for the scenario where all other nodes amongst which the load was distribued fail ? On the cluster part, wrt tomcats talking to each other do you mean the session replication feature or

Re: Designing for Load on TomCat

2013-05-04 Thread André Warnier
yogesh hingmire wrote: On Sat, May 4, 2013 at 7:07 AM, André Warnier wrote: yogesh hingmire wrote: While planning / designing to build a web app that must scale to 2000 concurrent users, distributed across 5 Tomcat nodes in a cluster, Apache at the front of course and the ability to serv

Re: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread André Warnier
Zachery wrote: ... >>> Then only method I find by far is *turning off my windows firewall*! But >>> this is not preferred since the potential security risk. >> Well, IF you turn off the Windows Firewall (just for a moment, just for >> testing), does it work ? > Yes! > This works! I can access my

RE: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread Konstantin Preißer
Hi Zachery, > -Original Message- > From: Zachery [mailto:fang...@me.com] > Sent: Saturday, May 4, 2013 2:22 PM > > Well, IF you turn off the Windows Firewall (just for a moment, just for > testing), does it work ? > Yes! > This works! I can access my apache server from other machines! > >

Re: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread Zachery
Regards, Zachery On 4 May, 2013, at 20:10, André Warnier wrote: > Zachery wrote: >> Dear all, >> I have installed the apache-tomcat server on my local win8. The port I >> specified is . >> Additionally, I use the distributed binary version of apache tomcat. Not >> installing as a windows

Re: Designing for Load on TomCat

2013-05-04 Thread yogesh hingmire
Thanks Andre and sorry for not mentioning about the other content that are actually requested by http get's from the jsp served., There is quite a lot of ajax calls and static content and that can be served out of httpd, but as of now it is not. I know not the best way, so i assume i have to increm

Re: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread André Warnier
Zachery wrote: Dear all, I have installed the apache-tomcat server on my local win8. The port I specified is . Additionally, I use the distributed binary version of apache tomcat. Not installing as a windows service. I can access my service by |http://localhost:| and |http://myIPAd

Re: Designing for Load on TomCat

2013-05-04 Thread André Warnier
yogesh hingmire wrote: While planning / designing to build a web app that must scale to 2000 concurrent users, distributed across 5 Tomcat nodes in a cluster, Apache at the front of course and the ability to serve 20 concurrent requests per seconds during business hours, with a page response time

Re: Monitoring Tomcat - Delta Values

2013-05-04 Thread Konstantin Kolinko
2013/5/4 evernat : > Hi Christopher and all, > > Since JavaMelody is quite often named to monitor Tomcat in this mailing list > and is open-source, JavaMelody could be added in the FAQ/Monitoring wiki > page indeed. I can send a one phrase description if you want. > > Or can someone add me in the C

Designing for Load on TomCat

2013-05-04 Thread yogesh hingmire
While planning / designing to build a web app that must scale to 2000 concurrent users, distributed across 5 Tomcat nodes in a cluster, Apache at the front of course and the ability to serve 20 concurrent requests per seconds during business hours, with a page response time of 5 seconds, how would

Re: Monitoring Tomcat - Delta Values

2013-05-04 Thread evernat
Hi Christopher and all, Since JavaMelody is quite often named to monitor Tomcat in this mailing list and is open-source, JavaMelody could be added in the FAQ/Monitoring wiki page indeed. I can send a one phrase description if you want. Or can someone add me in the ContributorsGroup of the Tomcat