Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 68345 invoked from network); 8 Jan 2009 09:59:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2009 09:59:20 -0000 Received: (qmail 6790 invoked by uid 500); 8 Jan 2009 09:59:19 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 6774 invoked by uid 500); 8 Jan 2009 09:59:19 -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 6763 invoked by uid 99); 8 Jan 2009 09:59:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 01:59:19 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Thu, 08 Jan 2009 09:59:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LKrf6-0003yI-5d for dev@activemq.apache.org; Thu, 08 Jan 2009 01:58:48 -0800 Message-ID: <21348897.post@talk.nabble.com> Date: Thu, 8 Jan 2009 01:58:48 -0800 (PST) From: lynnec To: dev@activemq.apache.org Subject: Re: JMSException transport scheme NOT recognised occurs when project is jarred up In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: lynnec@chp.co.uk References: <21336413.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org James, I get the following exception: JMS exception during session startup. Could not create Transport. Reason: java.io.IOException: Transport scheme NOT recognized: [vm] Unfortunatley Im having trouble getting my debug logs to output so thats all I can give you at the moment. I think its throwing the exception on connection = connectionFactory.createQueueConnection() in my function startUp. Ill post more details as soon as I can. Thanks! Lynne James.Strachan wrote: > > 2009/1/7 lynnec : >> >> Hi, >> >> I can locally run my code which connects to ActiveMQ. However once I >> package >> up the code into a jar I get the transport scheme NOT recognised error. >> Could someone let me know if this is due to my using the >> activemq-all.jar? I >> get the impression that I should be using the optional jar here? Is this >> corret? > > BTW whats the full stack trace? > > Sounds like you're missing jars for sure. > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://fusesource.com/ > > -- View this message in context: http://www.nabble.com/JMSException-transport-scheme-NOT-recognised-occurs-when-project-is-jarred-up-tp21336413p21348897.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.