Active MQ master/slave using JDBC - Database restart

2008-08-11 Thread soa-junkie
I have a JDBC master slave configuration for ActiveMQ using oracle persistence. When I restart my database server while primary and secondary are both running, SQL exception occurs which is fine, but when the db comes back up, both the activemq servers become available. The only solution is to re

How to recover active connection if it is down when using spring?

2008-08-11 Thread Wing
I am using spring for activemq connection, I would like to reconnect/recover the broker connection if the broker is down. I know we can use failover: in the url, but it will cause the tomcat to be held until it can connect to the broker. If I set the retry limit in the url, it will not auto reconn

Re: Under IO Load

2008-08-11 Thread Bruce Snyder
On Mon, Aug 11, 2008 at 3:08 PM, sub3 <[EMAIL PROTECTED]> wrote: > > I have a system where 1 is sending to several (a & b) and occasionally b > sends to c (all queues). Very simple. Persistence is set to false. Queue > sizes are capped at 50mb. > > If I put the system under a heavy i/o load (sev

Re: Nested MapMessage in AMQNET

2008-08-11 Thread Mark Pollack
Great, thanks, I'll keep an eye on that issue! Mark semog wrote: > > Mark, > > I have entered a new Jira for this. Please see [AMQNET-103]. I am > porting > over the equivalent test from the Java code. I don't know if it will work, > but that's what makes TDD so great! :) > > - Jim > > On

Re: Under IO Load

2008-08-11 Thread Mark Webb
what is your hardware configuration? On Mon, Aug 11, 2008 at 8:23 PM, sub3 <[EMAIL PROTECTED]> wrote: > > Sorry, that last sentence sounds wrong, let me restate: > When I run several of those Test.java programs I attached, ActiveMQ stops. > W/o these running ActiveMQ is fine. > So I don't know i

Re: Under IO Load

2008-08-11 Thread sub3
Sorry, that last sentence sounds wrong, let me restate: When I run several of those Test.java programs I attached, ActiveMQ stops. W/o these running ActiveMQ is fine. So I don't know if it is a system resource issue, if so, what? Or it is a condition that only arises when the system is bogged dow

Re: Under IO Load

2008-08-11 Thread sub3
That is correct. The processes that are performing the i/o on the disk are separate jvms. It is not the same as the components using ActiveMQ. They high i/o usage are somehow causing ActiveMQ to stop. I've run many tests, with and without them running, ActiveMQ halts w/o any warnings/errors &

Setting "default" destinationPolicy

2008-08-11 Thread ColinStefani
I want to confirm that I am doing this correctly under 5.x. I have several queues and topics for various clients, servers, etc. to communicate on. In general, I do not need persistence, large pre-fetches or much in the way of message recovery (majority of the clients and services can survive an e

Re: Nested MapMessage in AMQNET

2008-08-11 Thread Jim Gomes
Mark, I have entered a new Jira for this. Please see [AMQNET-103]. I am porting over the equivalent test from the Java code. I don't know if it will work, but that's what makes TDD so great! :) - Jim On Mon, Aug 4, 2008 at 1:42 PM, Mark Pollack <[EMAIL PROTECTED]>wrote: > > Hi, > > Are neste

Re: Under IO Load

2008-08-11 Thread Mark Webb
So if I understand this right, you are sending messages to ActiveMQ while performing I/O, and ActiveMQ is not performing any I/O (other than caching of data) since you are not persisting any data. Is this true? On Mon, Aug 11, 2008 at 5:08 PM, sub3 <[EMAIL PROTECTED]> wrote: > > I have a syste

Re: C# Client throwing StackOverflowException (easy fix but can't fix it correctly)

2008-08-11 Thread Jim Gomes
I logged a Jira [AMQNET-102] for this, fixed it, and checked it in. If you get latest, you should see the fix. Would you test it out and make sure it now works for you. Thanks, Jim On Mon, Aug 11, 2008 at 3:50 PM, sparky2708 <[EMAIL PROTECTED]> wrote: > > Just looked at the code for the C# cli

C# Client throwing StackOverflowException (easy fix but can't fix it correctly)

2008-08-11 Thread sparky2708
Just looked at the code for the C# client from the trunk and it doesn't work. In class ActiveMQDestination.cs I get StackOverflowException – this is pretty straightforward if you look at the code below from ActiveMQ. How can this be put into the code base? (it is an infinite loop). I don't know ho

Under IO Load

2008-08-11 Thread sub3
I have a system where 1 is sending to several (a & b) and occasionally b sends to c (all queues). Very simple. Persistence is set to false. Queue sizes are capped at 50mb. If I put the system under a heavy i/o load (several programs reading/writing lots of files), ActiveMQ will stop. Am I hi

Re: Cannot build

2008-08-11 Thread simone_b
You're welcome. semog wrote: > > Thanks for the feedback. I refactored the StringComparison enum so it > should compile for .NET 1.1 now. I don't have .NET 1.1 environment on my > dev machine, so I didn't catch that. > > On Mon, Aug 11, 2008 at 1:13 AM, simone_b <[EMAIL PROTECTED]> wrote: >

Re: JMS the way to go?

2008-08-11 Thread James Strachan
2008/8/11 RMMM <[EMAIL PROTECTED]>: > > > James.Strachan wrote: >> >> >> I'd be tempted to hide the middleware from your application code; then >> use something like Camel's bean integration to integrate the >> 'messaging' into your business logic in a kinda invisible way - then >> you don't have t

Re: Problems with simple peer:// transport config & Spring

2008-08-11 Thread new2mq
Ping to tickle the forum. Bueller? ... Bueller? I made an interesting observation over the weekend that may help explain what's going on here, but need some assistance. I've modified my spring configuration to use a PooledConnectionFactory. I'm using ActiveMQ 4.1.1 and the 1.1 JMS APIs (He

Re: Cannot build

2008-08-11 Thread Jim Gomes
Thanks for the feedback. I refactored the StringComparison enum so it should compile for .NET 1.1 now. I don't have .NET 1.1 environment on my dev machine, so I didn't catch that. On Mon, Aug 11, 2008 at 1:13 AM, simone_b <[EMAIL PROTECTED]> wrote: > > That seems to be fixed as long as I modify

Re: JMS the way to go?

2008-08-11 Thread RMMM
James.Strachan wrote: > > > I'd be tempted to hide the middleware from your application code; then > use something like Camel's bean integration to integrate the > 'messaging' into your business logic in a kinda invisible way - then > you don't have to spend a while figuring out how to use the

Re: JDK 1.5, 1.6 and FreeBSD

2008-08-11 Thread Eugeny N Dzhurinsky
Allright, I was able to resolve the issue - looks like setChunkedStreamingMode in JDK 1.6 is either broken, or Jetty can't understand it well. I had created the custom uploading strategy, which is using Commons HttpClient 3.1, and things are working fine. Just in case if somebody will find this us

Re: ActiveMQ

2008-08-11 Thread James Strachan
2008/8/8 sk123 <[EMAIL PROTECTED]>: > > Hi > > Is there a way to know if the broker is shutting down? Use Spring to ensure things shut down in dependency order; or use BrokerService.isStarted() -- James --- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com

Re: jms pending messages

2008-08-11 Thread James Strachan
2008/8/11 gurgel brazil <[EMAIL PROTECTED]>: > > hello all! > > does anybody know how to access the pending message count and the messages > itself of a given queue of activemq? Please see http://activemq.apache.org/how-can-i-monitor-activemq.html http://activemq.apache.org/how-do-i-find-the-size-

jms pending messages

2008-08-11 Thread gurgel brazil
hello all! does anybody know how to access the pending message count and the messages itself of a given queue of activemq? best, gurgel -- View this message in context: http://www.nabble.com/jms-pending-messages-tp18923150p18923150.html Sent from the ActiveMQ - User mailing list archive at N

Re: JDK 1.5, 1.6 and FreeBSD

2008-08-11 Thread Eugeny N Dzhurinsky
On Fri, Aug 08, 2008 at 02:25:40PM +0300, Eugeny N Dzhurinsky wrote: > Hello, all! > > I found a very strange issue - having the broker, producer and consumer > running on JDK 1.6 Blob messages aren't processed at all - in the directory > with blobs I can see partial files with blobs and nothing h

Re: JMS the way to go?

2008-08-11 Thread James Strachan
2008/8/11 RMMM <[EMAIL PROTECTED]>: > I'm new to this kind of technology and trying to get some perspective. > I'm writing a software system for a business with about a half dozen > store locations. It's a system that will only be used internally and > (for the foreseeable future) have very low vol

Re: Cannot build

2008-08-11 Thread simone_b
That seems to be fixed as long as I modify the build scripts to exclude the targets that compile the files for the framework 1.1. That target doesn't build successfully. It complains about missing references or usings for the StringComparison enum. semog wrote: > > Hi Simone, > > I have resolv