Interesting, there is a configuration property that lets you decide how the URL is selected, i.e. how it fails over. But it is not properly configured or documented. http://jira.jboss.com/jira/browse/JBAS-4490
Absent this configuration it uses the default org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory$URLSelector which does NOT the hook you are looking for. I guess you could override this strategy http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/connector/src/main/org/jboss/resource/adapter/jdbc/URLSelectorStrategy.java?view=markup to emit some form of notification when a new url is chosen. But where you would emit that notification to is a different question? ManagedConnectionFactorys are just "stateless" javabeans. They don't have references into the JMX system or any other part of JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055258#4055258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055258 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
