Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 57213 invoked from network); 18 Apr 2007 12:39:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Apr 2007 12:39:58 -0000 Received: (qmail 21779 invoked by uid 500); 18 Apr 2007 12:40:04 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 21654 invoked by uid 500); 18 Apr 2007 12:40:04 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 21645 invoked by uid 99); 18 Apr 2007 12:40:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 05:40:04 -0700 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 (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 05:39:57 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1He9Rg-0002Il-1I for dev@activemq.apache.org; Wed, 18 Apr 2007 05:39:36 -0700 Message-ID: <10057837.post@talk.nabble.com> Date: Wed, 18 Apr 2007 05:39:35 -0700 (PDT) From: Arabinda To: dev@activemq.apache.org Subject: Re: Issues with sending and Recieve messages to a Queue In-Reply-To: <9953620.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: arabinda@nagarro.com References: <9946223.post@talk.nabble.com> <9953620.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Now i am able to configure nearly 20 MDB and destination type , all configuration are quite running well, but when i am trying to send morethan one message to Queue , the MDB listen on that queue still waits for a long to process .Sometime it process and sometime didn't , When i restart JBOSS it works for only one message . Can you please suggest something , i am realy stuck here . My JMS factory is . and MDB are configured as it is in ejb-jar.xml and jboss.xml . On sending message it hangs , like it is waiting some Queue to be processed . in ejb-jar.xml GSPurchaseOrderProcessingWorkflow com.nubridges.service.workflow.adaptors.JMSQueueAdaptor workflowName = 'GSPurchaseOrderProcessingWorkflow' javax.jms.MessageListener Container destination queue.WorkflowServiceQueue destinationType javax.jms.Queue acknowledgeMode Auto-acknowledge messageSelector For a mdb . Thanks, Arabinda Arabinda wrote: > > For example i have an MDB defined in jboss.xml > > PublishMDB > queue/PublishQueue > > > > and i have define this queue in active-jms-ds.xml > > i got the error > > [org.jboss.ejb.EjbModule] Deploying PublishMDB > 2007-04-12 01:14:35,832 WARN > [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure > detected: > org.jboss.deployment.DeploymentException: Error during queue setup; - > nested throwable: (java.lang.ClassCastException: > org.apache.activemq.command.ActiveMQQueue) > at > org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39) > at > org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:898) > at > org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922) > at > org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) > at > org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > > Have any one any idea why this happen. ? > > In my application server container have both JMS(JbossMQ and ActiveMQ) > > Thanks, > Arabinda > > > James.Strachan wrote: >> >> There's not much to go on. Are there any issues in the log? What do >> things look like in JMX? >> >> On 4/11/07, Arabinda wrote: >>> >>> Hi , >>> 1)I have integaret JBOSS with ActiveMQ. >>> 2) create *-ds.xml to configure connection factory and inbound and >>> outbound >>> resources. >>> 3) I have One Session bean and 4 MDB to send and recive message . >>> in jboss.xml i have defined destination-jndi-name for every MDB >>> .Assuming >>> on deployment it will create Queue >>> and send/Recieve message in defined queues . >>> >>> But it is not happen , it waits for long time , probably i miss >>> something , >>> Can anyone help me to figure out what may be the problem. >>> >>> Thanks, >>> Arabinda >>> -- >>> View this message in context: >>> http://www.nabble.com/Issues-with-sending-and-Recieve-messages-to-a-Queue-tf3561376s2354.html#a9946223 >>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >>> >>> >> >> >> -- >> >> James >> ------- >> http://radio.weblogs.com/0112098/ >> >> > > -- View this message in context: http://www.nabble.com/Issues-with-sending-and-Recieve-messages-to-a-Queue-tf3561376s2354.html#a10057837 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.