Re: Configuring Comet application

2014-09-16 Thread Elias Kopsiaftis
56 > > 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 &g

Re: Configuring Comet application

2014-09-16 Thread Elias Kopsiaftis
On Tue, Sep 16, 2014 at 12:05 PM, Elias Kopsiaftis 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 > w

Re: Configuring Comet application

2014-09-16 Thread Elias Kopsiaftis
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 wrote: >

Configuring Comet application

2014-09-16 Thread Elias Kopsiaftis
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

Re: stress testing tomcat applications

2014-09-12 Thread Elias Kopsiaftis
Thanks! I will look into JMEter On Fri, Sep 12, 2014 at 10:55 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Elias, > > On 9/12/14 10:24 AM, Elias Kopsiaftis wrote: > > I apologize for my l

Re: stress testing tomcat applications

2014-09-12 Thread Elias Kopsiaftis
java application to connect to the tomcat server. As for the original problem, sessions were not getting lost, it was a concurrency issue within my stress tester. Thank you all for your responses On Fri, Sep 12, 2014 at 10:15 AM, Konstantin Kolinko wrote: > 2014-09-11 17:07 GMT+04:00 El

Re: stress testing tomcat applications

2014-09-11 Thread Elias Kopsiaftis
11.9.2014 2:03, Elias Kopsiaftis wrote: > >> My best guess is that tomcat doesnt like to accept requests coming for two >> different logins from the same IP and same program. Is that accurate? Is >> anything else that could be going wrong here? >> > > Tomcat sho

stress testing tomcat applications

2014-09-10 Thread Elias Kopsiaftis
Hi, I am working on a stress tester for my application, however, from within the stress tester, sometimes it loses the sessionid An overview of the process is 1. login to application and get sessionid 2. send subsequent requests to server that sessionid 3. Repeat steps 1 and 2 for multiple users

Re: COMET End event subtype= null

2014-08-01 Thread Elias Kopsiaftis
ok now it is properly configured(I was missing the slash at the end of the tag), but Im still getting null for event subtypes. Any thoughts? On Fri, Aug 1, 2014 at 11:18 AM, Elias Kopsiaftis wrote: > ok looks like i have the configuration

Re: COMET End event subtype= null

2014-08-01 Thread Elias Kopsiaftis
ok looks like i have the configuration of org.apache.catalina.valves.CometConnectionManagerValve wrong. sorry about that. Still have the random disconnect error though On Fri, Aug 1, 2014 at 10:46 AM, Elias Kopsiaftis wrote: > I am developing a COMET application that is primarily based on

COMET End event subtype= null

2014-08-01 Thread Elias Kopsiaftis
I am developing a COMET application that is primarily based on the example given on the documentation of the chat server. My problem is that when two users connect, the connection held open by the comet servlet is closed. I know this because I am getting END events in my log. The confusing part is,

Re: comet question

2014-05-29 Thread Elias Kopsiaftis
doing On Thu, May 29, 2014 at 3:13 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Elias, > > On 5/29/14, 3:08 PM, Elias Kopsiaftis wrote: > > To make sure it doesnt exist in Tomcat7. Thats w

Re: comet question

2014-05-29 Thread Elias Kopsiaftis
ok thanks guys, I just got freaked out when I saw that post. On Thu, May 29, 2014 at 3:10 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > David, > > On 5/29/14, 2:45 PM, David kerber wrote: > &g

Re: comet question

2014-05-29 Thread Elias Kopsiaftis
be helpful On Thu, May 29, 2014 at 2:45 PM, David kerber wrote: > On 5/29/2014 2:21 PM, Elias Kopsiaftis wrote: > >> oh yea, im on tomcat 7 btw >> > > Then why are you asking about a problem in a very old version of Tomcat 6? > > > > >> >> O

Re: comet question

2014-05-29 Thread Elias Kopsiaftis
oh yea, im on tomcat 7 btw On Thu, May 29, 2014 at 2:13 PM, Elias Kopsiaftis wrote: > Hey guys, > > I found this on the web, and it really alarms me because my web app which > is in development depends on Comet technology to work. > > > http

