Re: Shared File System Master Slave with OCFS

2007-05-19 Thread Christopher G. Stach II
Christopher G. Stach II wrote: > James Strachan wrote: >> Thanks for the heads up! :) >> >> I guess we could make the locking strategy pluggable & we could have >> some implementation call the fcntl locking. e.g. maybe using Jtux >> >> http://www.bas

Re: Shared File System Master Slave with OCFS

2007-05-19 Thread Christopher G. Stach II
some people assume that shared data is available, but shared data is just as easily corrupted, locked, or unavailable. Essentially, when you find a single responsibility and divide it, it probably shouldn't converge somewhere down the line. This current pattern is most likely unusable for any HA situation. -- Christopher G. Stach II

Re: Shared File System Master Slave with OCFS

2007-05-18 Thread Christopher G. Stach II
ly for using to > host oracle data tables. Am wondering how good the file locking is on > OCFS? Certainly its clear the mutex file locking from Java isn't > supported on OCFS. > OCFS2 properly supports POSIX locking semantics with fcntl. lockf and flock aren't supported yet. If that's what the JVM uses under the covers, you're out of luck. If this is about OCFS and not OCFS2, I'm really sorry. :) -- Christopher G. Stach II

Re: ClassCastException on MessageObject's object

2007-04-30 Thread Christopher G. Stach II
ass on the classpath). Otherwise if it was a >> serialization issue, you wouldn't get an object you can inspect. >> > Is it a vm broker? -- Christopher G. Stach II

Re: Ports internally used by active Mq

2007-04-30 Thread Christopher G. Stach II
Christopher G. Stach II wrote: > Suchitha Koneru (sukoneru) wrote: >> Hello Active Mq Users , >> Our application currently uses active mq 4.0.1 >> version. We use an embedded broker along with durable subscribers and >> topic publishers. >&g

Re: Ports internally used by active Mq

2007-04-30 Thread Christopher G. Stach II
7;t bind two sockets to the same address-port pair. If it was the case that something didn't check if a port was already in use, and it was, it wouldn't even work. -- Christopher G. Stach II

Re: OutOfMemoryError using 4.1.1

2007-04-24 Thread Christopher G. Stach II
l -QUIT, or ctrl-\ to get a thread dump), you could hit the process' thread limit as James said, the entire OS could be out of processes, or for other less obvious reasons like heap fragmentation or thread stack size. -- Christopher G. Stach II

Re: XATransaction

2007-04-23 Thread Christopher G. Stach II
you will not need to using > Jenks. BTM is a complete solution. >From the Bitronix Overview page: JCA JCA connectors could potentially be used too but BTM currently lacks support for them. -- Christopher G. Stach II

Re: OutOfMemoryError using 4.1.1

2007-04-23 Thread Christopher G. Stach II
re the memory is going? If not, nobody is really going to be able to help you. -- Christopher G. Stach II

Re: Monitoring Slave broker

2007-04-19 Thread Christopher G. Stach II
> Do you have any ideas of how to check if the slave is up and running > bar grepping the process table? > > I see that in 4.2 I could check port 8161 but we're still running 4.01 > at the moment. > > Thanks, > > Simon > > Use JMX. -- Christopher G. Stach II

Re: broker url and broker xbean config file

2007-04-13 Thread Christopher G. Stach II
n="broker"/> > > > > > > > Shawn > > > > Redelivery is a function of the client, so it kind of belongs in the URL. That's where I have mine. -- Christopher G. Stach II

Re: what's the meaning of transportConnector and networkConnector ?

2007-04-05 Thread Christopher G. Stach II
t; uri="static://(tcp://host1:61616,tcp://host2:61616)" failover="true"/> >>> >>> >>> i can't understand what are the meanings of transportConnector and >>> networkConnectors object, i tried to find the explanations from >>> api-docs,but >>> got nothing. could anyone can help me to explain these or give me some >>> useful links? thanks very much! >>> By the way, i doubt whether i can replace the "localhost" with another ip >>> address? and what does " discoveryUri" means? >>> >> >> > http://activemq.apache.org/using-activemq.html -- Christopher G. Stach II

Re: DefaultMessageListenerContainer + not remove messages until processed

2007-04-05 Thread Christopher G. Stach II
e the spring transaction manager > abstraction > Are you sure that you've even started a transaction before attempting to consume the message and that an explicit rollback doesn't keep the the message in the queue? -- Christopher G. Stach II

Re: Problems with VM transport

2007-03-27 Thread Christopher G. Stach II
broker, local or remote, that has a TCP transportConnector. If you run a vm broker in one webapp and expect another webapp to talk to it, you just might run into classloader problems. -- Christopher G. Stach II

