• 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

Happy Birthday JavaRanch!

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic