Re: How to solve this bug

2010-08-21 Thread André Warnier
Ranjith wrote: Hi all, I created a war using ant and deployed and got this error how can i solve it. HTTP Status 500 - -- *type* Exception report *message*** *description* *The server encountered an internal error () that prevented it from fulfilling this request.*

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.

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 khanya...@yahoo.com 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

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

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

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 wesley.ache...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Sat, August 21, 2010 3:16:23

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 wesley.ache...@gmail.com To: Tomcat Users List

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 felix.schumac...@internetallee.de To: Tomcat Users List

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 Felix Schumacher
Yawar Khan khanya...@yahoo.com 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

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 khanya...@yahoo.com To: Tomcat Users

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

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

Re: How stable is Tomcat?

2010-08-21 Thread Yawar Khan
thank you marco for your insight and sharing your experience. From: Marco Castillo mabcasti...@vdkit.net To: Tomcat Users List users@tomcat.apache.org Sent: Sat, August 21, 2010 7:09:09 PM Subject: Re: How stable is Tomcat? I totally agree with Michel. We

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

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 Pid *
On 21 Aug 2010, at 18:09, Ken Fox k...@vulpes.com 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

Re: How stable is Tomcat?

2010-08-21 Thread Ken Fox
On Sat, Aug 21, 2010 at 2:42 PM, Pid * p...@pidster.com 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

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 and

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.. http://copperykeenclaws.wordpress.com/2010/08/19/embedding-tomcat-7/Paul On Wed, Aug 4, 2010 at 2:34 AM, David Calavera