Re: Problems with VM transport

2007-03-25 Thread Christopher G. Stach II
matically) change the > broker URL by augmenting the broker URL with a failover URL as follows? > >Startup: vm://localhost >During runtime (after an event): >failover(vm://localhost,tcp://remote:61616) > > Would modifying the broker URL of the connection factory cause problems? > > Thanks, > > /U This was kind of like watching a retarded kid fall down, and laughing... but three times in a row. Thanks. -- Christopher G. Stach II

Re: [Spam: 5.0] Connection pooling

2007-03-16 Thread Christopher G. Stach II
Apache ActiveMQ - http://activemq.org/ >> Apache ServiceMix - http://servicemix.org/ >> Castor - http://castor.org/ >> >> > Can you please stop asking very basic questions with very available answers? There is a wiki full of documentation. If you get exceptions, read them, google, and figure them out. When you can't, ask a good question in an intelligent way and you'll have much better success with getting help. http://www.google.com/search?q=pooling+activemq+consumers -- Christopher G. Stach II

Re: [Spam: 5.0] JMX Remote Access - Necessary ports

2007-03-09 Thread Christopher G. Stach II
rver.hostname=localhost, and connect with jconsole or whatever to localhost:1099. -- Christopher G. Stach II

Re: [Spam: 5.0] JMX Remote Access - Necessary ports

2007-03-08 Thread Christopher G. Stach II
o a fixed port, but you can't enable any form of security on it. There's an open issue for this. You may just want to use SSH tunneling. -- Christopher G. Stach II

Re: JMX Remote Access - Necessary ports

2007-03-07 Thread Christopher G. Stach II
access to port 61099. Do we have > to add 62104? > > Kind regards > Juergen Also, the second port is random, so it will change. Firewalls and RMI (which JMX uses) don't like each other. There are ways to make it work, of course... -- Christopher G. Stach II

Re: JMX Remote Access - Necessary ports

2007-03-07 Thread Christopher G. Stach II
access to port 61099. Do we have > to add 62104? > > Kind regards > Juergen Multiple ports are involved. Maybe google "java rmi registry tcp ports"? -- Christopher G. Stach II

Re: Remove all messages from a queue

2007-03-02 Thread Christopher G. Stach II
t;> Kelly If you're not using disk persistence with a VM broker, all of the messages disappear when it shuts down. Once all of the connection to the VM broker are gone, it shuts down (although I wish I could override that behavior :)), so you may not need to go through that much trouble. -- Christopher G. Stach II

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread Christopher G. Stach II
ure where it changes the JMSDestination to the DLQ's name. If shared does that, you won't know (by headers) what the original destination was. Then you can't use the JMX message selectors to requeue, etc. -- Christopher G. Stach II

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread Christopher G. Stach II
. > > > Christopher G. Stach II wrote: >> I don't think expiration works in 4.1. >> >> -- >> Christopher G. Stach II >> >> >> > I don't know if it is, but I think it's supposed to be. Let us know. :) -- Christopher G. Stach II

Re: [Spam: 5.0] Expired Message Listener

2007-02-23 Thread Christopher G. Stach II
ecific pointers / examples for this? > > Appreciate any help... > > Manav > > > Vadim Pesochinsky wrote: >> I think you can use JMS api, the queue name is "ActiveMQ.DLQ" if I >> remember correctly. >> > http://www.google.com/search?q=site%3Aactivemq.org+deadletterstrategy -- Christopher G. Stach II

Re: Too many open files exception on broker

2007-02-23 Thread Christopher G. Stach II
7;t understand, is why would AMQ even > be in such a state in the first place? > > Is there a bug with this too many open files issue? Is there another fix > that is recommended? > It's normal *nix resource limits. Just like the nohup thing, this really doesn't have a

Re: [Spam: 5.0] Expired Message Listener

2007-02-22 Thread Christopher G. Stach II
ciated. > > Manav > > I don't think expiration works in 4.1. -- Christopher G. Stach II

Re: Non-Persistent Topic not getting messages

2007-02-21 Thread Christopher G. Stach II
arted with 512MB. > The memory % used says 100%. > > But this doesn't match the Summary Memory stats. What is this limit? > There's an issue open for the waitForSpace issue. I'm not sure if it applies to your situation. Anyway, you may want to look into the usageManager settings in the broker configuration to set the limit higher. A 20MiB default seems weird. I didn't think that there was a default. -- Christopher G. Stach II

Re: Non-Persistent Topic not getting messages

