Re: setDeleteAllMessagesOnStartup(true) and MySql

2007-06-11 Thread Tom Samplonius
- "Raffaele" <[EMAIL PROTECTED]> wrote: ... > To accomplish this can I use setDeleteAllMessagesOnStartup(true) on > startup > or have I to use specific SQL delete statement on activemq DB? ... You should look into the URI configuration. You can set certain Xbean config options on the com

Integrate Activemq 4.1.1 RA with Weblogic 9.2

2007-06-11 Thread wallace
I am following the instruction on http://activemq.apache.org/how-to-deploy-activemq-ra-versionrar-to-weblogic.html to integrate activemq 4.1.1 with WebLogic 9.2 When I tried to deploy the rar file, I got the errors Unable to access the selected application. [J2EE Deployment SPI:260101]Par

Re: Master/Slave on Weblogic

2007-06-11 Thread eta
I've been messing with the JDBC database locker code recently, and yes, it will work as you described. The default database locker service start() method will not return until it has acquired the lock, indicating that it is the master broker. I'm not sure what the recommended way around this wou

Re: Errors occur when running ActiveMQ Sample. Please help!

2007-06-11 Thread Bruce Snyder
On 6/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, ActiveMQ is up and running. I have some error when running ActiveMQ Sample: #ant producer Buildfile: build.xml init: compile: producer: [echo] Running producer against server at $url = tcp://localhost:61616 for subject $subj

Errors occur when running ActiveMQ Sample. Please help!

2007-06-11 Thread [EMAIL PROTECTED]
Hi, ActiveMQ is up and running. I have some error when running ActiveMQ Sample: #ant producer Buildfile: build.xml init: compile: producer: [echo] Running producer against server at $url = tcp://localhost:61616 for subject $subject = TEST.FOO [java] gij: unrecognized option -- `-se

Re: how do I know activeMQ is working

2007-06-11 Thread jason . dillon
Yup that is GNU java... And from what I can tell it doesn't work very well with most apps. Yet unfortunatly many linux distros come with that on the path which hoses many users. Use suns JVM and life will be much easier ;-) --jason -Original Message- From: "Bruce Snyder" <[EMAIL PROT

Re: how do I know activeMQ is working

2007-06-11 Thread Bruce Snyder
On 6/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: When I run producer and consumer I got the same error. What am I missing? -bash-2.05b# ant producer Buildfile: build.xml init: compile: producer: [echo] Running producer against server at $url = tcp://localhost:61616 for subje

Re: how do I know activeMQ is working

2007-06-11 Thread [EMAIL PROTECTED]
When I run producer and consumer I got the same error. What am I missing? -bash-2.05b# ant producer Buildfile: build.xml init: compile: producer: [echo] Running producer against server at $url = tcp://localhost:61616 for subject $subject = TEST.FOO [java] gij: unrecognized option

Master/Slave on Weblogic

2007-06-11 Thread wallace
I am using activemq4.1.1 and weblogic 9.2. I integrated activemq into the war of my application. It is running fine in a standalone application. And I tried to deploy in a clustered env (2 servers)and configure the activemq to use JDBC Master/Slave (they both use same JDBC datasource). I expected

Re: Performance tests?

2007-06-11 Thread Phil Goodwin
On 6/11/07 11:21 AM, "James Strachan" <[EMAIL PROTECTED]> wrote: > On 6/11/07, Phil Goodwin <[EMAIL PROTECTED]> wrote: >> I was unable to get a clean Maven build from the 4.1.1 sources for either >> the base build or the performance testing without changing the POMs. Is that >> a known issue, or s

Re: ActiveMQ on JBoss -> null system property??

2007-06-11 Thread acooper
Ok, so I answered the question: the code is incorrect - it is trying to store a non-String value in a Properties object - check java.util.Properties and you will find that you (a) should not use Properties.put() and (b) you should not store a non-String object in Properties. Then look at Propertie

ActiveMQ on JBoss -> null system property??

2007-06-11 Thread acooper
We're trying to use ActiveMQ (4.2-SNAPSHOT 06/07/07) on JBoss 4.0.4 and are running into an interesting problem - somehow ActiveMQ is managing to set a null system property. Null system properties are disallowed in Java. The property in question is org.apache.activemq.kaha.Store and is set in the

Re: Performance tests?

