Re: Suppress ActiveMQ log4j messages on client

2008-01-30 Thread David Lloyd
Paul, Paul Smith wrote: On 31/01/2008, at 2:37 PM, QWERTY? wrote: Hi, We're currently using Hibernate and ActiveMQ, but i want to suppress all the activeMQ messages comming through log4j is there an easy way to do this? I can only get it down to debug messages so far using log4j.logg

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

2008-01-08 Thread David Lloyd
Jamie, [Jamie wrote:] 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

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

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

Re: Using ApacheMQ with SJSAS

2007-10-05 Thread David Lloyd
James, (James Strachan said:) So it sounds like you just wanna mostly use ActiveMQ with PHP and Perl right? If so I'd recommend just running the broker via the shell script / windows service / unix service directly; then you don't have to worry about integrating into some app server and messing

Re: Using ApacheMQ with SJSAS

2007-10-04 Thread David Lloyd
Zarick, I've managed to make it work, my notes can be found here: http://www.nixstyle.net/moin/TechNotes/Random/ActivemqGenericraGlassfish Thanks for the notes -- I gave up attempting to get SJSAS to do what I wanted it to do primarily because I managed to replace JBoss' native message queu

Using ApacheMQ with SJSAS

2007-10-02 Thread David Lloyd
Hi There, I want to be able to use ApacheMQ with SJSAS (or Glassfish), however I'm not quite certain how to go about it. I'll state what I want to do, what parameters I have and then what I have read or done: * Specifically, I have some PHP and Perl clients which will need to speak with t