RE: Retroactive consumer not working...

2008-03-07 Thread Andrew M
Does anyone have an example of working retroactive consumer code? Thanks, Andrew -Original Message- From: Andrew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 2:40 PM To: users@activemq.apache.org Subject: Retroactive consumer not working... My broker is not feeding my co

Re: javax.jms.IllegalStateException: The producer is closed

2008-03-07 Thread Mario Siegenthaler
Did you close the session associated with the consumer? Mario On 3/6/08, sparky2708 <[EMAIL PROTECTED]> wrote: > > Periodically I have the following error. (I don't close the producer anywhere > in my code) Any ideas why? > javax.jms.IllegalStateException: The producer is closed

Re: Unrecognized xbean element mapping: authenticationUser

2008-03-07 Thread Jeremy Ross
ok, I'm pretty certain that's the problem. Thanks for the tip. Jeremy ttmdev wrote: > > My guess is that you're using AMQ 4.1, but with the 5.x schema? If that is > the case, see this URL for the 4.1 simpleAuthenticationPlugin > > http://activemq.apache.org/ref/schema/activemq-core-4.1.1.xsd

Re: Unrecognized xbean element mapping: authenticationUser

2008-03-07 Thread ttmdev
My guess is that you're using AMQ 4.1, but with the 5.x schema? If that is the case, see this URL for the 4.1 simpleAuthenticationPlugin http://activemq.apache.org/ref/schema/activemq-core-4.1.1.xsd.html#simpleAuthenticationPlugin I think Rudi ran across the same problem http://www.nabble.com/A

Unrecognized xbean element mapping: authenticationUser

2008-03-07 Thread Jeremy Ross
I'm tinkering with authentication, but I'm getting: java.lang.Exception: org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean element mapping: authenticationUser in namespace http://activemq.org/config/1.0 My plugins section from activemq.xml is below. Any ideas wh

Ajax password authenticate

2008-03-07 Thread jflex
Hi, I am currently working on an ajax client for AMQ. I have gotten everything to work fine with non-protected topics but I now need to find a way to authenticate users to username/password protected topics. Are there certain post variables that need to be sent with the "handshaking"? The ajax cl

Re: Crossdomain issues

2008-03-07 Thread Dejan Bosanac
Hi, basically you have two choices 1. create a kind of proxy for your Ajax calls ( http://developer.yahoo.com/javascript/howto-proxy.html) 2. use some of the cross-domain ajax stuff, such as http://blog.monstuff.com/archives/000280.html Cheers -- Dejan Bosanac www.scriptinginjava.net On Fri,

Crossdomain issues

2008-03-07 Thread JMan_JE
Hello, i've been playing around with ActiveMQ's Ajax transport this afternoon. I have an Asp.net Webapplication running on port 80. I want to integrate ActiveMQ to update my site on certain events. But i can't integrate the js directly in my site, because ActiveMQ runs on a different port. I can't

RE: "WARNING: Transport failed" ... org.apache.activemq.transport.failover.FailoverTransport handleTransportFailure

2008-03-07 Thread Joe Fernandez
The SO_TIMEOUT is a standard java.net.Socket option. When set to a non-zero value, the Socket read() call will block for only the amount of time specified. If the timeout expires, the SocketTimeoutException will get hurled, but the Socket connection should still be treated as active. A timeout of z

Re: "WARNING: Transport failed" ... org.apache.activemq.transport.failover.FailoverTransport handleTransportFailure

2008-03-07 Thread Eric Rodriguez
Is this timeout the same as the: soTimeout (long) sets the SO_TIMEOUT value (in milliseconds) on the socket configured on the TCP Transport and described here: http://activemq.apache.org/activemq-3-transport-configurations.html I'm a bit confused about the different tiemouts that can be specifi

Re: JMS Selector/ Javascript

2008-03-07 Thread Eric Rodriguez
Hi I was talking about this patch: https://issues.apache.org/activemq/browse/AMQ-1547 but it seems you got my second email first. Basically it adds a parameter to the MessageListenerServlet, this passes the parameter to the WebClient which looks for the parameter value on the request headers