• 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

MDB with JBoss

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

I am trying to use MDB with JBoss server.I am not able to build it because of some missing tags(JBoss spcific tags) in source code.
following are the tags i am using in source.
/** @ejb.bean name="Message"
* acknowledge-mode="Auto-acknowledge"
* destination-type="javax.jms.Queue"
* transaction-type="Container"
* destination-jndi-name="jndi.BESIntermediateQueue"
* connection-factory-jndi-name="ConnectionFactory"
*
* @jboss.destination-jndi-name name="jndi.BESIntermediateQueue"
* @jboss.container-configuration name="Standard Message driven Bean"
*/

Error while building is :
Message=[Element type "message-driven" must be declared.] is not valid according to its DTD. This might be due to some missing @tags in your source.>>

Please give me some pointers.Thanks in Advance.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by P Lavti:
/** @ejb.bean name="Message"
* acknowledge-mode="Auto-acknowledge"
* destination-type="javax.jms.Queue"
* transaction-type="Container"
* destination-jndi-name="jndi.BESIntermediateQueue"
* connection-factory-jndi-name="ConnectionFactory"
*
* @jboss.destination-jndi-name name="jndi.BESIntermediateQueue"
* @jboss.container-configuration name="Standard Message driven Bean"
*/



Does it work if you remove the @jboss.container-configuration name="Standard Message driven Bean" from those xdoclet tags?
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what version of jboss & xdoclet are you using?
see this link.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMDB
i hope it will solve your problem or at least leads you towards the solution of problem

thanks.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic