Re: ActiveMQ & OSGI dependency

2017-12-09 Thread Johan Edstrom
Use a failover connector URI? It’ll keep trying to reconnect until a connection is established. You can control retry-time and so on. /je > On Dec 8, 2017, at 4:24 PM, smunro wrote: > > Hello, > > I have an OSGI bundle which makes use of the ActiveMQ OSGI feature. The > problem is that my bund

Re: Active MQ Shared File System Master Slave with Elastic File System

2017-10-31 Thread Johan Edstrom
Using JDBC you can get both. > On Oct 31, 2017, at 4:06 PM, akhil wrote: > > Hello Everyone , > > I just had an issue today with the Active MQ

Re: Configuring vm with non-vm on the same broker

2016-04-28 Thread Johan Edstrom
Yes. > On Apr 28, 2016, at 3:25 PM, Allan Wax wrote: > > I have an existing broker with multiple queues that basically > store-and-forward the messages to a single central site. I now want to > introduce a new queue that only runs locally and does not get forwarded to > the central site. This

Re: ActiveMQ deployment

2015-12-01 Thread Johan Edstrom
he > same. Wanted to check this with folks here in this list if there is anything > I am missing. > > > On 11/30/15 9:28 PM, Johan Edstrom wrote: >> What you probably want is a combination of HA and communication. >> >> HA I.e master and slave(s) (Depending on

Re: ActiveMQ deployment

2015-11-30 Thread Johan Edstrom
What you probably want is a combination of HA and communication. HA I.e master and slave(s) (Depending on storage) gives you uptime. NOB gives you communication paths and as such scalability and for some value of it versatility. You can also use the two above and combine that with bridges to bui

Re: ActiveMQ 5.10 compatibility with KahaDB

2014-07-06 Thread Johan Edstrom
Patches happily accepted. Sent from my pressure cooker. > On Jul 6, 2014, at 5:18, khandelwalanuj wrote: > > But ideally it should be supported. > > It may be possible that after switching broker to 5.10, broker or clients > can face some issues. In such scenerios, we revert broker back to 5.8

Re: ActiveMQ Heap Size Monitoring

2014-06-30 Thread Johan Edstrom
Any tool that does JMX, which pretty much will be any network monitoring tool that can draw graphs. On Jun 30, 2014, at 3:04 AM, Bilgin Ibryam wrote: > You have couple of options here: > > 1. Jolokia is exposing memory statistics over http as json. You can use an > external tool to regularly p

Re: Apollo 1.7 - LevelDB corruption

2014-06-15 Thread Johan Edstrom
That looks like it was corrupted and then repaired. Since running on a laptop, suspended disks, write caches and a lot of other things could come to mind for the corruption? On Jun 15, 2014, at 10:23 AM, Octavian Covalschi wrote: > Hello, > > I'm evaluating Apollo for our current project and

Re: How can I read ActiveMQ user-guilde => Now I must pay money?

2014-04-22 Thread Johan Edstrom
This is an apache list. http://activemq.apache.org Is where you'll find the official docs. Companies building solutions or consulting services ontop of Amq are perfectly fine to do so and if they please charge for said things given they respect trademarks and licenses. There is nothing strange

Re: Send a message to a distant ActiveMq Queue (using MS-DOS Command Line)

2014-02-20 Thread Johan Edstrom
The windows open wire stuff would work well. You have nms and cms Sent from my pressure cooker. > On Feb 20, 2014, at 19:32, artnaseef wrote: > > Cygwin? > > Sent from my iPhone > >> On Feb 19, 2014, at 4:40 PM, "ceposta [via ActiveMQ]" >> wrote: >> >> Or this one >> https://github.com/

Re: Slow KahaDB access

2014-02-14 Thread Johan Edstrom
http://activemq.apache.org/kahadb.html On Feb 14, 2014, at 10:19 AM, xabhi wrote: > Can somebody from activemq dev answer these queries please? > > Thanks, > Abhi > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Slow-KahaDB-access-tp4677915p4677981.html > S

Re: Listening to RemoteJMS using ActiveMQ

2014-02-06 Thread Johan Edstrom
And no using camel to listen doesn't mean you run a queue, it mean that you are a Consumer. On Feb 6, 2014, at 11:30 PM, kalyansworld wrote: > Thank you for your ideas, > > Using Apache Camel or Active MQ leads to running a JMS queue on my side > also, this pulls data from remote JMS Queue(We

Re: Listening to RemoteJMS using ActiveMQ

2014-02-06 Thread Johan Edstrom
When you say listen - Do you mean "inspect" - i,e in JMS terms listening to a queue means that you receive messages, either via a sync call or a MessageListener On Feb 6, 2014, at 11:30 PM, kalyansworld wrote: > Thank you for your ideas, > > Using Apache Camel or Active MQ leads to running

Re: ActiveMQ on Physical Server vs. VM

2014-01-24 Thread Johan Edstrom
Like with pretty much any Java app, you end up running a VM in a VM. Performance on IO, CPU sharing and so on will be impacted. That doesn't mean that you couldn't scale in different ways with more VM instances instead. On Jan 24, 2014, at 6:37 AM, artnaseef wrote: > Interesting question (

Re: Unable to Compile ActiveQ 5.2

2014-01-09 Thread Johan Edstrom
Why are you compiling and requiring a version this old? You are kinda bound to run into problems. On Jan 9, 2014, at 11:22 AM, CuriousMind wrote: > thanks. let me try to compile with 1.5! > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Unable-to-Compile-Ac

Re: Duplicate messages sent in Active MQ 5.7

2013-12-06 Thread Johan Edstrom
Please try an upgrade to 5.9 to begin with. On Dec 6, 2013, at 11:08 AM, badrinana wrote: > Can someone help me out what other settings other than trackMessages=true or > enableAudit="true" or auditNetworkProducers="true" can be used? > > I have tried all the above settings & I am still getting

Re: Duplicate messages sent in Active MQ 5.7

2013-12-05 Thread Johan Edstrom
1 - Correct. 2 - I actually haven't used that myself, I'd give it a whirl. 3 - To commit yourself you need to change the Ack mode, this is how you'd do batches for example with transacted mode. On Dec 5, 2013, at 10:20 AM, badrinana wrote: > Hi Johan, > > I am assuming if I don't explicit

Re: Duplicate messages sent in Active MQ 5.7

2013-12-04 Thread Johan Edstrom
That is the default setting - Session.AUTO_ACKNOWLEDGE On Dec 4, 2013, at 3:01 PM, badrinana wrote: > Hi Johan > > Do I need to add acknowledge="auto" in the tag? > > class="org.springframework.jms.listener.DefaultMessageListenerContainer"> > According to example in blog: > http://bsnyderbl

Re: Advisory Topic Messages

2013-12-04 Thread Johan Edstrom
th would be 0. Doesn't the enqueue count get reset at some > point? > > > > -----Original Message- > From: Johan Edstrom [mailto:seij...@gmail.com] > Sent: Tuesday, December 03, 2013 10:36 AM > To: users@activemq.apache.org > Subject: Re: Advisory Topic Mes

Re: Duplicate messages sent in Active MQ 5.7

2013-12-04 Thread Johan Edstrom
Was this actually an error and not expected behavior? I.e this could have happened for several reasons, like a delayed ack that never hit AMQ as it was doing failover. On Dec 3, 2013, at 3:34 PM, badrinana wrote: > I upgraded Active MQ from 5.5 to 5.7. My producer application sent a message > t

Re: Advisory Topic Messages

2013-12-03 Thread Johan Edstrom
That is how many has been enqueued. On Dec 3, 2013, at 8:13 AM, wrote: > Why is the enqueue count still showing 1, 2 or 3... > > Regards, > > Barry Barnett > WMQ Enterprise Services & Solutions > Wells Fargo > Cell: 704-564-5501 > > > -Original Message- > From: Timothy Bish [mailto

Re: Does AMQ have built-in routing?

2013-11-12 Thread Johan Edstrom
For what you are describing, why not have a low prefetch and concurrent consumers? AMQ will happily load balance. /je On Nov 12, 2013, at 10:04 AM, salemi wrote: > Hi, > > we were using Camel but Camel Choice performance is really bad and it didn't > meet our performance requirement. > > Is

Re: Can this be done with ActiveMQ? (durable virtual topic with selector on STOMP with network of brokers)

2013-11-04 Thread Johan Edstrom
Are you marking the message as persistent? On Nov 4, 2013, at 1:08 PM, Attila Nagy wrote: > Even on activemq.org you can find the terms durable topic and queue. I think > this is a compact way to represent that I want to store/get my messages even > when the consumer is offline. > > BTW, I'm

Re: Poor performance while using virtual topic mode

2013-10-18 Thread Johan Edstrom
Another thing I'd say a little bit tongue in cheek is when it comes to use-cases; Why? I see a lot of different use-cases and "unique" problems, usually the problem is that being unique is the problem /je On Oct 18, 2013, at 12:55 PM, Christian Posta wrote: > lol i don't think there is m

Re: The consumers couldn't disconnect from broker properly

2013-10-17 Thread Johan Edstrom
Add a shutdown hook. It doesn't sound like it has anything whatsoever to do with broker code. On Oct 14, 2013, at 2:21 AM, HellKnight wrote: > I typed "netstat -anp | grep 61616" in the server command window, and I find > that "192.168.28.66 : 7042" is connected to server port 61616. > > > >

Re: Connect in-house consumers with TCP and cloud consumers with SSL

2013-10-10 Thread Johan Edstrom
You can setup multiple connectors. On Oct 10, 2013, at 1:22 PM, emexelem wrote: > Hi, > > I've a bunch of in-house servers that connect with TCP transport to an > ActiveMQ broker. > We would like to scale in the cloud and connect cloud instances to the > broker. > We already have a basic authen

Re: Too many advisories topics created in ActiveMQ

2013-10-09 Thread Johan Edstrom
me ideas of the top of my head... On Oct 9, 2013, at 11:14 PM, Johan Edstrom wrote: > As Rob pointed out, there are several solutions to this, the simplest one > being as in the old joke, Dr, it hurts when I do this. - Don't do it? > > You could achieve the same thing with

Re: Too many advisories topics created in ActiveMQ

2013-10-09 Thread Johan Edstrom
As Rob pointed out, there are several solutions to this, the simplest one being as in the old joke, Dr, it hurts when I do this. - Don't do it? You could achieve the same thing with one queue and selectors - *which could run CPU up* You could use a temp queue per processing unit and handle a lot

Re: Individual Acknowledgement seems not working in NMS

2013-10-08 Thread Johan Edstrom
That can be implemented as an external pub sub system using temporary queue advisories and keeping the messages outside Amq until drain time. Give each consumer a uuid, that uuid is also used as "temp queue name", when a consumer is attaching, start sending. Acking can be done back on a normal q

Re: Reject queue message if no Consumer is available

2013-10-08 Thread Johan Edstrom
Like Christian stated it doesn't make a whole lot of sense. You don't need a plugin to reject either, use exclusive consumers. On Oct 8, 2013, at 1:28 PM, Christian Posta wrote: > Well, the whole point of queueing messages is to be able to asynchronously > deliver messages so that consumers don'

Re: activemq deadlocks when publisher tries to commit

2013-09-27 Thread Johan Edstrom
PFC will hit once you reach a high water mark on the store settings anyways. Depending on your use-case and whatnot else, it might possibly be a better solution to re-think the design or drastically increase memory limits. /je On Sep 27, 2013, at 10:31 AM, ariskk wrote: > Just to explain what I

Re: How to implement these somewhat conflicting requirements?

2013-09-06 Thread Johan Edstrom
Christian already gave you a few solutions. RecoveryPolicy is probably close to what you want, if you are prepared to write a little bit of code you can solve the problem quite nicely with temp queues and a subscription system. Durable subscribers are just a headache. Apollo and stomp won't do mo

Re: AMQ 5.4 - 5.8 network broker

2013-09-04 Thread Johan Edstrom
I can confirm that you'll need that for propagation of destinations. On Sep 4, 2013, at 8:43 AM, Gary Tully wrote: > just a thought, I recall an issue with the destination filter, can't > recall the exact detail but it may help for the server 5.8 case. > mod the clients networkConnector to add:

Re: activeMQ clustering (integrated with JBoss)

2013-06-20 Thread Johan Edstrom
Activemq doesn't do "shared store" The first machine to attach will lock the db and the second will wait in failover mode. On Jun 20, 2013, at 12:50, deepak_a wrote: > Thanks! > I can confirm that my brokers are able to Discover each other. > > > But from your earlier statements > 'you'll won

Re: Understanding memoryLimits with flow control and systemUsage limits.

2013-06-05 Thread Johan Edstrom
Do it the other way around. The system and store settings are global, the others per destination. So what you are doing doesn't make a ton of sense. On Jun 5, 2013, at 9:24 AM, Jesus Roncero wrote: > Hi all, > > I've got a testing activeMQ installation that I'm trying to test regarding > diffe

Re: ActiveMQ crashes frequently

2013-06-02 Thread Johan Edstrom
It sounds like your switch fabric might be the issue? Those types of hangs should show pretty frequent kernel alarms. On Jun 2, 2013, at 21:10, Christian Posta wrote: > You should checkout the failover transport to handle reconnecting. > > On Sunday, June 2, 2013, fenbers wrote: > >> >> >>

Re: ActiveMQ crashes frequently

2013-05-28 Thread Johan Edstrom
I smelled the word NFS too. On May 28, 2013, at 3:18 PM, Robert Davies wrote: > Hi Mark, > > could you produce a test case for your problem - it would help us identify > the problem a lot quicker > > thanks, > > Rob > On 30 Apr 2013, at 16:40, fenbers wrote: > >> Zagan wrote >>> Can yo

Re: AMQ failover using different PCs?

2013-05-02 Thread Johan Edstrom
It is one of the better options, otherwise you are stuck with an RDMBS or a clustering filesystem. LevelDB in very new development offer some new cool stuff. On May 2, 2013, at 10:59 AM, Killhoven wrote: > Thanks! > > This option is definitely doable, but not the best solution. Is there any >

Re: Messages lost when a broker forward messages to another broker

2013-03-29 Thread Johan Edstrom
Define what breaking means too? Are you for example multi-threading AUTO-ACKED clients and don't deal correctly with exceptions? On Mar 29, 2013, at 10:24 AM, Christian Posta wrote: > Are the messages that are supposed to be forwarded sent persistent by the > original producer? > > > On Thu,

Re: How to set network connector between to secure activemq broker?

2013-03-19 Thread Johan Edstrom
You just set up the reverse of the example. On Mar 19, 2013, at 9:34 PM, SuoNayi wrote: > yes, duplex network connector won't help this. > Can you explain why two unidirectional network connectors break your design? > Or you can use camel to transfer messages between brokers? > > > At 2013-03

Re: Error During Installation Active MQ in Linux my terminal commads pasted

2013-03-15 Thread Johan Edstrom
Check the log? On Mar 13, 2013, at 3:28, user2013 wrote: > hi, > i am installing Active MQ i have java version 7 my terminal work is as > under, > * > [root@localhost bin]# '/apache-activemq-5.7.0/bin/activemq' > INFO: Using default configuration > (you can configure options in one of these fil

Re: SHARED FILE SYSTEM MASTER/SLAVE (newb)

2013-01-08 Thread Johan Edstrom
The slave is a standby that will once it can lock the journal "reverse" the roles, so the downed node once it is up will start looking for the lock. On Jan 8, 2013, at 9:38 AM, pico wrote: > configured 2 brokers using the shared file syntax > > However, the slave broker is always looking for

Re: Writing an ActiveMQ book and licensing

2012-12-01 Thread Johan Edstrom
Nope. ;) On Dec 1, 2012, at 7:36, codebrane wrote: > I'd like to write a commercial book on ActiveMQ with code examples on GitHub. > The code would be open source and Apache 2.0 licensed (think that's the > correct ActiveMQ license). Would I need any special license/permission above > that to

Re: ActiveMQ Network of Brokers

2012-08-22 Thread Johan Edstrom
With 2 hosts, you lock the second host in a waiting state. If you have 4 hosts and two shared databases you can have a NOB. On Aug 22, 2012, at 12:16 PM, joesan wrote: > Thanks for the reply. Can you explain me why that with a shared file system I > cannot have a network of brokers? > > > > -

Re: ActiveMQ Network of Brokers

2012-08-22 Thread Johan Edstrom
If you have two brokers with a shared database you cannot also have network connectors between them, it doesn't make sense. you can use a failover url for the clients. On Aug 22, 2012, at 11:56 AM, joesan wrote: > When I configure the networkConnector in the activemq.xml file, I'm doing a > ne

Re: ActiveMQ Network of Brokers

2012-08-22 Thread Johan Edstrom
You are mixing failover with nob. Not the same thing. On Aug 22, 2012, at 11:30 AM, joesan wrote: > But isn't configuring the networkConnectors with a static discovery in the > activemq.xml configuration file is a network of brokers? > > > > -- > View this message in context: > http://active

Re: Upgrading AMQ.

2012-06-11 Thread Johan Edstrom
5.6.x is backwards compatible with the 5.5.1 stores, you should be fine upgrading, I'd copy one store aside, upgrade and make sure that you can work through the process. On Jun 11, 2012, at 9:41 AM, wrote: > I need to upgrade a number of AMQ installations, from 5.5.[0|1] to 5.6.0, > without

Re: ActiveMQ and Jboss AS 7

2012-05-21 Thread Johan Edstrom
Would you mind filling in with more info here? I've done quite a few integrations with AMQ, SMX and Jboss, those were older versions. Perhaps if you explained what wasn't working and what you were looking for? Error messages would help as well... /je On May 21, 2012, at 7:51 PM, bondrk wrote:

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Johan Edstrom
That depends on duplex or not. On Jan 19, 2012, at 5:59 PM, liny wrote: > Hi Abimael, > > Can you explain why your master needs to set "networkConnectors"? > I thought only slave needs to set "networkConnectors" in Shared > Master/Slave architecture. > > -- > -- > ~Mia は 最高!~ >

Re: good ebooks for learning activeMQ

2012-01-05 Thread Johan Edstrom
Maven is a build tool that is used quite frequently throughout Java projects nowadays, All IDE's will have integration for it as well as good CLI support, I'd suggest just learning it if you want to work as a Java developer, you'll encounter it pretty much any place you go nowadays. /je On J

Re: MKahaDB Configure To use One Adapter Per Queue

2011-12-16 Thread Johan Edstrom
+1 on that, good idea! On Dec 16, 2011, at 4:55 PM, Gary Tully wrote: > That is not possible at the moment but would be a sensible enhancement. Can > you raise that in jira? > On 16 Dec 2011 16:41, "greenbean1" wrote: > >> Is there a way to configure the MKahaDB adapter to use one adapter per >

Re: use Http transport in version 5.5.0 with osgi

2011-11-20 Thread Johan Edstrom
Something like this worked for 5.4, I think 5.5 will be very similar. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> bu

Re: use Http transport in version 5.5.0 with osgi

2011-11-20 Thread Johan Edstrom
You'll have to shade it if I remember correctly, can send a pom later today. On Nov 20, 2011, at 6:41, JacobS wrote: > is it possible to use the http transport in amq 5.5.0 in an osgi environment > ? > because activemq-optional is not osgified I added it to the class-path of > the bundle starti

Re: brokers share a datastore/load balancing

2011-11-04 Thread Johan Edstrom
Brokers and JMS are store and forward, you certainly can "balance" load in a network of brokers, competing consumers and competing consumers. On Nov 4, 2011, at 2:40 PM, ravibhargava wrote: > ActiveMQ brokers cannot share a datastore. Is performance the only reason or > is there something else.

Re: Cleaning Up ActiveMQ

2011-09-23 Thread Johan Edstrom
Fresh as in remove the data folder? On Sep 23, 2011, at 8:57 AM, suny_reddy wrote: > Hi, > > I am running ActiveMQ on my windows server for sometime. In this Java.exe is > taking 50+% of CPU always. I am not sure why it is not coming down. There is > a load of around 20-30 messages per second. M

Re: Backlog data causes producers to slow down.

2011-09-11 Thread Johan Edstrom
http://activemq.apache.org/producer-flow-control.html On Sep 11, 2011, at 6:08 PM, bbansal wrote: > Hello folks, > > I am evaluating ActiveMQ for some simple scenarios. The web-server will push > notifications to the queue/topic to be consumed by one or many consumers. > The one requirement is

Re: Could not start connection when using jms.prefetchPolicy on failover protocol url

2011-09-08 Thread Johan Edstrom
You need to have the options outside the parentheses, there should be samples on the failover uri page. On Sep 8, 2011, at 17:58, joe smith wrote: > Could not start connection when using the following URL pattern: > > failover:(tcp://localhost:61616?jms.prefetchPolicy.queuePrefetch=1,tcp://lo

Re: AMQ 5.5 non-persistent messages not processed, counted as in-flight

2011-09-01 Thread Johan Edstrom
I think you need to tune your OS. On Sep 1, 2011, at 3:35 PM, nrichards wrote: > Thanks, I'll add that to the configuration. > > Perhaps this should be different thread, but I'm also using a filecursor to > handle message buffering of non-persistent queue messages and have a large > number of o

Re: Embedded/distribute borker with NFSV3 locks

2011-08-26 Thread Johan Edstrom
A network of brokers if your persistence is not relying on filelocking, Sure... On Aug 26, 2011, at 10:28, Mohit Anchlia wrote: > Who would know about it? dev mailing list? > > On Thu, Aug 25, 2011 at 9:18 AM, Mohit Anchlia wrote: >> I understand that when using MASTER, SLAVE scenario NF

Re: camel and email

2011-08-21 Thread Johan Edstrom
You probably want to *read* with pop3/imap, smtp is a transport protocol, not a mailbox protocol, i,e it is a producing side component. Cheers. On Aug 21, 2011, at 1:04 PM, jmls wrote: > I am wanting to be able to poll my gamail account, process all unread > messages and send them to either a

Re: KahaDB Master/Slave?

2011-08-05 Thread Johan Edstrom
Same thing. Just different persistence adapters, KahaDB is the "preferred" one, it recovers much faster. http://activemq.apache.org/shared-file-system-master-slave.html Hey Keith :) On Aug 5, 2011, at 9:07 AM, Keith Mann wrote: > We are developing our ActiveMQ architecture and we are hoping to

Re: Remote Queuing

2011-08-03 Thread Johan Edstrom
You probably want to get a copy of Camel in Action and start reading about camel. The uri / queue placements for connecting to another broker is controlled by the connection factory. On Aug 3, 2011, at 11:40 PM, Gnanaguru S wrote: > Hi > > I am routing using the following queue present as b

Re: Apache ActiveMQ Security and Government Systems

2011-07-07 Thread Johan Edstrom
http://rajdavies.blogspot.com/2011/06/activemq-is-ready-for-prime-time.html On Jul 7, 2011, at 2:13 PM, TrainTime wrote: > Hi all, > > I've been using activeMQ in a few projects now, and it works great! But now > I am looking at a project where the product might need to be integrated into > gov

Re: consumer queue acknowledge?

2011-06-28 Thread Johan Edstrom
Yes, it depends on how you acknowledge. AUTO, Client or Individual (This is an AMQ specific) Client == On the Session. On Jun 28, 2011, at 11:43 AM, Darren Govoni wrote: > Hi, > I want to allow consumers of a persistent queue to programmatically > acknowledge > messages. And after some time,

Re: Master/slave configuration

2011-06-23 Thread Johan Edstrom
failover. Dead is dead. On Jun 24, 2011, at 12:07 AM, Vijay wrote: > server1 > > Master > JMS client 1 connects to Master > > Server2 > > Slave > JMS client 2 connects to slave > > > I need clarification on following scenarios. > > 1.If master dies, slave is still keeping J

Re: Support for Shared File System Master Slave using SAMBA/CIFS?

2011-05-30 Thread Johan Edstrom
Cifs / windows file-sharing works fine. On May 30, 2011, at 9:49 AM, Dejan Bosanac wrote: > Hi, > > I don't have any experience with setting it on cifs, but from little > googling seems like cifs supports file locking which is the only requirement > for this to work. It's best to try it out if yo

Re: Feasibility of Shared File System Master Slave using NFSv4

2011-05-26 Thread Johan Edstrom
That looks great! On May 26, 2011, at 2:52 PM, johneboyer wrote: > Yep, I hired a new Linux consultant and appears to be working like a charm. > Thank you. > > FYI: Here’s the output on the slave. > > 2011-05-26 13:44:09,299 | INFO | Database //lock is locked... > waiting 10 seconds for the da

Re: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod

2011-05-21 Thread Johan Edstrom
x it and give it another try! > > -Original Message- > From: Johan Edstrom [mailto:seij...@gmail.com] > Sent: Saturday, May 21, 2011 12:08 PM > To: users@activemq.apache.org > Subject: Re: java.lang.NoClassDefFoundError: > org/apache/commons/httpclient/HttpMethod >

Re: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod

2011-05-21 Thread Johan Edstrom
Not sure what you have been reading really, But you are trying to use a jms "client/producer" against the activemq webapp, not a transport, you are also missing commons-httpclient on the classpath. /je On May 20, 2011, at 9:09 PM, Michael wrote: > I am trying to run a very simple ActiveMQ mess

Re: Feasibility of Shared File System Master Slave using NFSv4

2011-05-19 Thread Johan Edstrom
And here is probably how you want to export it... rw,wdelay,nohide,insecure,no_root_squash,no_subtree_check,anonuid=65534,anongid=65534 And your slave will say, IOException file "bla bal" could not be locked. Once it times out, you failover. On May 19, 2011, at 1:33 PM, johneboyer wrote: > H

Re: Feasibility of Shared File System Master Slave using NFSv4

2011-05-19 Thread Johan Edstrom
Does he honestly think that WIki entry was written as if it just came from the mountain and behind a burning bush? On May 19, 2011, at 1:33 PM, johneboyer wrote: > He doesn’t buy it. Unfortunately, I’m not an NFS expert so I feel compelled > to defer to his expertise. > > -- > View this message

Re: Feasibility of Shared File System Master Slave using NFSv4

2011-05-19 Thread Johan Edstrom
Sure it does. http://activemq.apache.org/shared-file-system-master-slave.html On May 19, 2011, at 12:04 PM, johneboyer wrote: > I’m planning to implement the shared file system master slave using NFSv4 on > Ubuntu (lucid) server. However, my Linux consultant is telling me that it’s > not going

Re: Native Clustering in ActiveMQ

2011-05-11 Thread Johan Edstrom
You want your master slave to use "master/slave" then you tell your clients about the failover, also look at these pages: http://activemq.apache.org/masterslave.html http://activemq.apache.org/jdbc-master-slave.html (Since you mentioned DB2) http://activemq.apache.org/shared-file-system-master-s

Re: Native Clustering in ActiveMQ

2011-05-11 Thread Johan Edstrom
That goes in the clients connector. On May 12, 2011, at 12:28 AM, archa wrote: > Can you tell me where exactly to mention the failover syntax. > Eg: > failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false > > Should this go in the transportconnector tag ? > > -- > View this mess

Re: Native Clustering in ActiveMQ

2011-05-11 Thread Johan Edstrom
Oh, Yes, then you are on the right track. ActiveMQ supports 3 models. Memory (Don't use this) Disk (Use this for speed, niceness and whatnot else) JDBC (It'll be slow) /je On May 11, 2011, at 11:06 PM, archa wrote: > My requirement is as follows: > > I have my application which currently wri

Re: Native Clustering in ActiveMQ

2011-05-11 Thread Johan Edstrom
Clustering so to say kinda sorta goes against the JMS spec, the idea is to get messages from A->B as quickly as possible. There are HA solutions for stability and you can use networks of brokers to provide scalability but the idea of "clustering" messages, i.e replicating messages stores is kinda

Re: sync between two independent brokers

2011-05-10 Thread Johan Edstrom
If you use camel, have a DataBase, you can always apply an idempotentrepository. On May 10, 2011, at 5:52 AM, Christoph Burmeister wrote: > Hi, > > I have two brokers with nearly the same configuration. They don't > share a database nor have access to the same filesystem. They will get > identic

Re: Possibly a daft question

2011-05-10 Thread Johan Edstrom
It is possible that 4 made it on the "extra" message in a buffer, but your client did not yet see it. If you have CLIENT_ACKNOWLEDGE you will then ack all messages on the session, to truly force ack of everything you can use AMQ's INDIVIDUAL_ACKNOWLEDGEMENT > But I'll ask it anyway... > > Cli

Re: Sample failover transport configuration of activemq

2011-05-02 Thread Johan Edstrom
http://activemq.apache.org/failover-transport-reference.html On May 2, 2011, at 12:59 PM, agujral wrote: > Hi All, > I am planning to use failover transport in activemq such that > following scenarios are covered: > a)When I specify multiple brokers activemq should be able to randomly sel

Re: ActiveMQ restarting by itself

2011-04-28 Thread Johan Edstrom
Have you checked the logs for that restarted machine? And maybe you need to setup your clients with a slight reconnect delay? On Apr 28, 2011, at 3:18 PM, TheFarmer wrote: > I have ActiveMQ running as a Windows service. Windows logs whenever a > service is stopped or started. I am seeing in t

Re: JNDI and ActiveMQ

2011-04-06 Thread Johan Edstrom
http://activemq.apache.org/jndi-support.html On Apr 6, 2011, at 9:27 AM, Eugene wrote: > Hey, > > Most probably a newbie question, so please stay with me. :) > > I have been working for some time with openMQ and Webshphere MQ and with > JMS. > Right now have to switch to ActiveMQ and the docume

Re: attempting to automatically reconnect due to: java.io.EOFException

2011-03-05 Thread Johan Edstrom
You did a failover. On Mar 5, 2011, at 2:42 PM, rliguori wrote: > I'm doing a transport failover with this URI: > failover:(tcp://localhost:61616,tcp://localhost:62626)?randomize=false > > and I'm occasionally seeing this message through a test tool I'm using when > I kill the first primary br

Re: Programmatically changing Camel routes

2010-12-22 Thread Johan Edstrom
The StartStop routes test is probably a good start. StartAndStopRoutesTest.java - it is in Camel - core. On Dec 22, 2010, at 4:52 PM, Ivan L wrote: > > Hi, > > I have several routes defined in the ActiveMQ configuration. I need to be > able to programmatically change the list the routes - add

Re: Failover and redundancy

2010-11-25 Thread Johan Edstrom
Yes. That is basic functionality. Look at network of brokers. On Nov 25, 2010, at 1:42 PM, Héctor Cen wrote: > I have the following use case: > The brokers amq1, amq2 and amq3 needs to be linked to each other with > 1) I should be able to send message to any of the brokers. > 2) Assuming I have

