I am working on a web application that transfers comet data from the server to applications. when I use the application, the web socket is disconnected from the server, and because of this, I miss some data in the web application interface. this caused a serious problem that I have to solve.
server - berth 7.
the client is developed using jquery 1.4.2.js and jquery.cometd.js and cometd.js javascript libraries as a java web application.
runs through the HAProxy load balancer.
applicationdeployed in nginx 1.4.2
Any suggestion to solve this problem?
FYI:
I tried a google search, suggestions for upgrading to jetty9, do I need to upgrade the pier? will this only solve the problem? do i also need to upgrade jquery version along with comet libraries java script?
rate your valuable feedback
comet SYMBOl|TStamp|Prev TStamp >> MUNSHAAT`R|09:39:31|93917
SYM OLD NSNO|old|new >> MUNSHAAT`R|666|687
onDisconnect KSE - Disconnecting comet.
commetApi KSE - reconnect
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
onHandshake KSE- Status = true
commetApi KSE - reconnect
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
commetApi KSE - onsubscribe
onConnect KSE
Price call: GET
Price call: GET
XHR finished loading: GET "https:///example/price?RT=25"
XHR finished loading: GET "https://example/price?RT=27"
onDisconnect KSE - Disconnecting comet.
commetApi KSE - reconnect
commetApi KSE - onsubscribe
WebSocket is already in CLOSING or CLOSED state. cometd.js?
commetApi KSE - onsubscribe
WebSocket is already in CLOSING or CLOSED state. cometd.js?
commetApi KSE - onsubscribe
WebSocket is already in CLOSING or CLOSED state. cometd.js?
commetApi KSE - onsubscribe
WebSocket is already in CLOSING or CLOSED state. cometd.js?
commetApi KSE - onsubscribe
WebSocket is already in CLOSING or CLOSED state. cometd.js?
commetApi KSE - onsubscribe
WebSocket is already in CLOSING or CLOSED state. cometd.js?
onConnect KSE
comet sym|hed|data >> KSE|E,INS,S,TT,LTP,LTQ,CHG,PCHG,TYPE,SPL,SNO,OL|KSE|0|SAFTEC`R|064004|51.0|20000|-1.0|-1.92|S|1|693|0
came in SYMBOl|TStamp|Prev TStamp >> SAFTEC`R|09:40:04|93931
- regrds, rangana
source
share