Re: zookeeper reconnects

2015-07-25 Thread Tim Bain
Ah, I see what you're saying, and I think you should submit a bug in JIRA for it. Ideally, provide a minimal configuration that'll reproduce the problem when you do, if you can create one... Tim On Sat, Jul 25, 2015 at 10:06 AM, James A. Robinson wrote: > Well, I'm pretty sure zookeeper won't

Re: Error on page latest release 5.11.1

2015-07-25 Thread Christopher Shannon
Tim, you are correct. This is an issue with multiple web servers. The only solution is to upgrade to a newer version of the application/web server that is having the issue or to downgrade to Java 7. Jetty 7 and 8 also have this problem but Jetty 9 should work, for example. On Sat, Jul 25, 2015

Re: How to use persistenceAdapter for persistent Scheduled Messages ?

2015-07-25 Thread Christopher Shannon
You need to configure a custom JobSchedulerStore outside the persistence adapter. You can use the setJobSchedulerStore method in BrokerService or do this in xml with something like the following: I think that will work but you might need to play around with some of the settings

Re: message stucks in 4 brokers network

2015-07-25 Thread Tim Bain
If all brokers connect to all other brokers using duplex="false", then you have a complete graph and messages can pass from any broker. So I don't think duplex has anything to do with your problem. (Though if you have a duplex connection from every broker to every other broker, then there are two

Re: Error on page latest release 5.11.1

2015-07-25 Thread Tim Bain
java.util.Map.Entry changed its definition from Java 7 to Java 8 (source: http://stackoverflow.com/a/26105217), so it's possible that the installed version of Jasper isn't Java 8 compatible. According to https://blogs.oracle.com/java/entry/glassfish_server_open_source_edition, GlassFish 4.1 should

Re: BlobMessage: fileserver webapp does not work in tomcat

2015-07-25 Thread Tim Bain
Is the dependency problem simply that you don't have the right JAR on the classpath? (In which case, the solution seems like it should be pretty straightforward...) Tim On Thu, Jul 23, 2015 at 4:46 AM, Jonas Decker wrote: > Hello, > > i try to use BlobMessages with an embedded AMQ_5.11.1 in to

How to use persistenceAdapter for persistent Scheduled Messages ?

2015-07-25 Thread Oleg
hi guys ! I use amq-server-5.8 and have next trouble ... I can't reduce size of scheduleDB logs (db-*.log). They created by default 32-33 Mb: /opt/amq-server-5.8/data/static-broker1/scheduler -rw-rw-r-- 1 idr idr 33M Jul 24 15:18 db-1991.log -rw-rw-r-- 1 idr idr 33M Jul 24 15:40 db-1992.log

Is Apollo support cluster deployment?

2015-07-25 Thread lizk
Hello, IS Apollo support cluster deployment, please?If you want to implement clustering, need what to do, thank you! -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-Apollo-support-cluster-deployment-tp4699779.html Sent from the ActiveMQ - User mailing list archiv

spring boot with ActiveMq

2015-07-25 Thread jzx
Hi,any one can help me out? this is stackoverflow http://stackoverflow.com/questions/31601236/spring-boot-activemq-modify-broker-url -- View this message in context: http://activemq.2283324.n4.nabble.com/spring-boot-with-ActiveMq-tp4699771.html Sent from the ActiveMQ - User mailing list archive

Re: message stucks in 4 brokers network

2015-07-25 Thread Cadmean
This problem has been solved by : 1. setting F5 load balancer as : least connection & session keeping 2. setting networkConnector as : remove localhost, duplex="true", dynamicOnly="true" 3. setting destination policy as : replayWhenNoConsumer="true" I think the main problem of my question is

Error on page latest release 5.11.1

2015-07-25 Thread fxthomas
hello, I have downloaded the latest stable version on Windows 7 64 Bit. After creating a Queue and sending a test message to the queue when i try to view the message under browse section i get exception occured message. below is in the Log file i see. Jav Installed is version 8 2015-07-23

BlobMessage: fileserver webapp does not work in tomcat

2015-07-25 Thread Jonas Decker
Hello, i try to use BlobMessages with an embedded AMQ_5.11.1 in tomcat_7.0.62 (Java 1.7_71 (64bit)) The AMQ-fileserver does not work in tomcat because it depens on '*jetty.*DefaultServlet.class' What can i do to make BlobMessages work within without jetty. FTP is no option Greetings Jonas

Re: ApplicationProgramer throw "Connection Refused"

2015-07-25 Thread dugh
thks,i have added failover in paramter defore " tcp() "and the result is right.the application can be work normal.-- Original -- From: "Tim Bain [via ActiveMQ]" Date: Tue, Jul 21, 2015 09:32 PM To: "dugh"<545474...@qq.com>; Subject: Re: Applicatio

Message selector failing in ActiveMQ queue

2015-07-25 Thread Zim-Zam O'Pootertoot
My program is using Java 8 (Oracle JDK) and the activemq-all 5.11.1 jar. I have a persistent queue of Job objects, and I'm trying to cherrypick cancelled Job objects from the queue using a message selector. However, the cherrypick is failing: javax.jms.Session session; // no transactions, auto-a

Re: zookeeper reconnects

2015-07-25 Thread James A. Robinson
Well, I'm pretty sure zookeeper won't let the client specify a value outside its own minSessionTimeout and maxSessionTimeout, so I think the real question is how close to minSessionTimeout I can get without seeing problems. It's really just masking the underlying problem though, right? The client o

Re: zookeeper reconnects

2015-07-25 Thread Tim Bain
James, You've tested two of the three cases; would it be possible to test the third one? - ActiveMQ timeout < ZooKeeper timeout: fails - ActiveMQ timeout = ZooKeeper timeout: succeeds - ActiveMQ timeout > ZooKeeper timeout: ??? If we can zero in on exactly what the recommendation is, I

Re: Receiving messages in a topic works local, but not remote

2015-07-25 Thread Tim Bain
And have you confirmed that you updated the URI the client uses so it refers to the new non-local host? It's a basic thing, but could be easy to forget. If you haven't already, enable JMX for your broker. It'll let you see which clients are successfully connected, how many messages are pending f

Re: ACTIVEMQ_PIDFILE

2015-07-25 Thread Marc Schöchlin
Hi, can you provide enhanced debug information using the following procedure : http://activemq.apache.org/unix-shell-script.html#UnixShellScript-Testingandreportinginteroperabilityproblemsforunixplatforms Regards Marc Am 16.07.2015 um 20:10 schrieb mlus: > Hello, > > I use activemq-5.11.1 on o

Re: Receiving messages in a topic works local, but not remote

2015-07-25 Thread Christopher Shannon
First, with your clients, did you call start on the connection? It's a common mistake and easy forget to do but I'm guessing you did that since it worked with an embedded broker. Second, are you connecting with your MessageListener before publishing your messages or after? Your message consumer w

Receiving messages in a topic works local, but not remote

2015-07-25 Thread thejeed
Hi @ll, I'm David, newbie to ActiveMQ. I'm using v5.11.1 as an embedded broker. What I want to do is to produce a message and deliver it using a topic. On the other side of the line, a client program establishes a connection to the broker, creates a TopicSubscriber and reacts via a MessageListene