Re: Using FilePendingQueueMessageStoragePolicy for non-persistent messaging

2008-01-07 Thread Rob Davies
Hi David, this looks fine - you can set these properties using the xml configuration too btw cheers, Rob On Jan 8, 2008, at 5:23 AM, David Sitsky wrote: Hi, I want to use FilePendingQueueMessageStoragePolicy in my application since I don't use persistent messaging, but I don't want to

Re: ActiveMQ v5.0 + JDK 1.5.0 + MySQL (Too Many Connections)

2008-01-07 Thread Jamie McCrindle
Hiya, We had some connection problems with MySql not dropping old connections quickly enough, the configuration from the mysql site was quite good (i.e. it solved our problem): http://dev.mysql.com/doc/refman/5.0/en/connector-j-usagenotes-j2ee.html#connector-j-usagenotes-tomcat just replace the

Re: Unable to comile C++ client on VC++ 2003

2008-01-07 Thread Albert Strasheim
Hello, I have Visual Studio 2003 available, so I'll take a look at this later today. At first glance, it looks like an issue with the covariant returns. I submitted a small patch long ago to fix a few VS2003 issues: https://issues.apache.org/activemq/browse/AMQCPP-48 but nothing in there loo

Re: ActiveMQ v5.0 + JDK 1.5.0 + MySQL (Too Many Connections)

2008-01-07 Thread David Lloyd
Replying to myself again: I keep getting this: 2008-01-08 13:16:02,466 [main] FATAL ActiveMQTest ActiveMQTest.java (98) - Data source rejected establishment of connection, message from server: "Too many connections" It happens to both JMS and Stomp clients where the persistent header is

Using FilePendingQueueMessageStoragePolicy for non-persistent messaging

2008-01-07 Thread David Sitsky
Hi, I want to use FilePendingQueueMessageStoragePolicy in my application since I don't use persistent messaging, but I don't want to be limited by memory as to the number of queued messages that are outstanding, which for my application might be very large, depending on the data being process

Re: ActiveMQ v5.0 + JDK 1.5.0 + MySQL (Too Many Connections)

2008-01-07 Thread David Lloyd
2. Stomp (from Net::Perl or Gozirra's Stomp) don't seem to trigger the error Sorry, Net::Perl's stomp is able to create the error condition if one sets persistent to true. DSL

ActiveMQ v5.0 + JDK 1.5.0 + MySQL (Too Many Connections)

2008-01-07 Thread David Lloyd
Hi There, I keep getting this: 2008-01-08 13:16:02,466 [main] FATAL ActiveMQTest ActiveMQTest.java (98) - Data source rejected establishment of connection, message from server: "Too many connections" It happens to both JMS and Stomp clients where the persistent header is set. Notes befo

Unable to comile C++ client on VC++ 2003

2008-01-07 Thread [EMAIL PROTECTED]
Hi, I tried to compile the C++ client on VC++ 2003. I had to change the version of VC++ in .sln and .vcproj to make it loaded by VC++ 2003. When I compiled it, I got quick a few errors. Example: TransactionInfo.cpp ..\src\main\activemq\connector\openwire\commands\TransactionInfo.h(77) : error C2

Re: Deadlock in Active MQ 5.0

2008-01-07 Thread Rob Davies
hope so - please try it and let us know! ;) On Jan 7, 2008, at 9:50 PM, ManojC wrote: Thanks all for the answers. Updating to the latest snapshot resolved the issue. Thanks Manoj JRadecki wrote: Just paying it forward... see my post in: http://www.nabble.com/-jira--Created%3A-%28AMQ-1490

un-sent Queue messages not sent when AMQ restarts

2008-01-07 Thread QWERTY?
Hi, I have a problem with AMQ where I have setup a Queue but I need to have it re-send unsent messages if AMQ is to go down, once it has come back up again but currently it does not, though it does store the messages in the database, so atleast they are there, just need them to be sent if they w

Re: Deadlock in Active MQ 5.0

2008-01-07 Thread ManojC
Thanks all for the answers. Updating to the latest snapshot resolved the issue. Thanks Manoj JRadecki wrote: > > Just paying it forward... see my post in: > http://www.nabble.com/-jira--Created%3A-%28AMQ-1490%29-Deadlocks-%28with-JUnit-tests%29-td13702734i20.html#a14605939 > > Also, there are

