Thank you for your suggestions. We implemented the singletons so that they return immediately and run the actual tasks it is supposed to do asynchronously. We also implemented the retry loop to find the connection factory.
We just tested it and the initial results look very promising. The failover happens immediately and all our services come back up in a minute. We are going to be doing more testing over the next week to make sure everything is OK.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972025#3972025
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972025
hi all,
In my application, I have a network of systems that communicate with each other using Remoting. I have one server connector and multiple client connectors (one for each of the other peer systems) on every system.
When I create a client connector, I provide a connection listener to be notified when the connection is lost. I do get the notification when the one of the systems goes down.
How do I get a notification when the connection is available again? I did not see any call back or listener mechanism to get notified when the connection is established again.
Thanks
Saravanan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972023#3972023
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972023
First let me say I do see the OracleExceptionSorter called on a connection error if I setup my application to use Oracle instead of MSSQL.
When testing with Oracle I'm using the JBoss internal connection pool and have the <exception-sorter-class-name> set to a subclass of org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter just so I can log when isExceptionFatal() is called.
I'm stopping the database to force the connection errors.
When testing with MSSQL I set the datasource <exception-sorter-class-name> to my MssqlExceptionSorter class. When the database is stopped I don't see it's isExceptionFatal() called.
Any ideas why?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972022#3972022
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972022
First let me say I do see the OracleExceptionSorter called on a connection error if I setup my application to use Oracle instead of MSSQL.
When testing with Oracle I'm using the JBoss internal connection pool and have the <exception-sorter-class-name> set to a subclass of org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter just so I can log when isExceptionFatal() is called.
I'm stopping the database to force the connection errors.
When testing with MSSQL I set the datasource <exception-sorter-class-name> to my MssqlExceptionSorter class. When the database is stopped I don't see it's isExceptionFatal() called.
Any ideas why?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972021#3972021
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972021