Re: Problem creating tables for SQL Server 2008

2011-05-19 Thread janne postilista
Anyone? Does the table generation always have to be done by ActiveMQ when it starts, or can it be done manually? On Thu, May 19, 2011 at 5:20 PM, janne postilista wrote: > It seems activeMQ creates the tables (ACTIVEMQ_ACKS, LOCK, etc) when > it starts up. Can you create the tables manually? Wher

RE: Feasibility of Shared File System Master Slave using NFSv4

2011-05-19 Thread Allen Reese
I know that we did some internal testing with NFSv4, and it worked. Now NFSv3 will not work, it's a matter of when you will get corruption. --Allen > -Original Message- > From: johneboyer [mailto:johnboye...@gmail.com] > Sent: Thursday, May 19, 2011 1:23 PM > To: users@activemq.apache.o

Re: alternatives to request response pattern

2011-05-19 Thread Marcelo Jabali
Steve, You can use a queue browse to do that. Basically, you send a message to the queue with the information you need. Then the client will browse the queue looking for the desired information. When you need to update that information just consume the message and publish a new one. You can al

RE: Problem with SLF4J

2011-05-19 Thread Michael
Thanks again Dejan. I think I tried this before too, but I tried it again with all the JARs from http://hc.apache.org/httpcomponents-client-ga/. No luck. What could be missing? Should I create a classpath environment variable and point to the JARs and not use the Eclipse Run Configuration Class

alternatives to request response pattern

2011-05-19 Thread Steve Angelovich
Are there any recommendations or techniques for how to avoid having to use a request/response pattern? I'm using the technique described here http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html. I'm primarily doing this to get some basic configuration information

Re: how to set pendingSubscriberPolicy for an embedded broker

2011-05-19 Thread Marcelo Jabali
Steve, I believe you're looking for something similar to this: PolicyEntry policy = new PolicyEntry(); policy.setProducerFlowControl(true); policy.setMemoryLimit(50); policy.setDestination(topic);

Re: how to set pendingSubscriberPolicy for an embedded broker

2011-05-19 Thread Steve Angelovich
Thanks for the reference but I don't know all the classes well enough to navigate through the javadocs and find the right information. I have something like; BrokerService broker = new BrokerService(); broker.setBrokerName(_host+"_"+_port); broker.setUseJmx(true); broker.setDataDirectory(new Fil

Re: Feasibility of Shared File System Master Slave using NFSv4

2011-05-19 Thread johneboyer
Thank you for the advise. Sounds like I need to go forward this project with a willing Linux consultant. I’ll post back to the forum with the results. Regards, John Boyer -- View this message in context: http://activemq.2283324.n4.nabble.com/Feasibility-of-Shared-File-System-Master-Slave-using

Re: how to set pendingSubscriberPolicy for an embedded broker

