Thanks for your reply ! My workers.properties:
worker.list=router # Define the first node. worker.node1.port=18009 worker.node1.host=172.31.1.3 worker.node1.type=ajp13 worker.node1.lbfactor=1 worker.node1.cachesize=10 worker.node1.socket_keepalive=1 # ...and the second node. worker.node2.port=28009 worker.node2.host=172.31.1.4 worker.node2.type=ajp13 worker.node2.lbfactor=1 worker.node2.cachesize=10 worker.node2.socket_keepalive=1 # Now we define the load-balancing behaviour worker.router.type=lb worker.router.balanced_workers=node1, node2 worker.router.sticky_session=1 worker.router.sticky_session_force=1 In TOMCAT_1/server.xml In TOMCAT_2/server.xml I test this: 1) Enable HTTP connector in Jboss nodes 2) Enable Public ip for Jboss nodes 3) In Jboss nodes changes the HTTP Invoker URL to the JBoss node Public ip Result: 1) load balancing the html (apache ip) 2) JNDI Invoker Connection estabish to http connector (jboss ip) 3) EJB Invoker connection establish to http connector (jboss ip) This work, but this is a wrong environvent. All the traffic should be send trhough apache mod_jk View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922670#3922670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922670 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
