lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanne Grinovero <sanne.grinov...@gmail.com>
Subject Re: Problem deploying in Google App Engine
Date Mon, 18 Nov 2013 13:12:07 GMT
For free deployments I use www.openshift.com
but only if the expected load is very low or experimental, otherwise
you need a paid for hosting.

Sanne

On 18 November 2013 04:43, Goutham Tholpadi <gtholpadi@gmail.com> wrote:
> 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
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message