2007-02-21 Thread Christopher G. Stach II
exceptions on the broker that i'm not seeing?? > > Any suggestions are appreciated! We currently have some issues where queues stop delivering. Can you generate a stack dump when it's hung? -- Christopher G. Stach II

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
Christopher G. Stach II wrote: > GaryG wrote: >> I'm getting the feeling that my session terminal closing does have something >> to do with it. >> >> So, would you recommend using that JSW service? You said in the previous >> posts that it has problems, so

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
gh. Google for org.tanukisoftware.wrapper.WrapperStartStopApp and activemq, maybe. -- Christopher G. Stach II

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
lling it on you? > Is it recommended to always run it embedded, and not put it in background as > a command line process? Totally depends on your requirements. Both are recommended, I think. :) -- Christopher G. Stach II

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
27;t log anything. (The most stable VM I've run AMQ in was Sun 1.5.0_09, so you may want to try that just in case.) Turn logging up and see where the shutdown init is coming from? (Might want to obfuscate those "iss.net"s. :)) -- Christopher G. Stach II

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
t;just dying", but I have seen the service wrapper kill a broker for a lot of reasons. It also restarts the broker when it dies or the wrapper kills it, but I have also seen the wrapper fail to restart the broker. -- Christopher G. Stach II

Re: ActiveMQ Broker dying

2007-02-19 Thread Christopher G. Stach II
--- > > Everything is working fine, messages are going across, then all of a sudden, > for no reason broker shuts down. > > This is driving me nuts, as this problem has been happening for a while now, > and I cannot figure out why. > > Any suggestion is appreciated! Are you using Java Service Wrapper? What does the wrapper log say? -- Christopher G. Stach II

Re: Async Exception, multiple threads, one connection

2007-02-08 Thread Christopher G. Stach II
blished? > > What happens to any temporary queues I have created. Temporary queues are > unique per connection. Hence when a connection is re-established will > ActiveMQ maintain my current temporary queues? > Use the CMS collector and parallel collectors for the other generations. -- Christopher G. Stach II

Re: Testing "maximumRedeliveries"... MDP does not receives messages once an Exception is thrown...

2007-02-02 Thread Christopher G. Stach II
fetchValues=1;jms.redeliveryPolicy.initialRedeliveryDelay=2000;jms.redeliveryPolicy.maximumRedeliveries=4;jms.redeliveryPolicy.useCollisionAvoidance=true;" >> /> >> >> now I am getting following NPE from ConnectionStateTracker as soon as an >> exception is thrown. >> I don't think that's going to be a valid URL with semicolons. Maybe & instead of &? -- Christopher G. Stach II

Re: Testing "maximumRedeliveries"... MDP does not receives messages once an Exception is thrown...

2007-02-02 Thread Christopher G. Stach II
y.initialRedeliveryDelay=2000&jms.redeliveryPolicy.maximumRedeliveries=24&jms.redeliveryPolicy.useCollisionAvoidance=true I used to configure it with the bean properties and it worked, but this was better for my project setup. -- Christopher G. Stach II

Re: Can't set prefetch size!

2007-02-02 Thread Christopher G. Stach II
magic.moose wrote: > > jms.redeliveryPolicy.allPrefetchValues is not recognized as correct > connection param in ver. 4.1. > i tried jms.prefetchPolicy.all. Without success. That's weird, because that's what I use and it works. :) -- Christopher G. Stach II

Re: No effect on maximumRedeliveries setting

2007-02-02 Thread Christopher G. Stach II
James Strachan wrote: > On 2/1/07, Christopher G. Stach II <[EMAIL PROTECTED]> wrote: >> James Strachan wrote: >> > I'd certainly recommend never using the >> > org.apache.activemq.pool.PooledConnectionFactory for anything other >> > than sending

Re: Can't set prefetch size!

2007-02-02 Thread Christopher G. Stach II
> > > > > > > > queuePrefetch property of resource adapter doesnt help. > and it really is 10 ! > it not only that it behaves like it is 10. thats what i can see via jmx. Try this: -- Christopher G. Stach II

Re: C# .NET Development is not possible at this point with ActiveMQ

2007-02-01 Thread Christopher G. Stach II
rying to use ActiveMQ across different > platforms. It is also making it very hard to sell this messaging system to > management at this point. > > Thank you for your efforts. Previous versions don't work? -- Christopher G. Stach II

Re: No effect on maximumRedeliveries setting

2007-02-01 Thread Christopher G. Stach II
ainers How about adding an example of a Spring configuration using JCA (Jencks, I guess) for inbound messages, the pooled connection factory for outbound, all JTA, and preferably using the inbound connection for the JCA inbound messages? :) -- Christopher G. Stach II