-
1. Re: Deploying Topics in EAR
clebert.suconic Apr 21, 2010 4:29 PM (in response to hosier.david)1 of 1 people found this helpfulWe have developed AS deployers that will parse EARs, WARs.. etc when you deploy to an application server.
that's currently only available on AS6/trunk (or a snapshot build of AS6).
On AS5 with HornetQ integrated, you will have to pre-configure your destinations.
-
2. Re: Deploying Topics in EAR
clebert.suconic Apr 21, 2010 4:31 PM (in response to clebert.suconic)Also, Look at this following thread, as this question was already answered here. There are a few extra deatils there, like the URL for the nightly build:
-
3. Re: Deploying Topics in EAR
hosier.david Apr 21, 2010 4:35 PM (in response to clebert.suconic)Yeah, I saw that other thread, but I don't really consider that an answer to my question, since the topics seem to be getting picked up and just not being bound to JNDI. So by "pre-configure", do you mean my option for now is to just keep the topics in hornetq.sar/hornetq-jms.xml? Thanks for the quick response.
-
4. Re: Deploying Topics in EAR
clebert.suconic Apr 21, 2010 4:42 PM (in response to hosier.david)I just don't think the deployment of any xml file currently works with AS5. You need the deployers written at the AS6 for having it properly working.
If you require XML in your EAR.. you need JBoss AS 6. (That' doesn't work with 5)
For 5, you will just have to change the files at hornetq.sar as you mentioned.
-
5. Re: Deploying Topics in EAR
hosier.david Apr 21, 2010 4:44 PM (in response to clebert.suconic)Okay, that's fine. Thanks for your quick help. Although, I am curious how the topics are showing up in the jmx-console when I deploy them in my EAR, given what you are saying.
-
6. Re: Deploying Topics in EAR
clebert.suconic Apr 21, 2010 5:41 PM (in response to hosier.david)There was some trying to load those files prior to the integration work we have done on AS6. Like looking at .xml files on the classpath.. but I think there are issues with dependencies.. and proper install of those files.
I'm not sure if it's worth pursuing that old model any more. The AS deployers will work in a much better way.
Just as a reference, there is a hornetq-int module on the application server, which has all the deployers.
-
7. Re: Deploying Topics in EAR
pgmjsd Jun 20, 2011 12:56 PM (in response to clebert.suconic)In case anyone that uses JBoss AS 6 is reading this and wondering "So how do I include the XML in the EAR?":
- Add the HornetQ XML file (e.g.
myapp-hornetq-jms.xml
) to theMETA-INF
directory and JBoss AS 6 will load it. - If you're using the Maven EAR plugin, put the file in
src/main/application/META-INF
and the plugin will take care of the rest.
You can verify the new JMS destinations in the admin console after deploying.
- Add the HornetQ XML file (e.g.
-
8. Re: Deploying Topics in EAR
ba.nguyen May 16, 2012 5:31 PM (in response to pgmjsd)Does this also apply to Jboss 7?