[JBoss JIRA] (WFLY-3704) WebSocket Sessions must be manually closed
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/WFLY-3704?page=com.atlassian.jira.plugin.... ]
Stuart Douglas commented on WFLY-3704:
--------------------------------------
I think it may already be fixed upstream as part of WFLY-3490, I have just not got around to verifying it yet.
> WebSocket Sessions must be manually closed
> ------------------------------------------
>
> Key: WFLY-3704
> URL: https://issues.jboss.org/browse/WFLY-3704
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Web Sockets
> Affects Versions: 8.1.0.Final
> Reporter: Cody Lerum
> Assignee: Stuart Douglas
> Labels: websockets
>
> Currently if a WebSocket session goes inactive due to the browser shutting down or the user closing a tab the browser does not send a close event to the server. This behavior seems the same with Chrome and IE.
> The underlying TCP socket is however inactive and can be confirmed by calling a Session#isOpen which returns false. This will cause a build up of sessions unless the user does something like
> {code}
> for (Session session : sessions) {
> if (!session.isOpen()) {
> session.close();
> }
> }
> {code}
> This would need to be done periodically by the application. Shouldn't the server automatically close these sessions when the underlying socket goes inactive?
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (WFLY-3704) WebSocket Sessions must be manually closed
by Cody Lerum (JIRA)
[ https://issues.jboss.org/browse/WFLY-3704?page=com.atlassian.jira.plugin.... ]
Cody Lerum commented on WFLY-3704:
----------------------------------
Might be related to WFLY-3490
> WebSocket Sessions must be manually closed
> ------------------------------------------
>
> Key: WFLY-3704
> URL: https://issues.jboss.org/browse/WFLY-3704
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Web Sockets
> Affects Versions: 8.1.0.Final
> Reporter: Cody Lerum
> Assignee: Stuart Douglas
> Labels: websockets
>
> Currently if a WebSocket session goes inactive due to the browser shutting down or the user closing a tab the browser does not send a close event to the server. This behavior seems the same with Chrome and IE.
> The underlying TCP socket is however inactive and can be confirmed by calling a Session#isOpen which returns false. This will cause a build up of sessions unless the user does something like
> {code}
> for (Session session : sessions) {
> if (!session.isOpen()) {
> session.close();
> }
> }
> {code}
> This would need to be done periodically by the application. Shouldn't the server automatically close these sessions when the underlying socket goes inactive?
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (WFLY-3704) WebSocket Sessions must be manually closed
by Cody Lerum (JIRA)
[ https://issues.jboss.org/browse/WFLY-3704?page=com.atlassian.jira.plugin.... ]
Cody Lerum commented on WFLY-3704:
----------------------------------
[~swd847] Were you able to find anything on this, or did you need more detail?
> WebSocket Sessions must be manually closed
> ------------------------------------------
>
> Key: WFLY-3704
> URL: https://issues.jboss.org/browse/WFLY-3704
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Web Sockets
> Affects Versions: 8.1.0.Final
> Reporter: Cody Lerum
> Assignee: Stuart Douglas
> Labels: websockets
>
> Currently if a WebSocket session goes inactive due to the browser shutting down or the user closing a tab the browser does not send a close event to the server. This behavior seems the same with Chrome and IE.
> The underlying TCP socket is however inactive and can be confirmed by calling a Session#isOpen which returns false. This will cause a build up of sessions unless the user does something like
> {code}
> for (Session session : sessions) {
> if (!session.isOpen()) {
> session.close();
> }
> }
> {code}
> This would need to be done periodically by the application. Shouldn't the server automatically close these sessions when the underlying socket goes inactive?
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (JBJCA-1208) Eclipse plugin update for IronJacamar 1.2
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/JBJCA-1208?page=com.atlassian.jira.plugin... ]
Lin Gao updated JBJCA-1208:
---------------------------
Git Pull Request: https://github.com/ironjacamar/ironjacamar/pull/220
> Eclipse plugin update for IronJacamar 1.2
> -----------------------------------------
>
> Key: JBJCA-1208
> URL: https://issues.jboss.org/browse/JBJCA-1208
> Project: IronJacamar
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Eclipse
> Reporter: Lin Gao
> Assignee: Lin Gao
>
> Differences between resource_adapters_1_1.xsd and resource_adapters_1_2.xsd are:
> * Boolean 'connectable' attribute added: "Defines if external components can obtain a connection through the IronJacamar SPI if supported by the resource adapter"
> * Boolean 'tracking' attribute added: "Defines if IronJacamar should track connection handles across transaction boundaries"
> * Boolean 'validate-on-match' element added: "indicates whether or not connection level validation should be done when a connection factory attempts to match a managed connection for a given set."
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months
[JBoss JIRA] (WFLY-3468) Managed server shutdown unexpectedly when timeout during connection request to HC
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-3468?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on WFLY-3468:
-----------------------------------------------
James Livingston <jlivings(a)redhat.com> changed the Status of [bug 1106393|https://bugzilla.redhat.com/show_bug.cgi?id=1106393] from NEW to ASSIGNED
> Managed server shutdown unexpectedly when timeout during connection request to HC
> ---------------------------------------------------------------------------------
>
> Key: WFLY-3468
> URL: https://issues.jboss.org/browse/WFLY-3468
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Affects Versions: 8.1.0.Final
> Reporter: Takayoshi Kimura
> Assignee: Emanuel Muckenhuber
> Priority: Minor
>
> Sometimes managed server shutdown unexpectedly when managed server tries to connect to the HC and got lengthly Full GC.
> {quote}
> java.io.IOException: JBAS012175: Channel closed
> at org.jboss.as.server.mgmt.domain.HostControllerConnection.getChannel(HostControllerConnection.java:101)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:117)
> at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:100)
> at org.jboss.as.server.mgmt.domain.HostControllerConnection.reConnect(HostControllerConnection.java:171)
> at org.jboss.as.server.mgmt.domain.HostControllerClient.reconnect(HostControllerClient.java:98)
> at org.jboss.as.server.DomainServerMain.main(DomainServerMain.java:138)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.modules.Module.run(Module.java:292)
> at org.jboss.modules.Main.main(Main.java:455)
> {quote}
> The current DomainServerMain exits on the connetion error.
> The scenario is:
> # server tries to connect to the HC
> # server Full GC
> # HC is waiting a request from server, read timeout, closes the sock
> # server resumed from GC, failed to send the req to the HC and exit
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 11 months