Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Happy Birthday JavaRanch!

 
Suddhasattwa Mukherjee
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I was previously using JBOSS 4.0.4.GA.Now I want to use the same application in JBOSS 5.0.0Beta4.Can you please tell me how to use the following files in newer version?

Thanks in advance.
Waiting for your reply eagerly.
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JBossAS 5.0, JBoss Messaging has replaced JBossMQ. The new configuration file for the default destinations is server/xxx/deploy/messaging/destinations-service.xml. Note that this file contains only the required default queues and not the testing queues and topics that were in the old JBossMQ destinations file; but you can download JBoss Messaging and get the set of testing queues from there,

There is no change to the datasource configuration files - the example *-ds.xml files are still located in docs/examples/jca. (There is no mcs-oracle-ds.xml file in the server/xxx/deploy directory in the 4.0.4 distribution - if you have one there you must have placed it there.)
 
Suddhasattwa Mukherjee
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.But I still have some queries. I have code like this in jbossmq-destination-service.xml file for queue as well as for topic.Can you suggest one sample how to write it in destination-service.xml.


Regarding the mcs-oracle-ds.xml file,you are right.I have placed it.This file is for connection with external database-oracle10g.Should I place the same file in /deploy/ directory?Would it works.
In jboss community's official site there is a huge description how to connnect with external database.Can you please help me out?

Thanks
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the destinations, use the example file from JBoss Messaging as a template. It should be clear what changes you need to make.

For the *-ds.xml file, yes just place it into the deploy directory - there have been no changes to the contents of *-ds.xml files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic