<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Problem reports (new threads)</title>
		<link>http://wiki.openamq.org/forum/c-358/problem-reports</link>
		<description>Threads in the forum category &quot;Problem reports&quot; - For the fastest response, subscribe to the openamq-dev mailing list and ask your question there.  We read the forums but not as often as we read our email.  To post here, you have to be a registered Wikidot user.</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://wiki.openamq.org/forum/t-33329</guid>
				<title>FreeBSD</title>
				<link>http://wiki.openamq.org/forum/t-33329/freebsd</link>
				<description>OpenAMQ on FreeBSD</description>
				<pubDate>Tue, 01 Jan 2008 14:55:51 +0000</pubDate>
				<wikidot:authorName>Jacobus Geluk</wikidot:authorName>				<wikidot:authorUserId>42193</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I just created a port for OpenAMQ. It has been submitted to "GNATS"<br /> with PR number 119224.<br /> See <a class="newpage" href="http://wiki.openamq.org/http:www-freebsd-org-cgi-query-pr-cgi-pr-ports-119224">//www.freebsd.org/cgi/query-pr.cgi?pr=ports/119224</a> to view<br /> its status or to download the shar file to use and test the port.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.openamq.org/forum/t-23992</guid>
				<title>amq_client_session_wait returns 0 when timeout expires</title>
				<link>http://wiki.openamq.org/forum/t-23992/amq-client-session-wait-returns-0-when-timeout-expires</link>
				<description></description>
				<pubDate>Mon, 22 Oct 2007 11:58:43 +0000</pubDate>
				<wikidot:authorName>Jacobus Geluk</wikidot:authorName>				<wikidot:authorUserId>42193</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The following code is very similar to the example in the OpenAMQ docs:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">if</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-identifier">amq_client_session_wait</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-identifier">implChannel</span><span class="hl-code">, </span><span class="hl-number">5000</span><span class="hl-brackets">))</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-reserved">if</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-identifier">implChannel</span><span class="hl-code">-&gt;</span><span class="hl-identifier">alive</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-identifier">logDebug</span><span class="hl-code"> &lt;&lt; </span><span class="hl-quotes">"</span><span class="hl-string">Timeout expired</span><span class="hl-quotes">"</span><span class="hl-code"> ; </span><span class="hl-brackets">}</span><span class="hl-code"> </span><span class="hl-reserved">else</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-identifier">logDebug</span><span class="hl-code"> &lt;&lt; </span><span class="hl-quotes">"</span><span class="hl-string">Channel died</span><span class="hl-quotes">"</span><span class="hl-code"> ; </span><span class="hl-brackets">}</span><span class="hl-code"> </span><span class="hl-brackets">}</span><span class="hl-code"> </span><span class="hl-reserved">else</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-identifier">logDebug</span><span class="hl-code"> &lt;&lt; </span><span class="hl-quotes">"</span><span class="hl-string">Message(s) arrived</span><span class="hl-quotes">"</span><span class="hl-code"> ; </span><span class="hl-brackets">}</span> </pre></div> </div> <p>My problem is that I never get the message "Timeout expired". The other two work.<br /> The docs say that -1 will be returned when the timeout expired. This does not happen here. amq_client_session_wait always returns 0 when the timeout expires or when messages arrived.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.openamq.org/forum/t-22696</guid>
				<title>Build on Mac OS X fails...</title>
				<link>http://wiki.openamq.org/forum/t-22696/build-on-mac-os-x-fails</link>
				<description></description>
				<pubDate>Thu, 11 Oct 2007 14:31:42 +0000</pubDate>
				<wikidot:authorName>Jacobus Geluk</wikidot:authorName>				<wikidot:authorUserId>42193</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>On Mac OS X 10.4.10 I try to build OpenAMQ but I get the following error:</p> <p>(The /develop/OpenAMQ-1.2c4 has been renamed to /develop/openamq)</p> <div class="code"> <pre> <code>mac:~/develop/openamq/OpenAMQ-1.2c4 jag$ ./boomake clean boom I: [OpenAMQ]: Processing project in common... boom I: [OpenAMQ]: Processing project in clients... boom I: [OpenAMQ]: Processing project in server... boom I: [OpenAMQ]: Processing project in operate... boom I: [OpenAMQ]: Processing project in website... mac:~/develop/openamq/OpenAMQ-1.2c4 jag$ ./boomake build boom I: [OpenAMQ]: Processing project in common... boom I: [OpenAMQ_Common]: Building OpenAMQ Common... boomake: line 154: c: command not found boom E: [OpenAMQ_Common]: "c -q -li /Users/jag/develop/openamq/OpenAMQ-1.2c4/_install/include -ll /Users/jag/develop/openamq/OpenAMQ-1.2c4/_install/lib amq_constants" failed - stop boom E: [OpenAMQ]: stop mac:~/develop/openamq/OpenAMQ-1.2c4 jag$</code> </pre></div> <p>What can this be? What is the "c" command here? I suppose it is not the C compiler…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.openamq.org/forum/t-13658</guid>
				<title>Open AMQ won&#039;t build on AIX 5.3</title>
				<link>http://wiki.openamq.org/forum/t-13658/open-amq-won-t-build-on-aix-5-3</link>
				<description>After running ./build.sh it appears that the build hangs while building apr.</description>
				<pubDate>Thu, 12 Jul 2007 22:06:26 +0000</pubDate>
				<wikidot:authorName>murph</wikidot:authorName>				<wikidot:authorUserId>25823</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>murphyj@sbkdjiblade1:OpenAMQ&gt; ./build.sh<br /> boom I: [foreign]: Processing project in c…<br /> boom I: [c]: Building C compile scripts…<br /> boom I: [c]: Installing C compile scripts into /home/murphyj/PubSub/vendor/OpenAMQ/foreign-1.1d4/_install…<br /> boom I: [foreign]: Processing project in apr…<br /> boom I: [apr]: Building apr…<br /> APR-util Version: 1.2.2<br /> Applying apr-util hints file rules for powerpc-ibm-aix5.3.0.0<br /> checking for ldap support…<br /> &lt;hangs here&gt;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.openamq.org/forum/t-6752</guid>
				<title>amq_server segfault</title>
				<link>http://wiki.openamq.org/forum/t-6752/amq-server-segfault</link>
				<description>Using my own client library (in development), I can reliably cause OpenAMQ/1.2c1 to segfault.   There is a good possibility that my library is buggy or non-conforming, but the server must not crash, even when handed a bad data stream.</description>
				<pubDate>Wed, 28 Mar 2007 23:46:10 +0000</pubDate>
				<wikidot:authorName>evil_otto</wikidot:authorName>				<wikidot:authorUserId>13800</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have 2 client programs, a sender and a receiver.</p> <p>The sender connects, opens a channel, and calls basic:publish to send a number of messages to amq.direct.</p> <p>The receiver connects, opens a channel, declares a queue, binds the queue to amq.direct, calls basic:consume, and sits listening for incoming messages.</p> <p>If I start my receiver, abort it (hit control-c to cause an abnormal disconnect), run my sender, and then start my receiver again, openamq segfaults.</p> <p>(I hope to have my client in distributable form shortly, currently it is just a pile of files)</p> <p>OS is linux 2.4.</p> <p>Here is trace output:</p> <p>$ ./amq_server -v<br /> OpenAMQ/1.2c1 - revision 10266<br /> Production release</p> <p>Copyright (c) 2007 iMatix Corporation<br /> This is free software; see the source for copying conditions. There is NO<br /> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p> <p>Build model:Production release<br /> Memory model: direct<br /> Threading model: multithreaded</p> <p>Compiler: gcc -c -I/u01/jeff/amqp/OpenAMQ-1.2c1/OpenAMQ-1.2c1/_install/include -O2 -Wall -pthread -D_REENTRANT -DICL_MEM_DEFAULT_DIRECT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DBASE_THREADSAFE -I/u01/jeff/amqp/ibase/include amq_server.c</p> <p>$ ./amq_server —trace 1<br /> OpenAMQ/1.2c1<br /> Production release</p> <p>Copyright (c) 2007 iMatix Corporation<br /> This is free software; see the source for copying conditions. There is NO<br /> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p> <p>2007-03-28&nbsp;16:39:53: W: security warning - logins use default passwords<br /> 2007-03-28&nbsp;16:39:53: I: server binding to 10.223.234.165:5672<br /> 2007-03-28&nbsp;16:39:53: I: server starting in stand-alone mode<br /> 2007-03-28&nbsp;16:39:54: I: server ready for incoming AMQ connections<br /> 2007-03-28&nbsp;16:39:57: I: send connection.start: version_major=0 version_minor=9 server_properties=197B mechanisms=5B locales=5B<br /> 2007-03-28&nbsp;16:39:57: I: recv connection.start-ok: client_properties=61B mechanism="PLAIN" response=13B locale="en_US"<br /> 2007-03-28&nbsp;16:39:57: I: send connection.tune: channel_max=255 frame_max=32768 heartbeat=2<br /> 2007-03-28&nbsp;16:39:57: I: recv connection.tune-ok: channel_max=5 frame_max=32767 heartbeat=2<br /> 2007-03-28&nbsp;16:39:57: I: recv connection.open: virtual_host="test" capabilities="" insist=0<br /> 2007-03-28&nbsp;16:39:57: I: send connection.open-ok: known_hosts=""<br /> 2007-03-28&nbsp;16:39:57: I: recv channel.open: out_of_band="/development"<br /> 2007-03-28&nbsp;16:39:57: I: send channel.open-ok: channel_id=4B<br /> 2007-03-28&nbsp;16:39:57: I: recv queue.declare: ticket=101 queue="fqueue" passive=0 durable=1 exclusive=0 auto_delete=0 nowait=0 arguments=0B<br /> 2007-03-28&nbsp;16:39:57: I: send queue.declare-ok: queue="fqueue" message_count=0 consumer_count=0<br /> 2007-03-28&nbsp;16:39:57: I: recv queue.bind: ticket=101 queue="fqueue" exchange="amq.direct" routing_key="joe" nowait=0 arguments=0B<br /> 2007-03-28&nbsp;16:39:57: I: send queue.bind-ok:<br /> 2007-03-28&nbsp;16:39:57: I: recv basic.consume: ticket=101 queue="fqueue" consumer_tag="mine" no_local=0 no_ack=1 exclusive=0 nowait=0 arguments=0B<br /> 2007-03-28&nbsp;16:39:57: I: send basic.consume-ok: consumer_tag="mine"<br /> 2007-03-28&nbsp;16:39:57: W: unexpected disconnection (127.0.0.1:42257, tcl-amqp-client, 0.1, )<br /> 2007-03-28&nbsp;16:39:59: I: send connection.start: version_major=0 version_minor=9 server_properties=197B mechanisms=5B locales=5B<br /> 2007-03-28&nbsp;16:39:59: I: recv connection.start-ok: client_properties=61B mechanism="PLAIN" response=13B locale="en_US"<br /> 2007-03-28&nbsp;16:39:59: I: send connection.tune: channel_max=255 frame_max=32768 heartbeat=2<br /> 2007-03-28&nbsp;16:39:59: I: recv connection.tune-ok: channel_max=5 frame_max=32767 heartbeat=2<br /> 2007-03-28&nbsp;16:39:59: I: recv connection.open: virtual_host="test" capabilities="" insist=0<br /> 2007-03-28&nbsp;16:39:59: I: send connection.open-ok: known_hosts=""<br /> 2007-03-28&nbsp;16:39:59: I: recv channel.open: out_of_band="/development"<br /> 2007-03-28&nbsp;16:39:59: I: send channel.open-ok: channel_id=4B<br /> 2007-03-28&nbsp;16:39:59: I: recv basic.publish: ticket=101 exchange="amq.direct" routing_key="joe" mandatory=1 immediate=1<br /> 2007-03-28&nbsp;16:39:59: I: send basic.return: reply_code=310 reply_text="No immediate consumers for Basic message" exchange="amq.direct" routing_key="joe"<br /> 2007-03-28&nbsp;16:39:59: I: recv basic.publish: ticket=101 exchange="amq.direct" routing_key="joe" mandatory=0 immediate=0<br /> 2007-03-28&nbsp;16:39:59: I: recv basic.publish: ticket=101 exchange="amq.direct" routing_key="joe" mandatory=0 immediate=0<br /> 2007-03-28&nbsp;16:39:59: W: unexpected disconnection (127.0.0.1:42258, tcl-amqp-client, 0.1, )<br /> 2007-03-28&nbsp;16:40:00: I: send connection.start: version_major=0 version_minor=9 server_properties=197B mechanisms=5B locales=5B<br /> 2007-03-28&nbsp;16:40:00: I: recv connection.start-ok: client_properties=61B mechanism="PLAIN" response=13B locale="en_US"<br /> 2007-03-28&nbsp;16:40:00: I: send connection.tune: channel_max=255 frame_max=32768 heartbeat=2<br /> 2007-03-28&nbsp;16:40:00: I: recv connection.tune-ok: channel_max=5 frame_max=32767 heartbeat=2<br /> 2007-03-28&nbsp;16:40:00: I: recv connection.open: virtual_host="test" capabilities="" insist=0<br /> 2007-03-28&nbsp;16:40:00: I: send connection.open-ok: known_hosts=""<br /> 2007-03-28&nbsp;16:40:01: I: recv channel.open: out_of_band="/development"<br /> 2007-03-28&nbsp;16:40:01: I: send channel.open-ok: channel_id=4B<br /> 2007-03-28&nbsp;16:40:01: I: recv queue.declare: ticket=101 queue="fqueue" passive=0 durable=1 exclusive=0 auto_delete=0 nowait=0 arguments=0B<br /> Segmentation fault</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.openamq.org/forum/t-6428</guid>
				<title>Executing PAL Scripts</title>
				<link>http://wiki.openamq.org/forum/t-6428/executing-pal-scripts</link>
				<description>Command line executable for PAL scripts</description>
				<pubDate>Fri, 23 Mar 2007 00:45:15 +0000</pubDate>
				<wikidot:authorName>86.131.61.99</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Please could you tell me what the executable name is for calling PAL scripts. I've tried PAL -h and expected to get a list of commands as described in the documentation e.g.</p> <p>Syntax: program [options…]<br /> Options:<br /> -s server Server:port to connect to (localhost)<br /> -t level Set trace level (default = 0)<br /> 0=none, 1=low, 2=medium, 3=high<br /> -r count Repeat script count times, 0=forever (1)<br /> -c Clock the script (0)<br /> -a Animate: show script commands<br /> -e Execute in single-step mode (0)<br /> -q Quiet mode: no messages<br /> -v Show version information<br /> -h Show summary of command-line options<br /> The order of arguments is not important. Switches and filenames<br /> are case sensitive. See documentation for detailed information.</p> <p>However I get the following:-</p> <p>cbourne@cbourne-desktop:~/ibase$ pal -h<br /> E: '-h' is not a PAL script</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>