RE: javax.jms.JMSException: java.io.EOFException every minute

2009-07-07 Thread Leonard Gestrin
A bit more info. I traced TCP/IP packets and it appears that Broker is ending communication with end client (listener) by sending a frame with FIN status; I don't see same broker sending similar frame to other nodes. -Original Message- From: lgestrin [mailto:lgest...@markettools.com] S

Cannot send any PERSISTENT message?

2009-07-07 Thread janylj
I have a broker running ActiveMQ 5.2. After running for a couple of weeks, all persistent messages would NOT be sent successfully. The symptom is that the producer sends message ok (there is no hang or exception in the client side). And the message count in the ActiveMQ admin console is incremente

how to interpret the perfTest report

2009-07-07 Thread cjiang
Hi, Could someone explain to me how to interpret the perfTest report? It is pretty obscure to me. Thanks. -- View this message in context: http://www.nabble.com/how-to-interpret-the-perfTest-report-tp24381471p24381471.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

javax.jms.JMSException: java.io.EOFException every minute

2009-07-07 Thread lgestrin
Hello, I am having a weird problem on new winXp desktop. i dont think it's ActiveMQ issue, but it happens only only within it's context. I am using 5.2; i have a listener that connects to a queue on remote broker; every minute i get an exception from that listener javax.jms.JMSException: java.

stomp temporary topics

2009-07-07 Thread Голубев Павел
Hello. I am using activemq 5.2 as a stomp server. Each client dynamically generated new topic. So, after a day or two I have thousands of unused topics and about 1gb of eaten memory. ActiveMQ stops responding. I want to find a way to delete topics, that have no more consumers. Once again, this is S

JAAS authentication issues on ActiveMQ

2009-07-07 Thread shaldar
I have enabled JAAS authentication (simple authentication)on an activemq broker - by including the plugins in the activemq config XML file. I have multiple authentication entries (one for each topic). My questions are: 1- Each time I add a new topic to the XML file, the broker has to be restarted

Re: activemq-cpp client heartbeat and reconnect with broker?

2009-07-07 Thread shaldar
Thanks Chetan - Looking at the tickets it looks like that is yet to be implemented. Where is the java client located? I can take a shot at porting it over. Otherwise I shall just work with a producer that sends ACK messages ocassionally. Also - I have implemeted JAAS simple authentication on the

Re: Compiling ActiveMQ-CPP fails under Debian 4.0

2009-07-07 Thread Dejan Bosanac
Hi, sudo apt-get install build-essential should solve this problem (hopefully) Cheers Dejan Timothy Bish wrote: > > There could have been some issue introduced in the configure files when > we converted everything over to using the APR libraries. At least on > all the systems that we are a

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Bruce Snyder
On Tue, Jul 7, 2009 at 2:07 AM, phpslacker wrote: > Good news. I decided to start from a completely fresh installation and > follower your instructions above and she worked. yay! > > In case you're interested i've attached a diff between the new and old xml > conf to this post > > http://www.nabbl

Re: ActiveBlaze with .NET

2009-07-07 Thread Rob Davies
That would be great! Rob Davies Sent from my iPhone On 7 Jul 2009, at 10:01, tnine wrote: I'm still evaluating messaging systems, but this seems to be very close to what we need. Would it be possible for me to contribute .Net clients to this project? rajdavies wrote: Hi Todd, will

Re: How do I tell ActiveMQ that a certain Queue needs user/passwd authentication?

2009-07-07 Thread Dejan Bosanac
Hi Peter, take a look at http://activemq.apache.org/security.html Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Jul 7, 2009 at 2:51 PM, pstein wrote: > > Assume the user sho

How do I tell ActiveMQ that a certain Queue needs user/passwd authentication?

2009-07-07 Thread pstein
Assume the user should provide a user/password when he wants to access a certain JMS Queue (e.g.mytestqueue). Where eactly do I tell ActiveMQ that for this particular queue such an authentication is necessary? Where do I setup the username and the refering password? Peter -- View this message i

