<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.12-alpha" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: STOMP adapter updated for RabbitMQ 1.3.0</title>
	<link>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130</link>
	<description>What happens at LShift</description>
	<pubDate>Fri, 08 Aug 2008 18:57:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.12-alpha</generator>

	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-108450</link>
		<pubDate>Thu, 03 Jul 2008 16:49:05 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-108450</guid>
					<description>&lt;p&gt;((I accidentally deleted a bunch of comments I didn't mean to delete today, so I'm having to repost them manually:))&lt;/p&gt;

&lt;p&gt;tonyg wrote:&lt;/p&gt;

&lt;p&gt;Aman, thank you for pointing this out. This is something I should have remarked on in the main article - I’ll update it in a second. The problem is that our internal codebase has moved on a little since RabbitMQ 1.3.0 was released, so there are actually two branches in the rabbitmq-stomp mercurial repository: default, which tracks the main branch of the server, and rabbitmq&lt;em&gt;v1&lt;/em&gt;3&lt;em&gt;0&lt;/em&gt;branch, which compiles against the released 1.3.0 release of the server.&lt;/p&gt;

&lt;p&gt;The diff you’ve provided catches one of the three areas where the two stomp adapter differ; there are a couple of similar changes that need to be made.&lt;/p&gt;

&lt;p&gt;Does it work out-of-the-box if, once you have performed your “hg clone” step, you run “hg update rabbitmq&lt;em&gt;v1&lt;/em&gt;3&lt;em&gt;0&lt;/em&gt;branch”, to switch to the maintenance branch, before compiling and running?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>((I accidentally deleted a bunch of comments I didn&#8217;t mean to delete today, so I&#8217;m having to repost them manually:))</p>
<p>tonyg wrote:</p>
<p>Aman, thank you for pointing this out. This is something I should have remarked on in the main article - I’ll update it in a second. The problem is that our internal codebase has moved on a little since RabbitMQ 1.3.0 was released, so there are actually two branches in the rabbitmq-stomp mercurial repository: default, which tracks the main branch of the server, and rabbitmq<em>v1</em>3<em>0</em>branch, which compiles against the released 1.3.0 release of the server.</p>
<p>The diff you’ve provided catches one of the three areas where the two stomp adapter differ; there are a couple of similar changes that need to be made.</p>
<p>Does it work out-of-the-box if, once you have performed your “hg clone” step, you run “hg update rabbitmq<em>v1</em>3<em>0</em>branch”, to switch to the maintenance branch, before compiling and running?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-108449</link>
		<pubDate>Thu, 03 Jul 2008 16:48:38 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-108449</guid>
					<description>&lt;p&gt;((I accidentally deleted a bunch of comments I didn't mean to delete today, so I'm having to repost them manually:))&lt;/p&gt;

&lt;p&gt;Aman Gupta wrote:&lt;/p&gt;

&lt;p&gt;Just ran into a bug with the latest hg stomp adapter:&lt;/p&gt;

&lt;p&gt;{”init terminating in doboot”,{{nocatch,{error,{cannotstartapplication,rabbit,{badreturn,{{rabbit,start,[normal,[]]},{’EXIT’,{{badmatch,{ok,{0,0,0,0},’rabbitstomplistenersup0.0.0.0:61613′}},[{rabbitstomp,startlisteners,1},{rabbitstomp,start,1},{rabbitstomp,kickstart,0},{rabbit,’-start/2-fun-0-’,1},{lists,foreach,2},{rabbit,start,2},{applicationmaster,startitold,4}]}}}}}}},[{init,startit,1},{init,start_em,1}]}}&lt;/p&gt;

&lt;p&gt;Here’s a diff that fixes it:&lt;/p&gt;

&lt;p&gt;diff -r 538381ba2feb src/rabbitstomp.erl
— a/src/rabbitstomp.erl Mon Jun 16 16:39:29 2008 +0100
+++ b/src/rabbitstomp.erl Wed Jun 25 14:34:13 2008 -0700
@@ -57,7 +57,7 @@
startlisteners([]) -&gt;
ok;
startlisteners([{Host, Port} &#124; More]) -&gt;
- {IPAddress, Name} = rabbitnetworking:checktcplisteneraddress(rabbitstomplistenersup,
+ {ok, IPAddress, Name} = rabbitnetworking:checktcplisteneraddress(rabbitstomplistenersup,
Host,
Port),
{ok,} = supervisor:start_child(&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>((I accidentally deleted a bunch of comments I didn&#8217;t mean to delete today, so I&#8217;m having to repost them manually:))</p>
<p>Aman Gupta wrote:</p>
<p>Just ran into a bug with the latest hg stomp adapter:</p>
<p>{”init terminating in doboot”,{{nocatch,{error,{cannotstartapplication,rabbit,{badreturn,{{rabbit,start,[normal,[]]},{’EXIT’,{{badmatch,{ok,{0,0,0,0},’rabbitstomplistenersup0.0.0.0:61613′}},[{rabbitstomp,startlisteners,1},{rabbitstomp,start,1},{rabbitstomp,kickstart,0},{rabbit,’-start/2-fun-0-’,1},{lists,foreach,2},{rabbit,start,2},{applicationmaster,startitold,4}]}}}}}}},[{init,startit,1},{init,start_em,1}]}}</p>
<p>Here’s a diff that fixes it:</p>
<p>diff -r 538381ba2feb src/rabbitstomp.erl<br />
— a/src/rabbitstomp.erl Mon Jun 16 16:39:29 2008 +0100<br />
+++ b/src/rabbitstomp.erl Wed Jun 25 14:34:13 2008 -0700<br />
@@ -57,7 +57,7 @@<br />
startlisteners([]) -><br />
ok;<br />
startlisteners([{Host, Port} | More]) -><br />
- {IPAddress, Name} = rabbitnetworking:checktcplisteneraddress(rabbitstomplistenersup,<br />
+ {ok, IPAddress, Name} = rabbitnetworking:checktcplisteneraddress(rabbitstomplistenersup,<br />
Host,<br />
Port),<br />
{ok,} = supervisor:start_child(</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-108436</link>
		<pubDate>Thu, 03 Jul 2008 16:40:36 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-108436</guid>
					<description>&lt;p&gt;((I accidentally deleted a bunch of comments I didn't mean to delete today, so I'm having to repost them manually:))&lt;/p&gt;

&lt;p&gt;manuel said:&lt;/p&gt;

&lt;p&gt;Hey Tony,&lt;/p&gt;

&lt;p&gt;That was it. There was one missing pkg (’erlang’ in Ubuntu Hardy) from my erlang installation. Thanks a lot!!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>((I accidentally deleted a bunch of comments I didn&#8217;t mean to delete today, so I&#8217;m having to repost them manually:))</p>
<p>manuel said:</p>
<p>Hey Tony,</p>
<p>That was it. There was one missing pkg (’erlang’ in Ubuntu Hardy) from my erlang installation. Thanks a lot!!</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-98394</link>
		<pubDate>Sat, 24 May 2008 00:09:46 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-98394</guid>
					<description>&lt;p&gt;Hi Manuel,&lt;/p&gt;

&lt;p&gt;Are you sure you have a full Erlang installation, including Mnesia, available? The error message you're getting seems to indicate it cannot find the mnesia:system_info function. Some operating systems package the OTP support libraries separately from the core Erlang runtime, so perhaps there is an additional package you could install.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Manuel,</p>
<p>Are you sure you have a full Erlang installation, including Mnesia, available? The error message you&#8217;re getting seems to indicate it cannot find the mnesia:system_info function. Some operating systems package the OTP support libraries separately from the core Erlang runtime, so perhaps there is an additional package you could install.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: manuel</title>
		<link>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-98359</link>
		<pubDate>Fri, 23 May 2008 20:52:05 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130#comment-98359</guid>
					<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I'm trying to run the adapter, but it's crashing:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
Erlang (BEAM) emulator version 5.5.5 [source] [64-bit] [async-threads:30] [kernel-poll:true]&lt;/p&gt;

&lt;p&gt;Eshell V5.5.5  (abort with ^G)
(rabbit@pennylane)1&#62; {"init terminating in do&lt;em&gt;boot",{undef,[{mnesia,system&lt;/em&gt;info,[directory]},{rabbit&lt;em&gt;mnesia,ensure&lt;/em&gt;mnesia&lt;em&gt;dir,0},{rabbit,start,0},{init,start&lt;/em&gt;it,1},{init,start_em,1}]}}&lt;/p&gt;

&lt;p&gt;Crash dump was written to: erl&lt;em&gt;crash.dump
init terminating in do&lt;/em&gt;boot ()
make[1]: *** [run] Error 1&lt;/p&gt;

&lt;p&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I&#8217;m trying to run the adapter, but it&#8217;s crashing:</p>
<p><code><br />
Erlang (BEAM) emulator version 5.5.5 [source] [64-bit] [async-threads:30] [kernel-poll:true]</code></p>
<p>Eshell V5.5.5  (abort with ^G)<br />
(rabbit@pennylane)1&gt; {&#8221;init terminating in do<em>boot&#8221;,{undef,[{mnesia,system</em>info,[directory]},{rabbit<em>mnesia,ensure</em>mnesia<em>dir,0},{rabbit,start,0},{init,start</em>it,1},{init,start_em,1}]}}</p>
<p>Crash dump was written to: erl<em>crash.dump<br />
init terminating in do</em>boot ()<br />
make[1]: *** [run] Error 1</p>
</p>
<p>Thank you!</p>
]]></content:encoded>
				</item>
</channel>
</rss>