Re: "Network of Brokers" and persistence

2010-11-15 Thread Johan Edstrom
If you think of persistence in the same way you would a POP3 store, i.e the object of the persistence store is more to provide reliability in that 1: Write incoming message to disk, 2: Maintain a journal of actions taken to the message 3: Remove the message from the store once consumed. So the

Re: Persistence delay in JDBC Master/Slave approach

2010-10-28 Thread Johan Edstrom
proach. > > Just wondering any other workarounds or suggestions. > > Thank you all. > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Persistence-delay-in-JDBC-Master-Slave-approach-tp3017852p3017852.html > Sent from the ActiveMQ - User mailing list

Re: JDBC Master Slave approach with Journal for HA

2010-10-27 Thread Johan Edstrom
> View this message in context: > http://activemq.2283324.n4.nabble.com/JDBC-Master-Slave-approach-with-Journal-for-HA-tp3014521p3016538.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. Johan Edstrom j...@opennms.org They that can give up essential libe

Re: JDBC Master Slave approach with Journal for HA

2010-10-27 Thread Johan Edstrom
21p3016176.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: Recover a failed Broker's Journal (by Database of Another Broker)

2010-10-26 Thread Johan Edstrom
ntext: > http://activemq.2283324.n4.nabble.com/Recover-a-failed-Broker-s-Journal-by-Database-of-Another-Broker-tp2351497p3014437.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a li

