You can make as many xxx-service.xml files as you like, for different
datasources, e.g. oracle-foo-service.xml, oracle-bar-service.xml, etc.
Just make sure the JNDI and JMX names in those files don't conflict.

Benjamin

> -----Original Message-----
> From: Patrick Hubers [mailto:[EMAIL PROTECTED]]
> Sent: 05 December 2002 12:37
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] 2 different OracleDS
> 
> 
> --Op 05-12-2002 12:56 +0200 schreef Mokas Vassilis 
> ([EMAIL PROTECTED]):
> 
> ...
> > However, I cannot find how to declare the second Oracle 
> datatsource. In
> > the same oracle-service.xml
> > file with the First Datasource (in the Same MBean ?) or in 
> a different
> > xml file.
> 
> 
> I don't know if it's the most elegant way, but for our DB2 
> datasources we 
> simply duplicated the whole MBean declaration in the 
> db2-service.xml file 
> and changed the connection URLs to point to the different 
> databases. Works 
> alright, but it may not be very kosher.
> 
> HTH
> 
> 
> -- 
> Patrick Hubers
> [EMAIL PROTECTED]
> 
> Solve IT
> Postbus 5063
> 3502 JB Utrecht
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to