comet question

2014-05-29 Thread Elias Kopsiaftis
Hey guys, I found this on the web, and it really alarms me because my web app which is in development depends on Comet technology to work. http://bighow.net/4294974-Comet_under_Tomcat_6_0_33_sends_data_to_a_wrong_user.html Before I start digging into the tomcat7 source code, can anyone verify or

Re: Comet Servlet with a reverse proxy in front of it

2014-05-16 Thread Elias Kopsiaftis
at 1:04 PM, Elias Kopsiaftis wrote: > Hey, > > I actually got this working so far with nginx(and by so far I mean the > random connection errors I was getting with apache2 have not surfaced yet). > > Ill post the nginx config setup later today when I get home for the > benef

Re: Comet Servlet with a reverse proxy in front of it

2014-05-16 Thread Elias Kopsiaftis
PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Elias, > > On 5/12/14, 11:20 AM, Elias Kopsiaftis wrote: > > Is there any way to put a reverse proxy in front of a Comet > > servlet? > &g

Comet Servlet with a reverse proxy in front of it

2014-05-12 Thread Elias Kopsiaftis
Is there any way to put a reverse proxy in front of a Comet servlet? I tried apache but thats a no go because it uses a single thread per connection, which is not scaleable, then I tried nginx, which perhaps I did something wrong in my setup but in the client code, the call to getInputStream never

Re: comet servlet gets connected to inadvertantly

2014-04-18 Thread Elias Kopsiaftis
GP SIGNED MESSAGE- > Hash: SHA256 > > Elias, > > On 4/18/14, 2:17 PM, Elias Kopsiaftis wrote: > > Im using tomcat7 on 64 bit ubuntu linux and java 7. I have a > > client software that connects to the server. For some reason, when > > a user logs in, in the access log, i

comet servlet gets connected to inadvertantly

2014-04-18 Thread Elias Kopsiaftis
Im using tomcat7 on 64 bit ubuntu linux and java 7. I have a client software that connects to the server. For some reason, when a user logs in, in the access log, i see 3 connections, one to the version check servlet, one to the output servlet, and one to the login servlet. the output servlet shoul

Re: tomcat randomly undeploys and redeploys the applications

2014-04-04 Thread Elias Kopsiaftis
Hash: SHA256 > > Elias, > > On 4/4/14, 11:03 AM, Elias Kopsiaftis wrote: > > Ive done some more research into this problem with my co developer, > > and we have a question. Is it possible that memory leaks would > > cause tomcat to crash? > > Yes, but you'll

Re: tomcat randomly undeploys and redeploys the applications

2014-04-04 Thread Elias Kopsiaftis
; >>> Chris, > >>> > >>> On 4/2/2014 1:05 PM, Christopher Schultz wrote: > >>>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > >>>> > >>>> Chuck, > >>>> > >>>> On 4/2/14, 8:21 AM, Ca

Re: tomcat randomly undeploys and redeploys the applications

2014-04-02 Thread Elias Kopsiaftis
Schultz wrote: > > Chuck, > > > > On 4/2/14, 8:21 AM, Caldarale, Charles R wrote: > >>> From: Elias Kopsiaftis [mailto:yemi...@gmail.com] Subject: > >>> tomcat randomly undeploys and redeploys the applications > > > >>> I deploy the application

Re: tomcat randomly undeploys and redeploys the applications

2014-04-02 Thread Elias Kopsiaftis
arles R wrote: > >> From: Elias Kopsiaftis [mailto:yemi...@gmail.com] Subject: tomcat > >> randomly undeploys and redeploys the applications > > > >> I deploy the application, then in the log file catalina.out i get > >> many messages from WebappClassLoader cle

Re: tomcat randomly undeploys and redeploys the applications

2014-04-02 Thread Elias Kopsiaftis
following later today: Tomcat version, JRE version, platform, server.xml (with comments removed), context.xml for the webapp, etc. Would you like me to also attach the thread dump? On Wed, Apr 2, 2014 at 8:21 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Elia

