Well to be honest I didnt know any better :-)

A friend of mine who is a better developer than I am recommended it. I have
no real reason.

On Tue, Sep 16, 2014 at 6:18 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Elias,
>
> On 9/16/14 4:55 PM, Elias Kopsiaftis wrote:
> > I managed to solve the problem, nothing to do with Tomcat actually.
> > Turns out that I didnt configure c3p0 right so the application was
> > being starved for db resources, causing it to look like it was
> > hanging or crashing. Thats why there was no error in the tomcat
> > logs, nothing went wrong with Tomcat
>
> I'm interested in why you are using c3p0. I often ask people who they
> are using it and they say "because commons-dbcp is crap" but a) they
> have been looking at decade-old complaints of DBCP and b) c3p0 doesn't
> have any production-quality released, yet.
>
> So I'm wondering why you are using c3p0 instead of either Tomcat's
> default DBCP or tomcat-pool which should be higher-performance if you
> feel like you need that.
>
> - -chris
>
> > On Tue, Sep 16, 2014 at 12:05 PM, Elias Kopsiaftis
> > <yemi...@gmail.com> wrote:
> >
> >> Hey,
> >>
> >> I actually answered my own question. Turns out config was not on
> >> comet page but on connectors page for NIO connectors.
> >>
> >> I do have another problem though. Stress tester connects and
> >> works fine when I lower number of connections from 20 to 10,
> >> however, when the program exits and everything disconnects,
> >> tomcat either crashes or hangs with no exception or error being
> >> printed in the log. Im pretty sure its tomcat and not just the
> >> web app because tomcat manager is inaccessible as well. Any
> >> suggestions on trouble shooting this?
> >>
> >>
> >> On Tue, Sep 16, 2014 at 8:59 AM, Elias Kopsiaftis
> >> <yemi...@gmail.com> wrote:
> >>
> >>> I am using Tomcat7 on Linux and was wondering, is there any way
> >>> to increase the number of comet threads? Is there a max number
> >>> of CometEvents that can be queued? I have a feeling either
> >>> certain connections are not logging themselves, or they are
> >>> being dropped due to an overload caused by my stress tester.
> >>> The stress tester launches 20 threads that all connect to an
> >>> initial servlet i use for logging in, and then to the comet
> >>> servlet. The login servlet is logging about 19-20 connections
> >>> consistently, though Im not sure why one is missing on
> >>> occasion.
> >>>
> >>>
> >>
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: GPGTools - http://gpgtools.org
>
> iQIcBAEBCAAGBQJUGLdCAAoJEBzwKT+lPKRY1IIP/RHhfuszrF3wmzltiSjY6KYP
> afxXJTAoCFXLB66lQABdFp/1wCEroUZuQBhJ19TnAIzOvCjNhtoSSGGDnC6ExqnL
> Ubt4PQrwu/8Ghzzf12qlnW175l/gFJMKR7WogjDOw9kkwWue/S2zhxmIAryhUYzC
> +p72cGzHqyL3PVMiNRlycqfQzDMaTNnvOOMrU4GkpSefurySCQcwevCyTNtZcqpa
> P5fXibdfHdCAl92fMMoOl6Dqk2sbbmRRd77mV8wL82Hox4dzaGSAkKeBjaRDw0y4
> Ngk9BRpwcMw5QedKnHCX4f3QEUS323rDj/mOysyaai00nA3IlW8H3XcXPP/1DOfM
> /bMwXUC3D7ZwvTz+1/XbOreLMcVIJmh17z2fMk8KHgRjAE9eFIC/QhIV+cHDGi7l
> gU7NezjP7p3yamMi2XCRiw2By4aCIjWnMnBfjoz5D8nmISpl1u/DE+Ez/HKE7qtN
> SfyQdSVZeeLOXgQLywLjd4xot5J6vO1miIlFP5nDCtIjHMNbebNbdtpbn8dY6lw0
> 0kWEaHEfih4BZLVmCjjrxI6AYfAK1H0YAH4Hornd32+8+J7iEeKmdMzwFKrL9VCu
> 9uYUyiyy0AGd9DIbEfir2qOF/ZrXwyXtYlsSFkEDMLcN1rQUpGgA/RmBHj/+GvVL
> Kc0NwvOs99aFZtVMDGzk
> =esd6
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to