Re: Deadlock in Active MQ 5.0

2008-01-07 Thread JRadecki
Just paying it forward... see my post in: http://www.nabble.com/-jira--Created%3A-%28AMQ-1490%29-Deadlocks-%28with-JUnit-tests%29-td13702734i20.html#a14605939 Also, there are quite a few other options for the transports and connections, persistence, etc. Hope the above corrects your problem. My

Re: Network of Brokers and Durable Subscribers

2008-01-07 Thread ttmdev
If you haven't done so already, consider using virtual topics. It gives you the functionality of durable topics plus the added benefits of queues. If you find that virtual topics meet your requirements, I'd recommend setting the network connector option, 'dynamicOnly' to true. This ensures that a

Re: does not exist in 5.0

2008-01-07 Thread Rob Davies
yes - though it covers more aspects - like size of message store - so the memoryUsage property of SystemUsage is equivalent of memoryManager. The default is 64mb - so if you don't specify the SystemUsage - the defaults are: memory - 64mb store - 100gb temp store 10 gb cheers, Rob On Jan

Re: ActiveMQ monitoring in a cluster environment

2008-01-07 Thread Rob Davies
That's something we should put in - an advisory of when the master changes will you mid raising a jira ? thanks, Rob On Jan 7, 2008, at 5:50 PM, gfrank wrote: Hi, I'm using a master/slave configuration for high availability. It will be configured with a shared JDBC message store and t

Re: does not exist in 5.0

2008-01-07 Thread shunter
So is the replacement for ? What happens if I do not specify a systemUsage? Is there a "best practices" configuration anywhere ? rajdavies wrote: > > please look at http://activemq.apache.org/using-activemq-5.html - the > section on configuration should help. > > On Jan 7, 2008, at 5:38

EOF Exception When Serializing Large Message

2008-01-07 Thread gwittel
Hi We're using a Perl/Stomp client to retrieve messages out of a standard queue. When a large message was encountered (~20MB of XML), the client stopped processing data. After more debugging, it looks like the server throws an exception when a client hits this message or opens a queue with this

ActiveMQ monitoring in a cluster environment

2008-01-07 Thread gfrank
Hi, I'm using a master/slave configuration for high availability. It will be configured with a shared JDBC message store and there may be multiple slave brokers waiting for the table lock. (Thanks to Viswanath and James for earlier advice on that) What I'd like to implement is an active alert

Re: does not exist in 5.0

2008-01-07 Thread Rob Davies
please look at http://activemq.apache.org/using-activemq-5.html - the section on configuration should help. On Jan 7, 2008, at 5:38 PM, shunter wrote: Hi, I am looking to upgrade from 4.0 to 5.0 and in 5.0, my startup xml has Does not work in 5.0. What is the comparable setting or th

does not exist in 5.0

2008-01-07 Thread shunter
Hi, I am looking to upgrade from 4.0 to 5.0 and in 5.0, my startup xml has Does not work in 5.0. What is the comparable setting or this setting is no longer needed? Otherwise, I am assuming (and it is never good to assume!) that there should not be any other important settings for 5.0 to wor

Re: any activemq version that can handle >1mb message size

2008-01-07 Thread Rob Davies
hi klas, which version are you using ? On Jan 7, 2008, at 4:40 PM, svart wrote: Hi The v5 server leaks memory. (Possibly the client libs too.) I created a toy application: Program-A-loop: consumes a msg from queue q1 and puts it on queue q2. Program-B-loop: consumes a msg from q2 and puts i

Re: any activemq version that can handle >1mb message size

2008-01-07 Thread svart
Hi The v5 server leaks memory. (Possibly the client libs too.) I created a toy application: Program-A-loop: consumes a msg from queue q1 and puts it on queue q2. Program-B-loop: consumes a msg from q2 and puts it on q1. A loop that will stress the server, I know:) Initially, I start with some m

Re: any activemq version that can handle >1mb message size

