Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 31506 invoked from network); 10 Apr 2009 00:29:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Apr 2009 00:29:25 -0000 Received: (qmail 16403 invoked by uid 500); 10 Apr 2009 00:29:25 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 16322 invoked by uid 500); 10 Apr 2009 00:29:24 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 16312 invoked by uid 99); 10 Apr 2009 00:29:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2009 00:29:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2009 00:29:16 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ls4c3-0008Qx-5Q for users@activemq.apache.org; Thu, 09 Apr 2009 17:28:55 -0700 Message-ID: <22981378.post@talk.nabble.com> Date: Thu, 9 Apr 2009 17:28:55 -0700 (PDT) From: bwarren To: users@activemq.apache.org Subject: Re: ActiveMQ / JBoss integration behaving badly? In-Reply-To: <7b3355cb0904091711x475cdebal8eb862f92150960e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: brad.warren@usairways.com References: <22963605.post@talk.nabble.com> <7b3355cb0904091711x475cdebal8eb862f92150960e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org The environment was at the bottom of the JBoss forum post: JBoss 5.0.1.GA ActiveMQ 5.2.0 We've got ActiveMQ embedded in JBoss. Contents of activemq-jms-ds.xml: ***************************************************************** activemq/QueueConnectionFactory activemq-rar.rar javax.jms.QueueConnectionFactory vm://localhost 1 200 30000 3 activemq/TopicConnectionFactory activemq-rar.rar javax.jms.TopicConnectionFactory vm://localhost 1 200 30000 3 activemq/topic/task jboss.jca:service=RARDeployment,name='activemq-rar.rar' javax.jms.Topic PhysicalName=topic.task activemq/topic/scan jboss.jca:service=RARDeployment,name='activemq-rar.rar' javax.jms.Topic PhysicalName=topic.scan activemq/topic/scanner jboss.jca:service=RARDeployment,name='activemq-rar.rar' javax.jms.Topic PhysicalName=topic.scanner activemq/queue/FOS jboss.jca:service=RARDeployment,name='activemq-rar.rar' javax.jms.Queue PhysicalName=queue.FOS activemq/topic/FOS jboss.jca:service=RARDeployment,name='activemq-rar.rar' javax.jms.Topic PhysicalName=topic.FOS ********************************************************************* Contents of broker-config.xml in the rar dir ********************************************************************* **************************************************************** Contents of ra.xml **************************************************************** ActiveMQ inbound and outbound JMS ResourceAdapter ActiveMQ JMS Resource Adapter activemq.org JMS 1.1 1.0 ... true org.apache.activemq.ra.ActiveMQResourceAdapter The URL to the ActiveMQ server that you want this connection to connect to. If using an embedded broker, this value should be 'vm://localhost'. ServerUrl java.lang.String The default user name that will be used to establish connections to the ActiveMQ server. UserName java.lang.String defaultUser The default password that will be used to log the default user into the ActiveMQ server. Password java.lang.String defaultPassword The client id that will be set on the connection that is established to the ActiveMQ server. Clientid java.lang.String Boolean to configure if outbound connections should reuse the inbound connection's session for sending messages. UseInboundSession java.lang.Boolean false Sets the XML configuration file used to configure the embedded ActiveMQ broker via Spring if using embedded mode. BrokerXmlConfig is the filename which is assumed to be on the classpath unless a URL is specified. So a value of foo/bar.xml would be assumed to be on the classpath whereas file:dir/file.xml would use the file system. Any valid URL string is supported. BrokerXmlConfig java.lang.String xbean:broker-config.xml org.apache.activemq.ra.ActiveMQManagedConnectionFactory javax.jms.ConnectionFactory org.apache.activemq.ra.ActiveMQConnectionFactory javax.jms.Connection org.apache.activemq.ra.ManagedConnectionProxy org.apache.activemq.ra.ActiveMQManagedConnectionFactory javax.jms.QueueConnectionFactory org.apache.activemq.ra.ActiveMQConnectionFactory javax.jms.QueueConnection org.apache.activemq.ra.ManagedConnectionProxy org.apache.activemq.ra.ActiveMQManagedConnectionFactory javax.jms.TopicConnectionFactory org.apache.activemq.ra.ActiveMQConnectionFactory javax.jms.TopicConnection org.apache.activemq.ra.ManagedConnectionProxy XATransaction BasicPassword javax.resource.spi.security.PasswordCredential false javax.jms.MessageListener org.apache.activemq.ra.ActiveMQActivationSpec destination destinationType javax.jms.Queue org.apache.activemq.command.ActiveMQQueue PhysicalName java.lang.String javax.jms.Topic org.apache.activemq.command.ActiveMQTopic PhysicalName java.lang.String ************************************************************* Think it's the server url: async=false? vm://localhost?create=false&async=false Sorry for the humongous post. I tried to trim them down to the bare essentials. bsnyder wrote: > > On Wed, Apr 8, 2009 at 8:50 PM, bwarren wrote: >> >> ... >> http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153782 >> ... > > I've not seen this happen before. What version of ActiveMQ are you > using? What version of JBoss are you using? Are you embedding ActiveMQ > inside of JBoss or is ActiveMQ running stand alone? Please describe > your scenario with more detail and send along the configs. > > Bruce > -- View this message in context: http://www.nabble.com/ActiveMQ---JBoss-integration-behaving-badly--tp22963605p22981378.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.