XBean Jetty config for ActiveMQ?

2007-06-07 Thread Tom Samplonius
I found this page describing the XBean config for Jetty that ActiveMQ uses: http://docs.codehaus.org/display/JETTY/XBean+Support However, all of the reference links are broken. I've searched the Jetty site, but can't find anything. Does anyone know where I can find this? Has anyone confi

Opinion about approach for using local/distributed message dispatch

2007-06-07 Thread David Budworth
I have a mechanism I've written that uses dynamic proxies to intercept hits to JMX mbeans that checks to see if a local instance is up and initialized, if not, it will send a JMS message to a centralized broker to see if another server has the service available to service the request. Basically i

Re: MySQL datastore

2007-06-07 Thread Tom Samplonius
- "James Strachan" <[EMAIL PROTECTED]> wrote: > On 6/1/07, Doug Steigerwald <[EMAIL PROTECTED]> > wrote: > > I'm currently trying to set up ActiveMQ to use MySQL as the data > store. ActiveMQ connects to the > > database and creates some tables if it needs to, but nothing is > stored in the A

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

2007-06-07 Thread Tom Samplonius
- "James Strachan" <[EMAIL PROTECTED]> wrote: > On 6/2/07, Tom Samplonius <[EMAIL PROTECTED]> wrote: > > > > How much more work needs to occur to get Stomp protocol support to > a usable state? > > Huh? :) Its very useable right now James, Another component of getting Stomp to a usable

Re: ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-07 Thread Tom Samplonius
- "Hiram Chirino" <[EMAIL PROTECTED]> 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? > > Regards, > Hiram If you do that, make sure to include a note to use

Re: Has anyone experienced major kaha failure?

2007-06-07 Thread Tom Samplonius
I have. Just "kill -9" the java process to simulate a power failure. Try various producer and consumer combinations. In certain circumstances ActiveMQ will not be able to auto-recover, because it tries to access a file that should not be there (ie data--2). There is a bug in the code, w

Re: Recommended version of ActiveMQ?

2007-06-07 Thread Tom Samplonius
- "James Strachan" <[EMAIL PROTECTED]> wrote: > On 5/30/07, Tom Samplonius <[EMAIL PROTECTED]> wrote: > > > > Ok, but Stomp is buggy in 4.1.1. ActiveMQ 4.1.1 loses > un-acknowledged messages if your consumer crashes without sending a > DISCONNECT message. > > > > So, I guess I need to use

Re: Can Message group be used under embedded broker with vm://localhost

2007-06-07 Thread ryanafa
ActiveMQ 4.1.1 JBoss 4.2.0.GA could you tell me which version work? Thanks. James.Strachan wrote: > > On 6/7/07, ryanafa <[EMAIL PROTECTED]> wrote: >> >> The ActiveMQ is embedded in Jboss and the embedded broker use URL >> vm://localhost >> there is a MessageNotWriteableException when u send a

Re: Can Message group be used under embedded broker with vm://localhost

2007-06-07 Thread James Strachan
On 6/7/07, ryanafa <[EMAIL PROTECTED]> wrote: The ActiveMQ is embedded in Jboss and the embedded broker use URL vm://localhost there is a MessageNotWriteableException when u send a message with a new message group. there is no such exception if the message group existed. if we use tcp://localho

Unrecognized xbean element mapping: in namespace http://activemq.org/config/1.0

2007-06-07 Thread mogan
I am trying to add Authentication Plugin to ActiveMQ, and I am getting the following exception. I also looked at this posting. http://mail-archives.apache.org/mod_mbox/activemq-dev/200704.mbox/[EMAIL PROTECTED] and [activemq.xml] http://activemq.org/config/1.0";>

Can Message group be used under embedded broker with vm://localhost

2007-06-07 Thread ryanafa
The ActiveMQ is embedded in Jboss and the embedded broker use URL vm://localhost there is a MessageNotWriteableException when u send a message with a new message group. there is no such exception if the message group existed. if we use tcp://localhost:61616 as embedded broker use URL everything

Re: Broker Out of Memory

2007-06-07 Thread Anthrope
Hiram, Thanks for the answer. I shall download the 4.2 code and look at it. Do you know what the anticipated release date is, for the 4.2 release? Thanks, Prashanth Hiram Chirino wrote: > > ActiveMQ 4.1.x and before keep all inflight messages in memory. 4.2.x > changed so that persis

Re: Kind of "consumer faliover"