2011-05-19 Thread Marcelo Jabali
Hi Steve, Take a look on org.apache.activemq.broker.region.policy.PolicyEntry (http://activemq.apache.org/maven/5.3.1/activemq-core/apidocs/org/apache/activemq/broker/region/policy/PolicyEntry.html) Hope this helps, -Marcelo On May 19, 2011, at 12:17 PM, Steve Angelovich wrote: > I have an

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 johneboyer
He doesn’t buy it. Unfortunately, I’m not an NFS expert so I feel compelled to defer to his expertise. -- View this message in context: http://activemq.2283324.n4.nabble.com/Feasibility-of-Shared-File-System-Master-Slave-using-NFSv4-tp3536513p3536718.html Sent from the ActiveMQ - User mailing lis

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

how to set pendingSubscriberPolicy for an embedded broker

2011-05-19 Thread Steve Angelovich
I have an embedded broker and I want to set specify which cursor to use and some of the attributes. When using the activemq.xml file I'm specifying something like; Can somebody point me to an example or the right place in the javadocs so that I can specify this information pro

RE: Feasibility of Shared File System Master Slave using NFSv4

2011-05-19 Thread Idzerda, Edan
I think that's kinda funny, really. ActiveMQ's website has a warning about potential problems with locking under NFSv3, http://activemq.apache.org/shared-file-system-master-slave.html and IBM MQ's similar "multi-instance" mode *requires* NFSv4 for "proper lock handling." I only briefly teste

Feasibility of Shared File System Master Slave using NFSv4

2011-05-19 Thread johneboyer
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 to work and has refused to waste time setting it up because he says the exclusive locking will not work. Is he correct? Does anyone hav

Re: failover transport recovery behavior

2011-05-19 Thread Jason Whaley
5.3.x of ActiveMQ is fairly old and lots of things have been fixed since then in the current 5.5 version.You should consider upgrading. In addition, as of 5.4 there is a "rebalanceClusterClients" option you can set on your transportConnector (in conjunction with "updateClusterClients") tha

Problem creating tables for SQL Server 2008

2011-05-19 Thread janne postilista
It seems activeMQ creates the tables (ACTIVEMQ_ACKS, LOCK, etc) when it starts up. Can you create the tables manually? Where is the DDL for that? I have a local SQL Server 2008 that I want to configure ActiveMQ to use. My activemq.xml configuration is:

failover transport recovery behavior

2011-05-19 Thread Mark Greene
I have a primary and secondary node configured with the failover transport. When the primary node dies, producers and consumers switch over to the secondary node just fine. However, when the primary node comes back, only the producer seems to recover and migrate back to the primary, however the con

Re: Failover using journaled JDBC.

2011-05-19 Thread Gary Tully
the only difference is in schema validation. Prior to 5.4, the schema was not validated by default so it was ok to use journaledJDBC which used a spring factory bean to make the persistence adapter but which was invalid w.r.t the schema. With journalPersistenceAdapterFactory you are explicitly usi

Re: Failover using journaled JDBC.

2011-05-19 Thread chitta
Is there any difference between journalPersistenceAdapterFactory and journaledJDBC? Or both are only different ways of achieving journaled JDBC persistency? Below are the configurations. I am using activeMQ 5.4

Re: Failover using journaled JDBC.

2011-05-19 Thread Gary Tully
no, the journal is not replicated, so any inflight messages, in the journal but not yet batch replayed to the jdbc store will not be accessible/visible to the peer broker. For failover between peer brokers that share a jdbc store, you should not use a journal. On 19 May 2011 12:28, chitta wrote:

Re: How does prefetch work with client acknoledgements?

2011-05-19 Thread lernen.2007
We have following situation: ClientServer Server ActiveMQ Instance1 ActiveMQ Instance2< Bridge NetworkConnector Transport Connector

Re: JMS Bridge AMQ Version 5.5.0

2011-05-19 Thread lernen.2007
Hi, thanks for answering. It works now it fails the slf jar file. -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-Bridge-AMQ-Version-5-5-0-tp3532658p3535459.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Failover using journaled JDBC.

2011-05-19 Thread chitta
Does Active MQ support failover using journaled JDBC or not? I am using activeMQ 5.4.2. -- View this message in context: http://activemq.2283324.n4.nabble.com/Failover-using-journaled-JDBC-tp3535444p3535444.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Problem with Security settings in AMQ 5

2011-05-19 Thread chirantank
Hi, I just installed and ran Active MQ 5.5 on Windows XP. It ran fine and I was able to send/receive messages to a newly created queue as anonymous user. However to bring in security, I tried to use activemq-security.xml. To keep things simple, I didn't create any environment variable ACTIVEMQ_ENC

Re: JMS Spec - Application Server Facilities (ASF)

2011-05-19 Thread muzza
Thanks Gary. Can you comment on ActiveMQ 4.1.2 also please as we suspect this was not the case with this old version and still have some customers in production with 4.1.2 ? Muzza. -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-Spec-Application-Server-Facilities-ASF-

Re: JMS Spec - Application Server Facilities (ASF)

2011-05-19 Thread Gary Tully
All of the ASF optional pieces are present in 5.x, can't help on the specifics of websphere though. On 17 May 2011 11:45, muzza wrote: > Morning all, > > Just a quick question for AMQ versions 5.x and 4.1.x. > > Does AMQ implement the optional Application Server Facilities in the JMS > Spec ? > >

Re: Problem with SLF4J

2011-05-19 Thread Dejan Bosanac
Hi, it seems like you're trying to use http transport and for that you need commons http client (http://hc.apache.org/httpcomponents-client-ga/) Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com Ac