Dead subscribers and duplex

2008-04-29 Thread sgm
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 queue, and subscribe on another spoke. I

Transaction State

2008-04-29 Thread Rob Bugh
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 transaction and the master dies, does the slave (who is now t

Re: User name or password is invalid

2008-04-29 Thread jzhang1
jzhang1 wrote: > > I follow http://activemq.apache.org/security.html to enable authentication > > apache-activemq-5.0.0 > > activemq.xml > > > > groups="users"/> > > > > and disable camelContext, commandAgent and jetty. > > Always get invalid user name

User name or password is invalid

2008-04-29 Thread jzhang1
I follow http://activemq.apache.org/security.html to enable authentication apache-activemq-5.0.0 activemq.xml and disable camelContext, commandAgent and jetty. Always get invalid user name or password exception. I searched invalid exception in this forum

Re: JBoss and ActiveMQ with remote JNDI

2008-04-29 Thread Alex Soto
James Strachan wrote: 2008/4/29 Alex Soto <[EMAIL PROTECTED]>: I also have the same problem. The suggestions I've seen is to instantiate ActiveMQConnectionFactory instead of getting it from JNDI. As a workaround it is satisfactory but this solution does not go very far. Certainly it does no

How do i configure the http transport connector to use a proxy?

2008-04-29 Thread j0llyr0g3r
Hi folks, after i have figured out this problem (will be updated in the AMQ documentation soon): http://www.nabble.com/Standard-http-connector-example-not-working--td16937377s2354.html i am having a new problem: How do i configure the http transport connector to use a proxy? I looked into the

svn checkout problems

2008-04-29 Thread Cleveland, Seth
I'm having problems checking out the activemq code. Is there something broken upstream? svn co https://svn.apache.org/repos/asf/activemq/trunk/ activemq ... Aactivemq/assembly/src/release/webapps/index.html svn: REPORT request failed on '/repos/asf/!svn/vcc/default' svn: REPORT of '/repos/asf

Re: App won't exit because Session Task/Connection Worker threads won't die.

2008-04-29 Thread DominicTulley
I've just raised a https://issues.apache.org/activemq/browse/AMQ-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel jira on a very similar issue (but with different threads!). I wonder if some sort of thread management callback has been lost from the connection close method.

Re: ActiveMQ in JBoss and remote connexion

2008-04-29 Thread Bruce Snyder
On Tue, Apr 29, 2008 at 8:23 AM, ppr <[EMAIL PROTECTED]> wrote: > > I would like to use the RAR in JBoss, but with a remote ActiveMQ locate in > localhost:62626. > > The activemq-ds.xml is : > > > > false > > > ${jndi-prefix}jndi-web-test/jms/ActiveMQConnectionFactory >

Re: JBoss and ActiveMQ with remote JNDI

2008-04-29 Thread James Strachan
2008/4/29 Alex Soto <[EMAIL PROTECTED]>: > I also have the same problem. > The suggestions I've seen is to instantiate ActiveMQConnectionFactory > instead of getting it from JNDI. As a workaround it is satisfactory but > this solution does not go very far. Certainly it does not help if the client

Re: JBoss and ActiveMQ with remote JNDI

2008-04-29 Thread Alex Soto
I also have the same problem. The suggestions I've seen is to instantiate ActiveMQConnectionFactory instead of getting it from JNDI. As a workaround it is satisfactory but this solution does not go very far. Certainly it does not help if the client code is not available for modification. Do

JNDI activeMQ and XA

2008-04-29 Thread ppr
If I use the ActiveMQ JNDI server, the client can use the current transaction ? Can be XA ? Where I can find the XAConnectionFactory ? Regards Philippe -- View this message in context: http://www.nabble.com/JNDI-activeMQ-and-XA-tp16961307s2354p16961307.html Sent from the ActiveMQ - User mailin

Re: sending message from an external client

2008-04-29 Thread DA
thanks joe now my code has become generic and with this configuration Activemq messaging is working fine. i want the same for jboss messaging also where can i find it. i tried with the following configuration java.naming.factory.initial = org.jnp.interfaces.NamingContextFactory java.naming.fac

JBoss and XAConnectionFactory

2008-04-29 Thread ppr
ActiveMQ integrated in JBoss can be used with XA ? Why the XAConnectionFactory is not present in JNDI ? Regards Philippe -- View this message in context: http://www.nabble.com/JBoss-and-XAConnectionFactory-tp16961291s2354p16961291.html Sent from the ActiveMQ - User mailing list archive at Nab

JBoss and ActiveMQ with remote JNDI

2008-04-29 Thread ppr
I want use a JBoss remote JNDI to find the connection factory and queues. I use the RAR integrated in each server, the JNDI client and the JNDI serveur with the ActiveMQ. The lookup return "null". Is it possible to use this architecture ? Regards Philippe -- View this message in context: htt

ActiveMQ in JBoss and remote connexion

2008-04-29 Thread ppr
I would like to use the RAR in JBoss, but with a remote ActiveMQ locate in localhost:62626. The activemq-ds.xml is : false ${jndi-prefix}jndi-web-test/jms/ActiveMQConnectionFactory activemq-ra.rar javax.jms.ConnectionFactory tcp:localhost:62626

Re: Standard http-connector example not working?

2008-04-29 Thread j0llyr0g3r
Solved! http://0.0.0.0:61617"/> Then everything works as expected! But why is this? Isn't this a bug in the tcp-connector, since tcp://localhost:61617 should be limited to calls from localhost only? Why can i connect to tcp-connectors which run on tcp://localhost:61617 from everywhere, b

VirtualTopics and Message Acknowledgment

2008-04-29 Thread Podloucky Konrad
Hi all, I have been trying to get Virtual Topics to work (great replacement for durable subscribers, btw) but I keep running into the same problem: * ActiveMQ Release 5.0.0 (also tried 5.1.0 RC4, built on Apr. 23) * pyactivemq 0.0.3pre1 (Python wrapper around CMS) * producer and consumer connecte

Re: sending message from an external client

2008-04-29 Thread ttmdev
Yup, referencing ActiveMQ objects from your code nails your application to ActiveMQ and makes it non-portable. It defeats the purpose of using the JMS. If you're running an external (standalone) client, Spring would be a good way to go, but if you want to still use the JNDI, then simply create a j

Re: sending message from an external client

2008-04-29 Thread James Strachan
2008/4/29 DA <[EMAIL PROTECTED]>: > > i have created ActiveMQConnectionFactory and it is working .But i want the > code to be generic so that even if i change messaging from activemq to some > other thing my code should work fine with out any changes. Use Spring then? -- James --- http://

Re: sending message from an external client

2008-04-29 Thread DA
i have created ActiveMQConnectionFactory and it is working .But i want the code to be generic so that even if i change messaging from activemq to some other thing my code should work fine with out any changes. James.Strachan wrote: > > From an external client its often easier to just create an

Re: sending message from an external client

2008-04-29 Thread James Strachan
>From an external client its often easier to just create an ActiveMQConnectionFactory rather than use JNDI. Or use Spring 2008/4/29 DA <[EMAIL PROTECTED]>: > > Hi all, > My application runs on jboss and i configured activewq for > messsaging.everything is working fine messaging r flowing fine.N

Re: sending message from an external client

2008-04-29 Thread Luiz Mendes Almeida
Hi. I think you can't get the jboss context using an external application. My advice is to create a different context to connect to this queue. I hope help you. Dwight. 2008/4/29 DA <[EMAIL PROTECTED]>: > > Hi all, > My application runs on jboss and i configured activewq for > messsaging.

Re: sending message from an external client

2008-04-29 Thread Luiz Mendes Almeida
Hi. I think you can't get the jboss context using an external application. My advice is to create a different context to connect to this queue. I hope help you. Dwight. 2008/4/29 DA <[EMAIL PROTECTED]>: > > Hi all, > My application runs on jboss and i configured activewq for > messsaging.

sending message from an external client

2008-04-29 Thread DA
Hi all, My application runs on jboss and i configured activewq for messsaging.everything is working fine messaging r flowing fine.Now i want to send message to this queue from an external client a main program. i created the initialcontext with the properties from jboss java.naming.factory.initia