Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 16551 invoked from network); 12 Apr 2007 14:26:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Apr 2007 14:26:20 -0000 Received: (qmail 71130 invoked by uid 500); 12 Apr 2007 14:26:26 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 71110 invoked by uid 500); 12 Apr 2007 14:26:26 -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 71101 invoked by uid 99); 12 Apr 2007 14:26:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 07:26:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 72.14.246.240 as permitted sender) Received: from [72.14.246.240] (HELO ag-out-0708.google.com) (72.14.246.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 07:26:18 -0700 Received: by ag-out-0708.google.com with SMTP id 23so207322agd for ; Thu, 12 Apr 2007 07:25:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J6Vr3sIkFzxGiWXOS0D45iH2t84TUiYvmlSmHucu25cBgfMLuEtGHtGYifDrRLPMbS+0CwET4AhQKU51rnrwJNhFzi1pTIyi9x+4Ji+nrgpbUJf8w6Nlza6SipderatmpiVqHpWcGVDS016X0yc/4I+IiEZqeVi6PBgSUYl4Ok8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hSS+OBE/j2INp4MZg/1o7ugXrSfZ+sHjjBPMEnqYCm+kHTEyVVQO7D3wsDp/RkdICMoGqByTwNRkRATZ7rp0KMChDL6yKMYKZd7zpR6etq38A0Ju4t9I5oNHNIjBPonC3sUVMpGEb5iNDGgF+UUNR4yWyzGFWuE6pwfW08Gg420= Received: by 10.90.73.7 with SMTP id v7mr1729028aga.1176387957733; Thu, 12 Apr 2007 07:25:57 -0700 (PDT) Received: by 10.90.105.4 with HTTP; Thu, 12 Apr 2007 07:25:57 -0700 (PDT) Message-ID: Date: Thu, 12 Apr 2007 15:25:57 +0100 From: "James Strachan" 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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9946223.post@talk.nabble.com> <9953620.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure - it looks like a classloader issue; do you maybe have multiple JMS API jars? On 4/12/07, 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#a9953620 > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. > > -- James ------- http://radio.weblogs.com/0112098/