activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nick <>
Subject Activemq ajax project( activemq-web-demo) does not support load balance?
Date Thu, 28 Nov 2013 09:45:10 GMT
I had deployed the activemq-web-demo project in tow tomcat.

   atomcat ip and port is;
   btomcat ip and port is;

   I opend the url by
     open   the url
by ie.

  its all goes well. 

  then i configured in my nginx.conf like this.
           location  / {
            root   html;
            index  index.html index.htm;
            proxy_redirect    off;
            proxy_set_header   Host $host;
            proxy_set_header   X-Real-IP $remote_addr;
            proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
            client_max_body_size   10m;
   I opend the url by
chrome and ie.
   It goes well too. 

   at last. I add configured nginx.conf like this:
                  /server;  # add this line/ 
   and restart nginx.
    I opend the url by
chrome and ie.
    I found it cannot recieve messages.

    *can anyone tell me , it does not support load balance? If it support,
how can i do .*

   Thanks, Best Regards




View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message