Re: INFO: Journal is locked... waiting 10 seconds for the journal to be unlocked.

2009-11-10 Thread James Li HD
rahul_k123 wrote: > > > INFO: Journal is locked... waiting 10 seconds for the journal to be > unlocked. > Feb 19, 2009 11:21:58 AM > org.apache.activemq.store.journal.JournalPersistenceAdapterFactory > createJournal > > > This is exception i am seeing continuously in my logs and queue is not

Re: Activemq - Hang issue.

2009-11-10 Thread kalidoss
Thanks for your reply, Still we are with activemq 5.0.0 Since other version have an issue with too many open files whit stomp. my config. activemq.xml http://activemq.apache.org/camel/schema/spring";> org.foo.bar org.apache.camel.component.http.HttpOpe

Re: Activemq - Hang issue.

2009-11-10 Thread Rob Davies
which version of ActiveMQ are you using - and what does your config look like ? On 11 Nov 2009, at 06:55, kalidoss wrote: Hi, We are using activemq for cms domain. We are facing an issue like MQ frequently hanging. Daily writes around 30 thousand per day. This will be increase like 1.5L

Re: Out of Memory on 5.3

2009-11-10 Thread afei
Gary Tully ,thx. Gary Tully wrote: > > iterate actually does a dispatch. when consumers change etc, we again > try and dispatch to ensure prefetch buffers are maintained. > > Do a svn up to r834579 as I committed a fix to trunk for this today > resolving https://issues.apache.org/activemq/bro

Re: Out of Memory on 5.3

2009-11-10 Thread afei
when consuming a large of messages,the method:asyncWakeup() is invoked crazily,so the executor has a great deal of runnable that callback Queue.iterate(), but Queue.iterate() is much slower than the increasing of runnable in the executor. this result in OOM. avoid to invoke the method:asyncWake

Activemq - Hang issue.

2009-11-10 Thread kalidoss
Hi, We are using activemq for cms domain. We are facing an issue like MQ frequently hanging. Daily writes around 30 thousand per day. This will be increase like 1.5Laks per day. Since we are in hanging issue we are not growing in numbers. All input datas coming to Q1 -> using HTTP Came

Re: encrypt database password in broker-config.xml

2009-11-10 Thread au.pg
Hi, I just want to share how we can encrypt database password in broker-config.xml using jasypt. 1) Add spring name space xmlns:spring="http://www.springframework.org/schema/beans"; 2) define below two beans 3) you can see that password declared in activemq-pwd.

Re: activemq bridge

2009-11-10 Thread jeff yung
Thanks for your reply. Well, networks-of-brokers is used for connecting activemq brokers. In my case, I need to connect 2 jboss messaging services on 2 jboss servers with activemq. Is that possible? Joe Fernandez wrote: > > Yes, you use what's referred to as a 'forwarding bridge' or 'network

Re: Out of Memory on 5.3

2009-11-10 Thread Gary Tully
iterate actually does a dispatch. when consumers change etc, we again try and dispatch to ensure prefetch buffers are maintained. Do a svn up to r834579 as I committed a fix to trunk for this today resolving https://issues.apache.org/activemq/browse/AMQ-2481 2009/11/10 afei : > > in org.apache.ac

2 connections and InterruptedException

2009-11-10 Thread Eric-AWL
Hi With ActiveMQ 5.2. I have one process that is connected to one embedded broker and simultaneously to an other distant broker (TCP) When the link with the TCP distant broker is broken, I want to close properly all my Consumer ressources even for my embedded broker I receive an InterruptedExc

Re: Broker Blocked (WARN : Broker localhost not started so using DCFR instead)

2009-11-10 Thread Gary Tully
but I think it should be vm://DCFR as that matches the brokerName attribute of your configured broker. 2009/11/10 titexe : > > I removed the just waitForStart > > Otherwise there's the line > > > > > Gary Tully wrote: >> >> I guess you have tried to un comment: >>   >> >> >> 2009/11/10 titexe : >

Re: Broker Blocked (WARN : Broker localhost not started so using DCFR instead)

2009-11-10 Thread titexe
I removed the just waitForStart Otherwise there's the line Gary Tully wrote: > > I guess you have tried to un comment: > > > > 2009/11/10 titexe : >> >> The context : >> >> i have a network broker type duplex. >> and a route camel : move message to othe queue, and track the message in >

Re: ActiveMQ Consumer / Producer Connection Listener

2009-11-10 Thread Joe Fernandez
The only workaround I can think of right now is to use the AMon framework and develop a Monlet that listens for these events (addConnection, addProducer, removeProducer, etc.) and then sends some sort of informational message that it produces. The contents of the message are based on the info that

Re: Broker Blocked (WARN : Broker localhost not started so using DCFR instead)

2009-11-10 Thread Gary Tully
I guess you have tried to un comment: 2009/11/10 titexe : > > The context : > > i have a network broker type duplex. > and a route camel : move message to othe queue, and track the message in > database. > > > Below my configuration : > >    http://activemq.apache.org/schema/core"; brokerName="

Re: ActiveMQ Consumer / Producer Connection Listener

2009-11-10 Thread Boarder
Thank you for the answer, Joe. The advisory messages seem to be what I want. However, I would also need this to work with Stomp. As I saw here: http://old.nabble.com/Consuming-Advisory-messages-from-ActiveMQ-using-stomp-td21977199.html it seems impossible for me to really understand what the event

Re: Broker Blocked (WARN : Broker localhost not started so using DCFR instead)

2009-11-10 Thread titexe
The context : i have a network broker type duplex. and a route camel : move message to othe queue, and track the message in database. Below my configuration : http://activemq.apache.org/schema/core"; brokerName="DCFR" dataDirectory="${activemq.base}/data">

