Not able to configure the created queue for communication. Even I dont know how to do that?

2008-07-07 Thread Selva020781
Hi All, I created a queue mentioning the same in the activemqconfig.xml. Now I am able to see the queue when I open the ACTIVEMQ web console. but I dont know how to use this queue in my application for communication. I mention the initial context factory as "org.apache.activemq.ActiveMQConnectio

Re: A question about the queue.

2008-07-07 Thread Brian Munroe
On Mon, Jul 7, 2008 at 7:21 PM, yanhongsan <[EMAIL PROTECTED]> wrote: > You mean that I can not create an empty queue programmatically without the > activemq.xml? Or JMX. That is the way I read it. > I try the JMX,not only the addQueue() but also the removeQueue() , > the question is that when

Re: A question about the queue.

2008-07-07 Thread yanhongsan
Brian Munroe-2 wrote: > > > Unless you are willing to send at least one message to the queue(s) > you wish to create programmatically, your only options are either to > use JMX or define them in activemq.xml. > > See this for more info (note the info in the blue box): > http://activemq.apache

Re: A question about the queue.

2008-07-07 Thread Brian Munroe
On Mon, Jul 7, 2008 at 5:37 PM, yanhongsan <[EMAIL PROTECTED]> wrote: > > I have said the question with JMX to create an empty queue at the top. I want > to create the empty queue with program (the java code),not with the > config.xml? Do you known how to do that? Unless you are willing to send a

Re: why my consumer client always lost connection

2008-07-07 Thread dingjing
thank you for your advice, i have upgraded to 2.2, the bugs stilll happens. but when the broker and my client is in the same LAN,there is no problem nmittler wrote: > > You may want to upgrade to ActiveMQ-CPP 2.2 - which fixed several bugs. > > Regards, > Nate > > On Jul 5, 2008, at 12:35 AM,

Re: A question about the queue.

2008-07-07 Thread yanhongsan
I have said the question with JMX to create an empty queue at the top. I want to create the empty queue with program (the java code),not with the config.xml? Do you known how to do that? -- View this message in context: http://www.nabble.com/A-question-about-the-queue.-tp18312044p18329745.html S

Re: ActiveMQ's default persistance is not transactional for me

2008-07-07 Thread Qwerty777
You mean, describe what I do that causes this? Or the specific code/files that does this? I can describe the scenario for sure, tho I cannot do the latter. 1. Service X will store data into DB, and will send a message to ActiveMQ. 2. ActiveMQ on machine Y receives the message, and processes it, a

Re: ActiveMQ's default persistance is not transactional for me

2008-07-07 Thread Rob Davies
could you supply a test case ? On 7 Jul 2008, at 19:47, Qwerty777 wrote: Hello, I currently have ActiveMQ with MySQL for message persistence installed on machine X. On machine Y, I have a service running that uses Jencks to allow the persistence of its own data to DB and message sending to

ActiveMQ's default persistance is not transactional for me

2008-07-07 Thread Qwerty777
Hello, I currently have ActiveMQ with MySQL for message persistence installed on machine X. On machine Y, I have a service running that uses Jencks to allow the persistence of its own data to DB and message sending to machine X to happen in a single transaction. It all works well. I switched *ju

Re: ActiveMQ causes application to hang on Glassfish

