[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-10-13 Thread vickyk
Read this to know how to run the tests http://docs.jboss.org/jbossas/jboss4guide/r5/html/apc.html#d0e33312 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094900#4094900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094900

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-10-11 Thread grdzeli_kaci
[EMAIL PROTECTED] 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

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-10-04 Thread grdzeli_kaci
is there any example about custom switching order ? i tried to use this in jboss 5.0.0.beta2 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091479#4091479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091479

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-10-04 Thread [EMAIL PROTECTED]
Run the following test case https://svn.jboss.org/repos/jbossas/branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/HAConnectionFactoryUnitTestCase View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091512#4091512 Reply to the post :

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-10 Thread grdzeli_kaci
vickyk wrote : anonymous 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 :)

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-10 Thread vickyk
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

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-10 Thread 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. View the original post :

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread vickyk
4.2 Changes | As of JBoss 4.2.x the url-delimeter property has been updated to fix the typo. The property is now correctly named url-delimiter. Read this from the following link http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCADatabaseFailover So verify what version of the Jboss are you

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread grdzeli_kaci
thank you, i don't want that you help me to write my application code. simple, i need to understand. ok, i will not use URLSelectorStrategy. how i can handle switching of appropriate DS? may i use ha-xa-datasources and implement ConnectionChecker and ExceptionSorter classes or simple add

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread 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

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread vickyk
grdzeli_kaci wrote : | i thought that is is possible to change anything in ha-xa-datasource and i could manage datasources. | ha-xa-datasource is basically used for load balancing at the Jboss side . If you are trying to implement your custom load balancer logic then implementing

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread vickyk
grdzeli_kaci wrote : | may i use ha-xa-datasources and implement ConnectionChecker and ExceptionSorter classes or simple add multiple DS into my -ds.xml file ? | You are completely going in a wrong direction All you have to do is to configure multiple DS in JBoss which can be done by

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread vickyk
you don't need URLSelectorStrategy , you need to handle the switching of appropriate DS in your MDB . Now you need to do your OWN HOMEWORK :) , I am not going to help you writing the application code View the original post :

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread vickyk
grdzeli_kaci wrote : | i have message driven bean, and if i got some message i want to switch database, message contains information which database must i use? | is it possible ? | This needs to be controlled at the application code level . View the original post :

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread vickyk
grdzeli_kaci wrote : hi again, | i have another question about failover, | i want switch database manually, all databasese for jboss are working but i want switch manually from one to another. | is it possible ? | What do you mean by manually ? I think you need to handle this from the

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread grdzeli_kaci
vickyk wrote : 4.2 Changes | | As of JBoss 4.2.x the url-delimeter property has been updated to fix the typo. The property is now correctly named url-delimiter. | Read this from the following link | http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCADatabaseFailover | | So verify what

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread grdzeli_kaci
hi again, i have another question about failover, i want switch database manually, all databasese for jboss are working but i want switch manually from one to another. is it possible ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081958#4081958 Reply to the

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread grdzeli_kaci
yap, i understand what you say but i think that this is not good way, i have approximately 100 session bean where i use data sources. do you think that if i did what you say into onMessage and then all sesssion beans get datasources from this message driven ben is good idea ??? i thought that

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread vickyk
vickyk wrote : grdzeli_kaci wrote : | | may i use ha-xa-datasources and implement ConnectionChecker and ExceptionSorter classes or simple add multiple DS into my -ds.xml file ? | | | You are completely going in a wrong direction | All you have to do is to configure multiple DS in

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread grdzeli_kaci
i think you mean that i can write SampleUrlSelector class and put into the $JBOSS_HOME/server/default/lib directory, am i right ? as you told on this topic : http://www.jboss.com/index.html?module=bbop=viewtopict=110391postdays=0postorder=ascstart=10 anonymous wrote : | All you need is to

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread grdzeli_kaci
i can't fount and documentations about it :(, if you know please post it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082036#4082036 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082036

[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-07 Thread grdzeli_kaci
great thanks vickyk for your posts, i have message driven bean, and if i got some message i want to switch database, message contains information which database must i use? is it possible ? i will read yuor links, Thanks, View the original post :