• 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

Creating Connection Factory and Queue in JBOSS 5.x

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator



Till now I worked on weblogic 10.x, Now i am migrating my code from weblogic to JBOSS.
In weblogic i used to create connection factory and queue using weblogic console. Weblogic console provides link on its home for creation of same($Wl_console-->Messaging-->JMS Modules.)
After that by creating JMS module, there was a option of 'JMS module connection factory creation' and 'jms module queue creation' in weblogic console.
But i dont know how to do the same task in jboss. try to be more clear, i'm in lack of ideas in this problem, even it sounds like a classic Please outline the steps
 
chandr prakash
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Waiting for reply!
 
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 JBoss AS 5.x, which uses JBoss Messaging, you create a *-service.xml file which defines the message queue and topics. For an example, see docs/examples/jms/example-destinations-service.xml
For documentation, see http://docs.jboss.org/jbossmessaging/docs/guide-1.0.1.SP5/html_single/index.html#conf.destination
 
chandr prakash
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As suggested by you i create a file in $JBOSS/server/default/deploy/messaging/myqueue-service.xml


But while deploying i am getting following error.Why i am getting this error and how can i solve it?

 
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
You have a typo. Here is a hint: look carefully at the class name for the ClassNotFoundException. Figure out where that is in your *-service.xml file (OK, i'll give you a hint, it's on line 6).

Now go back to the example-destinations-service.xml file and look at how a queue is declared there. An example queue starts on line 79, pay careful attention to the class name on that same line.
 
The fastest and most reliable components of any system are those that are not there. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic