I had solved this problem. the activemq ajax message was based on session and clientId. so i use chrome console watch network. i found amq request once on atomcat, once on btomcat., once on atomcat ...... so i add *ip_hash;* and restart nginx. it goes well.
upstream www.jamenke.com{ *ip_hash;* server 192.168.18.244:8081; server 192.168.18.244:8080; # add this line } -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-ajax-project-activemq-web-demo-does-not-support-load-balance-tp4674904p4674942.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.