Re: 8.0.0-RC1: WebSocket Exception

2013-08-30 Thread Igor Urisman
That's correct. I call close() inside onOpen(). You correctly call onClose() on the endpoint as well, so my code is happy. But a thread of yours crashes milliseconds later. I have no problem changing my code to call close() after onOpen() returns, of course. But if you insist on this semantics,

Re: 8.0.0-RC1: WebSocket Exception

2013-08-30 Thread Niki Dokovski
On Sat, Aug 31, 2013 at 12:33 AM, Igor Urisman wrote: > Dear all, > > Getting the following exception with none of my code on the stack: > > SEVERE: Error reading request, ignored > java.lang.IllegalStateException: The WebSocket session has been closed and > no method (apart from close()) may be c

RE: configuring tomcat realm

2013-08-30 Thread Francesco Viscomi
Thanks really much. Francesco -Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: venerdì 30 agosto 2013 20.20 To: Tomcat Users List Subject: Re: configuring tomcat realm On Aug 30, 2013, at 12:13 PM, Francesco Viscomi wrote: > Hi, > > I've a tomcat-users.xml

8.0.0-RC1: WebSocket Exception

2013-08-30 Thread Igor Urisman
Dear all, Getting the following exception with none of my code on the stack: SEVERE: Error reading request, ignored java.lang.IllegalStateException: The WebSocket session has been closed and no method (apart from close()) may be called on a closed session at org.apache.tomcat.websocket.WsSess

Re: HttpServlet

2013-08-30 Thread Daniel Mikusa
On Aug 30, 2013, at 12:15 PM, Morten Bo Oelbye wrote: First, don't top post. Post at after the original message or post inline, like I'm doing here. > Well, it is very simple from my point of wiev. I would agree that it's not very clear what you are trying to accomplish. The more detail you

Re: configuring tomcat realm

2013-08-30 Thread Daniel Mikusa
On Aug 30, 2013, at 12:13 PM, Francesco Viscomi wrote: > Hi, > > I've a tomcat-users.xml file in which user Francesco should can access to > http://localhost:8080/manager: > > I also have a server.xml that in the tag has > declared 2 resource, one is for accessing to http://localhost:8080/ma

Re: configuring tomcat realm

2013-08-30 Thread Sudhir Bhoga
On Fri, Aug 30, 2013 at 12:13 PM, Francesco Viscomi wrote: > Hi, > > I've a tomcat-users.xml file in which user Francesco should can access to > http://localhost:8080/manager: > > I also have a server.xml that in the tag has > declared 2 resource, one is for accessing to http://localhost:8080/ma

Re: HttpServlet

2013-08-30 Thread Morten Bo Oelbye
Well, it is very simple from my point of wiev. The Tomcat act in the same way in 6 and 7 in window xp I have not done any editing in the Tomcat, other than those nessisary to do a Tomcat connection using Apace in front with mod_jk. The design use a Midlet url http connection to access my Tomcat,

configuring tomcat realm

2013-08-30 Thread Francesco Viscomi
Hi, I've a tomcat-users.xml file in which user Francesco should can access to http://localhost:8080/manager: I also have a server.xml that in the tag has declared 2 resource, one is for accessing to http://localhost:8080/manager and the other is for accessing via JDBC to a protected area in my

Re: HttpServlet

2013-08-30 Thread André Warnier
Morten Bo Oelbye wrote: I am using Tomcat as a server. I am only able to either receive data or send data. The problem is that I am not able to use handchaking. If I try use send, I get the error: java.io.IOException: Connection closed not able to receive any longer What to do? Hi. I believe t

HttpServlet

2013-08-30 Thread Morten Bo Oelbye
I am using Tomcat as a server. I am only able to either receive data or send data. The problem is that I am not able to use handchaking. If I try use send, I get the error: java.io.IOException: Connection closed not able to receive any longer What to do?

Re: (MY Tomcat version :- 7.0.40 and deployed on CentOS

2013-08-30 Thread Sushil Prusty
Hi Chris Thanks to show me a light in black dark room. Please just look below work flow and requirement. Before login to my web application, i need to swap data card to access my web application. So data card should be certified by OCSP instead CRL. My java based web application is deployed on

RE: Using EL expressions in an ObjectFactory

2013-08-30 Thread Xavier Dury
Hi, I don't think you understood me. The point here is not about the ${catalina.base}, it's about the whole expression "CacheManager.newInstance(URI('file:${catalina.base}/conf/ehcache.xml').toURL())". The ${catalina.base} will of course be expanded and give something like: "CacheManager.newIn