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

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);

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 tried

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: 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., extensions

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

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 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 something

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

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

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

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 command