qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Manges <ross.man...@gmail.com>
Subject Re: Problems deploying Qpid JCA RA to GlassFish
Date Tue, 23 Oct 2012 21:51:43 GMT
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!

export GLASSFISH_HOME=${APPS_HOME}/glassfish-
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

On Mon, Oct 22, 2012 at 6:03 PM, Weston M. Price <wprice@redhat.com> 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 <ross.manges@gmail.com> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message