oh finally you resolved the problem with websockets when is closed... when
i told you 2 years ago ... i didnt hear me
i have a question.
I have multiple threads sending a message in a unique connection.
Send api is thread safe?
if it is not thread safe it is better to use synchronize or a queue?
I have a doubt about a application using websocket.
I have a application in which many threads can send a message to a specific
connection.
To send message is a thread safe function or not?
In the case is not thread safe you suggest to use a queue or to use a
synchronized on the connection
connections.
Inviato da iPad
> Il giorno 03 ott 2016, alle ore 17:33, Cristian Lorenzetto
> <cristian.lorenze...@gmail.com> ha scritto:
>
> Using websockets with tomcat i saw the connection is never closed until
> client closes it.
> It sounds Ok just if server send ping
Using websockets with tomcat i saw the connection is never closed until
client closes it.
It sounds Ok just if server send ping frame to client.
Does tomcat make it?
-if yes what is the ping interval?
It is a common problem to have a war can't unregister correctly in undeploy
> phase. a lot of opensource libraries have this problem. So you have to
> restart tomcat every time.
> But if you have multiple war running and you cant stop other applications?
*WAR isolation lifecycle.*
It is a common problem to have a war can't unregister correctly in undeploy
phase. a lot of opensource libraries have this problem. So you have to
restart tomcat every time.
But if you have multiple war running and you cant stop other applications?
2016-09-05 21:14
final boolean mlast = message.isLast();
final int mlen = message.getPayloadLength();
*mlen is different in the last frame of the same message*
2016-09-05 0:36 GMT+02:00 Hassan Schroeder <hassan.schroe...@gmail.com>:
> On Sun, Sep 4, 2016 at 1:52 PM, Cristian Lorenzetto
> <c
i m working on websocket with long messages.
I saw ... payload message length is wrong in the last frame.
hi
i ask you a info about websocket perfomance.
How i can calculate the maximum number of concurrent webocket for machine?
is there a relationship(maybe a factor 1 or similar) for the maximum
number of http requests and the maxumum number of websocket for the same
tomcat server?
In particular
i sincronized the method for sending message but error is the same when
ubuntu is suspended. The connections are not restored correctly when tomcat
websocket process is wakeup
Hi I m using tomcat in ubuntu system. When i leave my pc for 10 mins
system is suspended. When i return to work i have
n 19/04/2016 15:24, Cristian Lorenzetto wrote:
> good analisys similar to mime , but when the pc wake up ... it might
> restore also the connections enqueued. The connection remains freezed so
it
> gives this exception.
Nope.
You get that exception because the application has a bug. It is
good analisys similar to mime , but when the pc wake up ... it might
restore also the connections enqueued. The connection remains freezed so it
gives this exception.
2016-04-19 16:08 GMT+02:00 André Warnier (tomcat) <a...@ice-sa.com>:
> On 19.04.2016 16:00, Cristian Lorenze
Sincerely in the doc is written that tomcat websocket is a 'single thread
model' so it is already sincronized.
I dont think it is that.
2016-04-19 15:55 GMT+02:00 André Warnier (tomcat) <a...@ice-sa.com>:
> On 19.04.2016 15:41, Cristian Lorenzetto wrote:
>
>> 17-Apr-2016 10:50
André Warnier (tomcat) <a...@ice-sa.com>:
> On 19.04.2016 15:19, Cristian Lorenzetto wrote:
>
>> Hi I m using tomcat in ubuntu system.
>>
>
> Tomcat version ? Java version ?
>
> http://lmgtfy.com/?q=BINARY_PARTIAL_WRITING
>
>
> When i leave my pc f
Hi I m using tomcat in ubuntu system. When i leave my pc for 10 mins
system is suspended. When i return to work i have this exception
java.lang.IllegalStateException: The remote endpoint was in state
[BINARY_PARTIAL_WRITING] which is an invalid state for called method
at
16 matches
Mail list logo