Not able to query more than 15 tweets with Apache Maven

2013-06-26 Thread ks1605
I am using Apache Maven to run API 1.1 for running twitter queries related to particular keywords. For a keyword, the command works only upto a limit of most recent 15 tweets. I also want to get tweets older than that. I think it can be done by using sinceId but I don't know how to use it. Also, is

Re: Re:Re:Re: How to delete a persistent message

2013-06-26 Thread Francisco
The first comment head me in the right direction, and the last link gave me invaluable information on how to debug the AMQ movements. Eventually, it seems to be a problem of pending ACK. I'll take a deeper look on it, because all the messages have been correctly delivered, but sometimes AMQ does n

Re:Re:Re: How to delete a persistent message

2013-06-26 Thread SuoNayi
Hi, take a peek at http://activemq.apache.org/why-do-kahadb-log-files-remain-after-cleanup.html At 2013-06-25 10:13:51,SuoNayi wrote: >There's a option which can be turned on to logging why a KahaDB file can not >be deleted when cleanup is performing.But I can not recall how to turn on it...

Re:Re: ActiveMQ transport error when I do a telnet check on the port

2013-06-26 Thread SuoNayi
Or just giving a higher logging level to suppress those annoying logs? We also use TCP port check to see if our brokers are available and I just ignore those logs. At 2013-06-27 08:21:46,jliao wrote: >are you referring to the transportConnectors config in the ActiveMQ itself? >Unfortunately I d

Re: ActiveMQ transport error when I do a telnet check on the port

2013-06-26 Thread jliao
are you referring to the transportConnectors config in the ActiveMQ itself? Unfortunately I don't think I can change it. Is there any other alternative? -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-transport-error-when-I-do-a-telnet-check-on-the-port-t

Re: ConnectionFactory issue

2013-06-26 Thread Sean Beck
Awesome that did it. Thanks! On Wed, Jun 26, 2013 at 6:06 PM, Christian Posta wrote: > yah, something might be dependent on spring stuff... > check out that link i pasted.. should show how to include whole directories > > > On Wed, Jun 26, 2013 at 5:03 PM, Sean Beck > wrote: > > > I see. Is ther

Re: ConnectionFactory issue

2013-06-26 Thread Christian Posta
yah, something might be dependent on spring stuff... check out that link i pasted.. should show how to include whole directories On Wed, Jun 26, 2013 at 5:03 PM, Sean Beck wrote: > I see. Is there a way to specify a whole directory to be included in the > classpath? Your suggestion fixed that p

Re: ConnectionFactory issue

2013-06-26 Thread Sean Beck
I see. Is there a way to specify a whole directory to be included in the classpath? Your suggestion fixed that problem for ConnectionFactory but now I have it with ApplicationContextAware which I didn't realize is even being used in my program On Wed, Jun 26, 2013 at 6:01 PM, Christian Posta wrote

Re: ConnectionFactory issue

2013-06-26 Thread Christian Posta
yep, compiling will produce the byte code. but when you run it, the runtime libs must be made available to the code that uses it. On Wed, Jun 26, 2013 at 4:58 PM, Sean Beck wrote: > I am compiling like so: > > javac -cp > > /apache-activemq-5.8.0/lib/geronimo-jms_1.1_spec-1.1.1.jar:/apache-acti

Re: ActiveMQ transport error when I do a telnet check on the port

2013-06-26 Thread Christian Posta
when you open a socket to the broke port, there are a series of protocol negotiations expected, and this can cause errors if the protocol isn't followed. you may try stomp transport for your telnet session? a tcp port check could cause those errors because port is opened/closed or even just half-op

Re: ConnectionFactory issue

2013-06-26 Thread Sean Beck
I am compiling like so: javac -cp /apache-activemq-5.8.0/lib/geronimo-jms_1.1_spec-1.1.1.jar:/apache-activemq-5.8.0/lib/camel/camel-jms-2.10.3.jar:/apache-activemq-5.8.0/activemq-all-5.8.0.jar:/apache-activemq-5.8.0/lib/camel/camel-core-2.10.3.jar:. QueueListener.java So everything already should

Re: ConnectionFactory issue

2013-06-26 Thread Christian Posta
you'll have to make sure the geronimo spec jar (and all other runtime dependencies) are on the classpath when you run your main class. http://en.wikipedia.org/wiki/Classpath_(Java)#Basic_usage On Wed, Jun 26, 2013 at 4:45 PM, Sean Beck wrote: > I am trying to compile my java code and need java

ConnectionFactory issue

