-
15. Re: database failover for ejb application (persistance.xml p
grdzeli_kaci Sep 7, 2007 7:28 AM (in response to grdzeli_kaci)ok vickyk, i will try to explain my task,
in my company we have two billing system:
1. Online(Realtime) Billing and
2.Offline Billing
1. online billing is pure java program which uses oracle timesten in-memory databases.
2. offline billing is java (EJB) application(s) , which is on jboss and uses oracle database faiover cluster. for this application oracle is transparent and we have no any problems with it.
but offline billing also use timesten databases described above for online billing, offline billing does not know which timesten database is active and which is stand by, that is know online billing, it takes decision for switching timesten from one to another. after switch it send message to offline billing that which timesten database is active.
know after offline billing got message it must be switch database for itself.
Oracle Timesten In-Memory Database does not have cluster.
Messaging between online and offline billing based on TIBCO Rendezvous Messaging.
we tried to use timesten database for active-standby configuration, one is activa another is standby and so on.
is is correct if i use URLSelector strategy ?
and i don't know what does it mean "BL implemented in URLSelector"
you idea use multiple DS i knew, but i think that is not good design.
ps. sorry for my poor English.
________
Regards,
Paata. -
16. Re: database failover for ejb application (persistance.xml p
vickyk Sep 7, 2007 8:18 AM (in response to grdzeli_kaci)"BL implemented in URLSelector"
BL means Bussiness Logic :)
I am stopping here as your Jboss related issue has been sorted , it is now APPLICATION DEVELOPMENT/DESIGN work , you need to HIRE jee developer :) . -
17. Re: database failover for ejb application (persistance.xml p
grdzeli_kaci Sep 10, 2007 6:04 AM (in response to grdzeli_kaci)"vickyk" wrote:
"BL implemented in URLSelector"
BL means Bussiness Logic :)
I am stopping here as your Jboss related issue has been sorted , it is now APPLICATION DEVELOPMENT/DESIGN work , you need to HIRE jee developer :) .
great thanks for your rich advices :)
but i asked very simple question not a sorted jboss related issues.
HOW I CAN CUSTOMIZE SWITCHING RULE.
There is one rule if one database dead switch to next and so on.
I NEED CUSTOM ORDER, IS THIS SO DIFFICULT ?
is this so many ??
i don't think that is "APPLICATION DEVELOPMENT/DESIGN work" -
18. Re: database failover for ejb application (persistance.xml p
vickyk Sep 10, 2007 6:31 AM (in response to grdzeli_kaci)"grdzeli_kaci" wrote:
but i asked very simple question not a sorted jboss related issues.
HOW I CAN CUSTOMIZE SWITCHING RULE.
There is one rule if one database dead switch to next and so on.
I NEED CUSTOM ORDER, IS THIS SO DIFFICULT ?
is this so many ??
i don't think that is "APPLICATION DEVELOPMENT/DESIGN work"
You never asked for custom switching ORDER Or may be you were asking but it was never interpreted properly .
For custom SORTING you would need to look at the URLSelector approach which has been explained earlier .
And once again it is not ported to 4.* version of Jboss . -
19. Re: database failover for ejb application (persistance.xml p
grdzeli_kaci Sep 11, 2007 1:24 AM (in response to grdzeli_kaci)Thank you very much,
ok, i will try to use multiple datasources before jboss 5 release.
so, is there any deadline for jboss 5 release ? when will be jboss 5 release ?
now latest version is jboss-5.0.0.Beta2. -
20. Re: database failover for ejb application (persistance.xml p
grdzeli_kaci Oct 4, 2007 7:57 AM (in response to grdzeli_kaci)is there any example about custom switching order ?
i tried to use this in jboss 5.0.0.beta2 ? -
22. Re: database failover for ejb application (persistance.xml p
grdzeli_kaci Oct 11, 2007 8:59 AM (in response to grdzeli_kaci)"vicky.kak@jboss.com" wrote:
Run the following test case
https://svn.jboss.org/repos/jbossas/branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/HAConnectionFactoryUnitTestCase
i have never use unit test cases for jboss as,
is there any doc about it ?
is it right to use jrunit ??
Regards,
Paata. -
23. Re: database failover for ejb application (persistance.xml p
vickyk Oct 13, 2007 1:34 PM (in response to grdzeli_kaci)Read this to know how to run the tests
http://docs.jboss.org/jbossas/jboss4guide/r5/html/apc.html#d0e33312