[jboss-user] [EJB/JBoss] - Re: pb : having a jboss service depending on jms or NamingCo

je.a.le do-not-reply at jboss.com
Thu Dec 4 06:20:13 EST 2008


"jaikiran" wrote : How about doing this:
  | - Create a *-service.xml to define/configure the queue. For ex: myqueue-service.xml
  | - Package this myqueue-service.xml at the root of the EAR. 
  | - Create a jboss-app.xml under the META-INF folder of the EAR with the following contents:
  | 
  | <jboss>
  |   | <module>
  |   |       <service>myqueue-service.xml</service>
  |   |    </module>
  |   | </jboss>

hi,
thanks for your help.
i were looking for this solution without succes, and in fact netbeans does expose a service.xml but do not include it in the jboss-app.xml neither in the ear !?! pb solved, thks :-) ) 

after looking at jbossmq-destinations-service.xml sample I tried some more test with @depends and finally made my service depend on my..... mdb . ok, i know, now it's obvious !

thks



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194299#4194299

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194299



More information about the jboss-user mailing list