-
1. Re: JBoss Messaging and JBoss ESB
kurtstam Feb 9, 2007 10:37 AM (in response to jendruch)Hi Jendruch,
Can you try sending a JMS message using a small standalone client directly to JBossAS (the one with JBossMessaging). And for now leave the ESB out if it? For a little client you may use the code of the JMS bank in the trailblazer example. That should give you an easier problem to solve.
I actually have not had the time yet to use JBossMessaging with the ESB myself, but Jeff deLong did. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94539&start=30
I hope this gets you on your way.
--Kurt -
2. Re: JBoss Messaging and JBoss ESB
jendruch Feb 12, 2007 2:52 PM (in response to jendruch)thanks,
well - I did it - with no success - I've got problem with:
- "5) put jboss-messaging-client.jar in server/../lib" - after this server (4.0.5.GA) failed at start - but I think putting this jar in server/client is enough.
- Putting jboss-remoting.jar from jboss-messsaging.sar - that was another problem which is "root cause of error".
So I had to left JBoss Messaging in peace and start configure ESB Gateway on WebSphere MQ 6.0 on zLinux. This seems to work:-) -
3. Re: JBoss Messaging and JBoss ESB
jendruch Feb 12, 2007 3:00 PM (in response to jendruch)...but of course I'll come back to ESB with JBossMessaging - now still waiting for any idea what to do.
Thanks for any suggestions. -
4. Re: JBoss Messaging and JBoss ESB
kurtstam Feb 12, 2007 5:25 PM (in response to jendruch)I'm happy you found a 'workaround' :). I'll take a look at it. I should have time lateron this week. Wouldn't want you to use this 'infererior' solution for too long ;). --Kurt
-
5. Re: JBoss Messaging and JBoss ESB
kurtstam Feb 13, 2007 1:34 AM (in response to jendruch)Just a quick check; which version of jboss messaging are you trying to use?
-
6. Re: JBoss Messaging and JBoss ESB
jendruch Feb 13, 2007 5:43 AM (in response to jendruch)jboss-messaging-1.0.1.SP2 (but I've tried jboss-messaging-1.2.0.Beta2 too)
-
7. Re: JBoss Messaging and JBoss ESB
kurtstam Feb 13, 2007 11:48 AM (in response to jendruch)Well it looks like 1.2.0.Beta2 has a mashalling issue that just got fixed. So for now I will go try to set it up using 1.0.1SP4 and then revalidate when 1.2.0.CR1 is released.
-
8. Re: JBoss Messaging and JBoss ESB
kurtstam Feb 13, 2007 8:43 PM (in response to jendruch)Hi Jendruch,
I just successfully tried jboss-messaging-1.0.1SP4.
The solution is pretty easy. As explained in this thread on the messaging forum: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=100719
We (JBossESB) needs to be in the same classloading domain. So replace the content of the jbossesb.sar/META-INF/service.xml with:<?xml version="1.0" encoding="UTF-8"?> <server> <!-- Starts the listener controler --> <mbean code="org.jboss.soa.esb.listeners.config.ConfigurationControllerService" name="jboss.org:service=ConfigurationController" description="Configuration controller which generated the config files for the listener and gateway controllers"> <attribute name="ConfigurationFile">jbossesb.xml</attribute> <depends>jboss.org:service=JBossESBDependencies</depends> <depends>jboss.org:service=JuddiRMI</depends> <depends>jboss.jca:service=DataSourceBinding,name=JBossESBDS</depends> </mbean> <loader-repository> jboss.messaging:loader=ScopedLoaderRepository </loader-repository> </server>
There is no need to add the jboss-messaging-client.jar anywhere.
With that change all worked fine for me.
I hope this helps :)
--Kurt -
9. Re: JBoss Messaging and JBoss ESB
kurtstam Feb 13, 2007 8:50 PM (in response to jendruch)Oh I forgot to mention that the entries in the esb-quickstart-service.xml now need to look similar to:
<?xml version="1.0" encoding="UTF-8"?> <server> <loader-repository>jboss.messaging:loader=ScopedLoaderRepository <loader-repository-config>java2ParentDelegation=false</loader-repository-config> </loader-repository> <mbean code="org.jboss.jms.server.destination.Queue" name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request" xmbean-dd="xmdesc/Queue-xmbean.xml"> <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> </mbean> </server>
to bring up your queues.
--Kurt -
10. Re: JBoss Messaging and JBoss ESB
jendruch Feb 14, 2007 1:31 PM (in response to jendruch)Kurt - THANKS!!!!!!!
-
11. Re: JBoss Messaging and JBoss ESB
jjarkko Feb 14, 2007 5:54 PM (in response to jendruch)I'm not that familiar with the differences of JBossMQ and JBoss Messaging, so I'd like to ask a humble question. Why use JBoss Messaging instead JBossMQ?
-
12. Re: JBoss Messaging and JBoss ESB
kurtstam Feb 14, 2007 7:07 PM (in response to jendruch)You should probably ask the Messaging guys. But is going to replace JBossMQ as the default JMS provider (I think as soon as JBossAS 4.2). It already supports full clustering and other messaging formats. You can take a look at
http://labs.jboss.com/file-access/default/members/jbosslabs/freezone/podcasts/Messaging.m4v
I've now also prepared a how-to get it installed with JBossESB:
http://wiki.jboss.org/wiki/attach?page=JBossESBDocumentation%2FJBESB-JBM.pdf
--Kurt -
13. Re: JBoss Messaging and JBoss ESB
kurtstam Feb 14, 2007 7:54 PM (in response to jendruch)Oh and perhaps the coolest feature of JBM is that you can run it standalone, so we can package it up with the JBESB.