2008-01-07 Thread James Strachan
On 07/01/2008, CJohn <[EMAIL PROTECTED]> wrote: > > Hi, > > Regrettably, the latest AMQ 5 still has problems with memory on the consumer > side, In what way? You tried reducing the prefetch size to 1? http://activemq.apache.org/what-is-the-prefetch-limit-for.html > and using BLOBs really solves

Re: any activemq version that can handle >1mb message size

2008-01-07 Thread CJohn
Hi, Regrettably, the latest AMQ 5 still has problems with memory on the consumer side, and using BLOBs really solves a different set of requirements than what was asked; I have also had similar problems, and have not found a working combination of an activemq version and persistence solution that

Re: ActiveMQ 5 and Log4j JMSAppender error

2008-01-07 Thread Tom Johnson
It happens every time I've tried it. Not sure if this matters, but I am using Log4j 1.2.15. -- View this message in context: http://www.nabble.com/ActiveMQ-5-and-Log4j-JMSAppender-error-tp14622389s2354p14667052.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: BAD signature from "Hiram Chirino <[EMAIL PROTECTED]>"

2008-01-07 Thread martin_T
I'm sorry, the downloaded zip was corrupt. :blush: -- View this message in context: http://www.nabble.com/BAD-signature-from-%22Hiram-Chirino-%3Chiram%40hiramchirino.com%3E%22-tp14665166s2354p14665992.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

BAD signature from "Hiram Chirino <[EMAIL PROTECTED]>"

2008-01-07 Thread martin_T
Hello, I tried to verify the signature of the activemq 5.0.0 distribution (apache-activemq-5.0.0.zip) but failed with: gpg: Signature made 12/07/07 17:01:14 using DSA key ID F5BA7E4F gpg: BAD signature from "Hiram Chirino <[EMAIL PROTECTED]>" is the key provided at http://www.apache.org/dist/ac

Re: more topics against more filters - overhead estmation

2008-01-07 Thread breezee
Hi Rob, Thanks for the quick response. I am trying to evaluate the trade off with actual numbers, so I can break it into pieces. For example: what the actual different between a topic (we use topics, not queues) which is heavy loaded, against topics with light load. Should I consider combine diff

Re: Slave automatically switch to Master even though Master is up

2008-01-07 Thread James Strachan
On 07/01/2008, MQ Newbie <[EMAIL PROTECTED]> wrote: > > To add on, if I am running one of the broker in the same machine as the > database in Windows OS, everything seems to be fine. But the error was > thrown when running from separate Linux machines. Do you think it has to do > with the MySQL or

Network of Brokers and Durable Subscribers

2008-01-07 Thread Podloucky Konrad
Hi there, I am currently evaluating ActiveMQ for use in a distributed network (hub/spoke topology). We have to deal with unreliable connections, so failover for clients is pretty much desired. I have noticed the following behaviour while testing durable subscribers (Version is 5.0.0): As long as

Re: NullPointerException with RA on Glassfish

2008-01-07 Thread khudalla
Okay Raj(?), how should I proceed on this matter? Do we need consent of any other players in this area? The JIRA issue is not assigned to anyone yet. If I create a patch and post it on JIRA, who will take notice of it and incorporate it into the trunk (and/or previous branches)? Are there any cod

Re: NullPointerException with RA on Glassfish

2008-01-07 Thread Rob Davies
sounds good to me! On Jan 7, 2008, at 8:36 AM, khudalla wrote: Ok then! From my point of view the main problem is the fact that the factory property of the ActiveMQConnectionFactory class is transient. Thus, if the ActiveMQConnectionFactory gets serialized/deserialized in the process of

Re: NullPointerException with RA on Glassfish

2008-01-07 Thread khudalla
Ok then! >From my point of view the main problem is the fact that the factory property of the ActiveMQConnectionFactory class is transient. Thus, if the ActiveMQConnectionFactory gets serialized/deserialized in the process of binding/retrieving from/to JNDI (which glassfish obviously does), its r

Re: Slave automatically switch to Master even though Master is up

2008-01-07 Thread MQ Newbie
To add on, if I am running one of the broker in the same machine as the database in Windows OS, everything seems to be fine. But the error was thrown when running from separate Linux machines. Do you think it has to do with the MySQL or the JConnector? How long do you think the fix for the MySQL