Re: tomcat 7.0 embedded usage

2010-08-21 Thread Mondain
This was blogged earlier this week.. http://copperykeenclaws.wordpress.com/2010/08/19/embedding-tomcat-7/ I'll be using this info for the Red5 plugin very soon.. Paul On Wed, Aug 4, 2010 at 2:34 AM, David Calavera wrote: > Hi,

RE: Mapping REST requests across multiple app contexts

2010-08-21 Thread Caldarale, Charles R
> From: Ken Fox [mailto:k...@vulpes.com] > Subject: Mapping REST requests across multiple app contexts > > I'm trying to implement the rewrite as a Valve If you place the standard rewrite filter in the ROOT context, you can catch any requests that do not directly map to the appropriate webapp an

Re: How stable is Tomcat?

2010-08-21 Thread Ken Fox
On Sat, Aug 21, 2010 at 2:42 PM, Pid * wrote: > We don't usually count web traffic in hits any more, because a single > page could easily cause 100 hits. I think hits to your app servers is still an appropriate way to think about your server load. If a page view generates 100 hits to your Tomcat

Re: How stable is Tomcat?

2010-08-21 Thread Pid *
On 21 Aug 2010, at 18:09, Ken Fox wrote: > My company has run Tomcat apps on Amazon's EC2 that have exceeded 1,500 hits > per *second*. We use Amazon's load balancer in front of a variable number of > Tomcat instances (each on their own EC2 instance). For 1,500 hits per day > you probably only ne

Mapping REST requests across multiple app contexts

2010-08-21 Thread Ken Fox
I'm looking for advice on the best way to map REST requests onto a collection of Tomcat apps all running in the same JVM. The REST name space was designed for client use and doesn't reflect how the apps implement it. For example, the resource "/v1/x/123" is implemented by app X, but the resource "/

Re: How stable is Tomcat?

2010-08-21 Thread Ken Fox
My company has run Tomcat apps on Amazon's EC2 that have exceeded 1,500 hits per *second*. We use Amazon's load balancer in front of a variable number of Tomcat instances (each on their own EC2 instance). For 1,500 hits per day you probably only need one small EC2 instance running a single Tomcat.

Re: How stable is Tomcat?

2010-08-21 Thread David Kerber
Yawar Khan wrote: Guys, is tomcat stable enough to host large scale production applications getting 1500+ hits everyday? and as much concurrent database connections. I know alot depends on the applications architecture but just how good is tomcat? My app has approx 550 - 600 simultaneous

Re: How stable is Tomcat?

2010-08-21 Thread Yawar Khan
thank you marco for your insight and sharing your experience. From: Marco Castillo To: Tomcat Users List Sent: Sat, August 21, 2010 7:09:09 PM Subject: Re: How stable is Tomcat? I totally agree with Michel. We developed a JSF 2.0 application using Tomcat as t

RE: How stable is Tomcat?

2010-08-21 Thread Caldarale, Charles R
> From: Yawar Khan [mailto:khanya...@yahoo.com] > Subject: How stable is Tomcat? > > is tomcat stable enough to host large scale production > applications http://wiki.apache.org/tomcat/PoweredBy > getting 1500+ hits everyday? As others have stated, 1500 hits a day is down in the noise level. >

Re: How stable is Tomcat?

2010-08-21 Thread Marco Castillo
I totally agree with Michel. We developed a JSF 2.0 application using Tomcat as the web container. Tomcat is as stable as the application you develop. The system we develop hosts a RIA application based on ICEFaces for almost 5000 users and after a lot of debugging and jvm fine tunning, we now have

Re: How stable is Tomcat?

2010-08-21 Thread michel
I think that maybe you are mixing up stability and scalability. While they are connected, an unstable system can fail at low volume. Also, I don't think that 1500 hits a day is that much. Michel - Original Message - From: "Yawar Khan" To: "Tomcat Users" Sent: Saturday, August 21

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Felix Schumacher
"Yawar Khan" schrieb: >thanks felix, very nicely explained! > >but do you think that declaring connection and rs variables outside the login >function is causing the sessions mixup issue? > > Yes. But I think it is not messing with sessions, but rather messing with the values of your user b

How stable is Tomcat?

2010-08-21 Thread Yawar Khan
Guys, is tomcat stable enough to host large scale production applications getting 1500+ hits everyday? and as much concurrent database connections. I know alot depends on the applications architecture but just how good is tomcat?

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Yawar Khan
thanks felix, very nicely explained! but do you think that declaring connection and rs variables outside the login function is causing the sessions mixup issue? From: Felix Schumacher To: Tomcat Users List Sent: Sat, August 21, 2010 4:13:52 PM Subject: RE:

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Pid
On 21/08/2010 13:04, Yawar Khan wrote: > wesley, no i am not using sql bindings, what are the security holes? > > you havent told me why my sessions are getting mixed up here? Felix has. p > > From: Wesley Acheson > To: Tomcat Users List > Sent: Sat, August

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Yawar Khan
wesley, no i am not using sql bindings, what are the security holes? you havent told me why my sessions are getting mixed up here? From: Wesley Acheson To: Tomcat Users List Sent: Sat, August 21, 2010 3:16:23 PM Subject: Re: Sessions mix-up on Tomcat 6.0.26

RE: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Felix Schumacher
Am Freitag, den 20.08.2010, 21:54 -0700 schrieb Yawar Khan: > Chris, you identified a possible sql injection in my code and declaring it a > very bad piece of code. Despite the fact that jdbc does not allow more than 1 > query on this execute function and I am doing fields validation before > su

Re: [OT] Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Pid
On 21/08/2010 05:42, Yawar Khan wrote: > chris, i had a look at container managed authentication and its quite handy. > but > i couldnt see how i can add extra functionality like calling an encryption > function on password text field before tomcat does its authentication on it. The Tomcat Docu

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-21 Thread Wesley Acheson
On Sat, Aug 21, 2010 at 6:54 AM, Yawar Khan wrote: > Chris, you identified a possible sql injection in my code and declaring it > a > very bad piece of code. Despite the fact that jdbc does not allow more than > 1 > query on this execute function and I am doing fields validation before > submissi

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-21 Thread Pid
On 20/08/2010 22:40, Wesley Acheson wrote: > I'm a bit lost with this thread. Are people suggesting I should submit a > patch. I really wouldn't know where to begin looking. That's where the discussion was heading. Tomcat is Open Source. The first place to look would be SVN. http://svn.apache.