[jboss-user] [JCA/JBoss] - Re: Database Connection Failover Question

vickyk do-not-reply at jboss.com
Sun Apr 27 00:27:05 EDT 2008


"emmitt1219" wrote : Thanks for the help!
  | 
  | How about JBoss 4? Is there any way to accomplish this on 4.0.4...?
Not without the code change it is not possible with 4.0.4 , you got to modify 
http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_4_0_4_GA/connector/src/main/org/jboss/resource/adapter/jdbc/xa/HAXAManagedConnectionFactory.java 

Logically you can create a new resource adapter which would be similar to jboss-ha-local-jdbc.rar but with modified HAXAManagedConectionFactory implementation . But make sure that the changes you made are proper , it is risky unless you know what you are doing ;)

HA jdbc RA's were never designed for load balancing they are there for fail over .

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147040#4147040

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147040



More information about the jboss-user mailing list