Re: Accessing ServletContext from WebSocket endpoint

2013-12-07 Thread Mark Thomas
On 07/12/2013 14:33, Christopher Schultz wrote: > In this case, it's pretty clear that there is a quite desirable > feature missing from the spec and I think it might be reasonable > to violate it in this instance. I'd prefer to get Mark or > Konstantin to weigh-in on such a step, because it migh

Re: Accessing ServletContext from WebSocket endpoint

2013-12-07 Thread Enrico Olivelli
I'm trying the example from Tyrus, hoping that it could work on tomcat https://tyrus.java.net/documentation/1.3/index/deployment.html this is the simplest code to put ServletContext in userproperties @WebListener public class MyWebSocket implements ServletContextListener { @Override pub

Re: Accessing ServletContext from WebSocket endpoint

2013-12-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Johan, On 12/7/13, 4:30 AM, Johan Compagner wrote: > On 7 December 2013 04:48, Christopher Schultz > wrote: > >>> because i only see currently api to get the HttpSession and >>> then through that the ServletContext, problem is that there is >>> no

Re: Accessing ServletContext from WebSocket endpoint

2013-12-07 Thread Johan Compagner
On 7 December 2013 04:48, Christopher Schultz wrote: > > because i only see currently api to get the HttpSession and then > > through that the ServletContext, problem is that there is no http > > session.. > > Aah... if there is no session, getHttpSession doesn't automatically > create one(). Boo

RE: org.apache.catalina.session.PersistentManager

2013-12-07 Thread spring
Hm... no opinions? > -Original Message- > From: spr...@gmx.eu [mailto:spr...@gmx.eu] > Sent: Donnerstag, 5. Dezember 2013 20:08 > To: 'Tomcat Users List' > Subject: org.apache.catalina.session.PersistentManager > > Hi, > > if I want to use > org.apache.catalina.session.PersistentManag

Re: On one particular box, Tomcat 7.0.25 runs just fine, but 7.0.47 crashes on takeoff -- some authority problem

2013-12-07 Thread Konstantin Kolinko
2013/12/7 James H. H. Lampert : > We've been systematically updating our customers from Tomcat 7.0.25 to > 7.0.47 this week, after we've determined that our webapp runs just fine on > 47, and 47 runs just fine on AS/400s. > > Until now. > > We have one customer box on which, if you launch Tomcat 7.