|
|
| Author |
Message |
< RabbitMQ mailing list ~ Fwd: Fwd: Errors using Windows .NET Client Library |
| Guest |
Posted: Sun Mar 30, 2008 9:33 pm |
|
|
|
Guest
|
Here is the log on RabbitMQ:
Thanks for your help. |
|
|
| Back to top |
|
| Guest |
Posted: Mon Mar 31, 2008 7:54 am |
|
|
|
Guest
|
Bill,,
BillC wrote:
> Here is the log on RabbitMQ:
>
> Thanks for your help. I just cleaned up the old log. Ran the publish
> program twice to enque two messages. Then I ran the subscriber program
> to deque twice.
>
> I see a lot of abrupt connection closures but no real explanations as to
> the reason.
>
>
> =INFO REPORT==== 30-Mar-2008::16:25:40 ===
> disk_log: repairing "c:/Documents and
> Settings/Development/rabbitmq/db/rabbit-mnesia/rabbit_persister.LOG" ...
>
> =INFO REPORT==== 30-Mar-2008::16:25:40 ===
> Repaired persister log - 22 recovered, 0 bad
That is an odd error. Do you get it every time you start the broker? How
are you stopping the broker?
That plus the tracer log you sent previously indicate that your test
uses persistent messages. There is nothing wrong with that but it may
explain why you are seeing errors when we don't. Try running your tests
with transient messages, after clearing out the previously persisted
messages (stop the broker, remove the persister log file mentioned above
and then restart the broker).
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Mar 31, 2008 8:57 am |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Mon Mar 31, 2008 11:48 pm |
|
|
|
Guest
|
Bill,
BillC wrote:
> Thanks for your response. I cleared everything in my Mnesia and Log
> files and restarted the broker. I also changed my props.DeliveryMode =
> 1 to make non persistent messages on basicpublish. I also ensured that
> my basicpublisher closes both the channel and connections properly in
> the basicpublisher code.
I was just trying to run your example and noticed that the consumer code
you sent the other day isn't well-formed - it contains an "else" without
an "if". Can you send through the exact code for both the publisher and
consumer you are running?
It would also be useful to get hold of the compiled code, for me to run
as a comparison. Perhaps you could post it on some upload service such
as uploading.com?
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Apr 01, 2008 1:23 am |
|
|
|
Guest
|
Matthias,
Thanks for looking at this for me. |
|
|
| Back to top |
|
| Guest |
Posted: Tue Apr 01, 2008 1:30 am |
|
|
|
Guest
|
Sorry I forgot to tell you that you can change the hostname, port ..etc in the app.config files to run the .exe without recompiling ....
BillC <billc@inworksol.com> wrote:Quote: Matthias,
Thanks for looking at this for me. |
|
|
| Back to top |
|
| Guest |
Posted: Tue Apr 01, 2008 1:59 am |
|
|
|
Guest
|
Bill,
BillC wrote:
> There are two folders:
> 1) ConsoleApplication2 is the Simple Subscriber
> 2) WindowsApplication1 is the Simple Publisher
>
> The directories contain the full source code and also in the debug/bin
> folder of each you will find the .exe as well as the RabbitMQ.dll that I
> am using.
I have run the exes of both apps against the broker at dev.rabbitmq.com
and everything worked fine - the subscriber is happily waiting for
messages to arrive and printing them.
That was using mono on debian though. You may want to consider switching
to that
I'll try WinXP tomorrow.
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|