Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 BD470DC54 for ; Tue, 23 Oct 2012 21:52:14 +0000 (UTC) Received: (qmail 51894 invoked by uid 500); 23 Oct 2012 21:52:13 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 51572 invoked by uid 500); 23 Oct 2012 21:52:12 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 51558 invoked by uid 99); 23 Oct 2012 21:52:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 21:52:12 +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 (nike.apache.org: domain of ross.manges@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 21:52:04 +0000 Received: by mail-ie0-f170.google.com with SMTP id c12so5615829ieb.15 for ; Tue, 23 Oct 2012 14:51:43 -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=bPkUIQ+VdxPgVsWLWHHKaN5BpkJDbyKE0hvac64E3zM=; b=tM5PMV+qx+bk1dt1SBWBLZYYqE8g4x1T2fhKuVGzlSQaNBGR2hD30garo0VuWIMLsk fZ3YY3ahoFYqA2GHRe+YUI0JVswjAxeHZVFiJ7li+UrSeEPNzJ087Ghf3Sk9JGkd7Y4h jLDxsc+CbgFgiwcq4IiLGO2gZrP4CIESRJoOA5wFXEFePyp944EPRJydAQ08Me8koazp UdbocBlO4CZkHDr/BUmZsjuOeCejkLX1GS6I/EUi7M/3sqE9G3VhTWTXeIl7iE8v9VOG 4/yZY3vJ9m/Vr5gx5ZyL+/7ZXzw8qi8E4x7scHZu/iLh2I7YXR9ghzwwb8tYJNZsv0m/ c5fw== MIME-Version: 1.0 Received: by 10.50.157.200 with SMTP id wo8mr310258igb.29.1351029103432; Tue, 23 Oct 2012 14:51:43 -0700 (PDT) Received: by 10.64.19.239 with HTTP; Tue, 23 Oct 2012 14:51:43 -0700 (PDT) In-Reply-To: <6E9C5B90-BF69-464D-9CFD-0AE10D17504A@redhat.com> References: <6E9C5B90-BF69-464D-9CFD-0AE10D17504A@redhat.com> Date: Tue, 23 Oct 2012 14:51:43 -0700 Message-ID: Subject: Re: Problems deploying Qpid JCA RA to GlassFish 3.1.2.2 From: Ross Manges To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=e89a8f3ba96bca95d204ccc0f9da X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f3ba96bca95d204ccc0f9da Content-Type: text/plain; charset=ISO-8859-1 I do have GLASSFISH_HOME set. Unfortunately, I can't even get "ant compile" to work in the examples directory. Here's exactly what I did, can you please let me know if I missed a step? extracted qpid-0.18.tar.gz extracted qpid-java-0.18.tar.gz cd qpid-0.18 ant ## successful build resulted set env vars in .bashrc (as listed below) cd java/jca/examples change target.platform in build.xml to "glassfish" ant compile ## build failure: "package org.slf4j does not exist" I'm thinking I have a classpath issue? I see the slf4j jar files, but I'm not sure how to get them on the classpath. Can someone point me to instructions that I may have missed? Thanks! #ENV VARS export GLASSFISH_HOME=${APPS_HOME}/glassfish-3.1.2.2 export QPID_WORKING=${APPS_HOME}/qpid-working export QPID_HOME=${APPS_HOME}/qpid-0.18/java/build export QPID_ROOT=${APPS_HOME}/qpid-0.18/ export QPID_JCA_HOME=${QPID_ROOT}/java/jca export JAVA_HOME="/usr/lib/jvm/jdk1.7.0_04/" export PATH=${PATH}:$QPID_HOME/bin export PATH=${PATH}:$JAVA_HOME/bin export PATH=${PATH}:$GLASSFISH_HOME/bin On Mon, Oct 22, 2012 at 6:03 PM, Weston M. Price wrote: > Hi Ross, > Sorry for the confusion, I will file a JIRA to be more clear on > the SLF4J value. You need to set the GLASSFISH_HOME env variable. Typically > this is the root of your Glassfish installation. The README doc does > mention this but it should probably be more clear. So, if you export the > GLASSFISH_HOME variable you should be all set. Again, thanks for bringing > this up, clearly the README doc could use a bit of work. > > Regards, > > Weston > On Oct 22, 2012, at 6:30 PM, Ross Manges wrote: > > > I've been attempting to deploy the Qpid JCA RA to GF by following the > > instructions located here: > > > https://svn.apache.org/repos/asf/qpid/trunk/qpid/java/jca/example/README-GLASSFISH.txtbut > > I'm having some trouble. > > > > I modified $QPID_ROOT/java/jca/example/build.xml to set the target to > > glassfish, but when I attemped to run: > >> ant -Dtarget.platform=glassfish deploy-rar > > > > But I run into the problem where the build cannot find the package > slf4j. I > > noticed that the slf4j jars are indeed located in > > $QPID_ROOT/java/build/lib, which is also the location for $QPID_JCA_HOME. > > Can anyone tell me what I'm missing? > > > > Note that I have QPID_ROOT and QPID_HOME set to the same value. I also > > setup all other env vars per the README. > > > > Thanks! > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > > --e89a8f3ba96bca95d204ccc0f9da--