• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HELP - MultiDatabase using JBOSS

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help me - how to configure jboss to run muilti database
when you configure some file
1. mssql-ds.xml
2. standardjaws.xml
3. standardjbosscmp-jdbc.xml
4. and login-config.xml
the JBoss 4.0 server is configured to be used with a MS SQL Server database.
You only run Only one database that you locate it at mssql-ds.xml
Now, i want to run 2 database at 2 application but mssql-ds.xml can not configure another database
Please Help configure to run 2 database
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basically, even though the file name is mssql-ds.xml.

Anything before the "-ds.xml" could be anything and it would still be a datasource. JBoss looks for xxx-ds.xml and deploys a datasource. so you can have two files

mssqlA-ds.xml and mssqlB-ds.xml and you have two different datasources and they point to two different databases.

Mark
 
Today's lesson is that you can't wear a jetpack AND a cape. I should have read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic