Persistance on DB and "Failed to checkpoint a message store" error

2008-09-17 Thread Sandro Tosi
Hello, my filesystem filled up due to ActiveMQ keep writing into nohup.out this error message: ERROR JournalPersistenceAdapter - Failed to checkpoint a message store: java.util.concurrent.ExecutionException: java.io.IOException: Already started. java.util.concurrent.ExecutionException: java.

Re: Redelivering messages inconsistency

2008-09-17 Thread Rob Davies
Hi Andres, what you are experiencing is a classic 'timing issue' - it seems that there are some properties on the original message that are being overwritten when you send it again. I'm not certain if these are application properties (yours) or ActiveMQ ones (ours) without looking at an e

Re: testNG test harness for Camel, sending and receiving messages

2008-09-17 Thread Mick Knutson
I have created a base class extending AbstractTestNGSpringContextTests as you mentioned. I actually did the same to support bdunit. But there are a few things, related to camel that I am just not getting yet. * What does the camel-maven-plugin doing that my base class will not by initializing t

RE: ActiveMQ Configuration for Production

2008-09-17 Thread Andres Rangel
If you are not using the camel middleware , I will take out the entire camel context from the configuration file itself ... Also the /demo, and fileserver application, I will take them out I am also looking for some doc for the activemq.xml config options. If you found , please pos it here

RE: Redelivering messages inconsistency

2008-09-17 Thread Andres Rangel
I found the problem. The problem is in resources. Does anybody know where can I find a good documentation on how to configure the activemq.xml file? I have looked in the documentation but is confusing. Anyways the changes I made are: I had in my activemq.xml file the following properties:

Regarding advisory messages