2007-06-07 Thread James Strachan
On 6/7/07, ego <[EMAIL PROTECTED]> wrote: Yes ! It's exactly what I need !! Thank you >(^_^)< You're most welcome :) James James.Strachan wrote: > > On 5/30/07, ego <[EMAIL PROTECTED]> wrote: >> >> You're probably true. So here is my 'real' problem. >> >> I need a producer that pub

Re: Broker Out of Memory

2007-06-07 Thread Hiram Chirino
ActiveMQ 4.1.x and before keep all inflight messages in memory. 4.2.x changed so that persistent messages are cursored in as needed so it should have a better memory footprint for large queues. On 6/7/07, Anthrope <[EMAIL PROTECTED]> wrote: Hello, I am sure people have dealt with this in th

Re: Kind of "consumer faliover"

2007-06-07 Thread ego
Yes ! It's exactly what I need !! Thank you >(^_^)< James.Strachan wrote: > > On 5/30/07, ego <[EMAIL PROTECTED]> wrote: >> >> You're probably true. So here is my 'real' problem. >> >> I need a producer that publish let's say an event E1. I have 3 different >> consumers, each doing a spe

Broker Out of Memory

2007-06-07 Thread Anthrope
Hello, I am sure people have dealt with this in the past, but I couldn't find anything in prior posts that completely answered my question, so here it is: We are using ActiveMQ 4.1.1 with MySQL as the persistence store. We push through messages that are typically 50k-100k in size, over pers

Re: Integrating C++ Client with MDB

2007-06-07 Thread Timothy Bish
Creating a Java client to test with might help you rule out the if its the MDB or the C++ code that is faulty. Its just another Data Point to try and help figure out what's wrong. alexvs wrote: That's what I tried first, but "topic/SciTegic", according to jboss is the jndi name of the topic.

Has anyone experienced major kaha failure?

2007-06-07 Thread Doug Steigerwald
Greetings. We're leaning heavily towards kaha for our persistent storage. Has anyone had any major issues with data corruption or total kaha failure when ActiveMQ crashes (if/when it does, or for any other reason). We're just running through some DR scenarios. -- Doug Steigerwald Software De

Re: Integrating C++ Client with MDB

2007-06-07 Thread alexvs
That's what I tried first, but "topic/SciTegic", according to jboss is the jndi name of the topic. The actual topic name is SciTegic, but maybe something else has to be appended to the name, I have no clue. This is for a huge C++ application we're trying to integrate with an APP server, so, unfo

RE: Integrating C++ Client with MDB

2007-06-07 Thread alexvs
Yes, I have. datanga wrote: > > Hello, > >> destination = session->createTopic( "TOPIC.SciTegic" ); // IS THIS THE >> RIGHT NAME TO USE? > > Have you tried to this? > > destination = session->createTopic( "topic/SciTegic" ); > > Cheers, > > Desire > > > -- View this message in contex

Re: Orphan connections from .NET clients

2007-06-07 Thread Gaurav Hariani
yes Hiram Chirino wrote: Odd. look like a bug. You using 4.1.1? On 6/6/07, Gaurav Hariani <[EMAIL PROTECTED]> wrote: Since James and Hiram are back on the list ... I thought I'd repost this- We are facing a problem of orphan connections to ActiveMQ. A simple .NET client that only creates a

Re: ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-07 Thread Hiram Chirino
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? Regards, Hiram On 6/6/07, Schulze <[EMAIL PROTECTED]> wrote: Yeaahhh, it works. The point was not to subscribe the procucer. Now

Running broker from source

2007-06-07 Thread didyeah971
Hi, I just downloaded the latest source released, and when i'm trying to build it with maven from the assembly folder, there is e 'Failed to validate POM' error... i downloaded it from the SVN. Also, is there another way, different from maven plugin or maven performance test, to run a broker from

Re: Integrating C++ Client with MDB

2007-06-07 Thread Nathan Mittler
BTW, have you tried making a Java client that does not use JNDI? You should have the same result as using the C++ client. Perhaps you could simplify your problem by cooking up a simple Java client and eliminating C++ altogether. On 6/7/07, Nathan Mittler <[EMAIL PROTECTED]> wrote: That would

Re: Integrating C++ Client with MDB

2007-06-07 Thread Nathan Mittler
That would be my guess (use "topic/SciTegic") ... the problem of creating topics vs using pre-existing ones should not be a non-issue. All topics/queues in ActiveMQ are dynamic, so it doesn't matter how you create them (from the client-side or server-side). So long as the names are the same, it