ANN: Habari ActiveMQ Client 1.8 - Delphi and Free Pascal client library for Apache ActiveMQ message broker

2009-07-07 Thread mjustin
July 7, 2009 - betasoft is pleased to announce release 1.8 of the Delphi and Free Pascal library Habari ActiveMQ Client for the open source Message Broker Apache ActiveMQ. Habari ActiveMQ Client is a library for Delphi(tm) and Free Pascal which provides easy access to Apache ActiveMQ, the most p

Re: ClassCastException having relation to expired messages

2009-07-07 Thread Gary Tully
would it be possible to provide a junit test case that demonstrates this behavior? I wonder does the problem persist with the latest 5.3-SNAPSHOT? Trunk has a resolution to https://issues.apache.org/activemq/browse/AMQ-1112that provides a periodic message expiry task. That should help but it may b

Re: ClassCastException having relation to expired messages

2009-07-07 Thread sic
While expired messages remain on queue, server cannot be re-started with ClassCastException until I delete persistent file(e.g. file : data\kr-store\data\hash-index-queue-data_queue#3a#2f#2fTEST.QUEUE, QueueName : TEST.QUEUE) of the queue which has expired messages Yet, this way has disadvantage

Re: ActiveBlaze with .NET

2009-07-07 Thread tnine
I'm still evaluating messaging systems, but this seems to be very close to what we need. Would it be possible for me to contribute .Net clients to this project? rajdavies wrote: > > Hi Todd, > > will be a while before we get round to doing a .NET client for blaze - > we want to stabilize the

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Dejan Bosanac
You can also try dropping activemq database in your MySQL server. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Jul 7, 2009 at 9:54 AM, phpslacker wrote: > > > > bsnyder wrot

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
bsnyder wrote: > > > To use MySQL for persistence using the default activemq.xml config > file, follow these steps: > > 1) Uncomment the MySQL DataSource Sample Setup bean definition near > the end of the file > 2) Comment out the amqPersistenceAdapter > 3) Uncomment the journaledJDBC adapter

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
bsnyder wrote: > > what version of MySQL are you using? > quin...@qbuntu:/opt/activemq/bin$ mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3144 Server version: 5.0.51a-3ubuntu5 (Ubuntu) bsnyder wrote: > > > Are you still seeing the same

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
Hey bruce/dejan I've edited my conf file so many times i think it best to start from scratch So i'll try a completely fresh installation of activemq Lets see if that works -- View this message in context: http://www.nabble.com/Can%27t-set-MySQL-persistence-adapter-on-startup-tp24362359p243686

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Bruce Snyder
On Tue, Jul 7, 2009 at 1:23 AM, phpslacker wrote: > I've been starting up like this: > > r...@qbuntu:/opt/apache-activemq-5.2.0/bin# ./activemq > xbean:file:/somewhere-else/conf/activemq.xml > > I've also tried the method you describe above but I still get the same > result. Which MySQL and DBCP j

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
Dejan Bosanac wrote: > > As far as I can see, you have two tags in your config > file. Didn't test it, but can you leave only one that uses mysql and try > it > out? > Hi Dejan, I saw that too *blush* I did comment out the amq persistenceAdapter tag But i still can't start activemq -- V

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Dejan Bosanac
As far as I can see, you have two tags in your config file. Didn't test it, but can you leave only one that uses mysql and try it out? Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread phpslacker
bsnyder wrote: > > If the activemq.xml file resides in the conf directory, then you > should be able to start up ActiveMQ using the bin/activemq startup > script. Is this how you are starting up ActiveMQ? > > Bruce > -- > perl -e 'print > unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61E );'

Re: Can't set MySQL persistence adapter on startup

2009-07-07 Thread Bruce Snyder
On Tue, Jul 7, 2009 at 12:11 AM, phpslacker wrote: > Thanks for that BUT there must be a misunderstanding here. I did exactly > those things you listed above. I'm gonna upload that conf file again: > > http://www.nabble.com/file/p24367713/activemq.xml activemq.xml Yep, that file contains all the