Failover Transport not working over Lingo?

2008-10-02 Thread Mark Chaimungkalanont
We're using Lingo with Failover transport for some of our calls. I'd assume that these calls would us the failover transport, so if it fails, the Failover thread would attempt the reconnect. However, I keep getting errors like: javax.jms.JMSException: edu.emory.mathcs.backport.java.util.concurr

Re: Not quite sure where to go next - network bridging, reliable delivery, store and forward.

2008-10-02 Thread Thomas R. Corbin
On Thursday 02 October 2008, Joe Fernandez said: > Are your 'assignments' messages are being sent out as non persistent? If > so, then that is more than likely your problem. > > http://activemq.apache.org/why-do-i-not-receive-messages-on-my-durable-topi >c-subscription.html They *should* be persi

JaaS security using a database

2008-10-02 Thread BenD
I'm trying to set up AMQ security using JaaS with a database for users and passwords. So far all I have found as an implementation for this is Tagish (http://free.tagish.net/jaas/doc-1.0.3/index.html) which seems to be a bit out of date. Does anyone know of a better solution? Should I just be r

Help in setting up "Network Of Brokers"

2008-10-02 Thread kumarchill
Hi, I want to connect 3 brokers that are running on 3 different systems connected to each other using Network Of Brokers(NOB). I did the following changes in the config 1) Host1 http://activemq.apache.org/schema/core"; brokerName="Host1Broker" dataDirectory="${activemq.base}/data1"> .

Re: ActiveMQ Over SMTP

2008-10-02 Thread harpritt
Thank you so much, thats fantastic i did not expect such a speedy responce thankyou again thats so cool! bsnyder wrote: > > On Thu, Oct 2, 2008 at 8:46 AM, harpritt <[EMAIL PROTECTED]> wrote: >> >> Hi >> >> Im very new to all this and will probably ask a stupid question, my >> ap

Re: BrokerRegistry Warning

2008-10-02 Thread Bruce Snyder
On Thu, Oct 2, 2008 at 8:50 AM, pkimbrel <[EMAIL PROTECTED]> wrote: > > I've embedded ActiveMQ 5.1.0 into JBoss 4.2.3. Everything seems to be > working, but about every 5 minutes, I get a warning on my JBoss sysout > console: > > WARN [BrokerRegistry] Broker localhost not started so using test.br

Re: ActiveMQ Over SMTP

2008-10-02 Thread Bruce Snyder
On Thu, Oct 2, 2008 at 8:46 AM, harpritt <[EMAIL PROTECTED]> wrote: > > Hi > > Im very new to all this and will probably ask a stupid question, my > appologies in advance. > > I have a remote location that only supports SMTP and would like to use a JMS > implementaion to communicate with my remote

Re: How to properly close a queue?

2008-10-02 Thread James Strachan
2008/10/2 kneumei <[EMAIL PROTECTED]>: > > Perhaps I am misunderstanding how JMS works, or maybe I didn't explain myself > very well. How I am viewing JMS's relationship to my code right now is like > this: My business objects (with their associated queues) are on the server. > They produce messa

Re: How to properly close a queue?

2008-10-02 Thread kneumei
Perhaps I am misunderstanding how JMS works, or maybe I didn't explain myself very well. How I am viewing JMS's relationship to my code right now is like this: My business objects (with their associated queues) are on the server. They produce messages. Consumers (on a client machine) may come

Re: How to properly close a queue?

2008-10-02 Thread James Strachan
2008/10/2 kneumei <[EMAIL PROTECTED]>: > > Is there a way to delete the queue programatically from the broker instead of > using JMX? In my application, there are certain business objects that each > have an associated queue. When the object is deleted, I need the queue to > close. > > If there is

Re: How to properly close a queue?

2008-10-02 Thread kneumei
Is there a way to delete the queue programatically from the broker instead of using JMX? In my application, there are certain business objects that each have an associated queue. When the object is deleted, I need the queue to close. If there is not a way to do this, I imagine that I am not usin

Re: Not quite sure where to go next - network bridging, reliable delivery, store and forward.

2008-10-02 Thread Joe Fernandez
Are your 'assignments' messages are being sent out as non persistent? If so, then that is more than likely your problem. http://activemq.apache.org/why-do-i-not-receive-messages-on-my-durable-topic-subscription.html Tom Corbin wrote: > > On Wednesday 01 October 2008, Joe Fernandez said: >> U

BrokerRegistry Warning

2008-10-02 Thread pkimbrel
I've embedded ActiveMQ 5.1.0 into JBoss 4.2.3. Everything seems to be working, but about every 5 minutes, I get a warning on my JBoss sysout console: WARN [BrokerRegistry] Broker localhost not started so using test.broker1 instead "test.broker1" is my broker name. I'm sure I have something mi

Re: Not quite sure where to go next - network bridging, reliable delivery, store and forward.

2008-10-02 Thread Thomas R. Corbin
On Wednesday 01 October 2008, Joe Fernandez said: > Use care, if you've assigned the multicast uri to all the brokers' network > and transport connectors. They'll all end up trying to connect to one > another. I think what you may want to consider is more of a hub-n-spoke > topology, where the hub

Re: How to properly close a queue?

2008-10-02 Thread James Strachan
BTW if you want the queue to disappear when your JMS consumer closes, use a temporary queue 2008/10/2 James Strachan <[EMAIL PROTECTED]>: > Each queue uses up resources in the broker unless you use the JMX APIs > to delete queues from the broker. > > 2008/10/2 kneumei <[EMAIL PROTECTED]>: >> >> Hi