2013-06-26 Thread Sean Beck
I am trying to compile my java code and need javax.jms.ConnectionFactory. I am pretty sure I am including the right jar files in the classpath (geronimo-jms_1.1_spec-1.1.1.jar) because it does create my .class files properly. However when I run my program it gives me this: Exception in thread "mai

ActiveMQ transport error when I do a telnet check on the port

2013-06-26 Thread jliao
I'm using ActiveMQ 5.5, and I have some monitoring going against the broker port to perform a TCP port check, and somehow I'm getting all these errors in my logs: WARN | 06-26-2013 15:00:41.055 | Async Exception Handler | org.apache.activemq.broker.TransportConnection.Transport(202) - Transport

Re: Compiling issue with ActiveMQ-CPP on armv7l

2013-06-26 Thread kururuKT
After I take a second look, it shown that the compiler is compiling things in the "examples" directory. I wonder if I can simply remove the entire "example" folder from the build? libactivemq.so doesn't need the examples to run right? make[2]: Leaving directory `/home/jacky/apache/Apache_apr/acti

Re: Compiling issue with ActiveMQ-CPP on armv7l

2013-06-26 Thread Karel Gardas
On 06/26/13 08:03 PM, kururuKT wrote: Yet another update. All the errors I got is related to out of memory. I was able to compile activemq-3.4.4 locally, but not 3.7.0. So means I'm going to cross-compile, and IT GIVE ME HELL AGAIN I downloaded + cross-compiled APR library - after pain search

Re: Compiling issue with ActiveMQ-CPP on armv7l

2013-06-26 Thread kururuKT
Yet another update. All the errors I got is related to out of memory. I was able to compile activemq-3.4.4 locally, but not 3.7.0. So means I'm going to cross-compile, and IT GIVE ME HELL AGAIN I downloaded + cross-compiled APR library - after pain search - with the following configure option .

Difference between CMS 2.4 and 3.1?

2013-06-26 Thread JRR
Hello, We are currently using the AMQ CPP Client 3.5.0 which release notes say uses the "CMS 2.4 API". We are looking to move forward to the 3.7.0 client and the release notes say it uses the "CMS 3.1 API". How can I determine the API differences between 2.4 and 3.1? When I click on the link fo

Missing OpenWire connections in the web console on ActiveMQ 5.8.0.

2013-06-26 Thread guerra
Hi, I've just messing with an ActiveMQ 5.8.0 instance (before jumping on to a migration process ) and I got a sort of issue with the web console. For some reason, when I got connections into the broker, the "Connections" link doesn't display any connections to it. Connections are there and a simpl

Re: JMS 2.0 alignment

2013-06-26 Thread AE
What about the server side components, for example the ability to have multiple durable consumers with same client id for topics? This is a really nice feature. -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-2-0-alignment-tp4668129p4668601.html Sent from the Active

Re: Data stucked in embedded broker storage.

2013-06-26 Thread Christian Posta
messages won't be "demand forwarded" by default if there are no consumers. you could set up statical destinations in your network connector to always forward for that destination. http://activemq.apache.org/networks-of-brokers.html On Wed, Jun 26, 2013 at 7:17 AM, vkcse wrote: > Hi, > > I am u

Data stucked in embedded broker storage.

2013-06-26 Thread vkcse
Hi, I am using ActiveMQ 5.8.0. >I am using an embedded broker and queue producer in one application. And an external broker with one more application for queue consumer which is connected to external broker. >And I am connecting the embedded broker to the external broker using the network connec

Re: ActiveMQ 5.4.0 Stomp Null pointer exception

2013-06-26 Thread Nicolas Garcin
Gary Tully writes: > > glad that helped, thanks for posting back. > > On 30 August 2010 11:28, Theo Bot wrote: > > Gary, > > > > Your repsonse led me to the solution. It was indeed the missing > > destination. The script had an argument called 'queue' instead of > > 'destination'. > > > > Th

Re: JMS 2.0 alignment

2013-06-26 Thread Gary Tully
It is on the radar but there are no concrete plans. one thought is that JMS2 could provide a general interface to all of the transports that ActiveMq provides. So the jms2 client could have plugins for amqp, openwire, mqtt, stomp etc. in other words it could become a unifying force. If there are p

About "How do I use log4j JMS appender with ActiveMQ"

2013-06-26 Thread bedomon
Hi, I create this to topic to explain how i finally found a solution for the exception : javax.jms.JMSException: Wire format negociation timeout: peer did not send his wire format. First I didn't use the jms appender as you can see with my log4j properties file (i didn't put the mail appender):