2008-07-07 Thread Hans Bausewein
everett wrote: > > Thank you for the tip. I've taken a look at Ramesh's excellent guide > (http://weblogs.java.net/blog/rampsarathy/archive/2007/03/glassfish_v2_an.html) > It was good for ActiveMQ 4, but it uses a generic JMS resource adapter, which makes it quite complicated (though I guess i

Re: ActiveMQ causes application to hang on Glassfish

2008-07-07 Thread everett
Hi Hans, Hans Bausewein wrote: > > > everett wrote: >> >> Hi, >> >> I am using the 5.1.0 release of ActiveMQ. My JVM is version 1.6.0_06 and >> I am running on Debian Sid. I have a Java web application which uses >> ActiveMQ that I have deployed in Glassfish V2 UR2. Both Glassfish and >> Act

Re: Client/Server version (in)compatibility

2008-07-07 Thread Aaron Mulder
I believe I was told there was some kind of multi-step upgrade path from old 4.x releases to new 4.x releases (if you want to upgrade the server and multiple clients with minimal down time), but as far as I know the folks who worked that process out haven't gone to 5.x. I can try to get more detai

Re: Client/Server version (in)compatibility

2008-07-07 Thread Bruce Snyder
On Mon, Jun 30, 2008 at 4:59 PM, allenb <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm currently running a 4.0.1 server with 4.0.1 clients. I'd like to > upgrade everything to 5.1.0, but not at the same time. Ideally, I'd do a 2 > stage upgrade where I first bump the server to 5.1.0 and then the c

Re: runlevel script for debian/ubuntu

2008-07-07 Thread Bruce Snyder
On Wed, Jul 2, 2008 at 7:28 AM, lkwg82 <[EMAIL PROTECTED]> wrote: > > first repair the start-script, go to the bin directory of activemq > do > # sed -e 's#\r$##g' activemq-admin > activemq-admin.sh && chmod +x > activemq-admin.sh > > this is converting from win32 to linux end of lines and make it

Re: Master/Slave Configuration with Network of Brokers working fine But In Master console it shows errors

2008-07-07 Thread Bruce Snyder
On Mon, Jul 7, 2008 at 9:10 AM, Manish1985 <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have configured Master and Slaves with Network of Brokers. Here All > messages are received and sent properly but in Master ActiveMQ server i get > following errors while sending each message. > > 2008-03-07 19:

Re: message order

2008-07-07 Thread Bruce Snyder
On Mon, Jul 7, 2008 at 7:10 AM, aftab gardan <[EMAIL PROTECTED]> wrote: > > hi every body, > i have a problem with message ordering. > > I create message A and Message B. > when consumer catch message A, message A-2 created. > i want to run message A-2 before message B. > > all message in same queu

Master/Slave Configuration with Network of Brokers working fine But In Master console it shows errors

2008-07-07 Thread Manish1985
Hi All, I have configured Master and Slaves with Network of Brokers. Here All messages are received and sent properly but in Master ActiveMQ server i get following errors while sending each message. 2008-03-07 19:30:41,125 [/127.0.0.1:1638] ERROR MasterBroker - Slave Failed ja

Re: A question about the queue.

2008-07-07 Thread Brian Munroe
On Mon, Jul 7, 2008 at 6:13 AM, yanhongsan <[EMAIL PROTECTED]> wrote: > If I want to create an empty queue, what can I do ? Also, you did see that part (it was a hyperlink in the doc to the URL mentioned previously) that allowed you to create queues and topics at startup by defining them in the a

Re: A question about the queue.

2008-07-07 Thread Rob Davies
use JMX On 7 Jul 2008, at 14:13, yanhongsan wrote: If I want to create an empty queue, what can I do ? -- View this message in context: http://www.nabble.com/A-question-about-the-queue.-tp18312044p18316363.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: A question about the queue.

2008-07-07 Thread yanhongsan
If I want to create an empty queue, what can I do ? -- View this message in context: http://www.nabble.com/A-question-about-the-queue.-tp18312044p18316363.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

message order

2008-07-07 Thread aftab gardan
hi every body, i have a problem with message ordering. I create message A and Message B. when consumer catch message A, message A-2 created. i want to run message A-2 before message B. all message in same queue please help. -- View this message in context: http://www.nabble.com/message-order-

Re: A question about the queue.

2008-07-07 Thread Jonas Lim
Hi, Destinations in activemq are created dynamically so my guess here is unless we're creating a durable queue i don't think we need to persist it. I've not really checked but I believe the Jmx addQueue operation creates a non-durable queue by default. http://activemq.apache.org/how-do-i

Re: ActiveMQ-CPP 2.2 Released

2008-07-07 Thread Timothy Bish
I've added a note in SVN for APR version, we definitely can't work with the older 0.9 versions of APR, you should stick with something newer than 1.2 since I've only tested with versions greater than that. Go ahead and write up a JIRA issue on the problem you are seeing with the init of APR. I wi

A question about the queue.

2008-07-07 Thread yanhongsan
When i create a empty queue by the JMX, I see the new file in the directory : %activemqhome%\data\localhost\kr-store\data\hash-index-queue-data_queue#233a . Howerver, when I restart the activemq server, I found the new file disappear. So I did not get the queue created just now! -- View this me