AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-17 Thread David Kumar
Hi Felix, >1. You are abandoning db connections and thus are draining the pool > (most likely in my eyes) >2. The pool is too small (unlikely, since no work seems to be done other >than waiting for new connections) >3. Lock contention while going through borrowObject (unlikely, since no >threa

Re: Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Nick Williams
On Mar 17, 2013, at 5:56 PM, Nick Williams wrote: > Based on my reading of the WebSocket spec mailing lists and API > documentation, if I want to get the HttpSession that exists when a WebSocket > connection is negotiated I need to extend ServerEndpointConfig.Configurator, > override #modifyHa

Re: Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Nick Williams
Martin, Don't believe we've spoken before. Good to meet you. I'm working on a book on Servlet 3.1 + WebSockets + Spring Framework 4 + Hibernate + Spring Security. My interest is purely the new Java WebSockets API. The existing Comet implementation in Tomcat 7.0 will be deprecated in 7.0 once t

RE: Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Martin Gainty
Nick if you dont mind Comet's implementation of WebSocket events to Servlet-3.0 POST and GET then checkout http://java.dzone.com/articles/tomcat-websockets-html5 I'll let you test drive to see if Ant 's WebSocketServlet fully supports all aspects of the WebSocket spechttp://en.wikipedia.org/wiki

Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Nick Williams
Based on my reading of the WebSocket spec mailing lists and API documentation, if I want to get the HttpSession that exists when a WebSocket connection is negotiated I need to extend ServerEndpointConfig.Configurator, override #modifyHandshake(), and call #getHttpSession() on the HandshakeReques

Re: help on websockets

2013-03-17 Thread Muralidhar Yaragalla
Thank you. Without implementing jsr why would they show examples in tomcat7 online docs. It is so much confusing. Thanks anyway. On Mon, Mar 18, 2013 at 2:00 AM, Mark Thomas wrote: > On 17/03/2013 20:17, Muralidhar Yaragalla wrote: > > Hi I have downloaded the tomcat 7.0.37 and trying to run th

Re: help on websockets

2013-03-17 Thread Mark Thomas
On 17/03/2013 20:17, Muralidhar Yaragalla wrote: > Hi I have downloaded the tomcat 7.0.37 and trying to run the websocket chat > program which is with "javax.wesocket" annotations but the annotations are > not being recognized. how to run this on tomcat. Tomcat 7.0.x does not (yet) implement JSR-3

Re: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-17 Thread Felix Schumacher
Hi David, Am 17.03.2013 16:17, schrieb David Kumar: Hey Rainer, It got stripped by the list. Can you post it somewhere and make the URL available? here you go: http://www.telestar.de/tmp10356/threaddump.txt almost all of your threads are waiting to get a database connection out of the pool.

AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-17 Thread David Kumar
Hey Rainer, >It got stripped by the list. Can you post it somewhere and make the URL >available? here you go: http://www.telestar.de/tmp10356/threaddump.txt thanks David - To unsubscribe, e-mail: users-unsubscr...@tomcat.a

AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-17 Thread David Kumar
Hey Rainer, >It got stripped by the list. Can you post it somewhere and make the URL available? here you go: - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apac

Re: mail/Session resources lookup fail

2013-03-17 Thread Konstantin Kolinko
2013/3/15 Lau, Alex : > I have a typical mail resource set up but my lookup always returns localhost > as the smtp host. > > My webapp contect.xml looks like this: > > > > mail.smtp.host="smtp.mydomain.com" mail.debug="true"> > > > My webapp web.xml has an entry like this: > > > Resource