lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Goutham Tholpadi <gtholp...@gmail.com>
Subject Re: Problem deploying in Google App Engine
Date Mon, 18 Nov 2013 04:43:25 GMT
Thanks for the heads up, Uwe!

Which (free) java web app hosting service do people generally prefer when
they want to use Lucene as a component?


On Mon, Nov 18, 2013 at 2:46 AM, Uwe Schindler <uwe@thetaphi.de> wrote:

> Hi,
>
> Google App Engine is (like Android) not 100% Java compliant, as it only
> provides a subset of the official (and mandatory) Java API.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
> > -----Original Message-----
> > From: Goutham Tholpadi [mailto:gtholpadi@gmail.com]
> > Sent: Sunday, November 17, 2013 6:35 PM
> > To: java-user@lucene.apache.org
> > Subject: Problem deploying in Google App Engine
> >
> > Hi,
> >
> > I am trying to deploy is a tiny Lucene-based application in the Google
> App
> > Engine (GAE). When I test run it on my machine (using the GAE SDK), I get
> > the following error when I call IndexSearcher.search() in my code. Has
> any
> > one run into this before?
> >
> > java.lang.NoClassDefFoundError:
> > java.lang.management.ManagementFactory
> > is a restricted class. Please see the Google  App Engine developer's
> guide for
> > more details.
> >       at
> > com.google.appengine.tools.development.agent.runtime.Runtime.reject(Ru
> > ntime.java:51)
> >       at
> > org.apache.lucene.util.RamUsageEstimator.<clinit>(RamUsageEstimator.java
> > :231)
> >       at java.lang.Class.forName0(Native Method)
> >       at java.lang.Class.forName(Class.java:186)
> >       at
> > com.google.appengine.tools.development.agent.runtime.RuntimeHelper.ch
> > eckRestricted(RuntimeHelper.java:70)
> >       at
> > com.google.appengine.tools.development.agent.runtime.Runtime.checkRes
> > tricted(Runtime.java:64)
> >       at
> > org.apache.lucene.search.ConstantScoreAutoRewrite$TermStateByteStart.i
> > nit(ConstantScoreAutoRewrite.java:196)
> >       at org.apache.lucene.util.BytesRefHash.<init>(BytesRefHash.java:92)
> >       at
> > org.apache.lucene.search.ConstantScoreAutoRewrite$CutOffTermCollector.
> > <init>(ConstantScoreAutoRewrite.java:155)
> >       at
> > org.apache.lucene.search.ConstantScoreAutoRewrite.rewrite(ConstantScor
> > eAutoRewrite.java:94)
> >       at
> > org.apache.lucene.search.MultiTermQuery$ConstantScoreAutoRewrite.rewr
> > ite(MultiTermQuery.java:220)
> >       at
> > org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:28
> > 8)
> >       at
> > org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:412)
> >       at
> > org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:639)
> >       at
> > org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSea
> > rcher.java:686)
> >       at
> > org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
> >       at
> > org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:269)
> >
> >
> > Thanks in advance!
> > Goutham
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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