ActiveMq - Using protocol HTTP along with JBOSS

2008-04-30 Thread Sonia_08
Hi, I am trying to establish a connection using the HTTP transport. I tried TCP and SSL as well. They seem to be working fine in Activemq-5.1.0. But it does not seem to be working when I use HTTP. I haev mentioned http://localhost:port in the activemq file under the bin folder of ActiveMq. An

Re: OOME - ActiveMQMessageConsumer.unconsumedMessages

2008-04-30 Thread Rob Davies
On 1 May 2008, at 00:02, Filip Hanik - Dev Lists wrote: There doesnt seem to be a way of limiting how messages are delivered to the client. the ActiveMQMessageConsumer.unconsumedMessages seems to fill up, all to quickly, and eventually cause an OOME we have this setting on the server

OOME - ActiveMQMessageConsumer.unconsumedMessages

2008-04-30 Thread Filip Hanik - Dev Lists
There doesnt seem to be a way of limiting how messages are delivered to the client. the ActiveMQMessageConsumer.unconsumedMessages seems to fill up, all to quickly, and eventually cause an OOME we have this setting on the server memoryLimit="10mb">

AMQ4.1.1: Connection problems with simple peer to peer configuration

2008-04-30 Thread uma_rk
Env: JDK1.6, Activemq 4.1.1 I have a simple peer to peer setup as follows, --- = network connector --- Messages on topics are exchanged between client1 and client 2 fine till extBrokerA is restarted. When this happens, the activeMQ logs (on both ends) indicate that the ntw

Re: Dead subscribers and duplex

2008-04-30 Thread Rob Davies
thx - looks like we aren't sending the configuration properties across at all - will re-open AMQ-1542 and fix as soon as svn is back cheers, Rob On 30 Apr 2008, at 18:44, sgm wrote: Well, I found the real problem. I went back and looked at the 5.0.0 issue someone reported about duplex conne

Re: Dead subscribers and duplex

2008-04-30 Thread sgm
Well, I found the real problem. I went back and looked at the 5.0.0 issue someone reported about duplex connections and networkTTL here http://issues.apache.org/activemq/browse/AMQ-1542 and realized it's the same problem. It turns out the dynamicOnly property isn't being passed over the duplex con

Re: Dead subscribers and duplex

2008-04-30 Thread Rob Davies
ah - ok - thx for investigating it further! On 30 Apr 2008, at 17:29, sgm wrote: Hi Rob - I did more testing and it seems that a duplex connection creates an additional subscriber on the spoke's queue when messages are routed there. So even though my subscriber is no longer active, this spuriou

Re: Dead subscribers and duplex

2008-04-30 Thread sgm
Hi Rob - I did more testing and it seems that a duplex connection creates an additional subscriber on the spoke's queue when messages are routed there. So even though my subscriber is no longer active, this spurious subscriber causes messages to continue to be sent to the broker. I'll create a Jir

ActiveMQ 5.0, JBoss 4.2.2, JNDI DataSource

2008-04-30 Thread Alex Soto
How do I configure my broker-config.xml to use a JNDI data source from JBoss? Alex Soto [EMAIL PROTECTED] - Amicus Plato, sed magis amica veritas.

Re: Transaction State

2008-04-30 Thread Rob Bugh
rajdavies wrote: > > > Transactional state is replayed from the client - so the new master > will remove the message from the store > > Is there a window of opportunity during the failover where some other client could retrieve the message before the first client commits the transaction?

Re: JBoss and ActiveMQ with remote JNDI

2008-04-30 Thread Alex Soto
Thank you Philippe, It's good to know. Alex Soto [EMAIL PROTECTED] - Amicus Plato, sed magis amica veritas. On Apr 30, 2008, at 10:51 AM, Philippe P. wrote: I find the bug, not the solution now. The remote JNDI register a org.apache.activemq.ra.ActiveMQManagedConnectionFactory. When a re

Re: Adding users on the fly ACTIVEMQ

2008-04-30 Thread rbramley
greenapple wrote: > > Say a new application yyy requested to use JMS. > > My job as a JMS admin is to create the queues needed (on the fly), add > users and groups (on the fly) and grant permissions to certain users and > groups to read/write/both/etc (also on the fly). > > By on the fly, I m

Re: JBoss and ActiveMQ with remote JNDI

2008-04-30 Thread Philippe P.
I find the bug, not the solution now. The remote JNDI register a org.apache.activemq.ra.ActiveMQManagedConnectionFactory. When a remote lookup is done, the remote JNDI server must serialize this instance to send to the client. This instance is connected to an ActiveMQResourceAdapter. This inst

InvalidClientID (Broker embedded in JBoss)

2008-04-30 Thread Alex Soto
Hi, I have ActiveMQ 5.0 running embedded in JBoss 4.2.2 using the rar adapter. I see the following stack trace every time a message is written to a queue from within a EJB. 09:11:44,225 WARN [Service] Failed to remove connection ConnectionInfo {commandId = 1, responseRequired = true, con

Re: Seperate client from activemq jar

2008-04-30 Thread Dejan Bosanac
Thanks Nigel, something like this is needed. We just have to translate it to maven and integrate it with an amq assembly process. Cheers -- Dejan Bosanac www.scriptinginjava.net On Wed, Apr 30, 2008 at 10:43 AM, Nigel Leck <[EMAIL PROTECTED]> wrote: > we use this script to extract just what we

Re: Seperate client from activemq jar

2008-04-30 Thread Nigel Leck
we use this script to extract just what we want and build it. hope it helps Dejan Bosanac wrote: Hi, in the client application you'll need only activemq-core jar file (and all its dependencies). I've just made an enhancement request to create lightweight jar for these purposes ( https://issues

Re: Seperate client from activemq jar

2008-04-30 Thread Dejan Bosanac
Hi, in the client application you'll need only activemq-core jar file (and all its dependencies). I've just made an enhancement request to create lightweight jar for these purposes ( https://issues.apache.org/activemq/browse/AMQ-1703). Cheers -- Dejan Bosanac www.scriptinginjava.net On Tue, Ap

Re: Tomcat doesn't shutdown when amq client used within webapp

2008-04-30 Thread DominicTulley
I raised jira https://issues.apache.org/activemq/browse/AMQ-1698 1698 on this issue which has now been marked as resolved in 5.2.0. Thanks, -Dominic -- View this message in context: http://www.nabble.com/Tomcat-doesn%27t-shutdown-when-amq-client-used-within-webapp-tp16834603s2354p16977288.ht

Re: Dead subscribers and duplex

2008-04-30 Thread Rob Davies
On 29 Apr 2008, at 23:23, sgm wrote: I'm seeing a problem with dead subscribers not being detected/propagated using duplex networkConnections. Specifically, I've set up a hub/spoke arrangement with a central broker (hub) and several remote brokers (spokes). On one spoke I publish messages to a

Re: Transaction State

2008-04-30 Thread Rob Davies
On 29 Apr 2008, at 21:00, Rob Bugh wrote: In a JDBC Master/Slave topology with durable queues if the master fails does the slave pick up the transactions of the master? In other works, if a consumer opens a session against the master, consumes a message, but doesn't commit the transactio