Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D284E10171 for ; Thu, 27 Jun 2013 00:04:24 +0000 (UTC) Received: (qmail 99861 invoked by uid 500); 27 Jun 2013 00:04:24 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 99825 invoked by uid 500); 27 Jun 2013 00:04: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 99817 invoked by uid 99); 27 Jun 2013 00:04:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 00:04:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of seanmckaybeck@gmail.com designates 209.85.215.169 as permitted sender) Received: from [209.85.215.169] (HELO mail-ea0-f169.google.com) (209.85.215.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 00:04:20 +0000 Received: by mail-ea0-f169.google.com with SMTP id h15so40546eak.14 for ; Wed, 26 Jun 2013 17:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=DRWsKOcGpZIjGWB0ljok8fY7D1Ax5HHBlq3/kt+XHj0=; b=uHPTMzh472qY+fvMZh9RBkOMEzfsgboSr6Zuc+BYv0xZOgJZ8eSoYm0DnkMVs4+SeT 0zYx+0ucdTG3pLpbTaDaQFTMULksGIED+xEM+yyqVJ2bnIJN55zLNgIFH73FfKWg9AaH 7AgpBd6rJryFKCAxPqkq/vCN2mfAEAFjckRdwZKKYKlrOgyNmrSfe/aQUPIq9bTYKA2y 2IHdaYbjfeNhW3bF67vRLoLbGbb4JDoKoPxv7pjRKjClaNgQNUh5m9Y0TL1i5vbhUvUV 4vTa1VhR4hRKd4qwdZb0Jk4mKW1JOAQN+LfSgyRJjG6P3y+o7sZBL+mkKc8+3iXrBlPV YvOg== MIME-Version: 1.0 X-Received: by 10.14.103.196 with SMTP id f44mr6249355eeg.37.1372291438927; Wed, 26 Jun 2013 17:03:58 -0700 (PDT) Received: by 10.14.118.6 with HTTP; Wed, 26 Jun 2013 17:03:58 -0700 (PDT) In-Reply-To: References: <51CB803D.3000802@gmail.com> Date: Wed, 26 Jun 2013 18:03:58 -0600 Message-ID: Subject: Re: ConnectionFactory issue From: Sean Beck To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001a11c275a0bf0e1b04e0177fdb X-Virus-Checked: Checked by ClamAV on apache.org --001a11c275a0bf0e1b04e0177fdb Content-Type: text/plain; charset=ISO-8859-1 I see. Is there a way to specify a whole directory to be included in the classpath? Your suggestion fixed that problem for ConnectionFactory but now I have it with ApplicationContextAware which I didn't realize is even being used in my program On Wed, Jun 26, 2013 at 6:01 PM, Christian Posta wrote: > yep, compiling will produce the byte code. but when you run it, the runtime > libs must be made available to the code that uses it. > > > On Wed, Jun 26, 2013 at 4:58 PM, Sean Beck > wrote: > > > I am compiling like so: > > > > javac -cp > > > > > /apache-activemq-5.8.0/lib/geronimo-jms_1.1_spec-1.1.1.jar:/apache-activemq-5.8.0/lib/camel/camel-jms-2.10.3.jar:/apache-activemq-5.8.0/activemq-all-5.8.0.jar:/apache-activemq-5.8.0/lib/camel/camel-core-2.10.3.jar:. > > QueueListener.java > > > > So everything already should be in the classpath > > > > > > -- > *Christian Posta* > http://www.christianposta.com/blog > twitter: @christianposta > --001a11c275a0bf0e1b04e0177fdb--