Re: Recommended version of ActiveMQ?

2007-06-07 Thread James Strachan
On 5/30/07, Tom Samplonius <[EMAIL PROTECTED]> wrote: Ok, but Stomp is buggy in 4.1.1. ActiveMQ 4.1.1 loses un-acknowledged messages if your consumer crashes without sending a DISCONNECT message. So, I guess I need to use a 4.2-SNAPSHOT, but which vintage is not going to burn me (too bad

Re: Future support for message priority in ActiveMQ?

2007-06-07 Thread James Strachan
On 5/30/07, ender <[EMAIL PROTECTED]> wrote: Hello, While I'm aware that ActiveMQ currently does not support message priority, I was wondering if there were any plans to include it in a future release? Its on the list of JIRA issues so at some point will be tackled; though like anything else,

Re: Queue consumer prioritizing

2007-06-07 Thread James Strachan
On 5/31/07, Atis <[EMAIL PROTECTED]> wrote: Hello, I'm sending notifications trough ActiveMQ to web application (Ajax connector). What i would like to - is to set priorities regarding queue consumers. For example webpage 1 have low priority, webpage 2 have high priority. User have been opened 2

Re: Kind of "consumer faliover"

2007-06-07 Thread James Strachan
On 5/30/07, ego <[EMAIL PROTECTED]> wrote: You're probably true. So here is my 'real' problem. I need a producer that publish let's say an event E1. I have 3 different consumers, each doing a specific task with the event E1. For each consumer, I need to find a "backup" solution if the consumer

Re: MySQL datastore

2007-06-07 Thread James Strachan
On 6/1/07, Doug Steigerwald <[EMAIL PROTECTED]> wrote: I'm currently trying to set up ActiveMQ to use MySQL as the data store. ActiveMQ connects to the database and creates some tables if it needs to, but nothing is stored in the ACTIVEMQ_MSGS table when I send messages via stomp (we're going

Re: TOMCAT on HP UNIX going down after loading big files to Application

2007-06-07 Thread James Strachan
You might wanna try the tomcat user list On 6/7/07, Raijuta <[EMAIL PROTECTED]> wrote: Hi, I just need a help with our application. Currently we are using a content management tool as a catalog application and we are using TOMCAT 5.5 on HP UX OS. Unfortunately, TOMCAT goes down after some time

activemq examples query :EmbeddedBroker

2007-06-07 Thread Eric Nygma
Hi, I am trying to work with the examples shipped with apache-activemq-4.1.1. I have put the EmbeddedBroker.java code inside the ProducerTool.java code so as to have an embedded broker spawned from the Producer. Upon doing an : ant producer, I got the following exception : Buildfile: build.xml

Re: QueueBrowser

2007-06-07 Thread James Strachan
On 6/7/07, Raffaele <[EMAIL PROTECTED]> wrote: Hi all, from javadoc of ActiveMQQueueBrowser: Messages may be arriving and expiring while the scan is done. The JMS API does not require the content of an enumeration to be a static snapshot of queue content. Whether these changes are visible or no

QueueBrowser

2007-06-07 Thread Raffaele
Hi all, from javadoc of ActiveMQQueueBrowser: Messages may be arriving and expiring while the scan is done. The JMS API does not require the content of an enumeration to be a static snapshot of queue content. Whether these changes are visible or not depends on the JMS provider. that it is the sa

Re: 2 questions about: activemq-cpp, activemq and jboss messaging

2007-06-07 Thread James Strachan
On 6/7/07, j0llyr0g3r <[EMAIL PROTECTED]> wrote: Hey folks, scince i am quite new to jboss / jms i hope somebody can redeem me from my current confusion..:-) 1.) I have been reading for hours now, but still i don't know wether it is possible to use the activemq-cpp client together with the

2 questions about: activemq-cpp, activemq and jboss messaging

2007-06-07 Thread j0llyr0g3r
Hey folks, scince i am quite new to jboss / jms i hope somebody can redeem me from my current confusion..:-) 1.) I have been reading for hours now, but still i don't know wether it is possible to use the activemq-cpp client together with the jboss-messaging. >From what i read so far i conc

RE: Integrating C++ Client with MDB

2007-06-07 Thread Desire ATANGA
Hello, > destination = session->createTopic( "TOPIC.SciTegic" ); // IS THIS THE > RIGHT NAME TO USE? Have you tried to this? destination = session->createTopic( "topic/SciTegic" ); Cheers, Desire