Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring JMS destinations and Data sources

 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to configure JMS destinations and data sources in JBoss.
Is it mandatory to place these configuration xml files in the deploy directory or could it be in any of the sub directories in deploy folder?

Thanks,
Srikanth.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Srikanth Reddy:
I am trying to configure JMS destinations and data sources in JBoss.
Is it mandatory to place these configuration xml files in the deploy directory or could it be in any of the sub directories in deploy folder?



You can keep the -ds.xml or -service.xml files under a sub-folder of deploy. But any specific reason you want to do this? Why not package them in your application EAR and then include a jboss-app.xml with the following entries:
 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jaikiran Pai:


You can keep the -ds.xml or -service.xml files under a sub-folder of deploy. But any specific reason you want to do this? Why not package them in your application EAR and then include a jboss-app.xml with the following entries:


I didn't know i could do this. Thanks for letting me know about this.

Thanks,
Srikanth.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic