[Mulgara-dev] Mulgara 2.1.7

Agustina Martinez amgcia at gmail.com
Thu Mar 4 10:34:12 UTC 2010


Thanks a lot! I'll try it now and let you know!
Cheers,
Agustina

2010/3/3 Paul Gearon <gearon at ieee.org>

> On Wed, Mar 3, 2010 at 12:33 PM, Agustina Martinez <amgcia at gmail.com>
> wrote:
> > Ummm. That's complex because I don't know if then I would need to change
> my
> > version of Tomcat Server or maybe look for a new version of the Tomcat
> > plugin for Eclipse.
>
> Hmmmm, OK. I don't think we're doing anything fancy with the servlet
> classes that didn't appear in 2.3. It looks like you can replace the
> JAR file with the 2.3 JAR file instead.
>
> You'll find it at:
> http://java.sun.com/products/servlet/download.html
>
> To make this change, do the following:
> - Download servlet-2_3-fcs-classfiles.zip
> - Unzip the file. This will create a "javax" directory.
> - Repackage the file into a jar with the following:
>    jar cf servlet-api-2.3.jar javax
> - Remove lib/servlet-api-2.5-6.1.11.jar
> - Move servlet-api-2.3.jar into lib
> - Update build.properties line 145 to say:
>  servlet.jar              =servlet-api-2.3.jar
> - Build the following targets: "clean dist ideSupport"
>
> I've just finished doing all of the above, and it seems to be working
> fine for me. Let me know how it goes.
>
> Regards,
> Paul Gearon
>
> > 2010/3/3 Paul Gearon <gearon at ieee.org>
> >>
> >> It looks like your environment is looking for a different version of
> >> the Servlet class than the one we have.
> >>
> >> We're using servlet-api-2.5-6.1.11.jar. I notice that your error
> >> message is looking for version 2.3. Is there any way you can update
> >> the framework you're using?
> >>
> >> Regards,
> >> Paul Gearon
> >>
> >> On Wed, Mar 3, 2010 at 8:49 AM, Agustina Martinez <amgcia at gmail.com>
> >> wrote:
> >> > I think I got it. When deploying the application in Eclipse (Tomcat
> >> > instance) I get the following warning:
> >> >
> >> > INFO:
> >> >
> >> >
> validateJarFile(/Users/agustinamartinez/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MulgaraRulesDemo/WEB-INF/lib/mulgara-2.1.7.jar)
> >> > - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
> class:
> >> > javax/servlet/Servlet.class
> >> >
> >> > which means that is not loading the Mulgara-2.1.7.jar library. Any
> idea
> >> > on
> >> > how to solve this?
> >> >
> >> > 2010/3/3 Agustina Martinez <amgcia at gmail.com>
> >> >>
> >> >> I've checked the Jar file generated and the class is there, so I
> don't
> >> >> know what's happening then...
> >> >>
> >> >> 2010/3/3 Agustina Martinez <amgcia at gmail.com>
> >> >>>
> >> >>> Hi Paul,
> >> >>>
> >> >>> I've just built Mulgara jar file using build.sh dist. When I try to
> >> >>> use
> >> >>> that file I always get the class not found exception
> >> >>> 'org/mulgara/query/operation/Command'. I am going to see if the Jar
> >> >>> file has
> >> >>> that entry or not. Are there any other libraries I need?
> >> >>>
> >> >>> Thanks,
> >> >>> Agustina
> >> >>>
> >> >>> 2010/3/2 Paul Gearon <gearon at ieee.org>
> >> >>>>
> >> >>>> It depends on where you got your previous mulgara-2.1.7.jar file
> >> >>>> from.
> >> >>>> Did you build yourself? How did you build it?
> >> >>>>
> >> >>>> I have a copy of the JAR that I've built here, using the command
> >> >>>> "build.sh dist". Inside the JAR file I can see this entry:
> >> >>>>  org/mulgara/query/operation/Command.class
> >> >>>>
> >> >>>> Regards,
> >> >>>> Paul
> >> >>>>
> >> >>>> On Tue, Mar 2, 2010 at 12:05 PM, Agustina Martinez <
> amgcia at gmail.com>
> >> >>>> wrote:
> >> >>>> > I downloaded this time the binary distribution. I tried using
> >> >>>> > query-lang jar
> >> >>>> > file and no problems now. Any idea?
> >> >>>> >
> >> >>>> > 2010/3/2 Paul Gearon <gearon at ieee.org>
> >> >>>> >>
> >> >>>> >> This class is pivotal, and it should always appear in
> >> >>>> >> mulgara-2.1.7.jar.
> >> >>>> >>
> >> >>>> >> Which Ant target did you build the jar with?
> >> >>>> >>
> >> >>>> >> Paul
> >> >>>> >>
> >> >>>> >> On Tue, Mar 2, 2010 at 7:48 AM, Agustina Martinez
> >> >>>> >> <amgcia at gmail.com>
> >> >>>> >> wrote:
> >> >>>> >> > Hi,
> >> >>>> >> >
> >> >>>> >> > I was cleaning up this morning what libraries to use. And I
> did
> >> >>>> >> > what you
> >> >>>> >> > told me, just left mulgara-2.1.7.jar, which contains all the
> >> >>>> >> > third
> >> >>>> >> > party
> >> >>>> >> > libraries needed and now I get the exceltion class not found
> >> >>>> >> > again:
> >> >>>> >> > java.lang.NoClassDefFoundError:
> >> >>>> >> > org/mulgara/query/operation/Command.
> >> >>>> >> >
> >> >>>> >> > Any clues?
> >> >>>> >> >
> >> >>>> >> > 2010/3/1 Agustina Martinez <amgcia at gmail.com>
> >> >>>> >> >>
> >> >>>> >> >> Thanks a lot to both! issue solved!
> >> >>>> >> >>
> >> >>>> >> >> 2010/3/1 Paul Gearon <gearon at ieee.org>
> >> >>>> >> >>>
> >> >>>> >> >>> You'll also find all third-party JAR files in SVN in the lib
> >> >>>> >> >>> directory.
> >> >>>> >> >>>
> >> >>>> >> >>> Paul
> >> >>>> >> >>>
> >> >>>> >> >>> On Mon, Mar 1, 2010 at 2:10 PM, Alex Hall
> >> >>>> >> >>> <alexhall at revelytix.com>
> >> >>>> >> >>> wrote:
> >> >>>> >> >>> > OK, that would explain it.  The mulgara-core JAR does not
> >> >>>> >> >>> > contain
> >> >>>> >> >>> > third-party libraries, so if you're using that
> distribution
> >> >>>> >> >>> > then you
> >> >>>> >> >>> > will
> >> >>>> >> >>> > need to manually add the InterruptibleRMI library to your
> >> >>>> >> >>> > classpath.
> >> >>>> >> >>> > It is
> >> >>>> >> >>> > included in the embedded (mulgara-2.x.y.jar) and lite
> >> >>>> >> >>> > (mulgara-lite-2.x.y.jar) distributions.
> >> >>>> >> >>> >
> >> >>>> >> >>> > Regards,
> >> >>>> >> >>> > Alex
> >> >>>> >> >>> >
> >> >>>> >> >>> > On 3/1/2010 1:53 PM, Agustina Martinez wrote:
> >> >>>> >> >>> >
> >> >>>> >> >>> > Ah ok. I was using Mulgara Core Jar. So maybe I should use
> >> >>>> >> >>> > the
> >> >>>> >> >>> > normal
> >> >>>> >> >>> > jar
> >> >>>> >> >>> > and then its included there.
> >> >>>> >> >>> >
> >> >>>> >> >>> > 2010/3/1 Paul Gearon <gearon at ieee.org>
> >> >>>> >> >>> >>
> >> >>>> >> >>> >> 2.1.7 does use the new InterruptableRMI library, but it's
> >> >>>> >> >>> >> part
> >> >>>> >> >>> >> of
> >> >>>> >> >>> >> the
> >> >>>> >> >>> >> distribution already, so I would have thought you'd
> already
> >> >>>> >> >>> >> have
> >> >>>> >> >>> >> it.
> >> >>>> >> >>> >>
> >> >>>> >> >>> >> Which classes are not being found for you?
> >> >>>> >> >>> >>
> >> >>>> >> >>> >> Paul
> >> >>>> >> >>> >>
> >> >>>> >> >>> >>
> >> >>>> >> >>> >> On Mon, Mar 1, 2010 at 9:14 AM, Agustina Martinez
> >> >>>> >> >>> >> <amgcia at gmail.com>
> >> >>>> >> >>> >> wrote:
> >> >>>> >> >>> >> > Hello Paul,
> >> >>>> >> >>> >> >
> >> >>>> >> >>> >> > I have a quick question. I am using the Mulgara API to
> >> >>>> >> >>> >> > test
> >> >>>> >> >>> >> > some
> >> >>>> >> >>> >> > inferencing
> >> >>>> >> >>> >> > in Mulgara with Rlog. Do I need to download
> >> >>>> >> >>> >> > InterruptableRMI
> >> >>>> >> >>> >> > library? I
> >> >>>> >> >>> >> > am
> >> >>>> >> >>> >> > getting class not found exceptions. And the other
> >> >>>> >> >>> >> > question
> >> >>>> >> >>> >> > is
> >> >>>> >> >>> >> > what
> >> >>>> >> >>> >> > other
> >> >>>> >> >>> >> > library dependencies are there?
> >> >>>> >> >>> >> >
> >> >>>> >> >>> >> > Thanks in advance,
> >> >>>> >> >>> >> > Agustina
> >> >>>> >> >>> >> >
> >> >>>> >> >>> >> > 2010/2/16 Paul Gearon <gearon at ieee.org>
> >> >>>> >> >>> >> >>
> >> >>>> >> >>> >> >> I am pleased to announce the release of Mulgara 2.1.7.
> >> >>>> >> >>> >> >> Mulgara
> >> >>>> >> >>> >> >> can
> >> >>>> >> >>> >> >> be
> >> >>>> >> >>> >> >> downloaded from:
> >> >>>> >> >>> >> >>  http://mulgara.org/download.html
> >> >>>> >> >>> >> >>
> >> >>>> >> >>> >> >> Some of the major changes in this release:
> >> >>>> >> >>> >> >> - Long running queries executed over RMI can now be
> >> >>>> >> >>> >> >> interrupted.
> >> >>>> >> >>> >> >> - Better SPARQL compliance in the algebra.
> >> >>>> >> >>> >> >> - More efficient memory use for some operations.
> >> >>>> >> >>> >> >>
> >> >>>> >> >>> >> >> For the full list of updates, please see the release
> >> >>>> >> >>> >> >> notes
> >> >>>> >> >>> >> >> and
> >> >>>> >> >>> >> >> documentation for details.
> >> >>>> >> >>> >> >>  Release notes:
> http://mulgara.org/release.html#v2.1.7
> >> >>>> >> >>> >> >>  Documentation: http://mulgara.org/trac/wiki/Docs
> >> >>>> >> >>> >> >>
> >> >>>> >> >>> >> >> Please pound on it and let us know if something
> breaks.
> >> >>>> >> >>> >> >> You
> >> >>>> >> >>> >> >> can
> >> >>>> >> >>> >> >> get
> >> >>>> >> >>> >> >> in
> >> >>>> >> >>> >> >> touch with us on the mailing lists, or submit a report
> >> >>>> >> >>> >> >> to
> >> >>>> >> >>> >> >> the
> >> >>>> >> >>> >> >> bug
> >> >>>> >> >>> >> >> tracker:
> >> >>>> >> >>> >> >>  http://mulgara.org/trac/report
> >> >>>> >> >>> >> >>
> >> >>>> >> >>> >> >> Regards,
> >> >>>> >> >>> >> >> Paul Gearon
> >> >>>> >> >>> >> >> _______________________________________________
> >> >>>> >> >>> >> >> Mulgara-dev mailing list
> >> >>>> >> >>> >> >> Mulgara-dev at mulgara.org
> >> >>>> >> >>> >> >> http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>> >> >>> >> >
> >> >>>> >> >>> >> >
> >> >>>> >> >>> >> > _______________________________________________
> >> >>>> >> >>> >> > Mulgara-dev mailing list
> >> >>>> >> >>> >> > Mulgara-dev at mulgara.org
> >> >>>> >> >>> >> > http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>> >> >>> >> >
> >> >>>> >> >>> >> >
> >> >>>> >> >>> >> _______________________________________________
> >> >>>> >> >>> >> Mulgara-dev mailing list
> >> >>>> >> >>> >> Mulgara-dev at mulgara.org
> >> >>>> >> >>> >> http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>> >> >>> >
> >> >>>> >> >>> >
> >> >>>> >> >>> > _______________________________________________
> >> >>>> >> >>> > Mulgara-dev mailing list
> >> >>>> >> >>> > Mulgara-dev at mulgara.org
> >> >>>> >> >>> > http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>> >> >>> >
> >> >>>> >> >>> >
> >> >>>> >> >>> > _______________________________________________
> >> >>>> >> >>> > Mulgara-dev mailing list
> >> >>>> >> >>> > Mulgara-dev at mulgara.org
> >> >>>> >> >>> > http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>> >> >>> >
> >> >>>> >> >>> >
> >> >>>> >> >>> _______________________________________________
> >> >>>> >> >>> Mulgara-dev mailing list
> >> >>>> >> >>> Mulgara-dev at mulgara.org
> >> >>>> >> >>> http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>> >> >>
> >> >>>> >> >
> >> >>>> >> >
> >> >>>> >> > _______________________________________________
> >> >>>> >> > Mulgara-dev mailing list
> >> >>>> >> > Mulgara-dev at mulgara.org
> >> >>>> >> > http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>> >> >
> >> >>>> >> >
> >> >>>> >> _______________________________________________
> >> >>>> >> Mulgara-dev mailing list
> >> >>>> >> Mulgara-dev at mulgara.org
> >> >>>> >> http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>> >
> >> >>>> >
> >> >>>> > _______________________________________________
> >> >>>> > Mulgara-dev mailing list
> >> >>>> > Mulgara-dev at mulgara.org
> >> >>>> > http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>> >
> >> >>>> >
> >> >>>> _______________________________________________
> >> >>>> Mulgara-dev mailing list
> >> >>>> Mulgara-dev at mulgara.org
> >> >>>> http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >>>
> >> >>
> >> >
> >> >
> >> > _______________________________________________
> >> > Mulgara-dev mailing list
> >> > Mulgara-dev at mulgara.org
> >> > http://mulgara.org/mailman/listinfo/mulgara-dev
> >> >
> >> >
> >> _______________________________________________
> >> Mulgara-dev mailing list
> >> Mulgara-dev at mulgara.org
> >> http://mulgara.org/mailman/listinfo/mulgara-dev
> >
> >
> > _______________________________________________
> > Mulgara-dev mailing list
> > Mulgara-dev at mulgara.org
> > http://mulgara.org/mailman/listinfo/mulgara-dev
> >
> >
> _______________________________________________
> Mulgara-dev mailing list
> Mulgara-dev at mulgara.org
> http://mulgara.org/mailman/listinfo/mulgara-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20100304/544746b0/attachment.htm>


More information about the Mulgara-dev mailing list