Re: Adding Eclipse Compiler to ActiveMQ

2010-10-18 Thread Johan Edstrom
ib folder but that didn't help. > > Can anybody help? > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Adding-Eclipse-Compiler-to-ActiveMQ-tp3001420p3001420.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. Johan Edstrom

Re: JDBC Master/Slave Patter: Understanding Locking

2010-10-06 Thread Johan Edstrom
t; http://activemq.2283324.n4.nabble.com/JDBC-Master-Slave-Patter-Understanding-Locking-tp2966254p2966254.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: Failover problem

2010-09-14 Thread Johan Edstrom
een the Brokers in my previous request. Is there anything else i need to > do? If yes please let me know about that. > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Failover-problem-tp2537292p2539947.html > Sent from the ActiveMQ - User mailing list arch

Re: Failover problem

2010-09-14 Thread Johan Edstrom
ml > Sent from the ActiveMQ - User mailing list archive at Nabble.com. Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: Failover problem

2010-09-14 Thread Johan Edstrom
activemq.2283324.n4.nabble.com/Failover-problem-tp2537292p2539929.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin F

Re: Upgrade from 5.3.2 to 5.4

2010-09-13 Thread Johan Edstrom
p://activemq.2283324.n4.nabble.com/Upgrade-from-5-3-2-to-5-4-tp2538274p2538274.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: Urgent Help needed

2010-08-17 Thread Johan Edstrom
. >>> I have configured on producer TTL as 250, but it doesn't seem to work... >>> One other thing, >>> How can I disable the creation of advisory topics? >>> >>> Any help will be appreciated... >>> >> >> > > -- > View

Re: How to run ActiveMq server from Java code.

2010-07-27 Thread Johan Edstrom
ng ActiveMq? I was looking for > an answer for two days and I couldn't find anything appropriate. > > Best regards, > szeldon > -- > View this message in context: > http://old.nabble.com/How-to-run-ActiveMq-server-from-Java-code.-tp29280567p29280567.html > Sent from t