top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

ProxyPass and HA Singleton Applications

0 votes
481 views

I've an Apache/2.2.15 in front a JBoss Cluster (based on 2 nodes) in which web applications are deployed in HA Singleton mode.

In this case the web applications are always running on a specific node but/and in case of failure the cluster actives them on the other node.

I'd like use Apache ProxyPass, with balancer directives, to refer these web applications, but I need that no requests are sent to the "stand-by" back-end node.

Could you give me some hints about this kind of configurations

The standard balancer configuration should be

 BalancerMember ajp://node1:8009
 BalancerMember ajp://node2:8009

 ProxyPass /web-app1 balancer://SingletonCluster
 ProxyPass /web-app2 balancer://SingletonCluster

but I can't find out the options/parameters that guarantee me the behavior expected

posted Jul 3, 2014 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
check the link http://httpd.apache.org/docs/2.2/mod/mod_proxy.html and search for "standby"

Similar Questions
+1 vote

What are the JBOSS JBPM (Open Source Business Process Management) Feature?

+1 vote

I need to configure Jboss clustering , i tried to apply it in the same server but i couldn't perform Failover
so now i'm trying two different ips at different machines , what should I do exactly?

+2 votes

I am using the below appenders in my domain.xml file to point all the logs from my application to app.log. I see the file is getting created but there are no logging happening.

 <periodic-rotating-file-handler name="CACHE-FILE" autoflush="true">
            <level name="DEBUG"/>
            <formatter>
               <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
            </formatter>
            <file relative-to="jboss.server.log.dir" path="app.log"/>
            <suffix value=".yyyy-MM-dd"/>
            <append value="true"/>
         </periodic-rotating-file-handler>

           <logger category="com.abc.cache" use-parent-handlers="false">
               <level name="DEBUG"/>
               <handlers>
                  <handler name="CACHE-FILE"/>
               </handlers>
           </logger>
+1 vote

If we do not configure "maxConnections" then it will take default value as maxThread (which is 200) and "keepAliveTimeout" will take default value of connectionTimeout (which is 60 seconds) then what is a impact of configuring these parameters?*

What value for "keepAliveTimeout" will be consider as the best?

...