Currently, our Java EE examples relies on JMS resources defined by default in the profile
(in jbm-queues.xml + jbm-jms.xml).
However, we must not provide JMS resources by default in AS 5 profiles.
I'll remove them from the profiles generated by JBM2 and update the examples so that
they provide their own config.
I'll remove both jbm-queues.xml and jbm-jms.xml.
E.g. for the MDB example,
When the example is run (ant run), I copy the configuration required by the example (1 CF
+ 1 queue) to $JBOSS_HOME/default-with-jbm2/deploy/messaging.sar and I wait 5 seconds to
let the deployer deploy the resources.
Then I run the MDB example.
Finally, I remove the configurations file I just copied to let the profile in the state it
was before.
I'll update the others examples so they follow the same model.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227027#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...