-
FEATURED COMPONENTS
First time here? Check out the FAQ!
![]() | 1 | initial version | |
Disabled websocket
Configured zk.xml with the following for clustering
<system-config>
<ui-factory-class>org.zkoss.zk.ui.http.SerializableUiFactory</ui-factory-class>
</system-config>
<listener>
<listenerclass>org.zkoss.zkplus.cluster.ClusterSessionPatch</listener-class>
</listener>
List item Using Nginx as loadbalancer with the following settings
upstream backend.com{ server 192.168.100.131:8086; server 192.168.100.131:8087; } server{ listen 80; servername backend.com; location / { proxypass http://backend.com; proxysetheader Upgrade $httpupgrade; proxysetheader Connection "upgrade"; proxysetheader X-Forwarded-For $proxyaddxforwardedfor; proxysetheader X-Forwarded-Proto $scheme; proxysetheader X-Forwarded-Port $serverport; proxysetheader Host $host; proxyreadtimeout 5000;
}
}
![]() | 2 | No.2 Revision |
Disabled 1)Disabled websocket
2) Configured zk.xml with the following for clustering
<system-config>
<ui-factory-class>org.zkoss.zk.ui.http.SerializableUiFactory</ui-factory-class>
</system-config>
<listener>
<listenerclass>org.zkoss.zkplus.cluster.ClusterSessionPatch</listener-class>
</listener>
3)No
Global Desktop cache is enabledList item
Using 4)Using Nginx as loadbalancer with the following settings
upstream backend.com{
server 192.168.100.131:8086;
server 192.168.100.131:8087;
}
server{
listen 80;
}
![]() | 3 | No.3 Revision |
0)Using two zk web applications for High availability if one application failed the other application should take over without loosing session information.
1)Disabled websocket
2) Configured zk.xml with the following for clustering
<system-config>
<ui-factory-class>org.zkoss.zk.ui.http.SerializableUiFactory</ui-factory-class>
</system-config>
<listener>
<listenerclass>org.zkoss.zkplus.cluster.ClusterSessionPatch</listener-class>
</listener>
3)No Global Desktop cache is enabled
4)Using Nginx as loadbalancer with the following settings
upstream backend.com{
server 192.168.100.131:8086;
server 192.168.100.131:8087;
}
server{
listen 80;
server_name backend.com;
location / {
proxy_pass http://backend.com;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header Host $host;
proxy_read_timeout 5000;
}
}
![]() | 4 | No.4 Revision |
0)Using two zk web applications for High availability if one application failed the other application should take over without loosing session information.
1)Disabled websocket
2) Configured zk.xml with the following for clustering
<system-config>
<ui-factory-class>org.zkoss.zk.ui.http.SerializableUiFactory</ui-factory-class>
</system-config>
<listener>
<listenerclass>org.zkoss.zkplus.cluster.ClusterSessionPatch</listener-class>
</listener>
3)No Global Desktop cache is enabled
4)Using Nginx as loadbalancer with the following settings
upstream backend.com{
server 192.168.100.131:8086;
server 192.168.100.131:8087;
}
server{
listen 80;
server_name backend.com;
location / {
proxy_pass http://backend.com;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header Host $host;
proxy_read_timeout 5000;
}
}
5) In zul Hashmap is iterated with entrySet() for displaying data only, no concurrent modifications are done during iteration
6)As suggested tried with ConcurrentHashMap also getting the same error