Re: General Design Help

2009-11-10 Thread Gary Tully
for 1) don't use journaled jdbc in a failover setup because the journal is not replicated. Use simple jdbc or revert to a shared file system setup. 2) producer order cannot be maintained across brokers. If it is vital you need a single broker or partition your data across destinations. 2009/11/10

Re: Broker Blocked (WARN : Broker localhost not started so using DCFR instead)

2009-11-10 Thread Gary Tully
can you post your configuration and some more context? The brokerName attribute is relevant to the vm: url you use, localhost is the default value. Also, try and enable full debug logging to see if you can extract more information. 2009/11/10 titexe : > > Hello, > > My broker can not do anything,

General Design Help

2009-11-10 Thread denis_the_user
Hey. I'm looking for a high-performance solution for message throughput of about 10.000 messages per second. I think thats no problem at all. My System: - Some multi-core systems - ActiveMQ 5.3 - Apache tomcat + Java Webapp handling Producers - Java tool handling Consumers and delivering to the

Re: Activemq broker hangs when stomp client disconnects unexpectedly

2009-11-10 Thread Gary Tully
have a look at http://activemq.apache.org/slow-consumer-handling.html with persistence=false, no disk spooling will occur so all messages will remain in memory unless you add some discard policy. what is a little odd is that the broker still thinks there is a consumer, you may need to configure so

Re: NegativeArraySizeException after ActiveMQ 5.3 restart

2009-11-10 Thread Gary Tully
were those messages present from an execution of a previous version of activemq? 2009/11/9 M : > I am using ActiveMQ 5.3 with persistent messages through a MySQL database and > recently had a repeating error occur in the wrapper.log file.  When I stopped > ActiveMQ, there were a few messages in

Broker Blocked (WARN : Broker localhost not started so using DCFR instead)

2009-11-10 Thread titexe
Hello, My broker can not do anything, nor send or receive messages. When I look at the console, there's only this error: 2009-11-10 09:35:21,205 [7638536 @ qtp0-34] WARN BrokerRegistry - Broker localhost not started so using instead Does someone can help me solve this painful problem ? Thank

Activemq broker hangs when stomp client disconnects unexpectedly

2009-11-10 Thread SelvarajAM
Hi, I am using embedded Activemq broker (5.3 Version), Flex client and STOMP protocol for the communication. The problem is, When unexpected error occurs in the Flex client, Activemq broker memory usage increases gradually and then it hangs giving the following message in the log file Memory

Re: Receiving old messages on durable topics after application restart using ActiveMQ two node cluster

2009-11-10 Thread Stefan Verhoeff
To work around the problem we decided to re-architect to use Queues instead of Topics (since this application is the only one using Topics). The Virtual Destinations page does look promising to provide a solution, thanks for the advice. Regards, Stefan Joe Fernandez wrote: > > I have noticed t

Re: How to configure ActiveMQ externally with Jboss :

2009-11-10 Thread Roland Thomas Lichti
Hi Chinmaya, Chinmaya schrieb: > Active MQ : apache-activemq-5.2.0 > Jboss : jboss-5.1.0.GA > > I am facing issues while configuring ActiveMQ with Jboss such that ActiveMQ > should be externally running. It is working fine when i embed it inisde > Jboss. But i donot want to embed inside JBoss. Tha

Re: activemq bridge

2009-11-10 Thread Joe Fernandez
Yes, you use what's referred to as a 'forwarding bridge' or 'network connector' between the two brokers. http://activemq.apache.org/networks-of-brokers.html Joe http://www.ttmsolutions.com jeff yung wrote: > > Is it possible to make use of activemq bridge to forward the messages from > a rem

Re: ActiveMQ Consumer / Producer Connection Listener

2009-11-10 Thread Joe Fernandez
You may want to look at using advisory messages http://activemq.apache.org/advisory-message.html Or for more finer-grained control check out this free AMQ monitoring framework. http://www.ttmsolutions.com/Transactional_Software_Solutions/Active_Monitor_AMon.php Joe Boarder wrote: > > I can

Karaf + ActiveMQ

2009-11-10 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I'm struggeling to deploy ActiveMQ on Karaf 1.0. The problem I have is that the ActiveMQ bundles depend on the Geronimo GShell which is not in the features listed here mvn:org.apache.servicemix/apache-servicemix/4.0.0/xml/features. And when

ANN: Habari ActiveMQ Client 2.0 released - Delphi 6-2010 and Free Pascal library

2009-11-10 Thread mjustin
November 10, 2009 - betasoft is pleased to announce release 2.0 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

How to configure ActiveMQ externally with Jboss :

2009-11-10 Thread Chinmaya
Active MQ : apache-activemq-5.2.0 Jboss : jboss-5.1.0.GA I am facing issues while configuring ActiveMQ with Jboss such that ActiveMQ should be externally running. It is working fine when i embed it inisde Jboss. But i donot want to embed inside JBoss.Even i donot want to deploy the Resource Adapt

Re: Message Head of line blocking

2009-11-10 Thread Dejan Bosanac
Hi, there's a default DLQ queue, but you can customize this if you need. You can put a consumer there, or use web console to browse failed messages and do appropriate actions manually. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ i

Re: Out of Memory on 5.3

2009-11-10 Thread afei
in org.apache.activemq.broker.region ,why so many invoke asyncWakeup(), what is the method:iterate() doing? afei wrote: > > in addition,another problem of OOM. > > > > Gary Tully wrote: >> >> fyi: you can disable periodic message expiry processing using a >> destination policy entry that se