2008-09-17 Thread Badri
Hi In Active MQ 5.2, I saw advisory messages to the slow consumer. I just subscribed to this advisory topic & printed the message below. ActiveMQMessage {commandId = 0, responseRequired = false, messageId = ID:DEV-1522-1221673922243-1:0:0:0:44, originalDestination = null, originalTransactionId

Redelivering messages inconsistency

2008-09-17 Thread Andres Rangel
Hi We have been working on with ActiveMQ on a custom content based router. We first try to use Camel, but since the routes changed very often (the routing instructions) then we decided to implement it using standard jms code ,and deploying it in an embedded broker. The Content Based Router

Re: Can not logging from Spark to embedded xmpp server

2008-09-17 Thread Vadim Chekan
No, I'm in the dark like you :) On Wed, Sep 17, 2008 at 2:09 AM, NabiL <[EMAIL PROTECTED]> wrote: > > Thanks fo your reply. > > Can you plz give more explanations. > > Thanks in advance. > > > vchekan wrote: >> >> Same problem here. Perhaps documentation should be updated? >> >> On Mon, Sep 15, 20

Discovering queues programmatically and dequeuing messages off of them

2008-09-17 Thread kpalania
I have a need to discover queues programmatically and dequeue messages off of them. In other words, I cannot make configuration changes to handle new JMS destinations and/or add new instances of the same listener. I basically need a way to have a process that dynamically discovers destinations (an

Are there workarounds for STOMP numeric selectors?

2008-09-17 Thread RubyStompUser
As far as I can tell, it is impossible to use the JMS numerical selectors (<, >, 'BETWEEN', etc) via STOMP, probably because string values are not being converted to numeric values for the comparisons as they would in actual SQL. Has anyone ever found a workaround for this? Some way for forcing a

Which comes first, NetworkConnector or ManagementContext?

2008-09-17 Thread Thomas R. Corbin
I've read that you need to create the NetworkConnector before anything else, and it seems true that you need a NetworkConnector before the ManagementContext will work. What seems to be happening is that the NetworkConnector uses a ManagementContext, but because it isn't one that I built for it

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-17 Thread Rob Davies
er - we need to update the xsd ;) 5.2 has not been released yet - Gary Tully who was doing the release is on vacation for a two weeks - but I think we'll need a new RC cheers, Rob On 17 Sep 2008, at 15:51, Badri wrote: Thanks Rob for info. Does the tag advisoryForSlowConsumers be used in

Active MQ over HTTP

2008-09-17 Thread Stu J
Hello, I'm trying to get ActiveMQ 5 working using HTTP rather than TCP. I have added the following to the activemq.xml configuration file: ... http://localhost:8062"/> I am also attempting to modify the example files (Such as ProducerTool.java) in order to have them send over HTTP, however

Re: Stomp and numeric properties in message selectors

2008-09-17 Thread RubyStompUser
I am having the same problem. HOW can the numeric JMS selectors (>, <, BETWEEN) be used with STOMP? They are needed. -Marc Simon Wistow wrote: > > I recently spent a while debugging some problems I was having. The > solution turned out to be that in my Java sender I was doing something > lik

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-17 Thread Badri
Thanks Rob for info. Does the tag advisoryForSlowConsumers be used in policyEntry? I could see 2 tags for advisory - advisorySupport & sendAdvisoryIfNoConsumers in the activemq-core-5.2.xsd. I just referred to activemq-core-5.2-SNAPSHOT.xsd & did not find tag advisoryForSlowConsumers. Not sure i

Re: AjaxServlet is currently unavailable

2008-09-17 Thread piotr_rezmer
piotr_rezmer wrote: > > Hello, > > I want to add ajax connectivity to my existing application. I added > activemq-web-5.1.0.jar to \lib directory. First I wanted to check amq.js > file availability on the web server. So after entering URL like: > > http://localhost:8080/myWebApp/amq/amq.js >

Re: AjaxServlet is currently unavailable

2008-09-17 Thread Dejan Bosanac
Hi, It seems like your AjaxServlet did not initialize for some reason (you should be seeing exception in a log file or console, but I don't know how your logging system is configured). It looks to me that you're missing some dependencies and have classpath issues. For example, you need at least a

Active MQ Message Persistence

2008-09-17 Thread slimrednano
Hi I am a novice user of Active MQ and Apache Camel. Currently I am constructing an application that using Apache Camel to Route Message to Active MQ. I encounter problems in persisting messages to MYSQL DB. I am wondering why the message is not persisted into the Database. However the Topic Su

AjaxServlet is currently unavailable

2008-09-17 Thread piotr_rezmer
Hello, I want to add ajax connectivity to my existing application. I added activemq-web-5.1.0.jar to \lib directory. First I wanted to check amq.js file availability on the web server. So after entering URL like: http://localhost:8080/myWebApp/amq/amq.js I receive: HTTP Status 503 - Servlet Aj

Re: unable to build active-mq cpp 2.1.3 on linux

2008-09-17 Thread Timothy Bish
I don't know of any reason why you would be getting this error. Have you ensured that you have all the prerequisite libraries and tools installed that called out in the Readme.txt? Do the autogen.sh and configure scripts run without errors or warnings? Regards Tim. On Wed, 2008-09-17 at 01:57 -

Re: New message timeout design question

2008-09-17 Thread James Strachan
2008/9/16 Mick Knutson <[EMAIL PROTECTED]>: > 1 thought I had looking through the patterns is using an aggregator. Even > though there is only 1 message going out. > Then, I could passivate the AggregatorCollection. Then add a correclationId > to the outgoing message. Now I would expect the new me

Re: testNG test harness for Camel, sending and receiving messages

2008-09-17 Thread James Strachan
2008/9/16 Mick Knutson <[EMAIL PROTECTED]>: > I am trying to setup camel within Maven to start my camel context via the > >org.apache.camel >camel-maven-plugin >1.4.0 > > > Now I was hoping that someone has already created a bas

Re: Can not logging from Spark to embedded xmpp server

2008-09-17 Thread NabiL
Thanks fo your reply. Can you plz give more explanations. Thanks in advance. vchekan wrote: > > Same problem here. Perhaps documentation should be updated? > > On Mon, Sep 15, 2008 at 2:16 AM, NabiL <[EMAIL PROTECTED]> wrote: >> What the login/password, i should specify ? >> > > -- > From

Re: How to Secure Webconsole ?

2008-09-17 Thread NabiL
still doesn't work !! :-( plz see the log file : http://www.nabble.com/file/p19527771/log log http://www.nabble.com/file/p19527771/activemq.xml activemq.xml Thanks in advance. bsnyder wrote: > > On Tue, Sep 16, 2008 at 5:27 PM, NabiL <[EMAIL PROTECTED]> wrote: >> >> >> Concerninf first st

Re: unable to build active-mq cpp 2.1.3 on linux

2008-09-17 Thread gali_ka
I checked the file. It does exist. What else could it be? Do I have to build the active-mq in a special directory, like /usr ? Do I need something special for my PATH? Timothy Bish wrote: > > Generally this occurs because the files did not get extracted from the > tar file. First thing to do i

Re: Difference setJMSExpiration setTimeToLive

2008-09-17 Thread James Strachan
Agreed - its always worth checking the javadoc for methods on the Message interface as it usually describes which properties are set by a provider and which are not. http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html#setJMSExpiration(long) BTW its kinda odd that the JMS API would include

Re: Starting with Active MQ

2008-09-17 Thread James Strachan
2008/9/17 MonaTakle <[EMAIL PROTECTED]>: > We are doing a project in java & using activemq as the broker. Can anyone > please guide us how do we start with activemq? If you're not really experienced with JMS, I'd recommend you skip learning that (its kinda complex!) and just hide the middleware AP

Re: in version 5.2 cannot fund class -> org.apache.activemq.pool.PooledConnectionFactory

2008-09-17 Thread Bruce Snyder
On Wed, Sep 17, 2008 at 2:03 AM, 任增刚 <[EMAIL PROTECTED]> wrote: > hi! friends, > > > as title. i want to know if this class was removed .thanks! Nope, it's still available in the activemq-pool project: http://fisheye6.atlassian.com/browse/activemq/tags/activemq-5.2.0/activemq-pool/src/mai

in version 5.2 cannot fund class -> org.apache.activemq.pool.PooledConnectionFactory

2008-09-17 Thread 任增刚
hi! friends, as title. i want to know if this class was removed .thanks! Best regards! rzg.

Re: How to run maven test

2008-09-17 Thread Dejan Bosanac
Vadim Chekan wrote: > What is the command to run certain unit test with maven? > > http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html -- Dejan Bosanac http://www.ttmsolutions.com - get a free ActiveMQ user guide ActiveMQ in Action - http://www.manning.com/snyde

How to run maven test

2008-09-17 Thread Vadim Chekan
What is the command to run certain unit test with maven? -- >From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT is explicitly specified

Re: Negative number of messages

2008-09-17 Thread Vadim Chekan
Filed https://issues.apache.org/activemq/browse/AMQ-1940 with code to reproduce. Vadim. On Fri, Sep 12, 2008 at 10:07 AM, Vadim Chekan <[EMAIL PROTECTED]> wrote: > I tried to google either it is known problem but was not able to find > my exact scenario. > So let me know if it is known issue or I