Meaningless Drivel is fun!*
The moose likes JBoss/WildFly and the fly likes can we add two datasource in one oracle-ds.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "can we add two datasource in one oracle-ds.xml" Watch "can we add two datasource in one oracle-ds.xml" New topic
Author

can we add two datasource in one oracle-ds.xml

pravin karne
Ranch Hand

Joined: Jul 26, 2007
Posts: 31
friends,

i want to use more than one database in one connection pool...
how can i configure the oracle-ds.xml...

Thank in advance
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10285
    
169

Pravin,

Welcome to JavaRanch

i want to use more than one database in one connection pool...


Do you mean you want to configure 2 datasources, in the same -ds.xml file? That's possible. Your oracle-ds.xml could contain:


This is just an example and shows how 2 datasources are configured in the same -ds.xml file

[ July 26, 2007: Message edited by: Jaikiran Pai ]
[ July 26, 2007: Message edited by: Jaikiran Pai ]

[My Blog] [JavaRanch Journal]
pravin karne
Ranch Hand

Joined: Jul 26, 2007
Posts: 31
Thanks Jaikiran


My problem is get solved

Onnce again thanks for sending instance reply
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we add two datasource in one oracle-ds.xml