Re: How to properly close a queue?

2008-10-02 Thread James Strachan
Each queue uses up resources in the broker unless you use the JMX APIs to delete queues from the broker. 2008/10/2 kneumei <[EMAIL PROTECTED]>: > > Hi, > I am building an application in which I am using ActiveMQ to send messages > to clients. So far I have something like this. The BrokerService

Re: How to properly close a queue?

2008-10-02 Thread kneumei
Regarding the QueueThread: Here is the stack trace for it: "QueueThread:queue://1" daemon prio=6 tid=0x0adc9c00 nid=0x8a8 waiting on condition [0x0bc0f000..0x0bc0fc94] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x031

ActiveMQ Over SMTP

2008-10-02 Thread harpritt
Hi Im very new to all this and will probably ask a stupid question, my appologies in advance. I have a remote location that only supports SMTP and would like to use a JMS implementaion to communicate with my remote applications. Can ActiveMQ be configured to support this requierment? FYI the r

How to properly close a queue?

2008-10-02 Thread kneumei
Hi, I am building an application in which I am using ActiveMQ to send messages to clients. So far I have something like this. The BrokerService and connectionFactory are created when my application starts up and are put into a singleton, and the connectionFactory is made available to other parts

MaxPageSize parameter

2008-10-02 Thread Manu86
Hello, I would like to know what is the maxPageSize parameter ? Given the JIRA https://issues.apache.org/activemq/browse/AMQ-1585 AMQ-1585 , I set this parameter to a large value to avoid master/slave synchronization problems and it solved my problem. I had a second problem with selectors and

Re: Configuring Embedded Broker with Spring/JBoss JMX issues

2008-10-02 Thread Bruce Snyder
On Thu, Oct 2, 2008 at 3:37 AM, Dejan Bosanac <[EMAIL PROTECTED]> wrote: > If you are taking this route, you can try defining your broker > configuration in a separate xml file and do something like > > BrokerService broker = BrokerFactory.createBroker(new > URI("xbean:activemq.xml")); > broker.sta

ActiveMQ 5.1-large memory consumption of java.exe process

2008-10-02 Thread piotr_rezmer
Hello, I have a site with ActiveMQ 5.1. After several hours of work with traffic 10 k messages/ hour, windows task manager shows memory usage of java.exe process about 150 MB. Usually, at this point broker stops to respond to send requests from jms client. After NT service restart, everything st

Re: Passing in Session ID from client for REST based Messaging

2008-10-02 Thread James Strachan
2008/10/2 Dejan Bosanac <[EMAIL PROTECTED]>: > Cool. Thanks for the info :) BTW if anyone wants a head start in hacking up an activemq-rest module, there's a Camel one I've started hacking together (though its very early days...) https://svn.apache.org/repos/asf/activemq/camel/trunk/components/cam

Re: Passing in Session ID from client for REST based Messaging

2008-10-02 Thread Dejan Bosanac
Cool. Thanks for the info :) -- Dejan Bosanac http://www.ttmsolutions.com - get a free ActiveMQ user guide ActiveMQ in Action - http://www.manning.com/snyder/ Scripting in Java - http://www.scriptinginjava.net James Strachan wrote: > Yeah; its way more mature with a much more active communi

Re: Passing in Session ID from client for REST based Messaging

2008-10-02 Thread James Strachan
2008/10/2 Dejan Bosanac <[EMAIL PROTECTED]>: > I have this on my wish list for quite some time, but never managed to > find time to do it :( > > I originally looked at other design protocol you've made > > http://activemq.apache.org/rest-protocols.html > > but this one is much more complete. > > Th

Re: Passing in Session ID from client for REST based Messaging

2008-10-02 Thread Dejan Bosanac
I have this on my wish list for quite some time, but never managed to find time to do it :( I originally looked at other design protocol you've made http://activemq.apache.org/rest-protocols.html but this one is much more complete. This RESTful protocol you defined for queues could be implement

Re: Passing in Session ID from client for REST based Messaging

2008-10-02 Thread James Strachan
2008/10/2 Dejan Bosanac <[EMAIL PROTECTED]>: > The first time you access some web app (REST servlet in this case), the > session will be created by the server and a unique id will be associated > to it. You'll get that info as a jsessionid (usually in a cookie) in a > response to your request. For

Re: Passing in Session ID from client for REST based Messaging

2008-10-02 Thread Dejan Bosanac
The first time you access some web app (REST servlet in this case), the session will be created by the server and a unique id will be associated to it. You'll get that info as a jsessionid (usually in a cookie) in a response to your request. For subsequent calls you have an option to pass that sess

Re: Configuring Embedded Broker with Spring/JBoss JMX issues

2008-10-02 Thread Dejan Bosanac
If you are taking this route, you can try defining your broker configuration in a separate xml file and do something like BrokerService broker = BrokerFactory.createBroker(new URI("xbean:activemq.xml")); broker.start(); it will be easier to configure it that way. Cheers -- Dejan Bosanac htt

Setting ActiveMQ Queues and QCFs as XA

2008-10-02 Thread rmh1
Hi All, I have done a search across the forums and there doesn't seem to be much hope, but i thought i would try and ask none the less %-| Does anyone know anything about configuring ActiveMQ as XA? I am using Websphere App server and can't for the life of me work out how to set it up!! any hel