2007-06-11 Thread James Strachan
On 6/11/07, Phil Goodwin <[EMAIL PROTECTED]> wrote: On 6/11/07 5:15 AM, "James Strachan" <[EMAIL PROTECTED]> wrote: > On 6/9/07, Phil Goodwin <[EMAIL PROTECTED]> wrote: >> Is activemq-perftest still valid as a performance test? Is Jmeter still >> supported? >> ... > > Its a little crufty now. A

Re: Performance tests?

2007-06-11 Thread Phil Goodwin
On 6/11/07 5:15 AM, "James Strachan" <[EMAIL PROTECTED]> wrote: > On 6/9/07, Phil Goodwin <[EMAIL PROTECTED]> wrote: >> Is activemq-perftest still valid as a performance test? Is Jmeter still >> supported? >> ... > > Its a little crufty now. A better approach is to use the maven plugin > for perf

Re: ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-11 Thread Hiram Chirino
Coolio.. looks like someone needs to review the code and make it compliant with their coding standards first: http://pear.php.net/manual/en/standards.php Regards, Hiram On 6/11/07, PieterN <[EMAIL PROTECTED]> wrote: Hiram Chirino wrote: > > That's awesome.. Has anybody put stuff up on htt

Re: Failure in wire format negotiation

2007-06-11 Thread James Strachan
With some development work this could work in the future; but usually you should upgrade the broker first (not the client). The broker can typically deal with older clients; though the broker doesn't always deal with newer clients than it. (Its also usually way simpler to upgrade the broker than

Failure in wire format negotiation

2007-06-11 Thread Manuel Teira
Hello. Trying to connect from a 4.1.1 client (running as a servlet in a Tomcat container) to a 4.0.2 broker, I'm getting the following stack trace in the server: Exception in thread "ActiveMQ Transport: tcp:///127.0.0.1:50548" java.lang.IllegalArgumentException: Invalid version: 2, could not

Re: ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-11 Thread PieterN
Hiram Chirino wrote: > > That's awesome.. Has anybody put stuff up on http://pecl.php.net > before?? I think that would be the best place to host the PHP Stomp > impl. What do you guys think? > IMHO PEAR (http://pear.php.net/) is a better place. PECL is for external libraries (i.e., extensi

Re: Getting Stomp support to a usable state...

2007-06-11 Thread PieterN
Tom Samplonius-2 wrote: > > Actually, it appears that the username and password are ignored. I > fought with JAAS for about four hours before decided to try to read the > code, and the comments say that the password is ignored. There appears to > be no way to get a config that doesn't > che

Re: Performance tests?

2007-06-11 Thread James Strachan
On 6/9/07, Phil Goodwin <[EMAIL PROTECTED]> wrote: Is activemq-perftest still valid as a performance test? Is Jmeter still supported? I ask because activemq-perftest doesn't compile as shipped in apache-activemq-4.1.1-src.tar.gz, and there isn't a build for Jmeter at all. I'm running maven 2.0.6

Re: setDeleteAllMessagesOnStartup(true) and MySql

2007-06-11 Thread Raffaele
First of all, they are only test for evaluating ActiveMQ to decide if using it in a very important Italian (but also sold in France and afterwards perhaps in some parts of USA) project. Then, if I'm in front of an API I search to detect all possible leaks, if they are, before confirm to my boss th

Re: setDeleteAllMessagesOnStartup(true) and MySql

2007-06-11 Thread James Strachan
Just out of interest, why would you want to use persistence with MySQL, then delete messages on startup? Sounds like you'd be better using non-persistence. On 6/11/07, Raffaele <[EMAIL PROTECTED]> wrote: Hi all, Im yet trying to do some test with a BrokerService and some settings. Now, I trie

setDeleteAllMessagesOnStartup(true) and MySql

2007-06-11 Thread Raffaele
Hi all, Im yet trying to do some test with a BrokerService and some settings. Now, I tried with persistence on MySql and with setDeleteAllMessagesOnStartup(true), here is the code: ... configurePersistence(); m_broker.addConnector("tcp://localhost:61616"); m_broker.setDeleteAllMessagesOnStartup

Re: Embedded Broker - configuration via Java

2007-06-11 Thread Raffaele
Thanks, I've found the answer myself... However, the problem in my code was simply that THE PERSISTENCE CONFIGURATION MUST BE DONE BEFORE ADDING THE CONNECTOR. That is, the call of setPersistence() method must be done before m_broker.addConnector("tcp://localhost:61616"); Could I create a page