aspose file tools*
The moose likes JBoss/WildFly and the fly likes Happy Birthday JavaRanch! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Happy Birthday JavaRanch!" Watch "Happy Birthday JavaRanch!" New topic
Author

Happy Birthday JavaRanch!

Suddhasattwa Mukherjee
Ranch Hand

Joined: May 28, 2008
Posts: 52
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

Joined: May 14, 2008
Posts: 5842
    
    7

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.)


JBoss In Action
Suddhasattwa Mukherjee
Ranch Hand

Joined: May 28, 2008
Posts: 52
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

Joined: May 14, 2008
Posts: 5842
    
    7

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Happy Birthday JavaRanch!