tomcat randomly undeploys and redeploys the applications

2014-04-02 Thread Elias Kopsiaftis
Im having a strange problem and I have googled it for a while but have found nothing. I deploy the application, then in the log file catalina.out i get many messages from WebappClassLoader clearReferencesThreads saying threads appear to have started but have failed to stop, then finally, Ill get a

Re: Tomcat wont allow me to create files

2013-02-25 Thread Elias Kopsiaftis
Hi Ben, I didnt mention that but I did check that write permissions were on. Currently I dont have a log4j configuration. I am just trying to get it to work. On Mon, Feb 25, 2013 at 8:39 PM, Ben Stringer wrote: > > > On 26/02/2013, at 12:14 PM, Elias Kopsiaftis wrote: > > &

Re: Context root query

2012-11-20 Thread Elias Kopsiaftis
did you reload tomcat after changing the file? On Tue, Nov 20, 2012 at 7:51 AM, wrote: > > > > > > > > Hello Guys, > > > > I am trying to define the context root in my application using > context.xml. I defined the following in application context.xml under > meta-inf directory > > > > > > > >

tomcat sessions

2012-08-18 Thread Elias Kopsiaftis
I dont think my tomcat is configured correctly to use sessions. I send jsessionid with each request, but it opens a new session each time. I found this site: http://tomcat.apache.org/tomcat-4.1-doc/config/manager.html, but it doesnt give any actual sample files. can someone send me a sample file th

is this idea even possible in tomcat?

2012-08-11 Thread Elias Kopsiaftis
I posted about this a bit earlier, and I was told WebSockets were a better approach, but I am wondering is what I am trying to do even possible? My idea is to create a program that allows two users to connect through the server, and send images and text to each other. for the server, i have two ser

comet and standard servlet

2012-08-04 Thread Elias Kopsiaftis
I have two servlets, one is comet. i am using an nio connector. i have an application that connects to both servlets at once, however, the standard servlet does not process any requests. i am able to connect to it, because i dont get an exception from the client when connecting. i can also write to

Re: configuring tomcat to use nio

2012-07-30 Thread Elias Kopsiaftis
thank you again On Mon, Jul 30, 2012 at 2:33 PM, Mark Thomas wrote: > On 30/07/2012 19:26, Elias Kopsiaftis wrote: > > thank you for your quick response. i actually found that document and > > shouldve specified that. what i really meant was, what is the name of the >

Re: configuring tomcat to use nio

2012-07-30 Thread Elias Kopsiaftis
thank you for your quick response. i actually found that document and shouldve specified that. what i really meant was, what is the name of the file you modify? On Mon, Jul 30, 2012 at 2:15 PM, Mark Thomas wrote: > On 30/07/2012 18:45, Elias Kopsiaftis wrote: > > My friend told m

configuring tomcat to use nio

2012-07-30 Thread Elias Kopsiaftis
My friend told me that my comet implementation wasnt working because i need to configure tomcat to use nio rather than standard java io. what happens is when i try to connect to the comet servlet from my client, im getting a reponse that says get request is not supported even though im using a post

Re: tomcat session id

2012-07-15 Thread Elias Kopsiaftis
thank you, and it wasnt working thats why i asked. there must be something else wrong in my code On Sun, Jul 15, 2012 at 3:50 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Elias, > > On 7/15/12 1:37 PM

Re: tomcat session id

2012-07-15 Thread Elias Kopsiaftis
, Christopher Schultz < ch...@christopherschultz.net> wrote: > André, > > On Jul 14, 2012, at 6:03, André Warnier wrote: > > > Elias Kopsiaftis wrote: > >> Well basically, For the output servlet, I am using comet to keep the > >> connection alive and push things o

Re: tomcat session id

2012-07-13 Thread Elias Kopsiaftis
:02 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Elias, > > On 7/13/12 9:39 AM, Elias Kopsiaftis wrote: > > I am working on a program that uses two servlets, one for input > > from the clie